Home
last modified time | relevance | path

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

12

/freebsd-12.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-12.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-12.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-12.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-12.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.h160 char *strsep(char **stringp, const char *delim);
/freebsd-12.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-12.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-12.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-12.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-12.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-12.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-12.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-12.1/contrib/dialog/
H A Dbuttons.c56 string_to_char(const char **stringp) in string_to_char() argument
60 const char *string = *stringp; in string_to_char()
75 *stringp += len; in string_to_char()
78 *stringp += 1; in string_to_char()
82 const char *string = *stringp; in string_to_char()
84 *stringp += 1; in string_to_char()
/freebsd-12.1/sys/arm64/linux/
H A Dlinux_sysvec.c224 char *stringp, *destp; in linux_copyout_strings() local
277 stringp = imgp->args->begin_argv; in linux_copyout_strings()
282 copyout(stringp, destp, ARG_MAX - imgp->args->stringspace); in linux_copyout_strings()
292 while (*stringp++ != 0) in linux_copyout_strings()
306 while (*stringp++ != 0) in linux_copyout_strings()
/freebsd-12.1/sys/amd64/linux/
H A Dlinux_sysvec.c312 char *stringp, *destp; in linux_copyout_strings() local
363 stringp = imgp->args->begin_argv; in linux_copyout_strings()
368 copyout(stringp, destp, ARG_MAX - imgp->args->stringspace); in linux_copyout_strings()
377 while (*stringp++ != 0) in linux_copyout_strings()
391 while (*stringp++ != 0) in linux_copyout_strings()
/freebsd-12.1/contrib/ntp/lib/isc/include/isc/
H A Dstring.h221 isc_string_separate(char **stringp, const char *delim);
/freebsd-12.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-12.1/lib/libugidfw/
H A Dugidfw.c1084 char *stringdup, *stringp, *argv[100], **ap; in bsde_parse_rule_string() local
1087 stringp = stringdup = strdup(string); in bsde_parse_rule_string()
1088 while (*stringp == ' ' || *stringp == '\t') in bsde_parse_rule_string()
1089 stringp++; in bsde_parse_rule_string()
1092 for (ap = argv; (*ap = strsep(&stringp, " \t")) != NULL;) { in bsde_parse_rule_string()
/freebsd-12.1/sys/amd64/linux32/
H A Dlinux32_sysvec.c772 char *stringp, *destp; in linux_copyout_strings() local
821 stringp = imgp->args->begin_argv; in linux_copyout_strings()
825 copyout(stringp, destp, ARG_MAX - imgp->args->stringspace); in linux_copyout_strings()
834 while (*stringp++ != 0) in linux_copyout_strings()
848 while (*stringp++ != 0) in linux_copyout_strings()
/freebsd-12.1/sys/i386/linux/
H A Dlinux_sysvec.c285 char *stringp, *destp; in linux_copyout_strings() local
340 stringp = imgp->args->begin_argv; in linux_copyout_strings()
345 copyout(stringp, destp, ARG_MAX - imgp->args->stringspace); in linux_copyout_strings()
354 while (*stringp++ != 0) in linux_copyout_strings()
368 while (*stringp++ != 0) in linux_copyout_strings()
/freebsd-12.1/sys/kern/
H A Dkern_exec.c1483 char *stringp; in exec_copyout_strings() local
1574 stringp = imgp->args->begin_argv; in exec_copyout_strings()
1581 copyout(stringp, (void *)destp, ARG_MAX - imgp->args->stringspace); in exec_copyout_strings()
1594 while (*stringp++ != 0) in exec_copyout_strings()
1610 while (*stringp++ != 0) in exec_copyout_strings()
/freebsd-12.1/contrib/tnftp/
H A Dtnftp.h428 char *strsep(char **stringp, const char *delim);
/freebsd-12.1/crypto/openssh/
H A Dssh-keyscan.c185 strnnsep(char **stringp, char *delim) in strnnsep() argument
190 tok = xstrsep(stringp, delim); in strnnsep()

12