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

1234567891011>>

/illumos-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...]
/illumos-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;
/illumos-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...]
/illumos-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);
/illumos-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;
/illumos-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);
/illumos-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...]
/illumos-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;
/illumos-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;
/illumos-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;
/illumos-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;
/illumos-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;
/illumos-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...]
/illumos-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;
/illumos-gate/usr/src/lib/libpkg/common/
H A Dcanonize.c40 char *pt, *last; local
49 last = pt;
52 last += 2;
53 if (*last)
54 last++;
55 } while (isdotdot(last));
65 (void) strcpy(pt, last);
/illumos-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
/illumos-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;
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwtouchln.c48 * or untouched since the last call to wrefresh().
55 int first, last; local
61 last = bf ? w->_maxx : -1;
65 w->_last[y] = last;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmemmem.c63 char *cur, *last; local
79 /* the last position where its possible to find "s" in "l" */
80 last = (char *)cl + l_len - s_len;
82 for (cur = (char *)cl; cur <= last; cur++)
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_poll.c49 hrtime_t last = ao->ao_ms_shared->aos_nb_poll_timestamp; local
52 if (now - last > 2 * pintvl || last == 0) {
54 * If no last value has been recorded assume ownership.
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dchg_page.c39 #define last(f) (f->maxpage - 1) macro
47 if (++p > last(f))
59 p = last(f);
84 return (_set_form_page(f, last(f), (FIELD *) 0));

Completed in 101 milliseconds

1234567891011>>