Searched refs:delim (Results 1 - 25 of 344) sorted by relevance

1234567891011>>

/netbsd-current/external/bsd/unbound/dist/compat/
H A Dstrsep.c36 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 Dstrtok.c45 strtok(char *s, const char *delim) argument
49 return strtok_r(s, delim, &lasts);
H A Dstrtok_r.c51 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 Dwcstok.c53 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 Dstresep.c52 * 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 Dcheckmount_osf.c64 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 Dstrsep.c45 strsep(char **str, const char *delim) argument
50 *str = *str + strcspn(*str, delim);
H A Dstrsep_copy.c47 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 Dcompat_strsep.c43 * 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 Dargv_split.c11 /* 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 Dargv_splitq.c11 /* 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 Dstrtok_r.c44 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 Dstrtok_r.c44 __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 Dstrtok_r.c44 __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 Dstrsep.c48 * 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 Dstrsep.c43 * 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 Dstrsep.c46 * 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 Dstrsep.c59 * 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 Dstrtok.cpp41 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 Dstrsep.c53 * 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 Dstrip_addr.c124 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 Dparse.h52 * \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 Dpr_comment.c91 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 Dtrace.c176 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 Dpaste.c61 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...]

Completed in 186 milliseconds

1234567891011>>