Searched refs:first (Results 1 - 25 of 740) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/lib/libast/common/comp/
H A Dbasename.c35 register char *first, *last; local
36 for(first=last=pathname; *last; last++);
38 if(last>first)
39 while(*--last=='/' && last > first);
40 if(last==first && *last=='/')
43 if(*first=='/')
49 for(first=last++;first>pathname && *first!='/';first
[all...]
/opensolaris-onvv-gate/usr/src/lib/libcmd/common/
H A Dbasename.c64 register char *first, *last; local
66 for(first=last=pathname; *last; last++);
68 if(last>first)
69 while(*--last=='/' && last > first);
70 if(last==first && *last=='/')
73 if(*first=='/')
79 for(first=last++;first>pathname && *first!='/';first
[all...]
H A Dfold.c61 "(spaces or tabs), within the first \awidth\a column positions or "
91 register char *cp, *first; local
110 first = cp;
116 while((cp-first) > (width-col))
119 col = last_space - first;
122 sfwrite(out,first,col);
123 first += col;
126 if(cp>first+1 || (n!=T_NL && n!=T_BS))
139 if((cp+(--col)-first)>0)
143 n = (TABSIZE-1) - (cp+col-1-first)
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dgetopts.pl17 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 Dgetopt.pl22 local($_,$first,$rest);
26 ($first,$rest) = ($1,$2);
27 if (index($argumentative,$first) >= $[) {
35 ${"opt_$first"} = $rest;
38 ${"opt_$first"} = 1;
H A DDirHandle.t23 do { $first = $dot->read } while defined($first) && $first =~ /^\./;
24 ok(+(grep { $_ eq $first } @a));
26 @b = sort($first, (grep {/^[^.]/} $dot->read));
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/t/
H A Dfirst.t16 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 " }
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/types/
H A Dtst.relenum.d47 first,
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/
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/
H A Dclock.c40 static long first; variable
49 if (first == 0L)
50 first = TIMES(buffer);
51 return ((TIMES(buffer) - first) * (1000000L/HZ));
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/sys/common/
H A Dexecle.c41 char **first; local
45 first = (char **)args;
53 return (execve(name, first, environmentp));
/opensolaris-onvv-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_llist.c37 * A link list head points to the first member of a linked list, but
104 DAPL_LLIST_ENTRY *first; local
111 first = *head;
112 entry->flink = first;
113 entry->blink = first->blink;
114 first->blink->flink = entry;
115 first->blink = entry;
186 * Purpose: Remove the first entry of a linked list
191 DAPL_LLIST_ENTRY *first; local
194 first
245 DAPL_LLIST_ENTRY *first; local
298 DAPL_LLIST_ENTRY *first; local
340 DAPL_LLIST_ENTRY * first; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwtouchln.c58 int first, last; local
60 first = bf ? 0 : w->_maxx;
64 w->_first[y] = (short) first;
H A Dwscrl.c71 int first; local
88 first = __m_cc_first(w, row + n,
90 save = w->_line[row + n][first];
92 first, row + n, first);
93 w->_line[row + n][first] = save;
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/asn1/
H A Dt_x509a.c70 char oidstr[80], first; local
74 first = 1;
78 if(!first) BIO_puts(out, ", ");
79 else first = 0;
87 first = 1;
91 if(!first) BIO_puts(out, ", ");
92 else first = 0;
H A Dt_bitst.c68 char first = 1; local
72 if(!first) BIO_puts(out, ", ");
74 first = 0;
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/
H A Dclock.c46 static clock_t first; local
54 first = TIMES(buffer);
57 return ((TIMES(buffer) - first) * (CLOCKS_PER_SEC/Hz));
/opensolaris-onvv-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwtouchln.c55 int first, last; local
60 first = bf ? 0 : w->_maxx;
64 w->_first[y] = first;
/opensolaris-onvv-gate/usr/src/lib/libeti/form/common/
H A Dchg_page.c38 #define first(f) (0) macro
48 p = first(f);
58 if (--p < first(f))
78 return (_set_form_page(f, first(f), (FIELD *) 0));
/opensolaris-onvv-gate/usr/src/lib/libcurses/screen/
H A Dnewkey.c91 short *first = &(cur_term->_first_macro); local
94 (*first * sizeof (_KEY_MAP *)));
95 (void) memcpy((char *) &(keys[*first + 1]),
96 (char *) &(prev_keys[*first]),
97 ((*numkeys - *first) * sizeof (_KEY_MAP *)));
98 keys[(*first)++] = key_info;
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_set.c67 g_set_elt first; local
69 if ((first = (struct _g_set_elt *) MALLOC(sizeof(struct _g_set_elt))) == NULL)
72 first->key = key;
73 first->value = value;
74 first->next = *s;
76 *s = first;
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dclstdup.c123 * here starts the write code. All assumes that ctx->buffer_map [first] and
127 /* finds the first fragment that is not going to get overwritten (that needs to
130 get_first_underlay (const FatOpContext* ctx, int first, int last) argument
135 PED_ASSERT (first <= last, return 0);
137 new = ctx->buffer_map [first];
138 for (old = first + 1; old <= last; old++) {
151 get_last_underlay (const FatOpContext* ctx, int first, int last) argument
156 PED_ASSERT (first <= last, return 0);
159 for (old = last - 1; old >= first; old--) {
174 quick_group_write_read_underlay (FatOpContext* ctx, int first, in argument
209 quick_group_write(FatOpContext* ctx, int first, int last) argument
253 slow_group_write(FatOpContext* ctx, int first, int last) argument
280 update_remap(FatOpContext* ctx, int first, int last) argument
296 group_write(FatOpContext* ctx, int first, int last) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Derror_map.h31 struct gsserrmap__element *first; member in struct:gsserrmap__head
36 head->first = NULL;
44 for (e = head->first; e; e = e_next) {
52 head->first = NULL;
59 for (e = head->first; e; e = e->next)
109 e->next = head->first;
110 head->first = e;
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_waits.c66 wl->first = new;
82 evWait *first; local
89 first = wl->first;
90 INSIST(first != NULL);
93 ctx->waitDone.last->next = first;
95 ctx->waitDone.first = first;
116 for (prev = NULL, this = wl->first;
124 wl->first
[all...]
/opensolaris-onvv-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_clnt_stubs.c55 boolean_t first = TRUE; local
87 if (ret == RPC_TIMEDOUT && first) {
89 first = FALSE;
106 boolean_t first = TRUE; local
137 if (ret == RPC_TIMEDOUT && first) {
139 first = FALSE;
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dif.c89 boolean_t first; local
97 for (first = _B_TRUE, p = flagbits; p->t_bits > 0; p++) {
101 if (first) {
103 first = _B_FALSE;
106 if (first)

Completed in 226 milliseconds

1234567891011>>