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

1234567891011>>

/osnet-11/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...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dbasename.c71 register char *first, *last; local
73 for(first=last=pathname; *last; last++);
75 if(last>first)
76 while(*--last=='/' && last > first);
77 if(last==first && *last=='/')
80 if(*first=='/')
86 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...]
/osnet-11/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));
/osnet-11/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 " }
/osnet-11/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...]
/osnet-11/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;
/osnet-11/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));
/osnet-11/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;
/osnet-11/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));
/osnet-11/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;
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dclstdup.c124 * here starts the write code. All assumes that ctx->buffer_map [first] and
128 /* finds the first fragment that is not going to get overwritten (that needs to
131 get_first_underlay (const FatOpContext* ctx, int first, int last) argument
136 PED_ASSERT (first <= last, return 0);
138 new = ctx->buffer_map [first];
139 for (old = first + 1; old <= last; old++) {
152 get_last_underlay (const FatOpContext* ctx, int first, int last) argument
157 PED_ASSERT (first <= last, return 0);
160 for (old = last - 1; old >= first; old--) {
175 quick_group_write_read_underlay (FatOpContext* ctx, int first, in argument
210 quick_group_write(FatOpContext* ctx, int first, int last) argument
254 slow_group_write(FatOpContext* ctx, int first, int last) argument
281 update_remap(FatOpContext* ctx, int first, int last) argument
297 group_write(FatOpContext* ctx, int first, int last) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Derror_map.h30 struct gsserrmap__element *first; member in struct:gsserrmap__head
35 head->first = NULL;
43 for (e = head->first; e; e = e_next) {
51 head->first = NULL;
58 for (e = head->first; e; e = e->next)
108 e->next = head->first;
109 head->first = e;
/osnet-11/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...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/t/
H A Dio_dir.t36 do { $first = $dot->read } while defined($first) && $first =~ /^\./;
37 ok(+(grep { $_ eq $first } @a));
39 @b = sort($first, (grep {/^[^.]/} $dot->read));
/osnet-11/usr/src/cmd/sendmail/src/
H A Dtrace.c73 unsigned int first, last; local
76 /* find first flag to set */
88 first = i;
113 if (first >= tTsize)
114 first = tTsize - 1;
119 while (first <= last)
120 tTvect[first++] = (unsigned char) i;
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Apps/
H A Dhttpdstat.d24 * IDEA: Ryan Matteson (who first wrote a solution to this).
59 first = 1;
72 /first || (secs == 0 && lines > SCREEN)/
77 first = 0;
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Dhttpdstat.d24 * IDEA: Ryan Matteson (who first wrote a solution to this).
59 first = 1;
72 /first || (secs == 0 && lines > SCREEN)/
77 first = 0;
H A Dj_stat.d65 first = 1;
78 /first || (secs == 0 && lines > SCREEN)/
83 first = 0;
H A Djs_stat.d55 first = 1;
68 /first || (secs == 0 && lines > SCREEN)/
73 first = 0;
H A Drb_stat.d63 first = 1;
76 /first || (secs == 0 && lines > SCREEN)/
81 first = 0;
H A Dsh_stat.d60 first = 1;
73 /first || (secs == 0 && lines > SCREEN)/
78 first = 0;

Completed in 101 milliseconds

1234567891011>>