HomeSort by: relevance | last modified time | path
    Searched refs:stringp (Results 1 - 6 of 6) sorted by relevancy

  /src/common/lib/libc/string/
strsep.c 58 * Get next token from string *stringp, where tokens are possibly-empty
61 * Writes NULs into the string at *stringp to end tokens.
63 * On return, *stringp points past the last NUL written (if there might
66 * If *stringp is NULL, strsep returns NULL.
69 strsep(char **stringp, const char *delim)
76 _DIAGASSERT(stringp != NULL);
79 if ((s = *stringp) == NULL)
90 *stringp = s;
  /src/lib/libc/string/
stresep.c 51 * Get next token from string *stringp, where tokens are possibly-empty
56 * Writes NULs into the string at *stringp to end tokens.
58 * On return, *stringp points past the last NUL written (if there might
61 * If *stringp is NULL, stresep returns NULL.
64 stresep(char **stringp, const char *delim, int esc)
72 _DIAGASSERT(stringp != NULL);
75 if ((s = *stringp) == NULL)
93 *stringp = s;
  /src/lib/libc/rpc/
getnetconfig.c 249 char *stringp; /* tmp string pointer */ local in function:getnetconfig
296 stringp = malloc(MAXNETCONFIGLINE);
297 if (stringp == NULL)
311 if (fgets(stringp, MAXNETCONFIGLINE, nc_file) == NULL) {
312 free(stringp);
316 } while (*stringp == '#');
320 free(stringp);
325 free(stringp);
332 list->linep = stringp;
333 if (parse_ncp(stringp, list->ncp) == -1)
427 char *stringp; \/* temporary string pointer *\/ local in function:getnetconfigent
    [all...]
  /src/lib/libutil/
stat_flags.c 121 * success, 1 on failure. On failure, stringp is set to point
125 string_to_flags(char **stringp, u_long *setp, u_long *clrp)
136 string = *stringp;
139 *stringp = p;
  /src/sbin/cgdconfig/
utils.c 55 strsep_getnext(char **stringp, const char *delim)
59 ret = strsep(stringp, delim);
61 ret = strsep(stringp, delim);
  /src/sys/dev/acpi/
acpi_util.c 235 acpi_eval_string(ACPI_HANDLE handle, const char *path, char **stringp)
258 *stringp = ACPI_ALLOCATE(obj->String.Length + 1);
260 if (*stringp == NULL) {
265 (void)memcpy(*stringp, obj->String.Pointer, obj->String.Length);
267 (*stringp)[obj->String.Length] = '\0';

Completed in 141 milliseconds