Home
last modified time | relevance | path

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

12345

/titanic_52/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, deli in check()
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libcmd/
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) in paste() argument
104 sfnputc(out, *delim, n); in paste()
108 sfwrite(out,delim,dsiz); in paste()
116 sfwrite(out,delim,z); in paste()
134 else if(c=delim[d]) in paste()
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) in spaste() argument
163 else if(c=delim[d]) in spaste()
179 register char *cp, *delim; in b_paste() local
[all...]
H A Dhead.c79 register int delim = '\n'; in b_head() local
89 delim = -1; in b_head()
94 delim = -1; in b_head()
141 sfmove(fp, NiL, skip, delim); in b_head()
142 if (sfmove(fp, sfstdout, keep, delim) < 0 && !ERROR_PIPE(errno) && errno != EINTR) in b_head()
H A Dtail.c154 tailpos(register Sfio_t* fp, register Sfoff_t number, int delim) in tailpos() argument
167 if (delim < 0) in tailpos()
183 if (*--t == delim && number-- <= 0) in tailpos()
201 pipetail(Sfio_t* infile, Sfio_t* outfile, Sfoff_t number, int delim) in pipetail() argument
211 if (delim < 0 && a > number) in pipetail()
216 while ((n = sfmove(infile, out, number, delim)) > 0) in pipetail()
241 sfmove(tmp[!fno], NiL, n, delim); in pipetail()
257 init(Tail_t* tp, Sfoff_t number, int delim, int flags, const char** format) in init() argument
290 sfmove(tp->sp, NiL, -number - 1, delim); in init()
296 else if ((offset = tailpos(tp->sp, number, delim)) > in init()
406 int delim; b_tail() local
[all...]
/titanic_52/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] = NULL; 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[ in main()
[all...]
/titanic_52/usr/src/cmd/filesync/
H A Dfiles.c165 char delim; in expand() local
190 delim = *++s; in expand()
191 if (delim == '(') { in expand()
192 delim = ')'; in expand()
194 } else if (delim == '{') { in expand()
195 delim = '}'; in expand()
198 delim = 0; in expand()
203 (delim && *s != delim)) in expand()
220 if (delim in expand()
326 { char c, delim; lex() local
[all...]
/titanic_52/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()
64 { k += 1; /* include delim in copying */ 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, in __getdelim()
[all...]
/titanic_52/usr/src/lib/libproc/common/
H A Dproc_names.c484 proc_fltset2str(const fltset_t *set, const char *delim, int m, in proc_fltset2str() argument
503 n = snprintf(p, len, "%s%s", delim, name); in proc_fltset2str()
524 proc_sigset2str(const sigset_t *set, const char *delim, int m, in proc_sigset2str() argument
548 n = snprintf(p, len, "%s%s", delim, name); in proc_sigset2str()
570 proc_sysset2str(const sysset_t *set, const char *delim, int m, in proc_sysset2str() argument
589 n = snprintf(p, len, "%s%s", delim, name); in proc_sysset2str()
614 proc_str2fltset(const char *s, const char *delim, int m, fltset_t *set) in proc_str2fltset() argument
627 for (p = strtok_r(t, delim, &q); p != NULL; in proc_str2fltset()
628 p = strtok_r(NULL, delim, &q)) { in proc_str2fltset()
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) proc_str2sysset() argument
[all...]
/titanic_52/usr/src/cmd/troff/
H A Dn9.c90 int w, cnt, delim, rem, temp; in setline() local
95 delim = cbits(c); in setline()
101 eat(delim); in setline()
105 if ((cbits(c = getch())) == delim) { in setline()
135 eat(delim); in setline()
159 int delim, w[NOV]; in setov() local
163 delim = cbits(i); in setov()
164 for (k = 0; (k < NOV) && ((j = cbits(i = getch())) != delim) && in setov()
208 int cnt, delim; in setbra() local
213 delim in setbra()
253 int cnt, delim, v; setvline() local
314 int i, j, k, dx[NPAIR], dy[NPAIR], delim, type; setdraw() local
[all...]
/titanic_52/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c503 char *val0, *p, delim; in get_passwd() local
523 if (0 > parse_quote(&val, "| ,", &delim, in get_passwd()
527 if (delim != '|') { in get_passwd()
533 if (0 > parse_quote(&val, "| ,", &delim, buf, in get_passwd()
552 if (delim == '|') { in get_passwd()
554 if (NULL != (p = parse_ts(&k.start, &val, val0, &delim, in get_passwd()
557 if (delim != '|') in get_passwd()
560 if (NULL != (p = parse_ts(&k.end, &val, val0, &delim, in get_passwd()
570 if (delim != '\0') in get_passwd()
610 char delim, *val in parse_parms() local
[all...]
/titanic_52/usr/src/boot/lib/libc/string/
H A Dstrtok.c52 __strtok_r(char *s, const char *delim, char **last) in __strtok_r() argument
61 * Skip (span) leading delimiters (s += strspn(s, delim), sort of). in __strtok_r()
65 for (spanp = (char *)delim; (sc = *spanp++) != 0;) { in __strtok_r()
77 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of). in __strtok_r()
78 * Note that delim must have one NUL; we stop if we see that, too. 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.c41 * strings separated by characters from delim.
44 * delim need not remain constant from call to call.
51 strsep(char **stringp, const char *delim) in strsep() argument
62 spanp = delim; in strsep()
/titanic_52/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()
140 return true; // A non-delim char found! in hasMoreElements()
143 return false; // No non-delim chars remain! in hasMoreElements()
244 public String nextToken(String delim) in nextToken() argument
248 delims = delim; in nextToken()
/titanic_52/usr/src/cmd/krb5/kadmin/dbutil/
H A Dstrtok.c39 * delim (input) list of delimiters
54 nstrtok(s, delim) in nstrtok() argument
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;
/titanic_52/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"
/titanic_52/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) in strsep() argument
76 register const char *delim;
87 spanp = delim;
/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dread.c22 * read [-ACprs] [-d delim] [-u filenum] [-t timeout] [-n n] [-N n] [name...]
223 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()
322 if((c=(*nfp->disc->readf)(mp,iop,delim,nfp))>=0) in sh_readline()
484 else if(cp = (unsigned char*)sfgetr(iop,delim, in sh_readline()
[all...]
/titanic_52/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()
/titanic_52/usr/src/cmd/csplit/
H A Dcsplit.c356 char *delim; in getfile() local
373 delim = strrchr(file, '/'); in getfile()
374 if (delim == (char *)NULL) { in getfile()
379 /* truncate file at pathname delim to do pathconf */ in getfile()
380 savedelim = *delim; in getfile()
381 *delim = '\0'; in getfile()
385 * ............. ^ delim in getfile()
387 if (strlen(delim + 1) > pathconf(file, _PC_NAME_MAX)) { in getfile()
388 fatal("Name too long: %s\n", delim + 1); in getfile()
390 *delim in getfile()
[all...]
/titanic_52/usr/src/cmd/mail/
H A Dsavehdrs.c39 char delim = ':'; local
55 delim = ' ';
88 q = strchr(s, delim) + 1;
/titanic_52/usr/src/cmd/grpck/
H A Dgrpck.c110 int delim[NUM_COLONS + 1], buf_len, bufsize; in main() local
232 delim[colons] = i; in main()
263 len = (delim[2] - delim[1]) - 1; in main()
268 for (i = (delim[1]+1); i < delim[2]; i++) { in main()
283 nptr = &tmpbuf[delim[2]]; in main()
/titanic_52/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c62 * adding the delimeter "delim" in between.
67 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()
133 * by any character in the string "delim" or the end of the string, but IGNORE
142 get_token(char **token, char *str, char *delim) in get_token() argument
166 for (dp = delim; ((*dp != NULL) && (*dp != *str)); dp++) in get_token()
1021 char *delim = ","; in cvt_to_metal() local
1203 delim in cvt_to_metal()
[all...]
/titanic_52/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) in strsep() argument
77 spanp = delim; in strsep()
/titanic_52/usr/src/lib/libresolv2/common/bsd/
H A Dstrsep.c51 * strings separated by characters from delim.
54 * delim need not remain constant from call to call.
61 strsep(char **stringp, const char *delim) { in strsep() argument
71 spanp = delim; in strsep()
/titanic_52/usr/src/common/ficl/softcore/
H A Djhlocal.fr98 : ?delim ( c-addr u -- state | c-addr u 0 )
117 parse-word ?delim dup to local-state
136 ?delim dup to local-state
162 ?delim dup to local-state
178 parse-word ?delim dup to local-state
197 ?delim dup to local-state
215 ?delim dup to local-state

12345