/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | scrreg.c | 52 setscrreg(int top, int bottom) argument 54 if (top < 0 || bottom < top || stdscr->_maxy <= bottom) 58 stdscr->_top = (short) top;
|
H A D | wscrreg.c | 50 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/libeti/menu/common/ |
H A D | chk.c | 38 /* 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 D | topitem.c | 39 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 D | curitem.c | 41 int top; local 52 top = Top(m); 53 _chk_current(m, &top, current); 58 _affect_change(m, top, current);
|
H A D | driver.c | 42 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...] |
H A D | pattern.c | 140 int top; local 164 top = Top(m); 175 _chk_current(m, &top, current); 176 _affect_change(m, top, current);
|
/illumos-gate/usr/src/lib/libast/common/hash/ |
H A D | hashview.c | 35 * 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...] |
H A D | hashlook.c | 42 Hash_table_t* top; local 76 top = tab; 161 if (tab != top && !(flags & HASH_SCOPE)) break; 167 if (tab == top || (flags & HASH_SCOPE)) 205 if (tab != top || tab->frozen || (b->hash & (HASH_KEEP|HASH_OPAQUED)) || hashlook(top, value, (flags&(HASH_HASHED|HASH_INTERNAL))|HASH_LOOKUP, NiL)) 262 if (tab == top) prev = 0; 270 if (!(flags & HASH_SCOPE)) tab = top;
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_conv.c | 69 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/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_search.c | 76 indx_t top; local 89 for (idx = 0, top = NEXTINDEX(h);;) { 91 if (++idx == top || total + r->nrecs > recno)
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | sbrk.c | 42 setheap(void *base, void *top) argument 47 maxheap = (char *)top - (char *)heapbase;
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | init_pair.c | 81 short top = -1; local 98 if (top == -1) 99 top = i; 104 if (top != -1) { 105 _VIRTTOP = top;
|
H A D | overlap.c | 56 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;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | ring.h | 64 unsigned char *top; /* highest address+1 in buffer */ member in struct:__anon145
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | printhash_live.c | 26 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 D | printpool_live.c | 26 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/mailx/ |
H A D | vars.c | 147 register char *top, *cp, *cp2; local 151 if ((top = (char *)calloc(strlen(str)+1, 1)) == NULL) 153 cp = top; 157 return(top);
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | xpvtod.c | 46 todxen_get(tod_ops_t *top) argument 99 (void) TODOP_GET(top->tod_next); 125 todxen_set(tod_ops_t *top, timestruc_t ts) argument 131 TODOP_SET(top->tod_next, ts);
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | common.c | 121 unsigned long long top; local 125 top = bottom; 135 && desc->BaseAddr <= top 136 && desc->BaseAddr + desc->Length > top) 138 top = desc->BaseAddr + desc->Length; 146 if (top > 0xFFFFFFFF) 147 top = 0xFFFFFFFF; 149 return (unsigned long) top - bottom;
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/ |
H A D | pmMessageDialog.java | 60 pmTop top, 65 theTop = top; 77 // top panel 57 pmMessageDialog(Frame f, String title, String msg, pmTop top, String h) argument
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_rsearch.c | 77 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; ind [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vuid_queue.h | 48 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/uts/common/io/ral/ |
H A D | ral_rate.c | 86 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/cmd/look/ |
H A D | look.c | 40 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) {
|