/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | nstrtok.h | 6 char *nstrtok(char *, const char *delim);
|
H A D | strtok.c | 39 * delim (input) list of delimiters 54 nstrtok(s, delim) 56 register const char *delim; 68 * Skip (span) leading delimiters (s += strspn(s, delim), sort of). 73 for (spanp = delim; (sc = *spanp++) != 0;) { 88 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of). 89 * Note that delim must have one NUL; we stop if we see that, too. 93 spanp = delim;
|
/illumos-gate/usr/src/cmd/checkeq/ |
H A D | checkeq.c | 25 static int delim = '$'; variable 61 if (*p == delim) 71 delim, delim, line); 82 delim, delim, line); 89 delim = 0; 91 delim = *p; 94 if (delim == 0) 101 delim, deli 116 line-start+1, delim, delim, start, line); local 123 line-start+1, delim, delim, start, line); local [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/clib/ |
H A D | strsep.c | 57 * strings separated by characters from delim. 60 * delim need not remain constant from call to call. 74 strsep(stringp, delim) 76 register const char *delim; 87 spanp = delim;
|
/illumos-gate/usr/src/lib/libast/common/stdio/ |
H A D | getdelim.c | 27 getdelim(char** sp, size_t* np, int delim, Sfio_t* f) argument 37 STDIO_INT(f, "getdelim", ssize_t, (char**, size_t*, int, Sfio_t*), (sp, np, delim, f)) 41 if(delim < 0 || delim > 255 || !sp || !np) /* bad parameters */ 54 { f->getr = delim; 63 { if(ps[k] == delim) 64 { k += 1; /* include delim in copying */ 82 if(s[m-1] == delim) 93 __getdelim(char** sp, size_t* np, int delim, Sfio_t* f) argument 95 return getdelim(sp, np, delim, [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strsep.c | 56 * strings separated by characters from delim. 59 * delim need not remain constant from call to call. 66 strsep(char **stringp, const char *delim) argument 77 spanp = delim;
|
/illumos-gate/usr/src/boot/lib/libc/string/ |
H A D | strsep.c | 41 * strings separated by characters from delim. 44 * delim need not remain constant from call to call. 51 strsep(char **stringp, const char *delim) argument 62 spanp = delim;
|
H A D | strtok.c | 52 __strtok_r(char *s, const char *delim, char **last) argument 61 * Skip (span) leading delimiters (s += strspn(s, delim), sort of). 65 for (spanp = (char *)delim; (sc = *spanp++) != 0;) { 77 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of). 78 * Note that delim must have one NUL; we stop if we see that, too. 82 spanp = (char *)delim; 98 strtok(char *s, const char *delim) argument 102 return (__strtok_r(s, delim, &last));
|
/illumos-gate/usr/src/cmd/pwck/ |
H A D | pwck.c | 67 int delim[512]; local 130 delim[colons] = i; 138 delim[6] = i - 1; 139 delim[7] = NULL; 173 str = &buf[delim[1] + 1]; 175 if (lastc != str + (delim[2] - delim[1]) - 1 || 182 str = &buf[delim[2] + 1]; 184 if (lastc != str + (delim[3] - delim[ [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | paste.c | 26 * paste [-s] [-d delim] [file] ... 85 static int paste(int nstream,Sfio_t* streams[],Sfio_t *out, register const char *delim, int dsiz, int dlen, Delim_t* mp) argument 104 sfnputc(out, *delim, n); 108 sfwrite(out,delim,dsiz); 116 sfwrite(out,delim,z); 134 else if(c=delim[d]) 146 * Handles paste -s, for file <in> to file <out> using delimiters <delim> 148 static int spaste(Sfio_t *in,register Sfio_t* out,register const char *delim,int dsiz,int dlen,Delim_t* mp) argument 163 else if(c=delim[d]) 179 register char *cp, *delim; local [all...] |
H A D | head.c | 79 register int delim = '\n'; local 89 delim = -1; 94 delim = -1; 141 sfmove(fp, NiL, skip, delim); 142 if (sfmove(fp, sfstdout, keep, delim) < 0 && errno != EPIPE)
|
H A D | tail.c | 154 tailpos(register Sfio_t* fp, register Sfoff_t number, int delim) argument 167 if (delim < 0) 183 if (*--t == delim && number-- <= 0) 201 pipetail(Sfio_t* infile, Sfio_t* outfile, Sfoff_t number, int delim) argument 211 if (delim < 0 && a > number) 216 while ((n = sfmove(infile, out, number, delim)) > 0) 241 sfmove(tmp[!fno], NiL, n, delim); 257 init(Tail_t* tp, Sfoff_t number, int delim, int flags, const char** format) argument 292 sfmove(tp->sp, NiL, -number - 1, delim); 298 else if ((offset = tailpos(tp->sp, number, delim)) > 408 int delim; local [all...] |
/illumos-gate/usr/src/cmd/filesync/ |
H A D | files.c | 165 char delim; local 190 delim = *++s; 191 if (delim == '(') { 192 delim = ')'; 194 } else if (delim == '{') { 195 delim = '}'; 198 delim = 0; 203 (delim && *s != delim)) 220 if (delim 326 { char c, delim; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | strsep.c | 51 * strings separated by characters from delim. 54 * delim need not remain constant from call to call. 61 strsep(char **stringp, const char *delim) { argument 71 spanp = delim;
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPTokenizer.java | 64 public SLPTokenizer(String s, String delim) argument 66 initialize(s, delim, false); 69 public SLPTokenizer(String s, String delim, boolean returnDelims) argument 71 initialize(s, delim, returnDelims); 140 return true; // A non-delim char found! 143 return false; // No non-delim chars remain! 244 public String nextToken(String delim) argument 248 delims = delim;
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | savehdrs.c | 39 char delim = ':'; local 55 delim = ' '; 88 q = strchr(s, delim) + 1;
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_names.c | 484 proc_fltset2str(const fltset_t *set, const char *delim, int m, argument 503 n = snprintf(p, len, "%s%s", delim, name); 524 proc_sigset2str(const sigset_t *set, const char *delim, int m, argument 548 n = snprintf(p, len, "%s%s", delim, name); 570 proc_sysset2str(const sysset_t *set, const char *delim, int m, argument 589 n = snprintf(p, len, "%s%s", delim, name); 614 proc_str2fltset(const char *s, const char *delim, int m, fltset_t *set) argument 627 for (p = strtok_r(t, delim, &q); p != NULL; 628 p = strtok_r(NULL, delim, &q)) { 647 proc_str2sigset(const char *s, const char *delim, in argument 680 proc_str2sysset(const char *s, const char *delim, int m, sysset_t *set) argument [all...] |
/illumos-gate/usr/src/cmd/troff/ |
H A D | n9.c | 90 int w, cnt, delim, rem, temp; local 95 delim = cbits(c); 101 eat(delim); 105 if ((cbits(c = getch())) == delim) { 135 eat(delim); 159 int delim, w[NOV]; local 163 delim = cbits(i); 164 for (k = 0; (k < NOV) && ((j = cbits(i = getch())) != delim) && 208 int cnt, delim; local 213 delim 253 int cnt, delim, v; local 314 int i, j, k, dx[NPAIR], dy[NPAIR], delim, type; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | parms.c | 503 char *val0, *p, delim; local 523 if (0 > parse_quote(&val, "| ,", &delim, 527 if (delim != '|') { 533 if (0 > parse_quote(&val, "| ,", &delim, buf, 552 if (delim == '|') { 554 if (NULL != (p = parse_ts(&k.start, &val, val0, &delim, 557 if (delim != '|') 560 if (NULL != (p = parse_ts(&k.end, &val, val0, &delim, 570 if (delim != '\0') 610 char delim, *val local [all...] |
/illumos-gate/usr/src/cmd/loadkeys/ |
H A D | dumpkeys.c | 65 static void printchar(int character, int delim); 398 printchar(character, delim) 400 int delim; 430 if (character == delim)
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh | 43 # $ od -tx1 delim 47 # $ /usr/bin/join -j1 1 -j2 2 -o 1.1 -t `cat delim` input1 input2 166 printf "\xa1\xf7\x0a" >"delim" 169 out=$( LC_ALL=ja_JP.eucJP ${SHELL} -o pipefail -o errexit -c '$1 -j1 1 -j2 2 -o 1.1 -t $(cat delim) input1 input2' dummy "${joincmd}" 2>&1 ) || err_exit "${testname}: Test failed with exit code $?" 173 rm "input1" "input2" "delim"
|
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 356 char *delim; local 373 delim = strrchr(file, '/'); 374 if (delim == (char *)NULL) { 379 /* truncate file at pathname delim to do pathconf */ 380 savedelim = *delim; 381 *delim = '\0'; 385 * ............. ^ delim 387 if (strlen(delim + 1) > pathconf(file, _PC_NAME_MAX)) { 388 fatal("Name too long: %s\n", delim + 1); 390 *delim [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | kadm_host_srv_names.c | 30 char *delim; local 47 if ((*master != NULL) && ((delim = strchr(*master, ':')) != NULL)) 48 *delim = '\0'; 86 char *delim; local 106 if ((*kpasswd != NULL) && ((delim = strchr(*kpasswd, ':')) != NULL)) 107 *delim = '\0';
|
/illumos-gate/usr/src/cmd/grpck/ |
H A D | grpck.c | 110 int delim[NUM_COLONS + 1], buf_len, bufsize; local 232 delim[colons] = i; 263 len = (delim[2] - delim[1]) - 1; 268 for (i = (delim[1]+1); i < delim[2]; i++) { 283 nptr = &tmpbuf[delim[2]];
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | read.c | 22 * read [-ACprs] [-d delim] [-u filenum] [-t timeout] [-n n] [-N n] [name...] 222 int delim = '\n'; local 249 delim = -1; 271 delim = ((unsigned)flags)>>D_FLAG; 285 shp->ifstable[delim] = S_NL; 286 if(delim!='\n') 298 if((c=(*nfp->disc->readf)(np,iop,delim,nfp))>=0) 447 else if(cp = (unsigned char*)sfgetr(iop,delim,0)) 449 else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) 463 if(delim [all...] |