/netbsd-current/external/bsd/unbound/dist/compat/ |
H A D | strsep.c | 36 in_delim(char c, const char* delim) argument 39 if(!delim) 41 for(p=delim; *p; p++) { 48 char *strsep(char **stringp, const char *delim) argument 56 while(*s && !in_delim(*s, delim))
|
/netbsd-current/lib/libc/string/ |
H A D | strtok.c | 45 strtok(char *s, const char *delim) argument 49 return strtok_r(s, delim, &lasts);
|
H A D | strtok_r.c | 51 strtok_r(char *s, const char *delim, char **lasts) 58 _DIAGASSERT(delim != NULL); 65 * Skip (span) leading delimiters (s += strspn(s, delim), sort of). 69 for (spanp = delim; (sc = *spanp++) != 0;) { 81 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of). 82 * Note that delim must have one NUL; we stop if we see that, too. 86 spanp = delim;
|
H A D | wcstok.c | 53 wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim, argument 61 _DIAGASSERT(delim != NULL); 68 * Skip (span) leading delimiters (s += wcsspn(s, delim), sort of). 72 for (spanp = delim; (sc = *spanp++) != L'\0';) { 84 * Scan token (scan for delimiters: s += wcscspn(s, delim), sort of). 85 * Note that delim must have one NUL; we stop if we see that, too. 89 spanp = delim;
|
H A D | stresep.c | 52 * strings separated by characters from delim. If esc is not NUL, then 57 * delim need not remain constant from call to call. 64 stresep(char **stringp, const char *delim, int esc) 73 _DIAGASSERT(delim != NULL); 86 spanp = delim;
|
/netbsd-current/external/bsd/am-utils/dist/conf/checkmount/ |
H A D | checkmount_osf.c | 64 char *delim; local 70 if ((delim = strchr(fslist[i].f_mntfromname, ':'))) { 71 *delim = '\0'; 72 if ((STREQ(delim + 1, path) || 77 } else if ((delim = strchr(fslist[i].f_mntfromname, '@'))) { 78 *delim = '\0'; 81 is_same_host(delim + 1, host, hostaddr))
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | strsep.c | 45 strsep(char **str, const char *delim) argument 50 *str = *str + strcspn(*str, delim);
|
H A D | strsep_copy.c | 47 strsep_copy(const char **stringp, const char *delim, char *buf, size_t len) argument 53 *stringp = *stringp + strcspn(*stringp, delim);
|
/netbsd-current/external/bsd/mdocml/dist/ |
H A D | compat_strsep.c | 43 * strings separated by characters from delim. 46 * delim need not remain constant from call to call. 53 strsep(char **stringp, const char *delim) argument 64 spanp = delim;
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | argv_split.c | 11 /* ARGV *argv_split(string, delim) 13 /* const char *delim; 15 /* ARGV *argv_split_count(string, delim, count) 17 /* const char *delim; 20 /* ARGV *argv_split_append(argv, string, delim) 23 /* const char *delim; 65 ARGV *argv_split(const char *string, const char *delim) argument 72 while ((arg = mystrtok(&bp, delim)) != 0) 81 ARGV *argv_split_count(const char *string, const char *delim, ssize_t count) argument 90 while (count-- > 1 && (arg = mystrtok(&bp, delim)) ! 103 argv_split_append(ARGV *argvp, const char *string, const char *delim) argument [all...] |
H A D | argv_splitq.c | 11 /* ARGV *argv_splitq(string, delim, parens) 13 /* const char *delim; 16 /* ARGV *argv_splitq_count(string, delim, parens, count) 18 /* const char *delim; 22 /* ARGV *argv_splitq_append(argv, string, delim, parens) 25 /* const char *delim; 69 ARGV *argv_splitq(const char *string, const char *delim, const char *parens) argument 76 while ((arg = mystrtokq(&bp, delim, parens)) != 0) 85 ARGV *argv_splitq_count(const char *string, const char *delim, argument 95 while (count-- > 1 && (arg = mystrtokq(&bp, delim, paren 108 argv_splitq_append(ARGV *argvp, const char *string, const char *delim, const char *parens) argument [all...] |
/netbsd-current/external/bsd/libpcap/dist/missing/ |
H A D | strtok_r.c | 44 pcap_strtok_r(char *s, const char *delim, char **last) argument 53 * Skip (span) leading delimiters (s += strspn(s, delim), sort of). 57 for (spanp = (char *)delim; (sc = *spanp++) != 0;) { 69 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of). 70 * Note that delim must have one NUL; we stop if we see that, too. 74 spanp = (char *)delim;
|
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | strtok_r.c | 44 __strtok_r (char *s, const char *delim, char **save_ptr) argument 52 s += strspn (s, delim); 61 s = strpbrk (token, delim);
|
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/ |
H A D | strtok_r.c | 44 __strtok_r (char *s, const char *delim, char **save_ptr) argument 52 s += strspn (s, delim); 61 s = strpbrk (token, delim);
|
/netbsd-current/external/bsd/nvi/dist/clib/ |
H A D | strsep.c | 48 * strings separated by characters from delim. 51 * delim need not remain constant from call to call. 62 strsep(register char **stringp, register const char *delim) argument 73 spanp = delim;
|
/netbsd-current/external/bsd/libfido2/dist/openbsd-compat/ |
H A D | strsep.c | 43 * strings separated by characters from delim. 46 * delim need not remain constant from call to call. 53 strsep(char **stringp, const char *delim) argument 64 spanp = delim;
|
/netbsd-current/external/bsd/tcpdump/dist/missing/ |
H A D | strsep.c | 46 * strings separated by characters from delim. 49 * delim need not remain constant from call to call. 56 strsep(char **stringp, const char *delim) argument 67 spanp = delim;
|
/netbsd-current/common/lib/libc/string/ |
H A D | strsep.c | 59 * strings separated by characters from delim. 62 * delim need not remain constant from call to call. 69 strsep(char **stringp, const char *delim) 77 _DIAGASSERT(delim != NULL); 83 spanp = delim;
|
/netbsd-current/sys/arch/hpc/stand/libsa/ |
H A D | strtok.cpp | 41 strtok(char *s, const char *delim) argument 52 * Skip (span) leading delimiters (s += strspn(s, delim), sort of). 56 for (spanp = delim; (sc = *spanp++) != 0;) { 68 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of). 69 * Note that delim must have one NUL; we stop if we see that, too. 73 spanp = delim;
|
/netbsd-current/external/bsd/libbind/dist/bsd/ |
H A D | strsep.c | 53 * strings separated by characters from delim. 56 * delim need not remain constant from call to call. 63 strsep(char **stringp, const char *delim) { argument 73 spanp = delim;
|
/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | strip_addr.c | 124 char *delim = "+-"; local 147 stripped = strip_addr_internal("foo", (char **) 0, delim); 151 stripped = strip_addr_internal("foo", &extension, delim); 167 stripped = strip_addr_internal("foo@bar", (char **) 0, delim); 171 stripped = strip_addr_internal("foo@bar", &extension, delim); 187 stripped = strip_addr_internal("foo-ext", (char **) 0, delim); 194 stripped = strip_addr_internal("foo-ext", &extension, delim); 214 stripped = strip_addr_internal("foo-ext@bar", (char **) 0, delim); 221 stripped = strip_addr_internal("foo-ext@bar", &extension, delim); 231 stripped = strip_addr_internal("foo+ext@bar", &extension, delim); [all...] |
/netbsd-current/external/bsd/unbound/dist/sldns/ |
H A D | parse.h | 52 * \param[in] *delim chars at which the parsing should stop 56 ssize_t sldns_fget_token(FILE *f, char *token, const char *delim, size_t limit); 64 * \param[in] *delim chars at which the parsing should stop 69 ssize_t sldns_fget_token_l(FILE *f, char *token, const char *delim, size_t limit, int *line_nr); 77 * \param[in] *delim chars at which the parsing should stop 87 ssize_t sldns_bget_token_par(struct sldns_buffer *b, char *token, const char *delim, size_t limit, int* par, const char* skipw); 95 * \param[in] *delim chars at which the parsing should stop 99 ssize_t sldns_bget_token(struct sldns_buffer *b, char *token, const char *delim, size_t limit); 102 * searches for keyword and delim in a file. Gives everything back 115 * searches for keyword and delim [all...] |
/netbsd-current/usr.bin/indent/ |
H A D | pr_comment.c | 91 bool delim = false; // only relevant if may_wrap local 115 delim = true; 117 delim = true; 147 *p_delim = delim; 152 copy_comment_start(bool may_wrap, bool *delim, int line_length) argument 161 if (*delim && fits_in_one_line(line_length)) 162 *delim = false; 163 if (*delim) { 248 copy_comment_wrap_finish(int line_length, bool delim) argument 250 if (delim) { 277 copy_comment_wrap(int line_length, bool delim) argument 343 bool may_wrap, delim; local [all...] |
/netbsd-current/usr.bin/m4/ |
H A D | trace.c | 176 char delim[3]; local 179 delim[0] = LPAREN; 180 delim[1] = EOS; 182 fprintf(traceout, "%s%s%s%s", delim, 186 delim[0] = COMMA; 187 delim[1] = ' '; 188 delim[2] = EOS;
|
/netbsd-current/usr.bin/paste/ |
H A D | paste.c | 61 static char *delim = dflt_delim; variable 73 delim = strdup(optarg); 74 delimcnt = tr(delim); 114 /* Start with the NUL at the end of 'delim' ... */ 115 dp = delim + delimcnt; 134 if (dp >= delim + delimcnt) 135 dp = delim; 151 if (dp >= delim + delimcnt) 152 dp = delim; 176 for (cnt = 0, dp = delim;;) { [all...] |