Home
last modified time | relevance | path

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

12

/freebsd-14.2/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-14.2/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-14.2/lib/libc/rpc/
H A Dgetnetconfig.c301 if (stringp == NULL) in getnetconfig()
317 free(stringp); in getnetconfig()
324 } while (*stringp == '#'); in getnetconfig()
329 free(stringp); in getnetconfig()
334 free(stringp); in getnetconfig()
341 list->linep = stringp; in getnetconfig()
343 free(stringp); in getnetconfig()
499 } while (*stringp == '#'); in getnetconfigent()
500 if (stringp == NULL) { /* eof */ in getnetconfigent()
520 } while (stringp != NULL); in getnetconfigent()
[all …]
/freebsd-14.2/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-14.2/lib/libc/amd64/string/
H A Dstrsep.c39 strsep(char **stringp, const char *delim) in strsep() argument
44 s = *stringp; in strsep()
50 *stringp = NULL; in strsep()
53 *stringp = s + n + 1; in strsep()
/freebsd-14.2/contrib/mandoc/
H A Dcompat_strsep.c46 strsep(char **stringp, const char *delim) in strsep() argument
53 if ((s = *stringp) == NULL) in strsep()
64 *stringp = s; in strsep()
/freebsd-14.2/contrib/tcpdump/missing/
H A Dstrsep.c54 strsep(char **stringp, const char *delim) in strsep() argument
61 if ((s = *stringp) == NULL) in strsep()
72 *stringp = s; in strsep()
/freebsd-14.2/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.h185 char *strsep(char **stringp, const char *delim);
/freebsd-14.2/contrib/libfido2/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()
/freebsd-14.2/lib/libc/string/
H A Dstrsep.c50 strsep(char **stringp, const char *delim) in strsep() argument
57 if ((s = *stringp) == NULL) in strsep()
68 *stringp = s; in strsep()
/freebsd-14.2/sys/libkern/
H A Dstrsep.c51 strsep(char **stringp, const char *delim) in strsep() argument
58 if ((s = *stringp) == NULL) in strsep()
69 *stringp = s; in strsep()
/freebsd-14.2/lib/libc/gen/
H A Dstrtofflags.c128 strtofflags(char **stringp, u_long *setp, u_long *clrp) in strtofflags() argument
137 string = *stringp; in strtofflags()
139 *stringp = p; in strtofflags()
/freebsd-14.2/lib/libnetbsd/
H A Dutil.c56 string_to_flags(char **stringp, u_long *setp, u_long *clrp) in string_to_flags() argument
59 return strtofflags(stringp, setp, clrp); in string_to_flags()
H A Dutil.h57 int string_to_flags(char **stringp, u_long *setp, u_long *clrp);
/freebsd-14.2/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()
78 *stringp += len; in string_to_char()
81 *stringp += 1; in string_to_char()
85 const char *string = *stringp; in string_to_char()
87 *stringp += 1; in string_to_char()
/freebsd-14.2/sys/compat/linux/
H A Dlinux_elf.c331 char *stringp; in __linuxN() local
401 stringp = imgp->args->begin_argv; in __linuxN()
408 error = copyout(stringp, (void *)ustringp, in __linuxN()
427 while (*stringp++ != 0) in __linuxN()
447 while (*stringp++ != 0) in __linuxN()
/freebsd-14.2/tools/build/cross-build/
H A Dfflags.c50 strtofflags(char **stringp __unused, u_long *setp, u_long *clrp) in strtofflags()
/freebsd-14.2/tools/build/cross-build/include/linux/
H A Dunistd.h64 int strtofflags(char **stringp, u_long *setp, u_long *clrp);
/freebsd-14.2/contrib/ntp/libntp/lib/isc/include/isc/
H A Dstring.h221 isc_string_separate(char **stringp, const char *delim);
/freebsd-14.2/usr.bin/join/
H A Djoin.c363 mbssep(char **stringp, const wchar_t *delim) in mbssep() argument
370 if ((s = *stringp) == NULL) in mbssep()
384 *stringp = s; in mbssep()
/freebsd-14.2/lib/libugidfw/
H A Dugidfw.c1081 char *stringdup, *stringp, *argv[100], **ap; in bsde_parse_rule_string() local
1084 stringp = stringdup = strdup(string); in bsde_parse_rule_string()
1085 while (*stringp == ' ' || *stringp == '\t') in bsde_parse_rule_string()
1086 stringp++; in bsde_parse_rule_string()
1089 for (ap = argv; (*ap = strsep(&stringp, " \t")) != NULL;) { in bsde_parse_rule_string()
/freebsd-14.2/sys/amd64/linux32/
H A Dlinux32_sysvec.c621 char *stringp; in linux_copyout_strings() local
673 stringp = imgp->args->begin_argv; in linux_copyout_strings()
678 error = copyout(stringp, (void *)ustringp, in linux_copyout_strings()
692 while (*stringp++ != 0) in linux_copyout_strings()
709 while (*stringp++ != 0) in linux_copyout_strings()
/freebsd-14.2/sys/kern/
H A Dkern_exec.c1657 char *stringp; in exec_copyout_strings() local
1748 stringp = imgp->args->begin_argv; in exec_copyout_strings()
1755 error = copyout(stringp, (void *)ustringp, in exec_copyout_strings()
1774 while (*stringp++ != 0) in exec_copyout_strings()
1794 while (*stringp++ != 0) in exec_copyout_strings()
/freebsd-14.2/contrib/tnftp/
H A Dtnftp.h428 char *strsep(char **stringp, const char *delim);

12