/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | dirname.c | 35 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 D | basename.c | 35 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 D | ticktime.d | 27 uint64_t last[int]; 30 /last[cpu]/ 32 @[cpu] = min(timestamp - last[cpu]); 37 last[cpu] = timestamp;
|
H A D | xwork.d | 27 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 D | dirname.c | 37 "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 D | basename.c | 45 "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 D | os_rpath.c | 29 * 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 D | clear.d | 31 last = timestamp; 41 normalize(@func, (timestamp - last) / 1000000000); 44 last = timestamp;
|
H A D | trunc.d | 31 last = timestamp; 42 normalize(@func, (timestamp - last) / 1000000000); 45 last = timestamp;
|
/illumos-gate/usr/src/lib/libast/common/hash/ |
H A D | hashlast.c | 24 /* 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 D | dtflatten.c | 37 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 D | bsearch.c | 52 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 D | ipio.d | 33 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 D | wtouchln.c | 53 * 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 D | bsearch.c | 44 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 D | strtok.c | 46 * 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 D | adbgen4.c | 52 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 D | tmxduration.c | 39 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 D | canonize.c | 40 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 D | zones_paths.c | 95 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 D | strelapsed.c | 47 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 D | wtouchln.c | 48 * 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 D | memmem.c | 63 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 D | ao_poll.c | 49 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 D | chg_page.c | 39 #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));
|