/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | cxx.c | 255 if (first[1] != '_' || first[2] != '_' || first[3] != 'Z') in demangle() 272 if (first == last || first[0] != '.') in parse_dot_suffix() 278 nadd_l(db, first, RLEN(first, last)); in parse_dot_suffix() 587 if (first[0] != 'h' && first[0] != 'v') in parse_call_offset() 692 if (first == last || first[0] != 'Z') in parse_local_name() 756 if (first == last || first[0] != 'N') in parse_nested_name() 1233 if (first[2] == 'n' && (first[3] == 'a' || first[3] == 'w')) in parse_gs() 1235 else if (first[2] == 'd' && (first[3] == 'l' || first[3] == 'a')) in parse_gs() 2679 VERIFY(first[0] == 'f' || first[0] == 'd' || first[0] == 'e'); in parse_floating_literal() 3603 if ((first[0] != 'o' && first[0] != 'd') || first[1] != 'n') { in parse_base_unresolved_name() [all …]
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_llist.c | 111 first = *head; in dapl_llist_add_head() 194 first = *head; in dapl_llist_remove_head() 197 first->flink->blink = first->blink; in dapl_llist_remove_head() 198 first->blink->flink = first->flink; in dapl_llist_remove_head() 200 if (first->flink == first) { in dapl_llist_remove_head() 248 first = *head; in dapl_llist_remove_entry() 254 if (first->flink == first) { in dapl_llist_remove_entry() 301 first = *head; in dapl_llist_peek_head() 341 first = *head; in dapl_llist_debug_print_list() 342 if (!first) { in dapl_llist_debug_print_list() [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() 96 if(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() 139 if((cp+(--col)-first)>0) in fold() 145 if((cp-first) > (width-col)) in fold() 147 sfwrite(out,first,(--cp)-first); in fold() 149 first = cp; 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() 91 ctx->waitDone.first = first; in evDo() 120 wl->first = this->next; in evUnwait() 123 if (wl->first == NULL) in evUnwait() 172 ctx->waitDone.first = new; in evDefer() 188 INSIST(wl->first != NULL); in print_waits() 207 new->first = new->last = NULL; in evNewWaitList() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn_html.c | 54 if (NULL == bp->first) 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() 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() 139 bp->first->expectargs > 1) in eqn_box() 211 eqn_box(p, bp->first); 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 | 150 last = first; 183 last = first; 276 last = first; 285 last = first; 364 while (isalnum(yytext[first]) || yytext[first] == '_') { 365 --first; 367 ++first; 464 ++first; 563 first = yyleng; 635 last = 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() 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() 347 new_elem->next = pH->first; in sqliteHashInsert() 349 if( pH->first ){ pH->first->prev = new_elem; } in sqliteHashInsert() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_seq.c | 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 418 switch (ap_seq_get(a, cmd, &first, &last)) { in ap_cmd_seq() [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') { 295 if (first != instr) { 296 instr = first; 397 char *cp, *first, *last; in _nss_files_XY_hash() local 545 first = cp; 549 memmove(first + 2, first, cp - first - 1); 550 cp = first + 2; 560 first++; [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/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/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/uts/common/fs/zfs/ |
H A D | vdev_queue.c | 561 first = last = zio; in vdev_queue_aggregate() 579 mandatory = (first->io_flags & ZIO_FLAG_OPTIONAL) ? NULL : first; in vdev_queue_aggregate() 590 first = dio; 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() 600 ASSERT(first != NULL); in vdev_queue_aggregate() 661 if (first == last) in vdev_queue_aggregate() 664 size = IO_SPAN(first, last); in vdev_queue_aggregate() 667 aio = zio_vdev_delegated_io(first->io_vd, first->io_offset, 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 158 srl %o1, 16, %g1 ! get first and second byte [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() 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() 474 first = s.getStart(); in getSnapshotForInterval() [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/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() 430 if (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() 510 base->first = gnctx; in _nscd_put_getent_ctx() 512 base->first = gnctx; in _nscd_put_getent_ctx() 694 if (first != NULL) { in reclaim_getent_ctx() 706 first = gctx; in reclaim_getent_ctx() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | trace.c | 71 unsigned int first, last; local 86 first = i; 111 if (first >= tTsize) 112 first = tTsize - 1; 117 while (first <= last) 118 tTvect[first++] = (unsigned char) i;
|
/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()
|