| /freebsd-13.1/crypto/heimdal/lib/roken/ |
| H A D | strsep_copy.c | 45 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 D | strsep.c | 48 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 D | getnetconfig.c | 304 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 D | stresep.c | 42 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 D | strsep.c | 53 strsep(char **stringp, const char *delim) in strsep() argument 60 if ((s = *stringp) == NULL) in strsep() 71 *stringp = s; in strsep()
|
| H A D | openbsd-compat.h | 166 char *strsep(char **stringp, const char *delim);
|
| /freebsd-13.1/contrib/tcpdump/missing/ |
| H A D | strsep.c | 56 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 D | compat_strsep.c | 53 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 D | strsep.c | 53 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 D | strsep.c | 53 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 D | strtofflags.c | 130 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 D | util.c | 58 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 D | util.h | 58 int string_to_flags(char **stringp, u_long *setp, u_long *clrp);
|
| /freebsd-13.1/contrib/ntp/lib/isc/ |
| H A D | string.c | 199 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 D | buttons.c | 57 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 D | linux_sysvec.c | 227 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 D | fflags.c | 50 strtofflags(char **stringp __unused, u_long *setp, u_long *clrp) in strtofflags()
|
| /freebsd-13.1/tools/build/cross-build/include/linux/ |
| H A D | unistd.h | 66 int strtofflags(char **stringp, u_long *setp, u_long *clrp);
|
| /freebsd-13.1/contrib/ntp/lib/isc/include/isc/ |
| H A D | string.h | 221 isc_string_separate(char **stringp, const char *delim);
|
| /freebsd-13.1/sys/amd64/linux/ |
| H A D | linux_sysvec.c | 324 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 D | join.c | 365 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 D | ugidfw.c | 1083 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 D | linux_sysvec.c | 273 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 D | linux32_sysvec.c | 738 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 D | kern_exec.c | 1683 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()
|