/illumos-gate/usr/src/common/fs/ |
H A D | bootfsops.c | 70 char *last; in canonicalise() local 105 for (last = strsep(&s, "/"), q = oc = out; last != NULL; in canonicalise() 106 last = strsep(&s, "/")) { in canonicalise() 107 if (strcmp(last, ".") == 0) in canonicalise() 109 if (strcmp(last, "..") == 0) { in canonicalise() 117 q += snprintf(q, MAXPATHLEN - (q - out), "%s", last); in canonicalise()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumponline.c | 56 static struct inodesc *last; /* last inodesc init'd or matched */ variable 112 last = &ilist; in allocino() 137 last = ilist.id_next; in resetino() 138 while (last && last->id_inumber < ino) in resetino() 139 last = last->id_next; in resetino()
|
/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/libinetutil/common/ |
H A D | inetutil.c | 153 uint8_t last; in mask2plen() local 174 last = *addr; in mask2plen() 175 while (last != 0) { in mask2plen() 177 last = (last << 1) & 0xff; in mask2plen()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zle.c | 48 uchar_t *last = src + (256 - n); in zle_compress() local 49 while (src < MIN(last, s_end) && src[0] == 0) in zle_compress() 53 uchar_t *last = src + n; in zle_compress() local 56 while (src < MIN(last, s_end) - 1 && (src[0] | src[1])) in zle_compress()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | config.c | 777 last = str2; in parse_ms() 780 nlast = last; in parse_ms() 781 last = cp; in parse_ms() 785 (last != NULL ? *last : ' '), in parse_ms() 788 switch (*last) { in parse_ms() 797 *last = '\0'; in parse_ms() 806 *last = '\0'; in parse_ms() 836 last = str2; in parse_s() 838 last = cp; in parse_s() 842 (last != NULL ? *last : ' ')); in parse_s() [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printhash_live.c | 26 int i, printed = 0, last; local 49 last = 0; 52 while (!last && (ioctl(fd, SIOCLOOKUPITER, &obj) == 0)) { 54 last = 1;
|
H A D | printpool_live.c | 26 int i, printed = 0, last; local 49 last = 0; 52 while (!last && (ioctl(fd, SIOCLOOKUPITER, &obj) == 0)) { 54 last = 1;
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wtouchln.c | 56 int first, last; in wtouchln() local 59 last = bf ? w->_maxx : -1; in wtouchln() 63 w->_last[y] = (short) last; in wtouchln()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | crossref.c | 71 int last; /* index of last+1 character in text */ member 108 length = last - first; in crossref() 112 last = first + 8; in crossref() 173 symbol[symbols].last = last; in savesymbol() 174 symbol[symbols].length = last - first; in savesymbol() 240 j = symbol[symput].last; in putcrossref()
|
H A D | scanner.l | 62 int last; /* buffer index for last char of symbol */ variable 142 last = strlen(yytext); 150 last = first; 183 last = first; 276 last = first; 285 last = first; 551 last = yyleng; 594 last = yyleng; 635 last = first; 673 last = 0; [all …]
|
/illumos-gate/usr/src/common/util/ |
H A D | memmem.c | 63 char *cur, *last; in memmem() local 80 last = (char *)cl + l_len - s_len; in memmem() 82 for (cur = (char *)cl; cur <= last; cur++) in memmem()
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_poll.c | 47 hrtime_t last = ao->ao_ms_shared->aos_nb_poll_timestamp; in ao_ms_poll_ownermask() local 50 if (now - last > 2 * pintvl || last == 0) { in ao_ms_poll_ownermask()
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wtouchln.c | 53 int first, last; local 59 last = bf ? w->_maxx : -1; 63 w->_last[y] = last;
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | getexecattr.c | 97 char *last = NULL; in str2execattr() local 119 exec->name = _strtok_escape(buffer, sep, &last); in str2execattr() 120 exec->policy = _strtok_escape(NULL, sep, &last); in str2execattr() 121 exec->type = _strtok_escape(NULL, sep, &last); in str2execattr() 122 exec->res1 = _strtok_escape(NULL, sep, &last); in str2execattr() 123 exec->res2 = _strtok_escape(NULL, sep, &last); in str2execattr() 124 exec->id = _strtok_escape(NULL, sep, &last); in str2execattr() 125 exec->attr = _strtok_escape(NULL, sep, &last); in str2execattr()
|
H A D | getauuser.c | 68 char *last = NULL; in str2auuser() local 90 au_user->au_name = _strtok_escape(buffer, sep, &last); in str2auuser() 91 au_user->au_always = _strtok_escape(NULL, sep, &last); in str2auuser() 92 au_user->au_never = _strtok_escape(NULL, sep, &last); in str2auuser()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkgparam.c | 447 char *pt, *last; in canonize_name() local 457 last = pt; in canonize_name() 460 last += 2; in canonize_name() 461 if (*last) in canonize_name() 462 last++; in canonize_name() 463 } while (isdotdot(last)); in canonize_name() 473 (void) strcpy(pt, last); in canonize_name()
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | hash.c | 53 static struct node **last; variable 120 last = &table[i]; 138 last = q; 152 *last = p;
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcdos.c | 54 char last; member 124 *cp = dp->last; 135 if(dp->last=='\r' && *cp!='\n') 139 dp->last = *cpmax; 142 if(dp->last!='\r') 148 if(dp->last=='\r') 150 else if(dp->last!='\n' || cpmax[-1]!='\r') 163 *cpmax = dp->last; 210 cpmax[-count] = dp->last;
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | interactive.c | 66 for (; alist.head < alist.last; alist.head++) in runcmdshell() 335 if (ap->head != ap->last) { in getcmd() 595 ap->head = ap->last = (struct afile *)0; in expandarg() 607 ap->last = ap->head + 1; in expandarg() 610 if ((ap->last - ap->head) > ULONG_MAX) { in expandarg() 642 alist.last = alist.head + 1; in printlist() 683 (size_t)(alist.last - alist.head), in printlist() 711 int nentry = (int)(ap->last - ap->head); in formatf() 717 if (ap->head == ap->last) in formatf() 759 for (fp = ap->head; fp < ap->last; fp++) { in formatf() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cmp.c | 161 unsigned char* last; in cmp() local 218 last = p1 + c1; in cmp() 219 while (p1 < last) in cmp() 231 …"%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines… in cmp() 234 sfprintf(sfstdout, "%6I*d", sizeof(pos), pos - (last - p1)); in cmp() 240 sfprintf(sfstdout, "%6I*d", sizeof(pos), pos - (last - p1)); in cmp() 242 …, "%s %s differ: char %I*d, line %I*u", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines… in cmp()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | completion.c | 98 static char *find_begin(char outbuff[], char *last, int endchar, int *type) in find_begin() argument 105 while(cp < last) in find_begin() 141 while(cp < last) in find_begin() 146 if(cp>=last) in find_begin() 160 xp = find_begin(cp,last,')',type); in find_begin() 260 char *last = out; in ed_expand() local 263 begin = out = find_begin(outbuff,last,0,&var); in ed_expand() 268 stakwrite(out,last-out); in ed_expand() 270 out = last; in ed_expand() 275 while(out < last) in ed_expand()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfpool.c | 60 reg Sfpool_t *p, *last = &_Sfpool; local 63 for(last = &_Sfpool, p = last->next; p; last = p, p = p->next) 71 { POOLMTXLOCK(last); 74 { POOLMTXUNLOCK(last); 83 last->next = p; 85 POOLMTXUNLOCK(last);
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | au_usermask.c | 69 char *last = NULL; in au_user_mask() local 93 KV_AUDIT_DELIMIT, &last), &(per_user.au_always)); in au_user_mask() 95 KV_AUDIT_DELIMIT, &last), &(per_user.au_never)); in au_user_mask()
|