Home
last modified time | relevance | path

Searched refs:delim (Results 1 – 25 of 123) sorted by relevance

12345

/illumos-gate/usr/src/cmd/checkeq/
H A Dcheckeq.c25 static int delim = '$'; variable
61 if (*p == delim) in check()
71 delim, delim, line); in check()
82 delim, delim, line); in check()
89 delim = 0; in check()
91 delim = *p; in check()
94 if (delim == 0) in check()
101 delim, delim, line); in check()
116 line-start+1, delim, delim, start, line); in check()
123 line-start+1, delim, delim, start, line); in check()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dpaste.c186 delim = 0; in b_paste()
209 if(!delim || !*delim) in b_paste()
211 delim = defdelim; in b_paste()
212 delim[0] = '\t'; in b_paste()
213 delim[1] = 0; in b_paste()
215 if (!(delim = strdup(delim))) in b_paste()
221 cp = delim; in b_paste()
222 ep = delim + dlen; in b_paste()
233 free(delim); in b_paste()
236 cp = delim; in b_paste()
[all …]
H A Dhead.c79 register int delim = '\n'; in b_head() local
90 delim = -1; in b_head()
95 delim = -1; in b_head()
143 if ((moved = sfmove(fp, NiL, skip, delim)) < 0 && !ERROR_PIPE(errno) && errno != EINTR) in b_head()
145 if (delim >= 0 && moved < skip) in b_head()
148 if ((moved = sfmove(fp, sfstdout, keep, delim)) < 0 && !ERROR_PIPE(errno) && errno != EINTR || in b_head()
149delim >= 0 && moved < keep && sfmove(fp, sfstdout, SF_UNBOUND, -1) < 0 && !ERROR_PIPE(errno) && er… in b_head()
H A Dtail.c169 if (delim < 0) in tailpos()
195 if (*--t == delim && number-- <= 0) in tailpos()
223 if (delim < 0 && a > number) in pipetail()
253 sfmove(tmp[!fno], NiL, n, delim); in pipetail()
303 sfmove(tp->sp, NiL, -number - 1, delim); in init()
419 int delim; in b_tail() local
600 delim = (flags & LINES) ? '\n' : -1; in b_tail()
605 if (delim < 0) in b_tail()
765 …if (number < -1 && (moved = sfmove(ip, NiL, -(number + 1), delim)) >= 0 && delim >= 0 && moved < -… in b_tail()
766 (void)sfgetr(ip, delim, SF_LASTR); in b_tail()
[all …]
/illumos-gate/usr/src/cmd/pwck/
H A Dpwck.c67 int delim[512]; in main() local
130 delim[colons] = i; in main()
138 delim[6] = i - 1; in main()
139 delim[7] = '\0'; in main()
173 str = &buf[delim[1] + 1]; in main()
175 if (lastc != str + (delim[2] - delim[1]) - 1 || in main()
182 str = &buf[delim[2] + 1]; in main()
184 if (lastc != str + (delim[3] - delim[2]) - 1 || in main()
190 for (j = 0, i = (delim[4] + 1); i < delim[5]; j++, i++) in main()
201 if ((buf[(delim[5] + 1)]) != '\n') { in main()
[all …]
/illumos-gate/usr/src/cmd/filesync/
H A Dfiles.c165 char delim; in expand() local
190 delim = *++s; in expand()
192 delim = ')'; in expand()
195 delim = '}'; in expand()
198 delim = 0; in expand()
203 (delim && *s != delim)) in expand()
220 if (delim == 0 || *s != delim) in expand()
326 { char c, delim; in lex() local
373 delim = c; in lex()
376 delim = 0; in lex()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dgetdelim.c27 getdelim(char** sp, size_t* np, int delim, Sfio_t* f) in getdelim() argument
37 STDIO_INT(f, "getdelim", ssize_t, (char**, size_t*, int, Sfio_t*), (sp, np, delim, f)) in getdelim()
41 if(delim < 0 || delim > 255 || !sp || !np) /* bad parameters */ in getdelim()
54 { f->getr = delim; in getdelim()
63 { if(ps[k] == delim) in getdelim()
82 if(s[m-1] == delim) in getdelim()
93 __getdelim(char** sp, size_t* np, int delim, Sfio_t* f) in __getdelim() argument
95 return getdelim(sp, np, delim, f); in __getdelim()
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_names.c488 proc_fltset2str(const fltset_t *set, const char *delim, int m, in proc_fltset2str() argument
507 n = snprintf(p, len, "%s%s", delim, name); in proc_fltset2str()
528 proc_sigset2str(const sigset_t *set, const char *delim, int m, in proc_sigset2str() argument
552 n = snprintf(p, len, "%s%s", delim, name); in proc_sigset2str()
593 n = snprintf(p, len, "%s%s", delim, name); in proc_sysset2str()
631 for (p = strtok_r(t, delim, &q); p != NULL; in proc_str2fltset()
632 p = strtok_r(NULL, delim, &q)) { in proc_str2fltset()
664 for (p = strtok_r(t, delim, &q); p != NULL; in proc_str2sigset()
665 p = strtok_r(NULL, delim, &q)) { in proc_str2sigset()
697 for (p = strtok_r(t, delim, &q); p != NULL; in proc_str2sysset()
[all …]
/illumos-gate/usr/src/cmd/troff/
H A Dn9.c93 delim = cbits(c); in setline()
99 eat(delim); in setline()
133 eat(delim); in setline()
156 int delim, w[NOV]; in setov() local
160 delim = cbits(i); in setov()
205 int cnt, delim; in setbra() local
210 delim = cbits(i); in setbra()
250 int cnt, delim, v; in setvline() local
256 delim = cbits(c); in setvline()
262 eat(delim); in setvline()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c527 if (delim != '|') { in get_passwd()
552 if (delim == '|') { in get_passwd()
557 if (delim != '|') in get_passwd()
570 if (delim != '\0') in get_passwd()
624 if (delim == ',') { in parse_parms()
654 delim == '\0') in parse_parms()
716 delim = *line; in parse_parms()
717 if (delim == '=') { in parse_parms()
723 if (delim != '\0') { in parse_parms()
726 if (delim == '#') in parse_parms()
[all …]
/illumos-gate/usr/src/boot/libsa/string/
H A Dstrtok.c52 __strtok_r(char *s, const char *delim, char **last) in __strtok_r() argument
65 for (spanp = (char *)delim; (sc = *spanp++) != 0;) { in __strtok_r()
82 spanp = (char *)delim; in __strtok_r()
98 strtok(char *s, const char *delim) in strtok() argument
102 return (__strtok_r(s, delim, &last)); in strtok()
H A Dstrsep.c51 strsep(char **stringp, const char *delim) in strsep() argument
62 spanp = delim; in strsep()
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPTokenizer.java64 public SLPTokenizer(String s, String delim) in SLPTokenizer() argument
66 initialize(s, delim, false); in SLPTokenizer()
69 public SLPTokenizer(String s, String delim, boolean returnDelims) in SLPTokenizer() argument
71 initialize(s, delim, returnDelims); in SLPTokenizer()
244 public String nextToken(String delim) in nextToken() argument
248 delims = delim; in nextToken()
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dstrtok.c54 nstrtok(s, delim) in nstrtok() argument
56 register const char *delim;
73 for (spanp = delim; (sc = *spanp++) != 0;) {
93 spanp = delim;
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dreadcsv.sh56 do delim=$IFS
58 then delim=$'\r\n'
61 then printf "%#q%s" "${arr[i]}" "$delim"
62 else printf "%(csv)q%s" "${arr[i]}" "$delim"
/illumos-gate/usr/src/cmd/sendmail/db/clib/
H A Dstrsep.c74 strsep(stringp, delim) in strsep() argument
76 register const char *delim;
87 spanp = delim;
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dread.c223 int delim = '\n'; in sh_readline() local
260 delim = -1; in sh_readline()
286 delim = ((unsigned)flags)>>D_FLAG; in sh_readline()
287 ep->e_nttyparm.c_cc[VEOL] = delim; in sh_readline()
302 if(delim>0) in sh_readline()
303 shp->ifstable[delim] = S_NL; in sh_readline()
304 if(delim!='\n') in sh_readline()
504 if(delim=='\n' && c>=2 && cpmax[-2]=='\r') in sh_readline()
507 if(*(cpmax-1) != delim) in sh_readline()
508 *(cpmax-1) = delim; in sh_readline()
[all …]
/illumos-gate/usr/src/cmd/csplit/
H A Dcsplit.c360 char *delim; in getfile() local
377 delim = strrchr(file, '/'); in getfile()
378 if (delim == (char *)NULL) { in getfile()
384 savedelim = *delim; in getfile()
385 *delim = '\0'; in getfile()
391 if (strlen(delim + 1) > pathconf(file, _PC_NAME_MAX)) { in getfile()
392 fatal("Name too long: %s\n", delim + 1); in getfile()
394 *delim = savedelim; in getfile()
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dkadm_host_srv_names.c30 char *delim; in kadm5_get_master() local
47 if ((*master != NULL) && ((delim = strchr(*master, ':')) != NULL)) in kadm5_get_master()
48 *delim = '\0'; in kadm5_get_master()
86 char *delim; in kadm5_get_kpasswd() local
106 if ((*kpasswd != NULL) && ((delim = strchr(*kpasswd, ':')) != NULL)) in kadm5_get_kpasswd()
107 *delim = '\0'; in kadm5_get_kpasswd()
/illumos-gate/usr/src/cmd/grpck/
H A Dgrpck.c107 int delim[NUM_COLONS + 1], buf_len, bufsize; in main() local
229 delim[colons] = i; in main()
260 len = (delim[2] - delim[1]) - 1; in main()
265 for (i = (delim[1]+1); i < delim[2]; i++) { in main()
280 nptr = &tmpbuf[delim[2]]; in main()
/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/cmd/boot/bootadm/
H A Dbootadm_hyper.c67 append_str(char *orig, char *str, char *delim) in append_str() argument
72 if ((str == NULL) || (delim == NULL)) in append_str()
83 len = strlen(orig) + strlen(str) + strlen(delim) + 1; in append_str()
89 (void) snprintf(newstr, len, "%s%s%s", orig, delim, str); in append_str()
142 get_token(char **token, char *str, char *delim) in get_token() argument
1021 char *delim = ","; in cvt_to_metal() local
1203 delim = " "; in cvt_to_metal()
1209 newstr = append_str(kernel, "ttya-mode='", delim); in cvt_to_metal()
1220 delim = ","; in cvt_to_metal()
1225 newstr = append_str(kernel, "ttyb-mode='", delim); in cvt_to_metal()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrsep.c56 strsep(char **stringp, const char *delim) { in strsep() argument
66 spanp = delim; in strsep()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrsep.c66 strsep(char **stringp, const char *delim) in strsep() argument
77 spanp = delim; in strsep()
/illumos-gate/usr/src/cmd/mandoc/
H A Deqn_term.c56 int delim; in eqn_box() local
85 delim = 1; in eqn_box()
87 delim = 0; in eqn_box()
168 if (delim) { in eqn_box()

12345