| /onnv-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 …]
|
| /onnv-gate/usr/src/lib/libast/common/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()
|
| /onnv-gate/usr/src/lib/libcmd/common/ |
| H A D | basename.c | 64 register char *first, *last; in namebase() local 66 for(first=last=pathname; *last; last++); in namebase() 68 if(last>first) in namebase() 69 while(*--last=='/' && last > first); in namebase() 70 if(last==first && *last=='/') in namebase() 73 if(*first=='/') in namebase() 79 for(first=last++;first>pathname && *first!='/';first--); in namebase() 80 if(*first=='/') in namebase() 81 first++; in namebase() 83 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 …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Getopt/ |
| H A D | Std.pm | 90 my ($first,$rest); 95 ($first,$rest) = ($1,$2); 100 if (index($argumentative,$first) >= 0) { 109 $$hash{$first} = $rest; 112 ${"opt_$first"} = $rest; 113 push( @EXPORT, "\$opt_$first" ); 118 $$hash{$first} = 1; 121 ${"opt_$first"} = 1; 122 push( @EXPORT, "\$opt_$first" ); 220 my (@args,$first,$rest,$exit); [all …]
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/fs/fat/ |
| H A D | clstdup.c | 130 get_first_underlay (const FatOpContext* ctx, int first, int last) in get_first_underlay() argument 135 PED_ASSERT (first <= last, return 0); in get_first_underlay() 137 new = ctx->buffer_map [first]; in get_first_underlay() 138 for (old = first + 1; old <= last; old++) { in get_first_underlay() 151 get_last_underlay (const FatOpContext* ctx, int first, int last) in get_last_underlay() argument 156 PED_ASSERT (first <= last, return 0); in get_last_underlay() 159 for (old = last - 1; old >= first; old--) { in get_last_underlay() 174 quick_group_write_read_underlay (FatOpContext* ctx, int first, int last) in quick_group_write_read_underlay() argument 181 PED_ASSERT (first <= last, return 0); in quick_group_write_read_underlay() 183 first_underlay = get_first_underlay (ctx, first, last); in quick_group_write_read_underlay() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/B/B/ |
| H A D | Deparse.pm | 361 my $lineseq = $root->first; 364 my $req_op = $lineseq->first->sibling; 368 if ($req_op->first->private & OPpCONST_BARE) { 370 $module = $self->const_sv($req_op->first)->PV; 375 $module = $self->const($self->const_sv($req_op->first), 6); 383 my $constop = $version_op->first->next->next; 406 my $entersub = $lineseq->first->sibling; 416 my $svop = $entersub->first->sibling; # Skip over pushmark 845 my $lineseq = $cv->ROOT->first; 848 for(my$o=$lineseq->first; $$o; $o=$o->sibling) { [all …]
|
| H A D | Bblock.pm | 105 my $first=$op->first; 106 $first=$first->next while ($first->name eq "null"); 107 mark_leader($op->first) unless (exists( $bblock->{$$first})); 111 my $root=$op->first->sibling->first; 112 my $leader=$root->first;
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| H A D | getopts.pl | 17 local(@args,$_,$first,$rest); 23 ($first,$rest) = ($1,$2); 24 $pos = index($argumentative,$first); 33 push(\@opt_$first, \$rest); 34 if(\$opt_$first eq '') { 35 \$opt_$first = \$rest; 38 \$opt_$first .= ' ' . \$rest; 43 eval "\$opt_$first = 1"; 53 print STDERR "Unknown option: $first\n";
|
| H A D | getopt.pl | 22 local($_,$first,$rest); 26 ($first,$rest) = ($1,$2); 27 if (index($argumentative,$first) >= $[) { 35 ${"opt_$first"} = $rest; 38 ${"opt_$first"} = 1;
|
| H A D | DirHandle.t | 23 do { $first = $dot->read } while defined($first) && $first =~ /^\./; 24 ok(+(grep { $_ eq $first } @a)); 26 @b = sort($first, (grep {/^[^.]/} $dot->read));
|
| /onnv-gate/usr/src/lib/libresolv2/common/isc/ |
| H A D | ev_waits.c | 66 wl->first = new; in evWaitFor() 82 evWait *first; in evDo() local 89 first = wl->first; in evDo() 90 INSIST(first != NULL); in evDo() 93 ctx->waitDone.last->next = first; in evDo() 95 ctx->waitDone.first = first; in evDo() 116 for (prev = NULL, this = wl->first; in evUnwait() 124 wl->first = this->next; in evUnwait() 127 if (wl->first == NULL) in evUnwait() 135 for (prev = NULL, this = ctx->waitDone.first; in evUnwait() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/t/ |
| H A D | first.t | 16 use List::Util qw(first); 20 print "not " unless defined &first; 23 print "not " unless 9 == first { 8 == ($_ - 1) } 9,4,5,6; 26 print "not " if defined(first { 0 } 1,2,3,4); 29 print "not " if defined(first { 0 }); 32 my $foo = first { $_->[1] le "e" and "e" le $_->[2] } 39 print "not " unless 5 == first { eval { die }; ($i == 5, $i = $_)[0] } 0,1,2,3,4,5,5; 42 print "not " if defined eval { first { die if $_ } 0,0,1 }; 49 sub foobar { first { !defined(wantarray) || wantarray } "not ","not ","not " }
|
| /onnv-gate/usr/src/cmd/dtrace/test/tst/common/types/ |
| H A D | tst.relenum.d | 47 first, enumerator 52 /zero >= one || second <= first || zero == second/ 56 printf("null = %d; first = %d; second = %d", null, first, second); 61 /second < one || two > second || null == first/ 65 printf("null = %d; first = %d; second = %d", null, first, second); 70 /first < two && second > one && one != two && zero != first/
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/Perldoc/ |
| H A D | GetOptsOO.pm | 48 my($first,$rest) = ($1,$2); 53 my $method = "opt_${first}_with"; 57 warn "Option $first needs a following argument!\n" unless @$args; 69 if( $target->can( $method = "opt_$first" ) ) { 77 and print " calling handle_unknown_option('$first')\n"; 80 $target->handle_unknown_option( $first ) || 0 85 warn "Unknown option: $first\n";
|
| /onnv-gate/usr/src/common/openssl/crypto/asn1/ |
| H A D | t_x509a.c | 70 char oidstr[80], first; in X509_CERT_AUX_print() local 74 first = 1; in X509_CERT_AUX_print() 78 if(!first) BIO_puts(out, ", "); in X509_CERT_AUX_print() 79 else first = 0; in X509_CERT_AUX_print() 87 first = 1; in X509_CERT_AUX_print() 91 if(!first) BIO_puts(out, ", "); in X509_CERT_AUX_print() 92 else first = 0; in X509_CERT_AUX_print()
|
| /onnv-gate/usr/src/tools/cscope-fast/ |
| H A D | scanner.l | 63 int first; /* buffer index for first char of symbol */ variable 130 first = strlen(yytext); 152 last = first; 185 last = first; 278 last = first; 287 last = first; 365 first = yyleng - 1; 366 while (isalnum(yytext[first]) || yytext[first] == '_') { 367 --first; 369 ++first; [all …]
|
| H A D | crossref.c | 72 int first; /* index of first character in text */ member 110 length = last - first; in crossref() 114 last = first + 8; in crossref() 124 strncmp(yytext + first, yytext + in crossref() 125 symbol[i].first, length) == 0 && in crossref() 128 first = yyleng; in crossref() 174 symbol[symbols].first = first; in savesymbol() 176 symbol[symbols].length = last - first; in savesymbol() 178 first = yyleng; in savesymbol() 222 else if (symput < symbols && i == symbol[symput].first) { in putcrossref() [all …]
|
| /onnv-gate/usr/src/lib/libsqlite/src/ |
| H A D | hash.c | 41 new->first = 0; in sqliteHashInit() 55 elem = pH->first; in sqliteHashClear() 56 pH->first = 0; in sqliteHashClear() 181 for(elem=pH->first, pH->first=0; elem; elem = next_elem){ in rehash() 189 else pH->first = elem; in rehash() 192 elem->next = pH->first; in rehash() 193 if( pH->first ) pH->first->prev = elem; in rehash() 195 pH->first = elem; in rehash() 241 pH->first = elem->next; in removeElementGivenHash() 347 else { pH->first = new_elem; } in sqliteHashInsert() [all …]
|
| /onnv-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 …]
|
| /onnv-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()
|
| /onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
| H A D | util_set.c | 67 g_set_elt first; in g_set_entry_add() local 69 if ((first = (struct _g_set_elt *) MALLOC(sizeof(struct _g_set_elt))) == NULL) in g_set_entry_add() 72 first->key = key; in g_set_entry_add() 73 first->value = value; in g_set_entry_add() 74 first->next = *s; in g_set_entry_add() 76 *s = first; in g_set_entry_add()
|
| /onnv-gate/usr/src/lib/libcurses/screen/ |
| H A D | newkey.c | 91 short *first = &(cur_term->_first_macro); in newkey() local 94 (*first * sizeof (_KEY_MAP *))); in newkey() 95 (void) memcpy((char *) &(keys[*first + 1]), in newkey() 96 (char *) &(prev_keys[*first]), in newkey() 97 ((*numkeys - *first) * sizeof (_KEY_MAP *))); in newkey() 98 keys[(*first)++] = key_info; in newkey()
|
| /onnv-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()
|
| /onnv-gate/usr/src/lib/nsswitch/files/common/ |
| H A D | files_common.c | 260 char *first; local 272 for (first = instr; isspace(*first); first++) { 275 if (*first == '\0') { 288 linelen = last - first + 1; 289 if (first != instr) { 290 instr = first; 391 char *cp, *first, *last; in _nss_files_XY_hash() local 537 first = cp; 540 if (cp > first && *(cp - 1) == '\\') { 541 memmove(first + 2, first, cp - first - 1); [all …]
|