Searched refs:delim (Results 1 - 25 of 109) sorted by relevance

12345

/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dnstrtok.h6 char *nstrtok(char *, const char *delim);
H A Dstrtok.c39 * 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 Dcheckeq.c25 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/tools/smatch/src/validation/preprocessor/
H A Dmissing-delim.c9 * check-name: missing-delim
14 preprocessor/missing-delim.c:2:0: warning: missing terminating ' character
15 preprocessor/missing-delim.c:4:0: warning: missing terminating " character
/illumos-gate/usr/src/cmd/sendmail/db/clib/
H A Dstrsep.c57 * 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 Dgetdelim.c27 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 Dstrsep.c56 * 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 Dstrsep.c41 * 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 Dstrtok.c52 __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/lib/libresolv2/common/bsd/
H A Dstrsep.c46 * strings separated by characters from delim.
49 * delim need not remain constant from call to call.
56 strsep(char **stringp, const char *delim) { argument
66 spanp = delim;
/illumos-gate/usr/src/cmd/pwck/
H A Dpwck.c67 int delim[512]; local
130 delim[colons] = i;
138 delim[6] = i - 1;
139 delim[7] = '\0';
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 Dpaste.c26 * 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 Dhead.c79 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 Dtail.c154 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 Dfiles.c165 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/libslp/javalib/com/sun/slp/
H A DSLPTokenizer.java64 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/mandoc/
H A Deqn_parse.h36 int delim; /* In-line delimiters enabled. */ member in struct:eqn_node
/illumos-gate/usr/src/cmd/mail/
H A Dsavehdrs.c39 char delim = ':'; local
55 delim = ' ';
88 q = strchr(s, delim) + 1;
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_names.c487 proc_fltset2str(const fltset_t *set, const char *delim, int m, argument
506 n = snprintf(p, len, "%s%s", delim, name);
527 proc_sigset2str(const sigset_t *set, const char *delim, int m, argument
551 n = snprintf(p, len, "%s%s", delim, name);
573 proc_sysset2str(const sysset_t *set, const char *delim, int m, argument
592 n = snprintf(p, len, "%s%s", delim, name);
617 proc_str2fltset(const char *s, const char *delim, int m, fltset_t *set) argument
630 for (p = strtok_r(t, delim, &q); p != NULL;
631 p = strtok_r(NULL, delim, &q)) {
650 proc_str2sigset(const char *s, const char *delim, in argument
683 proc_str2sysset(const char *s, const char *delim, int m, sysset_t *set) argument
[all...]
/illumos-gate/usr/src/cmd/troff/
H A Dn9.c88 int w, cnt, delim, rem, temp; local
93 delim = cbits(c);
99 eat(delim);
103 if ((cbits(c = getch())) == delim) {
133 eat(delim);
156 int delim, w[NOV]; local
160 delim = cbits(i);
161 for (k = 0; (k < NOV) && ((j = cbits(i = getch())) != delim) &&
205 int cnt, delim; local
210 delim
250 int cnt, delim, v; local
314 int i, j, k, dx[NPAIR], dy[NPAIR], delim, type __unused; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c503 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/lib/libshell/common/tests/
H A Dsun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh43 # $ 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 Dcsplit.c360 char *delim; local
377 delim = strrchr(file, '/');
378 if (delim == (char *)NULL) {
383 /* truncate file at pathname delim to do pathconf */
384 savedelim = *delim;
385 *delim = '\0';
389 * ............. ^ delim
391 if (strlen(delim + 1) > pathconf(file, _PC_NAME_MAX)) {
392 fatal("Name too long: %s\n", delim + 1);
394 *delim
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dkadm_host_srv_names.c30 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 Dgrpck.c107 int delim[NUM_COLONS + 1], buf_len, bufsize; local
229 delim[colons] = i;
260 len = (delim[2] - delim[1]) - 1;
265 for (i = (delim[1]+1); i < delim[2]; i++) {
280 nptr = &tmpbuf[delim[2]];

Completed in 305 milliseconds

12345