/osnet-11/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;
|
/osnet-11/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;
|
/osnet-11/usr/src/lib/libcmd/common/ |
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 | 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 | cmp.c | 93 pretty(Sfio_t *out, int o, int delim, int flags) argument 104 if ((flags & CMP_CHARS) && delim != -1) 141 sfputr(out, buf, delim);
|
H A D | stty.c | 470 register int delim = ' '; local 523 delim = '\n'; 527 sfprintf(sfstdout,"%s%c",tp->name,delim); 529 sfprintf(sfstdout,"-%s%c",tp->name,delim); 530 delim = ' '; 536 delim = '\n'; 540 sfprintf(sfstdout,"%s = <undef>;%c",tp->name,delim); 542 sfprintf(sfstdout,"%s = %c;%c",tp->name,off,delim); 545 sfprintf(sfstdout,"%s = ^%c;%c",tp->name,off==0177?'?':(off^0100),delim); 549 sfprintf(sfstdout,"%s = ^%c;%c",tp->name,off==0177?'?':ccmapc(off^0100,CC_ASCII,CC_NATIVE),delim); [all...] |
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 290 sfmove(tp->sp, NiL, -number - 1, delim); 296 else if ((offset = tailpos(tp->sp, number, delim)) > 406 int delim; local [all...] |
H A D | join.c | 62 "[t:separator|tabs]:[delim?Use \adelim\a as the field separator for both input" 155 int delim; member in struct:Join_s 198 jp->delim = -1; 318 if (jp->delim == '\n') /* handle new-line delimiter specially */ 337 if (jp->delim == -1) 391 if (n == jp->delim) 396 if (jp->delim == -1 && iswspace(n)) 485 if ((n = jp->delim) == -1) 907 jp->delim = mbchar(cp); 917 jp->delim [all...] |
/osnet-11/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...] |
/osnet-11/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;
|
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regsubcomp.c | 43 regsubflags(regex_t* p, register const char* s, char** e, int delim, register const regflags_t* map, int* pm, regflags_t* pf) argument 57 if (!(c = *s++) || c == delim)
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | proc_names.c | 481 proc_fltset2str(const fltset_t *set, const char *delim, int m, argument 500 n = snprintf(p, len, "%s%s", delim, name); 521 proc_sigset2str(const sigset_t *set, const char *delim, int m, argument 545 n = snprintf(p, len, "%s%s", delim, name); 567 proc_sysset2str(const sysset_t *set, const char *delim, int m, argument 586 n = snprintf(p, len, "%s%s", delim, name); 611 proc_str2fltset(const char *s, const char *delim, int m, fltset_t *set) argument 624 for (p = strtok_r(t, delim, &q); p != NULL; 625 p = strtok_r(NULL, delim, &q)) { 644 proc_str2sigset(const char *s, const char *delim, in argument 677 proc_str2sysset(const char *s, const char *delim, int m, sysset_t *set) argument [all...] |
/osnet-11/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 107 if ((*kpasswd != NULL) && ((delim = strchr(*kpasswd, ':')) != NULL)) 108 *delim = '\0';
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/ |
H A D | util.c | 100 cpytill(register char *to, register char *from, register int delim) argument 104 if (from[1] == delim) 109 else if (*from == delim) 119 cpy2(register char *to, register char *from, register int delim) argument 126 else if (*from == delim)
|
H A D | str.c | 156 str_append_till(register STR *str, register char *from, register int delim, char *keeplist) argument 169 if (*from == '\\' && from[1] && delim != '\\') { 171 if (from[1] == delim || from[1] == '\\') 181 else if (*from == delim)
|
/osnet-11/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_recno.c | 1004 u_int8_t delim, *pad; local 1080 delim = rp->re_delim; 1114 if ((ret = __os_write(fd, &delim, 1, &nw)) != 0) 1219 int delim, ret; local 1228 delim = rp->re_delim; 1237 for (data.data = sp; sp < ep && *sp != delim; ++sp)
|
/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | tokenize.c | 332 int delim = z[0]; local 334 if( z[i]==delim ){ 335 if( z[i+1]==delim ){
|
/osnet-11/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 253 delim = -1; 277 delim = ((unsigned)flags)>>D_FLAG; 291 if(delim>0) 292 shp->ifstable[delim] = S_NL; 293 if(delim!='\n') 305 if((c=(*nfp->disc->readf)(np,iop,delim,nfp))>=0) 454 else if(cp = (unsigned char*)sfgetr(iop,delim,0)) 456 else if(cp = (unsigned char*)sfgetr(iop,delim, [all...] |
/osnet-11/usr/src/lib/libinstzones/common/ |
H A D | zones.c | 236 * delim - const char pointer to string representing the 246 z_make_brand_list(const char *brands, const char *delim) argument 255 if ((str = strtok(blist, delim)) != NULL) { 265 while ((str = strtok(NULL, delim)) != NULL) {
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | error.c | 241 print(register Sfio_t* sp, register char* name, char* delim) argument 293 if (delim) 294 sfputr(sp, delim, -1);
|
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access_utils.c | 515 char delim[2] = {0, 0}; local 584 delim[0] = sf->separatorStr[0]; 599 0, str, delim);
|
/osnet-11/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 350 nd_split_list(nd_hdl_t *nhdl, char *list, char *delim, char ***arr, argument 357 item = strtok(tmpstr, delim); 358 while (item && strtok(NULL, delim) != NULL) 370 item = strtok(tmpstr, delim); 372 while ((item = strtok(NULL, delim)) != NULL)
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip_smbios.c | 494 char *delim = NULL, *blank = " "; local 537 delim = "/"; 539 bufsz += chip_strlen(label) + chip_strlen(delim) + 548 (void) strlcat(buf, delim, bufsz);
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 97 static char **splitarray(const char *buffer, const char *buffend, char delim); 98 static int joinarray(char * const * argv, char *buffer, char delim); 99 static char *getfield(char **res, size_t reslen, char **buffer, char delim); 1641 * static char ** splitarray(const char *buffer, const char *buffend, char delim) 1645 * Split a delim separated astring. Not allowed 1660 splitarray(const char *buffer, const char *buffend, char delim) { argument 1668 else if (buffend > buffer && *buffer == delim) 1670 else if (buffend > buffer && *(buffend - 1) == delim) 1676 if (*q == delim) { 1677 if (q > buffer && (*(q - 1) == delim)) { 1758 joinarray(char * const *argv, char *buffer, char delim) argument 1799 getfield(char **res, size_t reslen, char **ptr, char delim) argument [all...] |
/osnet-11/usr/src/lib/libnetcfg/common/ |
H A D | libnetcfg_files.c | 64 netcfg_tokenize_by_unescaped_delim(char *in, char delim, char **nextp) argument 78 } else if (!escaped && cp[0] == delim) {
|