| /plan9/sys/src/cmd/gs/src/ |
| H A D | istack.c | 57 ref_packed *bot = (ref_packed *) sptr->current.value.refs; in RELOC_PTRS_WITH() local 62 reloc = bot - (ref_packed *) sptr->current.value.refs; in RELOC_PTRS_WITH() 66 RELOC_P(bot); in RELOC_PTRS_WITH() 93 pstack->bot = body + bot_guard; in ref_stack_init() 94 pstack->p = pstack->bot - 1; in ref_stack_init() 120 refset_null_new(pstack->bot, avail, 0); in ref_stack_init() 177 uint used = pstack->p + 1 - pstack->bot; in ref_stack_set_margin() 187 pstack->top = pstack->bot + pstack->body_size - 1; in ref_stack_set_margin() 206 uint used = pstack->p + 1 - pstack->bot; in ref_stack_index() 364 while ((used = pstack->p + 1 - pstack->bot) < count) { in ref_stack_pop() [all …]
|
| H A D | gscencs.c | 139 const byte *bot = (const byte *)&gs_c_known_encoding_chars[base]; in gs_c_name_glyph() local 148 probe = bot + m * len; in gs_c_name_glyph() 151 return gs_c_min_std_encoding_glyph + N(len, probe - bot); in gs_c_name_glyph()
|
| H A D | zstack.c | 178 ref bot; in zroll() local 181 ref_assign_inline(&bot, to); in zroll() 184 ref_assign_inline(to, &bot); in zroll()
|
| H A D | idstack.c | 84 if (pds->stack.bot[i].value.pdict == pdict) in dstack_dict_is_permanent() 163 while (pdref-- > pds->stack.bot); in dstack_find_name_by_index() 171 uint i = pds->stack.p + 1 - pds->stack.bot; in dstack_find_name_by_index()
|
| H A D | iparam.c | 999 ref *bot = ((array_param_list *) plist)->bot; in array_param_read() local 1000 ref *ptr = bot; in array_param_read() 1006 ploc->presult = &plist->results[ptr - bot]; in array_param_read() 1020 ref *bot = ((array_param_list *) plist)->bot; in array_param_enumerate() local 1021 ref *ptr = bot + index; in array_param_enumerate() 1039 array_param_list_read(array_param_list * plist, ref * bot, uint count, in array_param_list_read() argument 1049 plist->bot = bot; in array_param_list_read() 1050 plist->top = bot + count; in array_param_list_read()
|
| H A D | isdata.h | 78 s_ptr bot; /* bottommost valid element */ member
|
| H A D | ostack.h | 30 #define osbot (o_stack.bot)
|
| H A D | zdict.c | 237 const ref *const bot = rsenum.ptr; in zwhere() local 238 const ref *pdref = bot + rsenum.size; in zwhere() 241 while (pdref-- > bot) { in zwhere()
|
| /plan9/sys/src/ape/lib/ap/gen/ |
| H A D | bsearch.c | 7 long i, bot, top, new; in bsearch() local 10 bot = 0; in bsearch() 11 top = bot + nmemb - 1; in bsearch() 12 while(bot <= top){ in bsearch() 13 new = (top + bot)/2; in bsearch() 19 bot = new + 1; in bsearch()
|
| /plan9/sys/src/cmd/page/ |
| H A D | view.c | 713 gendrawdiff(Image *dst, Rectangle bot, Rectangle top, in gendrawdiff() argument 722 if(Dx(bot)*Dy(bot) == 0) in gendrawdiff() 726 if(rectinrect(bot, top)) in gendrawdiff() 730 if(Dx(top)*Dy(top)==0 || rectXrect(bot, top)==0){ in gendrawdiff() 731 gendrawop(dst, bot, src, sp, mask, mp, op); in gendrawdiff() 735 origin = bot.min; in gendrawdiff() 738 if(bot.min.x < top.min.x){ in gendrawdiff() 739 r = Rect(bot.min.x, bot.min.y, top.min.x, bot.max.y); in gendrawdiff() 742 bot.min.x = top.min.x; in gendrawdiff() 746 if(bot.max.x > top.max.x){ in gendrawdiff() [all …]
|
| /plan9/sys/src/cmd/cc/ |
| H A D | pickle.c | 15 int i, bot, top, new; in pmap() local 17 bot = 0; in pmap() 18 top = bot + nelem(kwd) - 1; in pmap() 19 while(bot <= top){ in pmap() 20 new = bot + (top - bot)/2; in pmap() 26 bot = new + 1; in pmap()
|
| H A D | acid.c | 14 int i, bot, top, new; in amap() local 16 bot = 0; in amap() 17 top = bot + nelem(kwd) - 1; in amap() 18 while(bot <= top){ in amap() 19 new = bot + (top - bot)/2; in amap() 25 bot = new + 1; in amap()
|
| /plan9/sys/src/cmd/ |
| H A D | join.c | 192 seekbotreadboth(int seekf, vlong bot, int n[]) in seekbotreadboth() argument 194 Bseek(f[seekf], bot, 0); in seekbotreadboth() 203 vlong top, bot; in join() local 207 bot = Boffset(f[seekf]); in join() 215 bot = Boffset(f[seekf]); in join() 221 bot = Boffset(f[seekf]); in join() 231 seekbotreadboth(seekf, bot, n); in join() 239 seekbotreadboth(seekf, bot, n); in join() 247 bot = top; in join()
|
| H A D | look.c | 162 vlong top, bot, mid; in locate() local 166 bot = 0; in locate() 169 mid = (top+bot) / 2; in locate() 189 bot = mid; in locate() 194 Bseek(dfile, bot, 0); in locate()
|
| H A D | prof.c | 233 int top, bot, mid; in symind() local 235 bot = 0; in symind() 237 for (mid = (bot+top)/2; mid < top; mid = (bot+top)/2) { in symind() 242 bot = mid; in symind()
|
| /plan9/sys/src/cmd/gs/lib/ |
| H A D | ps2pdf14.bat | 7 goto bot 13 :bot label
|
| H A D | ps2pdf13.bat | 7 goto bot 13 :bot label
|
| H A D | ps2pdf12.bat | 7 goto bot 13 :bot label
|
| H A D | ps2pdf.bat | 10 goto bot 16 :bot label
|
| /plan9/sys/src/cmd/dict/ |
| H A D | dict.c | 425 long top, bot, mid; in locate() local 430 bot = 0; in locate() 439 mid = (top+bot) / 2; in locate() 443 bot, (top+bot) / 2, mid, top); in locate() 455 bot = mid; in locate() 462 while((bot = seeknextline(bindex, bot)) <= top) { in locate() 473 return bot; in locate()
|
| /plan9/sys/src/libmach/ |
| H A D | sym.c | 682 int top, bot, mid; in srchtext() local 686 bot = 0; in srchtext() 688 for (mid = (bot+top)/2; mid < top; mid = (bot+top)/2) { in srchtext() 695 bot = mid; in srchtext() 709 int top, bot, mid; in srchdata() local 712 bot = 0; in srchdata() 715 for(mid = (bot+top)/2; mid < top; mid = (bot+top)/2) { in srchdata() 722 bot = mid; in srchdata() 1009 long line, top, bot, mid; in fileline() local 1016 bot = 0; in fileline() [all …]
|
| /plan9/sys/src/cmd/cwfs/ |
| H A D | uidgid.c | 454 Uid *bot, *top, *new; in uidtop() local 456 bot = uid; in uidtop() 457 top = bot + cons.nuid-1; in uidtop() 459 while(bot <= top){ in uidtop() 460 new = bot + (top - bot)/2; in uidtop() 464 bot = new + 1; in uidtop()
|
| /plan9/sys/src/cmd/ratfs/ |
| H A D | misc.c | 161 ulong top, bot, mid; in ipsearch() local 164 bot = 0; in ipsearch() 166 for (mid = (bot+top)/2; mid < top; mid = (bot+top)/2) { in ipsearch() 173 bot = mid; in ipsearch()
|
| /plan9/sys/src/libc/port/ |
| H A D | pool.c | 684 arenamerge(Pool *p, Arena *bot, Arena *top) in arenamerge() argument 689 blockcheck(p, bot); in arenamerge() 691 assert(bot->aup == top && top > bot); in arenamerge() 693 if(p->merge == nil || p->merge(bot, top) == 0) in arenamerge() 697 if(bot->aup = top->aup) /* assign = */ in arenamerge() 698 bot->aup->down = bot; in arenamerge() 700 p->arenalist = bot; in arenamerge() 703 t = B2PT(A2TB(bot)); in arenamerge() 710 arenasetsize(bot, top->asize + ((uchar*)top - (uchar*)bot)); in arenamerge() 715 return bot; in arenamerge()
|
| /plan9/sys/src/cmd/abaco/ |
| H A D | page.c | 398 p->bot = ZP; in pageclose() 543 p->bot = npos; in pageselect1() 546 p->bot = opos; in pageselect1() 594 p->bot = l->lastbox->r.max;; in pagedoubleclick() 596 p->bot = l->lastbox->r.max; in pagedoubleclick() 607 p->bot = b->r.max; in pagedoubleclick() 611 p->bot.y -= 2; in pagedoubleclick() 643 if(eqpt(p->top, p->bot)){ in pageselect()
|