Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmachclock.h65 #define TODOP_GET(top) ((top)->tod_get(top)) argument
66 #define TODOP_SET(top, ts) ((top)->tod_set(top, ts)) argument
67 #define TODOP_SETWD(top, nsec) ((top)->tod_set_watchdog_timer(top, nsec)) argument
68 #define TODOP_CLRWD(top) ((top)->tod_clear_watchdog_timer(top)) argument
69 #define TODOP_SETWAKE(top, nsec) ((top)->tod_set_wake_alarm(top, nsec)) argument
70 #define TODOP_CLRWAKE(top) ((top)->tod_clear_wake_alarm(top)) argument
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dsource.c102 top = new_p; in source_init()
150 top = new_p; in source_file()
166 if (!top) in source_input()
189 free(top); in source_input()
194 if (!top) in source_input()
213 if (top) in source_unput()
238 if (top) in source_nl()
256 top->path, top->linenum, s, yytext); in yyerror()
282 if (top && top->isatty) in prompt()
299 if (!top) in semantic_err()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashview.c50 if (!top || top->frozen) in hashview()
52 else if (top == bot) in hashview()
53 bot = top->scope; in hashview()
56 if (top->scope) in hashview()
60 sx = &top->table[top->size]; in hashview()
61 sp = &top->table[0]; in hashview()
69 top->scope = bot; in hashview()
73 else if (bot = top->scope) in hashview()
75 sx = &top->table[top->size]; in hashview()
76 sp = &top->table[0]; in hashview()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlapi.c104 if (res && ci->top < L->top + size) in lua_checkstack()
105 ci->top = L->top + size; /* adjust frame top */ in lua_checkstack()
120 setobj2s(to, to->top++, from->top + i); in lua_xmove()
187 L->top--; in lua_remove()
300 setobjs2s(L, L->top, L->top - 1); in lua_arith()
613 luaV_gettable(L, gt, L->top - 1, L->top - 1); in lua_getglobal()
622 luaV_gettable(L, t, L->top - 1, L->top - 1); in lua_gettable()
633 luaV_gettable(L, t, L->top - 1, L->top - 1); in lua_getfield()
740 luaV_settable(L, gt, L->top - 1, L->top - 2); in lua_setglobal()
751 luaV_settable(L, t, L->top - 2, L->top - 1); in lua_settable()
[all …]
H A Dlvm.c296 StkId top = L->top; in luaV_concat() local
298 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat()
299 if (!call_binTM(L, top-2, top-1, top-2, TM_CONCAT)) in luaV_concat()
300 luaG_concaterror(L, top-2, top-1); in luaV_concat()
519 L->top = ci->top; /* restore top */ in luaV_finishOp()
524 L->top = ci->top; /* correct top */ in luaV_finishOp()
529 L->top = ci->top; /* adjust results */ in luaV_finishOp()
726 L->top = ci->top; /* restore top */ in luaV_execute()
807 oci->top = L->top = ofunc + (L->top - nfunc); /* correct top */ in luaV_execute()
824 if (b) L->top = ci->top; in luaV_execute()
[all …]
H A Dlapi.h14 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
18 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
20 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
H A Dldo.c103 L->top = oldtop + 1; in seterrorobj()
149 L->top = (L->top - oldstack) + L->stack; in correctstack()
153 ci->top = (ci->top - oldstack) + L->stack; in correctstack()
203 if (lim < ci->top) lim = ci->top; in stackinuse()
225 ptrdiff_t top = savestack(L, L->top); in luaD_hook() local
232 ci->top = L->top + LUA_MINSTACK; in luaD_hook()
242 L->top = restorestack(L, top); in luaD_hook()
316 ci->top = L->top + LUA_MINSTACK; in luaD_precall()
352 L->top = ci->top; in luaD_precall()
386 L->top = res; in luaD_poscall()
[all …]
/illumos-gate/usr/src/common/ficl/
H A Dstack.c137 stack->top -= n; in ficlStackDrop()
152 stack->top[-n] = c; in ficlStackStore()
161 return (stack->top[0]); in ficlStackGetTop()
178 stack->top += size; in ficlStackLink()
265 *++stack->top = c; in ficlStackPush()
274 *++stack->top = c; in ficlStackPushPointer()
283 *++stack->top = c; in ficlStackPushInteger()
292 *++stack->top = c; in ficlStackPushUnsigned()
318 *++stack->top = c; in ficlStackPushFloat()
356 cell = stack->top; in ficlStackRoll()
[all …]
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dchk.c41 _chk_top(MENU *m, int *top, ITEM *current) in _chk_top() argument
43 if (Y(current) < *top) { in _chk_top()
44 *top = Y(current); in _chk_top()
46 if (Y(current) >= *top + Height(m)) { in _chk_top()
47 *top = Y(current) - Height(m) + 1; in _chk_top()
58 _chk_current(MENU *m, int *top, ITEM *current) in _chk_current() argument
60 if (Y(current) < *top) { in _chk_current()
61 *top = Y(current); in _chk_current()
63 if (Y(current) >= *top + Height(m)) { in _chk_current()
64 *top = min(Y(current), Rows(m) - Height(m)); in _chk_current()
H A Ddriver.c40 int top; in menu_driver() local
54 top = Top(m); in menu_driver()
102 if (--top < 0) { in menu_driver()
103 ++top; in menu_driver()
111 if (++top > Rows(m) - Height(m)) { in menu_driver()
112 --top; in menu_driver()
120 n = min(Height(m), top); in menu_driver()
122 top -= n; in menu_driver()
135 top += n; in menu_driver()
246 _chk_top(m, &top, current); in menu_driver()
[all …]
H A Dtopitem.c39 set_top_row(MENU *m, int top) in set_top_row() argument
50 if (top < 0 || top > Rows(m) - Height(m)) { in set_top_row()
53 if (top != Top(m)) { in set_top_row()
59 current = IthItem(m, RowMajor(m) ? top * Cols(m) : top); in set_top_row()
62 _affect_change(m, top, current); in set_top_row()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/json/
H A Dtst.general.d.out172 sel |top|
176 sel |top.mid|
178 sel |top.centre|
180 sel |top.mid.legs|
184 sel |top.mid.array|
186 sel |top.number|
188 sel |top.array|
190 sel |top.array[0]|
192 sel |top.array[1]|
194 sel |top.array[2]|
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthash_live.c24 iphtent_t entry, *top, *node; local
50 top = NULL;
55 entry.ipe_snext = top;
56 top = malloc(sizeof(*top));
57 if (top == NULL)
59 bcopy(&entry, top, sizeof(entry));
62 while (top != NULL) {
63 node = top;
65 top = node->ipe_snext;
H A Dprintpool_live.c24 ip_pool_node_t entry, *top, *node; local
50 top = NULL;
55 entry.ipn_next = top;
56 top = malloc(sizeof(*top));
57 if (top == NULL)
59 bcopy(&entry, top, sizeof(entry));
62 while (top != NULL) {
63 node = top;
65 top = node->ipn_next;
/illumos-gate/usr/src/uts/common/io/ral/
H A Dral_rate.c91 for (i = 0, top = RAL_RSSADAPT_BKT0; in ral_rssadapt_choose()
93 i++, top <<= RAL_RSSADAPT_BKTPOWER) { in ral_rssadapt_choose()
95 if (len <= top) in ral_rssadapt_choose()
155 uint32_t i, thridx, top; in ral_rssadapt_lower_rate() local
162 for (i = 0, top = RAL_RSSADAPT_BKT0; in ral_rssadapt_lower_rate()
164 i++, top <<= RAL_RSSADAPT_BKTPOWER) { in ral_rssadapt_lower_rate()
166 if (id->id_len <= top) in ral_rssadapt_lower_rate()
184 int i, top; in ral_rssadapt_raise_rate() local
188 for (i = 0, top = RAL_RSSADAPT_BKT0; in ral_rssadapt_raise_rate()
190 i++, top <<= RAL_RSSADAPT_BKTPOWER) { in ral_rssadapt_raise_rate()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h198 #define TODOP_GET(top) ((top).tod_get()) argument
199 #define TODOP_SET(top, ts) ((top).tod_set(ts)) argument
200 #define TODOP_SETWD(top, nsec) ((top).tod_set_watchdog_timer(nsec)) argument
201 #define TODOP_CLRWD(top) ((top).tod_clear_watchdog_timer()) argument
202 #define TODOP_SETWAKE(top, ts) ((top).tod_set_power_alarm(ts)) argument
203 #define TODOP_CLRWAKE(top) ((top).tod_clear_power_alarm()) argument
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dscrreg.c47 (setscrreg)(top, bottom)
48 int top, bottom;
51 __m_trace("setscrreg(%d, %d)", top, bottom);
54 if (top < 0 || bottom < top || stdscr->_maxy <= bottom)
58 stdscr->_top = top;
H A Dwscrreg.c47 wsetscrreg(w, top, bottom) in wsetscrreg() argument
49 int top, bottom;
52 __m_trace("wsetscrreg(%p, %d, %d)", w, top, bottom);
55 if (top < 0 || bottom < top || w->_maxy <= bottom)
59 w->_top = top;
/illumos-gate/usr/src/uts/common/io/
H A Dvuid_queue.c94 vq->top = vqn; in vq_put()
105 Vuid_q_node *vqn = vq->top; in vq_get()
113 vq->top = vqn->next; in vq_get()
115 if (vq->top != VUID_Q_NODE_NULL) in vq_get()
128 if (vq->top == VUID_Q_NODE_NULL) in vq_peek()
143 vqn->next = vq->top; in vq_putback()
147 if (vq->top != VUID_Q_NODE_NULL) in vq_putback()
148 vq->top->prev = vqn; in vq_putback()
150 vq->top = vqn; in vq_putback()
176 vq->top->firm_event.time); in vq_compress()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c124 __rec_fpipe(t, top) in __rec_fpipe() argument
126 recno_t top;
145 for (nrec = t->bt_nrecs; nrec < top;) {
162 if (nrec < top) {
180 __rec_vpipe(t, top) in __rec_vpipe() argument
182 recno_t top;
219 if (nrec < top) {
237 __rec_fmap(t, top) in __rec_fmap() argument
239 recno_t top;
287 __rec_vmap(t, top) in __rec_vmap() argument
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dldap.c544 if (*top == NULL)
547 *top = sm_rpool_malloc_x(rpool, sizeof **top);
548 (*top)->lrl_cnt = 0;
549 (*top)->lrl_size = 0;
553 if ((*top)->lrl_cnt >= (*top)->lrl_size)
564 oldsizeb = (*top)->lrl_size * sizeof *((*top)->lrl_data);
565 (*top)->lrl_size *= 2;
568 (*top)->lrl_size * sizeof *((*top)->lrl_data));
579 m = (*top)->lrl_cnt - 1;
616 moveb = ((*top)->lrl_cnt - insertat) * sizeof *((*top)->lrl_data);
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_conv.c69 indx_t i, top; local
88 top = NEXTINDEX(h);
90 for (i = 0; i < top; i++) {
105 for (i = 0; i < top; i++) {
137 indx_t i, top; local
149 top = NEXTINDEX(h);
151 for (i = 0; i < top; i++) {
166 for (i = 0; i < top; i++) {
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwscrreg.c50 wsetscrreg(WINDOW *w, int top, int bottom) in wsetscrreg() argument
52 if (top < 0 || bottom < top || w->_maxy <= bottom) in wsetscrreg()
56 w->_top = (short) top; in wsetscrreg()
H A Dscrreg.c52 setscrreg(int top, int bottom) in setscrreg() argument
54 if (top < 0 || bottom < top || stdscr->_maxy <= bottom) in setscrreg()
58 stdscr->_top = (short) top; in setscrreg()
/illumos-gate/usr/src/cmd/look/
H A Dlook.c38 long top,bot,mid; in main() local
86 top = ftell(dfile); in main()
88 mid = (top+bot)/2; in main()
101 if(top<=mid) in main()
103 top = mid; in main()
113 while(ftell(dfile)<top) { in main()

12345678910>>...18