Home
last modified time | relevance | path

Searched refs:top (Results 26 – 50 of 439) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_rsearch.c77 db_indx_t indx, top; local
204 for (indx = 0, top = NUM_ENT(h);;) {
206 if (++indx == top || total + bi->nrecs >= recno)
220 for (indx = 0, top = NUM_ENT(h);;) {
222 if (++indx == top || total + ri->nrecs >= recno)
365 db_indx_t indx, top; local
368 top = NUM_ENT(h);
373 for (indx = 0; indx < top; indx += P_INDX)
378 for (indx = 0; indx < top; indx += O_INDX)
385 for (indx = 0; indx < top; indx += O_INDX)
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c116 top = NIL; in extract()
135 if (top == NIL) in extract()
136 top = t; in extract()
142 return (top); in extract()
168 cp = top; in detract()
178 return (top); in detract()
347 if (np == top) { in outof()
349 if (top != NIL) in outof()
351 np = top; in outof()
628 ap = top; in unpack()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinit_pair.c79 short top = -1; in init_pair() local
96 if (top == -1) in init_pair()
97 top = i; in init_pair()
102 if (top != -1) { in init_pair()
103 _VIRTTOP = top; in init_pair()
H A Doverlap.c54 top, bottom, left, right; in _overlap() local
69 top = _MAX(sby, dby); bottom = _MIN(sey, dey); in _overlap()
72 sby = top - sby; sbx = left - sbx; in _overlap()
74 dby = top - dby; dbx = left - dbx; in _overlap()
H A Dtparm.c98 long top; member
110 if (st->top < 0) { in tops()
113 return (st->stack[st->top]); in tops()
119 if (st->top >= (st->stacksize - 1)) { in push()
126 st->stack[++st->top] = (i); in push()
132 if (st->top < 0) { in pop()
135 return (st->stack[st->top--]); in pop()
146 if (st->top < 0) { in pop_char_p()
149 return ((char *)(st->stack[st->top--])); in pop_char_p()
155 st->top = -1; in init_stack()
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dcuritem.c39 int top; in set_current_item() local
50 top = Top(m); in set_current_item()
51 _chk_current(m, &top, current); in set_current_item()
56 _affect_change(m, top, current); in set_current_item()
H A Dpattern.c138 int top; in set_menu_pattern() local
162 top = Top(m); in set_menu_pattern()
173 _chk_current(m, &top, current); in set_menu_pattern()
174 _affect_change(m, top, current); in set_menu_pattern()
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dldebug.c165 setobj2s(L, L->top, pos); in lua_getlocal()
182 setobjs2s(L, pos, L->top - 1); in lua_setlocal()
183 L->top--; /* pop value */ in lua_setlocal()
210 setnilvalue(L->top); in collectvalidlines()
218 sethvalue(L, L->top, t); /* push it on stack */ in collectvalidlines()
287 func = L->top - 1; in lua_getinfo()
290 L->top--; /* pop function */ in lua_getinfo()
300 setobjs2s(L, L->top, func); in lua_getinfo()
507 for (p = ci->u.l.base; p < ci->top; p++) in isinstack()
591 setobjs2s(L, L->top, L->top - 1); /* move argument */ in luaG_errormsg()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vwind.c199 line *top; in vcontext() local
203 top = addr; in vcontext()
212 top = vback(addr, basWLINES - vdepth()); in vcontext()
217 top = vback(addr, basWLINES / 2 - vdepth()); in vcontext()
222 top = addr; in vcontext()
231 vshow(addr, top); in vcontext()
258 vshow(line *addr, line *top) in vshow() argument
278 if (top == 0) { in vshow()
282 dot = top; in vshow()
293 vcline = addr - top; in vshow()
/illumos-gate/usr/src/cmd/bnu/
H A Dcntrl.c272 top: in cntrl()
340 goto top; in cntrl()
561 goto top; in cntrl()
579 goto top; in cntrl()
605 goto top; in cntrl()
614 goto top; in cntrl()
752 goto top; in cntrl()
782 goto top; in cntrl()
826 goto top; in cntrl()
837 goto top; in cntrl()
[all …]
/illumos-gate/usr/src/tools/scripts/
H A Dinterface_cmp.pl228 my ($top, $direct, $total, $symhash, $inheritarr) =
351 my ($top, $name, $inherit) = ($2, $3, $5);
353 $top = defined($top) ? 1 : 0;
358 $cur_version = [ $top, 0, 0, {}, \@inheritarr ];
430 my ($top, $direct, $total, $symhash, $inheritarr) =
433 $top = $top ? "TOP_" : '';
438 print "${top}VERSION\t$name$inherit\n";
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt.c313 int top = optind; local
329 char *new_str = malloc (top + 1);
336 '\0', top + 1 - nonoption_flags_max_len);
337 nonoption_flags_max_len = top + 1;
343 while (top > middle && middle > bottom)
345 if (top - middle > middle - bottom)
355 argv[bottom + i] = argv[top - (middle - bottom) + i];
356 argv[top - (middle - bottom) + i] = tem;
357 SWAP_FLAGS (bottom + i, top - (middle - bottom) + i);
360 top -= len;
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dring.c73 #define ring_increment(d, a, c) (((a)+(c) < (d)->top)? \
110 ring->top = ring->bottom+ring->size; in ring_init()
180 else if (ring->consume + count > ring->top && in ring_consumed()
219 return (ring_subtract(ring, ring->top, ring->supply)); in ring_empty_consecutive()
257 return (ring_subtract(ring, ring->top, ring->consume)); in ring_full_consecutive()
264 return (ring_subtract(ring, ring->top, ring->consume)); in ring_full_consecutive()
322 (*encryptor)(c, ring->top - c); in ring_encrypt()
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_lex.c207 top: in yylex()
217 goto top; in yylex()
236 goto top; in yylex()
241 goto top; in yylex()
246 goto top; in yylex()
255 goto top; in yylex()
340 goto top; in yylex()
358 goto top; in yylex()
386 goto top; in yylex()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/
H A Dstate021.cfg33 # Verify that executing 'zfs inherit' at the top level in the hierarchy
34 # when the top level and bottom level properties are set locally and the
35 # middle dataset has inherited from the top level, results in the top level
37 # inheriting the new top level value.
H A Dstate019.cfg33 # Verify that executing 'zfs inherit' at the top level in the hierarchy
34 # when the top level properties are set locally and the middle and bottom
35 # datasets have inherited from the top level, results in the top level
H A Dstate020.cfg33 # Verify that executing 'zfs inherit -r' at the top level in the hierarchy
34 # when the top level properties are set locally and the middle and bottom
35 # datasets have inherited from the top level, results in the top level
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfts.c388 if (*top) in getlist()
605 top = bot = 0; in toplist()
679 top = bot = f; in toplist()
681 return top; in toplist()
693 FTSENT* top; in order() local
700 fts->todo = top; in order()
1094 if (fts->top) in fts_read()
1163 if (fts->top) in fts_read()
1167 fts->top = 0; in fts_read()
1400 fts->top = f; in fts_read()
[all …]
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dxpvtod.c44 todxen_get(tod_ops_t *top) in todxen_get() argument
97 (void) TODOP_GET(top->tod_next); in todxen_get()
123 todxen_set(tod_ops_t *top, timestruc_t ts) in todxen_set() argument
129 TODOP_SET(top->tod_next, ts); in todxen_set()
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_i386.c1165 unsigned top; in pop() local
1175 top = (uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.sw >> 10) in pop()
1178 top = (top + 2) & 0xe; in pop()
1181 | (top << 10); in pop()
1186 top = (top + 2) & 0xe; in pop()
1189 | (top << 10); in pop()
1196 unsigned top; in push() local
1209 top = (top - 2) & 0xe; in push()
1213 | (top << 10); in push()
1217 top = (top - 2) & 0xe; in push()
[all …]
/illumos-gate/usr/src/lib/print/libprint/common/
H A DsunPrinter.oc.conf.txt32 top
42 top
94 top
102 top
111 top
/illumos-gate/usr/src/uts/sun4/os/
H A Dmemlist.c382 pfn_t top = 0; in installed_top_size_memlist_array() local
389 if (top < highp) in installed_top_size_memlist_array()
390 top = highp; in installed_top_size_memlist_array()
394 *topp = top; in installed_top_size_memlist_array()
617 pfn_t top = 0; in installed_top_size() local
623 if (top < highp) in installed_top_size()
624 top = highp; in installed_top_size()
628 *topp = top; in installed_top_size()
/illumos-gate/usr/src/uts/common/syscall/
H A Dsymlink.c73 top: in symlinkat()
81 goto top; in symlinkat()
105 goto top; in symlinkat()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashlook.c42 Hash_table_t* top; in hashlook() local
76 top = tab; in hashlook()
161 if (tab != top && !(flags & HASH_SCOPE)) break; in hashlook()
167 if (tab == top || (flags & HASH_SCOPE)) in hashlook()
205 …if (tab != top || tab->frozen || (b->hash & (HASH_KEEP|HASH_OPAQUED)) || hashlook(top, value, (fla… in hashlook()
262 if (tab == top) prev = 0; in hashlook()
270 if (!(flags & HASH_SCOPE)) tab = top; in hashlook()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dmain.c121 static void cmdscanner(int top);
138 int c, top; in main() local
326 top = setjmp(toplevel) == 0; in main()
327 if (top) { in main()
333 cmdscanner(top); in main()
334 top = 1; in main()
419 cmdscanner(int top) in cmdscanner() argument
423 if (!top) in cmdscanner()

12345678910>>...18