Searched refs:last (Results 1 - 25 of 695) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/lib/libast/common/comp/
H A Ddirname.c35 register char *last; local
37 for(last=pathname; *last; last++);
39 while(last>pathname && *--last=='/');
41 for(;last>pathname && *last!='/';last--);
42 if(last
[all...]
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=='/')
44 if(*++last
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dtrace/demo/sched/
H A Dticktime.d27 uint64_t last[int];
30 /last[cpu]/
32 @[cpu] = min(timestamp - last[cpu]);
37 last[cpu] = timestamp;
H A Dxwork.d27 self int last;
30 /self->last && args[0]->pr_stype == SOBJ_CV/
32 @[stringof(args[1]->pr_fname)] = sum(vtimestamp - self->last);
33 self->last = 0;
37 /execname == "Xsun" && self->last == 0/
39 self->last = vtimestamp;
/opensolaris-onvv-gate/usr/src/lib/libcmd/common/
H A Ddirname.c37 "the last component from \astring\a.]"
45 "Otherwise, all characters following the last \b/\b are removed. "
68 register const char *last; local
70 for(last=pathname; *last; last++);
72 while(last>pathname && *--last=='/');
74 for(;last>pathname && *last!
[all...]
H A Dbasename.c45 "all characters up to and including the last \b/\b are removed. "
64 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
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sendmail/db/os/
H A Dos_rpath.c29 * Return the last path separator in the path or NULL if none found.
37 const char *s, *last; local
39 last = NULL;
43 last = s;
47 last = s;
48 return ((char *)last);
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dloopctl.t18 # Loops of type (b) don't allow for next/last/redo style
26 # All these tests rely on "last LABEL"
49 last TEST1;
54 last TEST1;
58 last TEST1;
74 last TEST2;
79 last TEST2;
100 last TEST3;
105 last TEST3;
114 TEST4: { # last
[all...]
H A Dindex.t16 $last = substr($foo,rindex($foo,'the'),100);
17 is($last, "their country.");
19 $last = substr($foo,index($foo,'Now'),2);
20 is($last, "No");
22 $last = substr($foo,rindex($foo,'Now'),2);
23 is($last, "No");
25 $last = substr($foo,index($foo,'.'),100);
26 is($last, ".");
28 $last = substr($foo,rindex($foo,'.'),100);
29 is($last, "
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dtrace/demo/agg/
H A Dclear.d31 last = timestamp;
41 normalize(@func, (timestamp - last) / 1000000000);
44 last = timestamp;
H A Dtrunc.d31 last = timestamp;
42 normalize(@func, (timestamp - last) / 1000000000);
45 last = timestamp;
/opensolaris-onvv-gate/usr/src/lib/libast/common/hash/
H A Dhashlast.c24 /* OBSOLETE 19960229 -- use tab->root->last.{table|bucket} */
36 * return last lookup bucket for table
42 return(tab->root->last.bucket);
/opensolaris-onvv-gate/usr/src/lib/libast/common/cdt/
H A Ddtflatten.c37 reg Dtlink_t *t, *r, *list, *last, **s, **ends; local
43 list = last = NIL(Dtlink_t*);
47 { if(last)
48 last->right = t;
49 else list = last = t;
50 while(last->right)
51 last = last->right;
52 *s = last;
61 for(list = last
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Locale/Codes/t/
H A Dall.t46 last;
52 last;
57 last;
72 last;
78 last;
83 last;
98 last;
104 last;
109 last;
124 last;
[all...]
/opensolaris-onvv-gate/usr/src/common/util/
H A Dbsearch.c52 char *last; /* Last element in table */ local
59 last = base + width * (nel - 1);
61 while (last >= base) {
63 char *p = base + width * ((last - base)/two_width);
69 last = p - width;
/opensolaris-onvv-gate/usr/src/cmd/dtrace/demo/ip/
H A Dipio.d33 last = timestamp;
38 this->elapsed = (timestamp - last) / 1000;
42 last = timestamp;
47 this->elapsed = (timestamp - last) / 1000;
51 last = timestamp;
/opensolaris-onvv-gate/usr/src/cmd/oamuser/group/
H A Dgid.c59 gid_t last, next; local
82 last = MAXUID; /* upper limit */
89 if (last != DEFRID + 1)
94 if ((gid = next + 1) != last) {
97 if (gid > 0 && gid < last)
102 last = next;
/opensolaris-onvv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwtouchln.c53 * or untouched since the last call to wrefresh().
58 int first, last; local
61 last = bf ? w->_maxx : -1;
65 w->_last[y] = (short) last;
/opensolaris-onvv-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c52 char *cur, *last, *cp1, *cp2, *ep, *t; local
56 last = buf1;
59 if (goodstart(cur) && goodstart(last)) {
96 * Move increment or decrement into last.
99 ep = last + strlen(last);
112 puts(last);
114 cur = last;
115 last = t;
117 puts(last);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dstrtok.c46 * sets last to string
49 * last
61 static char *last; local
64 if (s == NULL && (s = last) == NULL)
79 last = NULL;
100 last = s;
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/cmd/
H A Dswitch.t32 last if $_ == 1;
33 last if $_ == 2;
34 last if $_ == 3;
35 last if $_ == 4;
/opensolaris-onvv-gate/usr/src/lib/libast/common/tm/
H A Dtmxduration.c39 char* last; local
49 ns = tmxdate(s, &last, now) - now;
52 ns = strtod(s, &last) * TMX_RESOLUTION;
53 if (*last && (f = sfstropen()))
58 if ((i = x - t - 6) > (last - s))
60 last = (char*)s + i;
68 if ((i = x - t - 1) > (last - s))
70 last = (char*)s + i;
78 *e = last;
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/
H A Dbsearch.c44 POINTER last = base + width * (nel - 1); /* Last element in table */ local
46 while (last >= base) {
48 register POINTER p = base + width * ((last - base)/two_width);
54 last = p - width;
/opensolaris-onvv-gate/usr/src/lib/libast/common/string/
H A Dstrelapsed.c47 const char* last; local
53 if (!*(last = s))
60 last = s + 1;
74 last = s;
77 if (s == last + 1)
141 last = s - 1;
152 *e = (char*)last;
/opensolaris-onvv-gate/usr/src/lib/libinstzones/common/
H A Dzones_paths.c95 char *last; local
104 last = pt;
107 last += 2;
108 if (*last) {
109 last++;
111 } while (isdotdot(last));
123 (void) strcpy(pt, last);
163 * If the whole string is "/" (i.e. if the last '/' cahr in dst

Completed in 124 milliseconds

1234567891011>>