/titanic_41/usr/src/cmd/checkeq/ |
H A D | checkeq.c | 25 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() 105 gettext(" %c%c in EQ, line %d\n"), delim, in check() 106 delim, line); in check() [all …]
|
/titanic_41/usr/src/lib/libcmd/common/ |
H A D | paste.c | 85 static int paste(int nstream,Sfio_t* streams[],Sfio_t *out, register const char *delim, int dsiz, i… 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() 148 static int spaste(Sfio_t *in,register Sfio_t* out,register const char *delim,int dsiz,int dlen,Deli… in spaste() argument 163 else if(c=delim[d]) in spaste() 179 register char *cp, *delim; in b_paste() local 186 delim = 0; in b_paste() 190 delim = opt_info.arg; in b_paste() [all …]
|
H A D | head.c | 79 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 && errno != EPIPE) in b_head()
|
H A D | tail.c | 154 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 292 sfmove(tp->sp, NiL, -number - 1, delim); in init() 298 else if ((offset = tailpos(tp->sp, number, delim)) >= 0) in init() [all …]
|
H A D | stty.c | 468 register int delim = ' '; in output() local 521 delim = '\n'; in output() 525 sfprintf(sfstdout,"%s%c",tp->name,delim); in output() 527 sfprintf(sfstdout,"-%s%c",tp->name,delim); in output() 528 delim = ' '; in output() 534 delim = '\n'; in output() 538 sfprintf(sfstdout,"%s = <undef>;%c",tp->name,delim); in output() 540 sfprintf(sfstdout,"%s = %c;%c",tp->name,off,delim); in output() 543 sfprintf(sfstdout,"%s = ^%c;%c",tp->name,off==0177?'?':(off^0100),delim); in output() 547 … sfprintf(sfstdout,"%s = ^%c;%c",tp->name,off==0177?'?':ccmapc(off^0100,CC_ASCII,CC_NATIVE),delim); in output() [all …]
|
/titanic_41/usr/src/cmd/pwck/ |
H A D | pwck.c | 67 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[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 …]
|
/titanic_41/usr/src/cmd/filesync/ |
H A D | files.c | 165 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 == 0 || *s != delim) in expand() 326 { char c, delim; in lex() local [all …]
|
/titanic_41/usr/src/lib/libast/common/stdio/ |
H A D | getdelim.c | 27 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()
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | proc_names.c | 484 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, int m, sigset_t *set) in proc_str2sigset() argument [all …]
|
/titanic_41/usr/src/cmd/troff/ |
H A D | n9.c | 90 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 = cbits(i); in setbra() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | parms.c | 503 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, *val0 = 0, *tgt, *val, *p; in parse_parms() local [all …]
|
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPTokenizer.java | 64 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()
|
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | strtok.c | 54 nstrtok(s, delim) in nstrtok() argument 56 register const char *delim; 73 for (spanp = delim; (sc = *spanp++) != 0;) { 93 spanp = delim;
|
/titanic_41/usr/src/cmd/sendmail/db/clib/ |
H A D | strsep.c | 74 strsep(stringp, delim) in strsep() argument 76 register const char *delim; 87 spanp = delim;
|
/titanic_41/usr/src/lib/krb5/kadm5/ |
H A D | kadm_host_srv_names.c | 30 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_41/usr/src/cmd/csplit/ |
H A D | csplit.c | 356 char *delim; in getfile() local 373 delim = strrchr(file, '/'); in getfile() 374 if (delim == (char *)NULL) { in getfile() 380 savedelim = *delim; in getfile() 381 *delim = '\0'; 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 = savedelim; in getfile()
|
/titanic_41/usr/src/cmd/mail/ |
H A D | savehdrs.c | 39 char delim = ':'; local 55 delim = ' '; 88 q = strchr(s, delim) + 1;
|
/titanic_41/usr/src/cmd/grpck/ |
H A D | grpck.c | 110 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_41/usr/src/lib/libshell/common/bltins/ |
H A D | read.c | 222 int delim = '\n'; in sh_readline() local 249 delim = -1; in sh_readline() 271 delim = ((unsigned)flags)>>D_FLAG; in sh_readline() 285 shp->ifstable[delim] = S_NL; in sh_readline() 286 if(delim!='\n') in sh_readline() 298 if((c=(*nfp->disc->readf)(np,iop,delim,nfp))>=0) in sh_readline() 447 else if(cp = (unsigned char*)sfgetr(iop,delim,0)) in sh_readline() 449 else if(cp = (unsigned char*)sfgetr(iop,delim,-1)) in sh_readline() 463 if(delim=='\n' && c>=2 && cpmax[-2]=='\r') in sh_readline() 466 if(*(cpmax-1) != delim) in sh_readline() [all …]
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | strsep.c | 66 strsep(char **stringp, const char *delim) in strsep() argument 77 spanp = delim; in strsep()
|
/titanic_41/usr/src/lib/libresolv2/common/bsd/ |
H A D | strsep.c | 61 strsep(char **stringp, const char *delim) { in strsep() argument 71 spanp = delim; in strsep()
|
/titanic_41/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_hyper.c | 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() 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() 1007 char *delim = ","; in cvt_to_metal() local 1183 delim = " "; in cvt_to_metal() 1189 newstr = append_str(kernel, "ttya-mode='", delim); in cvt_to_metal() 1200 delim = ","; in cvt_to_metal() [all …]
|
/titanic_41/usr/src/cmd/fs.d/cachefs/cachefspack/ |
H A D | rules.c | 338 { char c, delim; in lex() local 398 delim = c; in lex() 401 delim = 0; in lex() 417 if (c == delim) { in lex() 423 if (delim == 0 && isspace(c)) in lex()
|
/titanic_41/usr/src/cmd/loadkeys/ |
H A D | dumpkeys.c | 65 static void printchar(int character, int delim); 398 printchar(character, delim) in printchar() argument 400 int delim; 430 if (character == delim)
|
/titanic_41/usr/src/cmd/saf/ |
H A D | util.c | 63 nexttok(str, delim, ros) in nexttok() argument 65 register char *delim; 77 ep = strpbrk(p, delim);
|