/titanic_50/usr/src/uts/i86pc/sys/ |
H A D | machclock.h | 65 #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
|
/titanic_50/usr/src/cmd/tnf/prex/ |
H A D | source.c | 74 static source_t *top; variable 102 top = new_p; in source_init() 150 top = new_p; in source_file() 166 if (!top) in source_input() 169 c = getc(top->instream); in source_input() 177 if (top->instream == stdin) { in source_input() 178 if (top->isatty) { in source_input() 185 if (top->path) in source_input() 186 free(top->path); in source_input() 187 (void) fclose(top->instream); in source_input() [all …]
|
/titanic_50/usr/src/lib/libast/common/hash/ |
H A D | hashview.c | 43 hashview(Hash_table_t* top, Hash_table_t* bot) in hashview() argument 50 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() [all …]
|
/titanic_50/usr/src/lib/libeti/menu/common/ |
H A D | chk.c | 41 _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 D | topitem.c | 39 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()
|
H A D | driver.c | 42 int top; in menu_driver() local 56 top = Top(m); in menu_driver() 104 if (--top < 0) { in menu_driver() 105 ++top; in menu_driver() 113 if (++top > Rows(m) - Height(m)) { in menu_driver() 114 --top; in menu_driver() 122 n = min(Height(m), top); in menu_driver() 124 top -= n; in menu_driver() 135 n = min(Height(m), Rows(m) - Height(m) - top); in menu_driver() 137 top += n; in menu_driver() [all …]
|
H A D | curitem.c | 41 int top; in set_current_item() local 52 top = Top(m); in set_current_item() 53 _chk_current(m, &top, current); in set_current_item() 58 _affect_change(m, top, current); in set_current_item()
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/json/ |
H A D | tst.general.d.out | 171 in |{ "top": { "mid" : { "legs": "feet" }, "number": 9, "array":[0,1,{"a":true,"bb":[1,2,false,{"… 172 sel |top| 176 sel |top.mid| 178 sel |top.centre| 180 sel |top.mid.legs| 182 sel |top.mid.number| 184 sel |top.mid.array| 186 sel |top.number| 188 sel |top.array| 190 sel |top.array[0]| [all …]
|
/titanic_50/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 = node->ipe_snext;
|
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 = node->ipn_next;
|
/titanic_50/usr/src/uts/common/io/ral/ |
H A D | ral_rate.c | 86 int flags = 0, i, rateidx = 0, thridx, top; in ral_rssadapt_choose() local 91 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() [all …]
|
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | scrreg.c | 47 (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 D | wscrreg.c | 47 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;
|
/titanic_50/usr/src/uts/sun4u/sys/ |
H A D | machclock.h | 198 #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
|
/titanic_50/usr/src/uts/common/io/ |
H A D | vuid_queue.c | 55 vq->top = vq->bottom = vq->free = VUID_Q_NODE_NULL; in vq_initialize() 93 if (vq->top == VUID_Q_NODE_NULL) in vq_put() 94 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() 116 vq->top->prev = VUID_Q_NODE_NULL; in vq_get() 128 if (vq->top == VUID_Q_NODE_NULL) in vq_peek() 130 *firm_event = vq->top->firm_event; in vq_peek() 143 vqn->next = vq->top; in vq_putback() [all …]
|
/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_get.c | 124 __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; 192 for (nrec = t->bt_nrecs; nrec < top; ++nrec) { 219 if (nrec < top) { 237 __rec_fmap(t, top) in __rec_fmap() argument 239 recno_t top; [all …]
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | ldap.c | 522 sm_ldap_add_recurse(top, item, type, rpool) in sm_ldap_add_recurse() argument 523 SM_LDAP_RECURSE_LIST **top; in sm_ldap_add_recurse() 544 if (*top == NULL) 547 *top = sm_rpool_malloc_x(rpool, sizeof **top); 548 (*top)->lrl_cnt = 0; 549 (*top)->lrl_size = 0; 550 (*top)->lrl_data = NULL; 553 if ((*top)->lrl_cnt >= (*top)->lrl_size) 556 olddata = (*top)->lrl_data; 557 if ((*top)->lrl_size == 0) [all …]
|
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wscrreg.c | 50 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 D | scrreg.c | 52 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()
|
/titanic_50/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++) {
|
/titanic_50/usr/src/cmd/look/ |
H A D | look.c | 40 long top,bot,mid; in main() local 88 top = ftell(dfile); in main() 90 mid = (top+bot)/2; in main() 103 if(top<=mid) in main() 105 top = mid; in main() 115 while(ftell(dfile)<top) { in main()
|
/titanic_50/usr/src/grub/grub-0.97/stage2/ |
H A D | common.c | 121 unsigned long long top; in mmap_avail_at() local 125 top = bottom; in mmap_avail_at() 135 && desc->BaseAddr <= top in mmap_avail_at() 136 && desc->BaseAddr + desc->Length > top) in mmap_avail_at() 138 top = desc->BaseAddr + desc->Length; in mmap_avail_at() 146 if (top > 0xFFFFFFFF) in mmap_avail_at() 147 top = 0xFFFFFFFF; in mmap_avail_at() 149 return (unsigned long) top - bottom; in mmap_avail_at()
|
/titanic_50/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; indx += O_INDX)
|
/titanic_50/usr/src/lib/libcurses/screen/ |
H A D | init_pair.c | 81 short top = -1; in init_pair() local 98 if (top == -1) in init_pair() 99 top = i; in init_pair() 104 if (top != -1) { in init_pair() 105 _VIRTTOP = top; in init_pair()
|
/titanic_50/usr/src/cmd/mailx/ |
H A D | names.c | 108 register struct name *top, *np, *t; in extract() local 115 top = NIL; in extract() 134 if (top == NIL) in extract() 135 top = t; in extract() 141 return (top); in extract() 152 register char *cp, *top; in detract() local 166 top = (char *)salloc((unsigned)(++s)); in detract() 167 cp = top; in detract() 177 return (top); in detract() 346 if (np == top) { in outof() [all …]
|