/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | cxx.c | 220 demangle(const char *first, const char *last, cpp_db_t *db) in demangle() argument 224 if (first >= last) { in demangle() 229 if (first[0] != '_') { in demangle() 230 t = parse_type(first, last, db); in demangle() 231 if (t == first) { in demangle() 238 if (last - first < 4) { in demangle() 243 if (first[1] == 'Z') { in demangle() 244 t = parse_encoding(first + 2, last, db); in demangle() 246 if (t != first + 2 && t != last && t[0] == '.') { in demangle() 255 if (first[1] != '_' || first[2] != '_' || first[3] != 'Z') in demangle() [all …]
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_llist.c | 104 DAPL_LLIST_ENTRY *first; in dapl_llist_add_head() local 111 first = *head; in dapl_llist_add_head() 112 entry->flink = first; in dapl_llist_add_head() 113 entry->blink = first->blink; in dapl_llist_add_head() 114 first->blink->flink = entry; in dapl_llist_add_head() 115 first->blink = entry; in dapl_llist_add_head() 191 DAPL_LLIST_ENTRY *first; in dapl_llist_remove_head() local 194 first = *head; in dapl_llist_remove_head() 195 *head = first->flink; in dapl_llist_remove_head() 197 first->flink->blink = first->blink; in dapl_llist_remove_head() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | basename.c | 35 register char *first, *last; in basename() local 36 for(first=last=pathname; *last; last++); in basename() 38 if(last>first) in basename() 39 while(*--last=='/' && last > first); in basename() 40 if(last==first && *last=='/') in basename() 43 if(*first=='/') in basename() 49 for(first=last++;first>pathname && *first!='/';first--); in basename() 50 if(*first=='/') in basename() 51 first++; in basename() 54 return(first); in basename()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | basename.c | 71 register char *first, *last; in namebase() local 73 for(first=last=pathname; *last; last++); in namebase() 75 if(last>first) in namebase() 76 while(*--last=='/' && last > first); in namebase() 77 if(last==first && *last=='/') in namebase() 80 if(*first=='/') in namebase() 86 for(first=last++;first>pathname && *first!='/';first--); in namebase() 87 if(*first=='/') in namebase() 88 first++; in namebase() 90 if(suffix && (n=strlen(suffix)) && n<(last-first)) in namebase() [all …]
|
H A D | fold.c | 91 register char *cp, *first; in fold() local 110 first = cp; in fold() 116 while((cp-first) > (width-col)) in fold() 119 col = last_space - first; in fold() 122 sfwrite(out,first,col); in fold() 123 first += col; in fold() 126 if(cp>first+1 || (n!=T_NL && n!=T_BS)) in fold() 139 if((cp+(--col)-first)>0) in fold() 143 n = (TABSIZE-1) - (cp+col-1-first)&(TABSIZE-1); in fold() 145 if((cp-first) > (width-col)) in fold() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_waits.c | 62 wl->first = new; in evWaitFor() 78 evWait *first; in evDo() local 85 first = wl->first; in evDo() 86 INSIST(first != NULL); in evDo() 89 ctx->waitDone.last->next = first; in evDo() 91 ctx->waitDone.first = first; in evDo() 112 for (prev = NULL, this = wl->first; in evUnwait() 120 wl->first = this->next; in evUnwait() 123 if (wl->first == NULL) in evUnwait() 131 for (prev = NULL, this = ctx->waitDone.first; in evUnwait() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn_html.c | 54 if (NULL == bp->first) in eqn_box() 56 if (bp->first->type != EQN_LIST || in eqn_box() 57 bp->first->expectargs == 1) { in eqn_box() 58 eqn_box(p, bp->first); in eqn_box() 61 if (NULL == (parent = bp->first->first)) in eqn_box() 64 if (NULL == (child = parent->first)) in eqn_box() 71 parent = bp->first->first; in eqn_box() 74 child = parent->first; in eqn_box() 87 eqn_box(p, child->first); in eqn_box() 137 if (bp->first != NULL && in eqn_box() [all …]
|
H A D | eqn_term.c | 74 bp->first != NULL && in eqn_box() 75 bp->first->type != EQN_PILE && in eqn_box() 76 bp->first->type != EQN_MATRIX && in eqn_box() 110 if (bp->first != NULL) { in eqn_box() 112 eqn_box(p, bp->first); in eqn_box() 115 child = bp->first; in eqn_box() 136 child = bp->first; in eqn_box() 141 child = child->first; in eqn_box() 148 child->first : child); in eqn_box()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/types/ |
H A D | tst.relenum.d | 45 first, enumerator 50 /zero >= one || second <= first || zero == second/ 54 printf("null = %d; first = %d; second = %d", null, first, second); 59 /second < one || two > second || null == first/ 63 printf("null = %d; first = %d; second = %d", null, first, second); 68 /first < two && second > one && one != two && zero != first/
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | scanner.l | 61 int first; /* buffer index for first char of symbol */ variable 128 first = strlen(yytext); 150 last = first; 183 last = first; 276 last = first; 285 last = first; 363 first = yyleng - 1; 364 while (isalnum(yytext[first]) || yytext[first] == '_') { 365 --first; 367 ++first; [all …]
|
H A D | crossref.c | 70 int first; /* index of first character in text */ member 108 length = last - first; in crossref() 112 last = first + 8; in crossref() 122 strncmp(yytext + first, yytext + in crossref() 123 symbol[i].first, length) == 0 && in crossref() 126 first = yyleng; in crossref() 172 symbol[symbols].first = first; in savesymbol() 174 symbol[symbols].length = last - first; in savesymbol() 176 first = yyleng; in savesymbol() 220 else if (symput < symbols && i == symbol[symput].first) { in putcrossref() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | hash.c | 38 new->first = 0; in sqliteHashInit() 52 elem = pH->first; in sqliteHashClear() 53 pH->first = 0; in sqliteHashClear() 178 for(elem=pH->first, pH->first=0; elem; elem = next_elem){ in rehash() 186 else pH->first = elem; in rehash() 189 elem->next = pH->first; in rehash() 190 if( pH->first ) pH->first->prev = elem; in rehash() 192 pH->first = elem; in rehash() 238 pH->first = elem->next; in removeElementGivenHash() 344 else { pH->first = new_elem; } in sqliteHashInsert() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_seq.c | 47 ap_suspend_check(apd_t *a, int cmd, int first, int last, int *suspend) in ap_suspend_check() argument 61 for (check = 0, c = first; c <= last; c++) in ap_suspend_check() 91 ap_seq_get(apd_t *a, int cmd, int *first, int *last) in ap_seq_get() argument 204 *first = f; in ap_seq_get() 208 rs, os, cmd, (void *)first, (void *)last, f, l); in ap_seq_get() 218 ap_seq_exec(apd_t *a, int cmd, int first, int last) in ap_seq_exec() argument 245 rc = ap_platopts_check(a, first, last); in ap_seq_exec() 251 for (c = first; c <= last; c++) { in ap_seq_exec() 274 first + 1, last, &suspend); in ap_seq_exec() 415 int first, last; in ap_cmd_seq() local [all …]
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | files_common.c | 266 char *first; local 278 for (first = instr; isspace(*first); first++) { 281 if (*first == '\0') { 294 linelen = last - first + 1; 295 if (first != instr) { 296 instr = first; 397 char *cp, *first, *last; in _nss_files_XY_hash() local 545 first = cp; 548 if (cp > first && *(cp - 1) == '\\') { 549 memmove(first + 2, first, cp - first - 1); [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | error_map.h | 31 struct gsserrmap__element *first; member 36 head->first = NULL; in gsserrmap_init() 44 for (e = head->first; e; e = e_next) { in gsserrmap_destroy() 52 head->first = NULL; in gsserrmap_destroy() 59 for (e = head->first; e; e = e->next) in gsserrmap__find_node() 109 e->next = head->first; in gsserrmap_replace_or_insert() 110 head->first = e; in gsserrmap_replace_or_insert()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_set.c | 65 g_set_elt first; in g_set_entry_add() local 67 if ((first = (struct _g_set_elt *) MALLOC(sizeof(struct _g_set_elt))) == NULL) in g_set_entry_add() 70 first->key = key; in g_set_entry_add() 71 first->value = value; in g_set_entry_add() 72 first->next = *s; in g_set_entry_add() 74 *s = first; in g_set_entry_add()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | newkey.c | 89 short *first = &(cur_term->_first_macro); in newkey() local 92 (*first * sizeof (_KEY_MAP *))); in newkey() 93 (void) memcpy((char *) &(keys[*first + 1]), in newkey() 94 (char *) &(prev_keys[*first]), in newkey() 95 ((*numkeys - *first) * sizeof (_KEY_MAP *))); in newkey() 96 keys[(*first)++] = key_info; in newkey()
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_clnt_stubs.c | 55 boolean_t first = TRUE; in kwarn_add_warning() local 87 if (ret == RPC_TIMEDOUT && first) { in kwarn_add_warning() 89 first = FALSE; in kwarn_add_warning() 106 boolean_t first = TRUE; in kwarn_del_warning() local 137 if (ret == RPC_TIMEDOUT && first) { in kwarn_del_warning() 139 first = FALSE; in kwarn_del_warning()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_queue.c | 543 zio_t *first, *last, *aio, *dio, *mandatory, *nio; in vdev_queue_aggregate() local 561 first = last = zio; in vdev_queue_aggregate() 579 mandatory = (first->io_flags & ZIO_FLAG_OPTIONAL) ? NULL : first; in vdev_queue_aggregate() 585 while ((dio = AVL_PREV(t, first)) != NULL && in vdev_queue_aggregate() 588 IO_GAP(dio, first) <= maxgap && in vdev_queue_aggregate() 590 first = dio; in vdev_queue_aggregate() 591 if (mandatory == NULL && !(first->io_flags & ZIO_FLAG_OPTIONAL)) in vdev_queue_aggregate() 592 mandatory = first; in vdev_queue_aggregate() 598 while ((first->io_flags & ZIO_FLAG_OPTIONAL) && first != last) { in vdev_queue_aggregate() 599 first = AVL_NEXT(t, first); in vdev_queue_aggregate() [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strcpy.S | 54 ! first checking the alignment of its source pointer. And, 74 stb %o1, [%o2] ! store first byte 82 srl %o1, 8, %o4 ! %o4<7:0> = first byte 83 tst %o4 ! first byte zero ? 85 stb %o4, [%o2] ! store first byte 111 srl %o1, 24, %o3 ! %o3<7:0> = first byte 112 andcc %o1, %o4, %g0 ! first byte zero? 114 stb %o3, [%o2 - 4] ! store first byte 143 srl %o1, 24, %g1 ! %g1<7:0> = first byte 144 stb %g1, [%o2 - 4] ! store first byte; half-word aligned now [all …]
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Statistic.java | 290 Date first = start, last = end; in getSnapshotForInterval() local 298 if (first == null) in getSnapshotForInterval() 299 first = s.getStart(); in getSnapshotForInterval() 311 return (new DoubleStatistic(new Double(total / count), first, in getSnapshotForInterval() 378 Date first = start, last = end; in getSnapshotForInterval() local 385 if (first == null) in getSnapshotForInterval() 386 first = s.getStart(); in getSnapshotForInterval() 398 return (new LongStatistic(new Long(total / count), first, in getSnapshotForInterval() 465 Date first = start, last = end; in getSnapshotForInterval() local 473 if (first == null) in getSnapshotForInterval() [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_getentctx.c | 322 c = base->first; in _nscd_free_getent_ctx_base() 418 if (base->first == NULL) { in _nscd_get_getent_ctx() 429 base->first = _nscd_create_getent_ctx(params); in _nscd_get_getent_ctx() 430 if (base->first != NULL) in _nscd_get_getent_ctx() 444 (me, "got a new getent ctx %p\n", base->first); in _nscd_get_getent_ctx() 448 assert(base->first != NULL); in _nscd_get_getent_ctx() 450 c = base->first; in _nscd_get_getent_ctx() 451 base->first = c->next; in _nscd_get_getent_ctx() 508 if (base->first != NULL) { in _nscd_put_getent_ctx() 509 gnctx->next = base->first; in _nscd_put_getent_ctx() [all …]
|
H A D | nscd_nswstate.c | 124 s = base->nsw_state.first; in _nscd_free_nsw_state_base() 126 s = base->nsw_state_thr.first; in _nscd_free_nsw_state_base() 529 ctrl_p->first); in _get_nsw_state_int() 536 if (ctrl_p->first == NULL && ctrl_p->allocated == ctrl_p->max) in _get_nsw_state_int() 561 ctrl_p->first != NULL) in _get_nsw_state_int() 566 if (ctrl_p->first != NULL) in _get_nsw_state_int() 587 if (ctrl_p->first == NULL) { in _get_nsw_state_int() 606 ctrl_p->first = _nscd_create_nsw_state(params); in _get_nsw_state_int() 607 if (ctrl_p->first != NULL) { in _get_nsw_state_int() 611 (me, "got a new nsw_state %p\n", ctrl_p->first); in _get_nsw_state_int() [all …]
|
/illumos-gate/usr/src/lib/nsswitch/user/common/ |
H A D | user_common.c | 193 char *first; local 205 for (first = instr; isspace(*first); first++) { 208 if (*first == '\0') { 221 linelen = last - first + 1; 222 if (first != instr) { 223 instr = first;
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wscrl.c | 69 int first; in wscrl() local 86 first = __m_cc_first(w, row + n, in wscrl() 88 save = w->_line[row + n][first]; in wscrl() 90 first, row + n, first); in wscrl() 91 w->_line[row + n][first] = save; in wscrl()
|