Searched refs:top (Results 1 - 25 of 242) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmachclock.h65 #define TODOP_GET(top) ((top)->tod_get(top))
66 #define TODOP_SET(top, ts) ((top)->tod_set(top, ts))
67 #define TODOP_SETWD(top, nsec) ((top)->tod_set_watchdog_timer(top, nsec))
68 #define TODOP_CLRWD(top) ((to
[all...]
/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)
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/lib/libeti/menu/common/
H A Dchk.c38 /* Make sure top is not within a page of the end of the menu */
41 _chk_top(MENU *m, int *top, ITEM *current) argument
43 if (Y(current) < *top) {
44 *top = Y(current);
46 if (Y(current) >= *top + Height(m)) {
47 *top = Y(current) - Height(m) + 1;
52 * This routine makes sure top is in the correct position
58 _chk_current(MENU *m, int *top, ITEM *current) argument
60 if (Y(current) < *top) {
61 *top
[all...]
H A Dtopitem.c39 set_top_row(MENU *m, int top) argument
50 if (top < 0 || top > Rows(m) - Height(m)) {
53 if (top != Top(m)) {
59 current = IthItem(m, RowMajor(m) ? top * Cols(m) : top);
62 _affect_change(m, top, current);
H A Dcuritem.c41 int top; local
52 top = Top(m);
53 _chk_current(m, &top, current);
58 _affect_change(m, top, current);
H A Ddriver.c42 int top; local
56 top = Top(m);
104 if (--top < 0) {
105 ++top;
113 if (++top > Rows(m) - Height(m)) {
114 --top;
122 n = min(Height(m), top);
124 top -= n;
135 n = min(Height(m), Rows(m) - Height(m) - top);
137 top
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dscrreg.c52 setscrreg(int top, int bottom) argument
54 if (top < 0 || bottom < top || stdscr->_maxy <= bottom)
58 stdscr->_top = (short) top;
H A Dwscrreg.c50 wsetscrreg(WINDOW *w, int top, int bottom) argument
52 if (top < 0 || bottom < top || w->_maxy <= bottom)
56 w->_top = (short) top;
/illumos-gate/usr/src/lib/libast/common/hash/
H A Dhashview.c35 * bot==0 pop top scope
36 * bot==top query
37 * bot!=0 push top on bot
43 hashview(Hash_table_t* top, Hash_table_t* bot) argument
50 if (!top || top->frozen)
52 else if (top == bot)
53 bot = top->scope;
56 if (top->scope)
60 sx = &top
[all...]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthash_live.c26 iphtent_t entry, *top, *node; local
52 top = NULL;
57 entry.ipe_snext = top;
58 top = malloc(sizeof(*top));
59 if (top == NULL)
61 bcopy(&entry, top, sizeof(entry));
64 while (top != NULL) {
65 node = top;
67 top
[all...]
H A Dprintpool_live.c26 ip_pool_node_t entry, *top, *node; local
52 top = NULL;
57 entry.ipn_next = top;
58 top = malloc(sizeof(*top));
59 if (top == NULL)
61 bcopy(&entry, top, sizeof(entry));
64 while (top != NULL) {
65 node = top;
67 top
[all...]
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dsource.c74 static source_t *top; variable
102 top = new_p;
150 top = new_p;
166 if (!top)
169 c = getc(top->instream);
173 * If we get an EOF at the top level, we quit if we are *
177 if (top->instream == stdin) {
178 if (top->isatty) {
185 if (top->path)
186 free(top
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dsbrk.c42 setheap(void *base, void *top) argument
47 maxheap = (char *)top - (char *)heapbase;
/illumos-gate/usr/src/common/ficl/
H A Dstack.c45 #define STKDEPTH(s) (((s)->top - (s)->base) + 1)
52 * top points to the *current* top data value
53 * push: increment top, store value at top
54 * pop: fetch value at top, decrement top
137 stack->top -= n;
146 return (stack->top[-n]);
152 stack->top[
[all...]
/illumos-gate/usr/src/uts/common/io/ral/
H A Dral_rate.c86 int flags = 0, i, rateidx = 0, thridx, top; local
91 for (i = 0, top = RAL_RSSADAPT_BKT0;
93 i++, top <<= RAL_RSSADAPT_BKTPOWER) {
95 if (len <= top)
155 uint32_t i, thridx, top; local
162 for (i = 0, top = RAL_RSSADAPT_BKT0;
164 i++, top <<= RAL_RSSADAPT_BKTPOWER) {
166 if (id->id_len <= top)
184 int i, top; local
188 for (i = 0, top
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h198 #define TODOP_GET(top) ((top).tod_get())
199 #define TODOP_SET(top, ts) ((top).tod_set(ts))
200 #define TODOP_SETWD(top, nsec) ((top).tod_set_watchdog_timer(nsec))
201 #define TODOP_CLRWD(top) ((top).tod_clear_watchdog_timer())
202 #define TODOP_SETWAKE(top, ts) ((top)
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Doverlap.c56 top, bottom, left, right; local
71 top = _MAX(sby, dby); bottom = _MIN(sey, dey);
74 sby = top - sby; sbx = left - sbx;
76 dby = top - dby; dbx = left - dbx;
H A Dinit_pair.c81 short top = -1; local
98 if (top == -1)
99 top = i;
104 if (top != -1) {
105 _VIRTTOP = top;
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c124 __rec_fpipe(t, top)
126 recno_t top;
145 for (nrec = t->bt_nrecs; nrec < top;) {
162 if (nrec < top) {
180 __rec_vpipe(t, top)
182 recno_t top;
192 for (nrec = t->bt_nrecs; nrec < top; ++nrec) {
219 if (nrec < top) {
237 __rec_fmap(t, top)
239 recno_t top;
[all...]
/illumos-gate/usr/src/cmd/look/
H A Dlook.c40 long top,bot,mid; local
88 top = ftell(dfile);
90 mid = (top+bot)/2;
103 if(top<=mid)
105 top = mid;
115 while(ftell(dfile)<top) {
/illumos-gate/usr/src/uts/common/io/
H A Dvuid_queue.c55 vq->top = vq->bottom = vq->free = VUID_Q_NODE_NULL;
92 /* Change top */
93 if (vq->top == VUID_Q_NODE_NULL)
94 vq->top = vqn;
98 /* Place at top of queue */
105 Vuid_q_node *vqn = vq->top;
112 /* Change top */
113 vq->top = vqn->next;
114 /* Null new top's prev */
115 if (vq->top !
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dvuid_queue.h48 struct vuid_q_node *top; /* input queue head (first in line) */ member in struct:vuid_queue
58 #define vq_is_empty(vq) ((vq)->top == VUID_Q_NODE_NULL)
89 /* Place event on top of queue in firm_event. */
93 /* Push firm_event on top of queue. Can */
/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/tools/cscope-fast/
H A Dmouse.h58 extern void drawscrollbar(int top, int bot, int total);

Completed in 93 milliseconds

12345678910