Home
last modified time | relevance | path

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

123

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dstrsep_copy.c47 strsep_copy(const char **stringp, const char *delim, char *buf, size_t len) in strsep_copy() argument
49 const char *save = *stringp; in strsep_copy()
53 *stringp = *stringp + strcspn(*stringp, delim); in strsep_copy()
54 l = min(len, (size_t)(*stringp - save)); in strsep_copy()
60 l = *stringp - save; in strsep_copy()
61 if(**stringp == '\0') in strsep_copy()
62 *stringp = NULL; in strsep_copy()
64 (*stringp)++; in strsep_copy()
/netbsd-src/lib/libc/rpc/
H A Dgetnetconfig.c249 char *stringp; /* tmp string pointer */ in getnetconfig() local
296 stringp = malloc(MAXNETCONFIGLINE); in getnetconfig()
297 if (stringp == NULL) in getnetconfig()
311 if (fgets(stringp, MAXNETCONFIGLINE, nc_file) == NULL) { in getnetconfig()
312 free(stringp); in getnetconfig()
316 } while (*stringp == '#'); in getnetconfig()
320 free(stringp); in getnetconfig()
325 free(stringp); in getnetconfig()
332 list->linep = stringp; in getnetconfig()
333 if (parse_ncp(stringp, list->ncp) == -1) { in getnetconfig()
[all …]
/netbsd-src/external/bsd/unbound/dist/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()
/netbsd-src/common/lib/libc/string/
H A Dstrsep.c69 strsep(char **stringp, const char *delim) in __weak_alias()
76 _DIAGASSERT(stringp != NULL); in __weak_alias()
79 if ((s = *stringp) == NULL) in __weak_alias()
90 *stringp = s; in __weak_alias()
/netbsd-src/lib/libc/string/
H A Dstresep.c64 stresep(char **stringp, const char *delim, int esc) in __weak_alias()
72 _DIAGASSERT(stringp != NULL); in __weak_alias()
75 if ((s = *stringp) == NULL) in __weak_alias()
93 *stringp = s; in __weak_alias()
/netbsd-src/external/bsd/libfido2/dist/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()
/netbsd-src/external/bsd/mdocml/dist/
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()
/netbsd-src/external/bsd/nvi/dist/clib/
H A Dstrsep.c62 strsep(register char **stringp, register const char *delim) in strsep() argument
69 if ((s = *stringp) == NULL) in strsep()
80 *stringp = s; in strsep()
/netbsd-src/external/bsd/libbind/dist/bsd/
H A Dstrsep.c63 strsep(char **stringp, const char *delim) { in strsep() argument
69 if ((s = *stringp) == NULL) in strsep()
80 *stringp = s; in strsep()
/netbsd-src/lib/libutil/
H A Dstat_flags.c125 string_to_flags(char **stringp, u_long *setp, u_long *clrp) in string_to_flags() argument
136 string = *stringp; in string_to_flags()
139 *stringp = p; in string_to_flags()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-format/
H A Dclang-format.el57 :safe #'stringp)
69 :safe #'stringp)
187 ((stringp status)
/netbsd-src/sbin/cgdconfig/
H A Dutils.c55 strsep_getnext(char **stringp, const char *delim) in strsep_getnext() argument
59 ret = strsep(stringp, delim); in strsep_getnext()
61 ret = strsep(stringp, delim); in strsep_getnext()
/netbsd-src/sys/dev/acpi/
H A Dacpi_util.c235 acpi_eval_string(ACPI_HANDLE handle, const char *path, char **stringp) in acpi_eval_string() argument
258 *stringp = ACPI_ALLOCATE(obj->String.Length + 1); in acpi_eval_string()
260 if (*stringp == NULL) { in acpi_eval_string()
265 (void)memcpy(*stringp, obj->String.Pointer, obj->String.Length); in acpi_eval_string()
267 (*stringp)[obj->String.Length] = '\0'; in acpi_eval_string()
/netbsd-src/external/gpl2/gmake/dist/
H A Ddep.h62 extern struct nameseq *parse_file_seq PARAMS ((char **stringp, int stopchar, unsigned int size, int…
H A Dvariable.h125 extern int handle_function PARAMS ((char **op, char **stringp));
H A Dfunction.c2124 handle_function (char **op, char **stringp) in handle_function() argument
2127 char openparen = (*stringp)[0]; in handle_function()
2136 beg = *stringp + 1; in handle_function()
2166 *stringp = end; in handle_function()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A Dcollctrl.cc1570 char *stringp = def_string; in add_default_hwcstring() local
1581 nextp = stringp; in add_default_hwcstring()
1583 nextp = stringp + 1; in add_default_hwcstring()
1604 strncat (retp, stringp, (retsize - strlen (retp) - 1)); in add_default_hwcstring()
1621 stringp = next + 1; in add_default_hwcstring()
1622 if (* (stringp + 1) == 0) /* name ended in ,, -- we're done */ in add_default_hwcstring()
1629 strncat (retp, stringp, (retsize - strlen (retp) - 1)); in add_default_hwcstring()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A Dcollctrl.cc1547 char *stringp = def_string; in add_default_hwcstring() local
1558 nextp = stringp; in add_default_hwcstring()
1560 nextp = stringp + 1; in add_default_hwcstring()
1581 strncat (retp, stringp, (retsize - strlen (retp) - 1)); in add_default_hwcstring()
1598 stringp = next + 1; in add_default_hwcstring()
1599 if (* (stringp + 1) == 0) /* name ended in ,, -- we're done */ in add_default_hwcstring()
1606 strncat (retp, stringp, (retsize - strlen (retp) - 1)); in add_default_hwcstring()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Ddebug.c225 bool stringp; member
1479 bfd_signed_vma upper, bool stringp) in debug_make_array_type() argument
1499 a->stringp = stringp; in debug_make_array_type()
2604 type->u.karray->stringp); in debug_write_type()
3173 && t1->u.karray->stringp == t2->u.karray->stringp in debug_type_samep()
H A Dstabs.c1176 bool stringp; in parse_stab_type() local
1188 stringp = false; in parse_stab_type()
1263 stringp = true; in parse_stab_type()
1615 dtype = parse_stab_array_type (dhandle, info, pp, stringp, p_end); in parse_stab_type()
1625 stringp); in parse_stab_type()
3162 bool stringp, in parse_stab_array_type() argument
3257 upper, stringp); in parse_stab_array_type()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Ddebug.c230 bool stringp; member
1481 bfd_signed_vma upper, bool stringp) in debug_make_array_type() argument
1500 a->stringp = stringp; in debug_make_array_type()
2604 type->u.karray->stringp); in debug_write_type()
3172 && t1->u.karray->stringp == t2->u.karray->stringp in debug_type_samep()
H A Dstabs.c1194 bool stringp; in parse_stab_type() local
1206 stringp = false; in parse_stab_type()
1281 stringp = true; in parse_stab_type()
1639 dtype = parse_stab_array_type (dhandle, info, pp, stringp, p_end); in parse_stab_type()
1649 stringp); in parse_stab_type()
3189 bool stringp, in parse_stab_array_type() argument
3284 upper, stringp); in parse_stab_array_type()
/netbsd-src/external/gpl2/texinfo/dist/util/
H A Dtexi-docstring-magic.el230 (if (stringp default)
/netbsd-src/external/bsd/unbound/include/
H A Dconfig.h1341 char *strsep(char **stringp, const char *delim);
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsftp-server.c366 handle_to_string(int handle, u_char **stringp, int *hlenp) in handle_to_string() argument
368 if (stringp == NULL || hlenp == NULL) in handle_to_string()
370 *stringp = xmalloc(sizeof(int32_t)); in handle_to_string()
371 put_u32(*stringp, handle); in handle_to_string()

123