Home
last modified time | relevance | path

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

12

/freebsd/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/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/lib/libc/rpc/
H A Dgetnetconfig.c241 char *stringp; /* tmp string pointer */ in getnetconfig() local
297 stringp = (char *) malloc(MAXNETCONFIGLINE); in getnetconfig()
298 if (stringp == NULL) in getnetconfig()
313 if (fgets(stringp, MAXNETCONFIGLINE, nc_file) == NULL) { in getnetconfig()
314 free(stringp); in getnetconfig()
321 } while (*stringp == '#'); in getnetconfig()
326 free(stringp); in getnetconfig()
331 free(stringp); in getnetconfig()
338 list->linep = stringp; in getnetconfig()
339 if (parse_ncp(stringp, list->ncp) == -1) { in getnetconfig()
[all …]
/freebsd/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/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/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/sys/libkern/
H A Dstrsep.c47 strsep(char **stringp, const char *delim) in strsep() argument
54 if ((s = *stringp) == NULL) in strsep()
65 *stringp = s; in strsep()
/freebsd/lib/libc/string/
H A Dstrsep.c47 strsep(char **stringp, const char *delim) in strsep() argument
54 if ((s = *stringp) == NULL) in strsep()
65 *stringp = s; in strsep()
/freebsd/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/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/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/lib/libc/gen/
H A Dstrtofflags.c126 strtofflags(char **stringp, u_long *setp, u_long *clrp) in strtofflags() argument
135 string = *stringp; in strtofflags()
137 *stringp = p; in strtofflags()
/freebsd/lib/libnetbsd/
H A Dutil.c55 string_to_flags(char **stringp, u_long *setp, u_long *clrp) in string_to_flags() argument
58 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/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/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/tools/build/cross-build/
H A Dfflags.c50 strtofflags(char **stringp __unused, u_long *setp, u_long *clrp) in strtofflags()
/freebsd/tools/build/cross-build/include/linux/
H A Dunistd.h64 int strtofflags(char **stringp, u_long *setp, u_long *clrp);
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/
H A Dstring.h221 isc_string_separate(char **stringp, const char *delim);
/freebsd/usr.bin/join/
H A Djoin.c353 mbssep(char **stringp, const wchar_t *delim) in mbssep()
360 if ((s = *stringp) == NULL) in mbssep()
374 *stringp = s; in mbssep()
351 mbssep(char ** stringp,const wchar_t * delim) mbssep() argument
/freebsd/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/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/contrib/tnftp/
H A Dtnftp.h428 char *strsep(char **stringp, const char *delim);
/freebsd/sys/kern/
H A Dkern_exec.c1666 char *stringp; in exec_copyout_strings() local
1757 stringp = imgp->args->begin_argv; in exec_copyout_strings()
1764 error = copyout(stringp, (void *)ustringp, in exec_copyout_strings()
1783 while (*stringp++ != 0) in exec_copyout_strings()
1803 while (*stringp++ != 0) in exec_copyout_strings()

12