Home
last modified time | relevance | path

Searched refs:stringp (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-13.1/crypto/heimdal/lib/roken/
H A Dstrsep_copy.c45 strsep_copy(const char **stringp, const char *delim, char *buf, size_t len) in strsep_copy() argument
47 const char *save = *stringp; in strsep_copy()
51 *stringp = *stringp + strcspn(*stringp, delim); in strsep_copy()
52 l = min(len, (size_t)(*stringp - save)); in strsep_copy()
58 l = *stringp - save; in strsep_copy()
59 if(**stringp == '\0') in strsep_copy()
60 *stringp = NULL; in strsep_copy()
62 (*stringp)++; in strsep_copy()
/freebsd-13.1/contrib/unbound/compat/
H A Dstrsep.c48 char *strsep(char **stringp, const char *delim) in strsep() argument
52 if(stringp == NULL || *stringp == NULL) in strsep()
54 orig = *stringp; in strsep()
55 s = *stringp; in strsep()
60 *stringp = s+1; in strsep()
62 *stringp = NULL; in strsep()
/freebsd-13.1/lib/libc/rpc/
H A Dgetnetconfig.c304 if (stringp == NULL) in getnetconfig()
320 free(stringp); in getnetconfig()
327 } while (*stringp == '#'); in getnetconfig()
332 free(stringp); in getnetconfig()
337 free(stringp); in getnetconfig()
344 list->linep = stringp; in getnetconfig()
346 free(stringp); in getnetconfig()
502 } while (*stringp == '#'); in getnetconfigent()
503 if (stringp == NULL) { /* eof */ in getnetconfigent()
523 } while (stringp != NULL); in getnetconfigent()
[all …]
/freebsd-13.1/contrib/bmake/
H A Dstresep.c42 char * stresep(char **stringp, const char *delim, int esc);
57 stresep(char **stringp, const char *delim, int esc) in stresep() argument
65 if (stringp == NULL || delim == NULL) in stresep()
68 if ((s = *stringp) == NULL) in stresep()
86 *stringp = s; in stresep()
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dstrsep.c53 strsep(char **stringp, const char *delim) in strsep() argument
60 if ((s = *stringp) == NULL) in strsep()
71 *stringp = s; in strsep()
H A Dopenbsd-compat.h166 char *strsep(char **stringp, const char *delim);
/freebsd-13.1/contrib/tcpdump/missing/
H A Dstrsep.c56 strsep(char **stringp, const char *delim) in strsep() argument
63 if ((s = *stringp) == NULL) in strsep()
74 *stringp = s; in strsep()
/freebsd-13.1/contrib/mandoc/
H A Dcompat_strsep.c53 strsep(char **stringp, const char *delim) in strsep() argument
60 if ((s = *stringp) == NULL) in strsep()
71 *stringp = s; in strsep()
/freebsd-13.1/sys/libkern/
H A Dstrsep.c53 strsep(char **stringp, const char *delim) in strsep() argument
60 if ((s = *stringp) == NULL) in strsep()
71 *stringp = s; in strsep()
/freebsd-13.1/lib/libc/string/
H A Dstrsep.c53 strsep(char **stringp, const char *delim) in strsep() argument
60 if ((s = *stringp) == NULL) in strsep()
71 *stringp = s; in strsep()
/freebsd-13.1/lib/libc/gen/
H A Dstrtofflags.c130 strtofflags(char **stringp, u_long *setp, u_long *clrp) in strtofflags() argument
139 string = *stringp; in strtofflags()
141 *stringp = p; in strtofflags()
/freebsd-13.1/lib/libnetbsd/
H A Dutil.c58 string_to_flags(char **stringp, u_long *setp, u_long *clrp) in string_to_flags() argument
61 return strtofflags(stringp, setp, clrp); in string_to_flags()
H A Dutil.h58 int string_to_flags(char **stringp, u_long *setp, u_long *clrp);
/freebsd-13.1/contrib/ntp/lib/isc/
H A Dstring.c199 isc_string_separate(char **stringp, const char *delim) { in isc_string_separate() argument
200 char *string = *stringp; in isc_string_separate()
212 *stringp = s; in isc_string_separate()
215 *stringp = NULL; in isc_string_separate()
/freebsd-13.1/contrib/dialog/
H A Dbuttons.c57 string_to_char(const char **stringp) in string_to_char() argument
61 const char *string = *stringp; in string_to_char()
76 *stringp += len; in string_to_char()
79 *stringp += 1; in string_to_char()
83 const char *string = *stringp; in string_to_char()
85 *stringp += 1; in string_to_char()
/freebsd-13.1/sys/arm64/linux/
H A Dlinux_sysvec.c227 char *stringp; in linux_copyout_strings() local
283 stringp = imgp->args->begin_argv; in linux_copyout_strings()
288 error = copyout(stringp, (void *)ustringp, in linux_copyout_strings()
305 while (*stringp++ != 0) in linux_copyout_strings()
322 while (*stringp++ != 0) in linux_copyout_strings()
/freebsd-13.1/tools/build/cross-build/
H A Dfflags.c50 strtofflags(char **stringp __unused, u_long *setp, u_long *clrp) in strtofflags()
/freebsd-13.1/tools/build/cross-build/include/linux/
H A Dunistd.h66 int strtofflags(char **stringp, u_long *setp, u_long *clrp);
/freebsd-13.1/contrib/ntp/lib/isc/include/isc/
H A Dstring.h221 isc_string_separate(char **stringp, const char *delim);
/freebsd-13.1/sys/amd64/linux/
H A Dlinux_sysvec.c324 char *stringp; in linux_copyout_strings() local
384 stringp = imgp->args->begin_argv; in linux_copyout_strings()
389 error = copyout(stringp, (void *)ustringp, in linux_copyout_strings()
403 while (*stringp++ != 0) in linux_copyout_strings()
420 while (*stringp++ != 0) in linux_copyout_strings()
/freebsd-13.1/usr.bin/join/
H A Djoin.c365 mbssep(char **stringp, const wchar_t *delim) in mbssep() argument
372 if ((s = *stringp) == NULL) in mbssep()
386 *stringp = s; in mbssep()
/freebsd-13.1/lib/libugidfw/
H A Dugidfw.c1083 char *stringdup, *stringp, *argv[100], **ap; in bsde_parse_rule_string() local
1086 stringp = stringdup = strdup(string); in bsde_parse_rule_string()
1087 while (*stringp == ' ' || *stringp == '\t') in bsde_parse_rule_string()
1088 stringp++; in bsde_parse_rule_string()
1091 for (ap = argv; (*ap = strsep(&stringp, " \t")) != NULL;) { in bsde_parse_rule_string()
/freebsd-13.1/sys/i386/linux/
H A Dlinux_sysvec.c273 char *stringp; in linux_copyout_strings() local
334 stringp = imgp->args->begin_argv; in linux_copyout_strings()
339 error = copyout(stringp, (void *)ustringp, in linux_copyout_strings()
353 while (*stringp++ != 0) in linux_copyout_strings()
370 while (*stringp++ != 0) in linux_copyout_strings()
/freebsd-13.1/sys/amd64/linux32/
H A Dlinux32_sysvec.c738 char *stringp; in linux_copyout_strings() local
790 stringp = imgp->args->begin_argv; in linux_copyout_strings()
795 error = copyout(stringp, (void *)ustringp, in linux_copyout_strings()
809 while (*stringp++ != 0) in linux_copyout_strings()
826 while (*stringp++ != 0) in linux_copyout_strings()
/freebsd-13.1/sys/kern/
H A Dkern_exec.c1683 char *stringp; in exec_copyout_strings() local
1774 stringp = imgp->args->begin_argv; in exec_copyout_strings()
1781 error = copyout(stringp, (void *)ustringp, in exec_copyout_strings()
1800 while (*stringp++ != 0) in exec_copyout_strings()
1820 while (*stringp++ != 0) in exec_copyout_strings()

12