Home
last modified time | relevance | path

Searched refs:strarray (Results 1 – 2 of 2) sorted by relevance

/spdk/lib/util/
H A Dstring.c457 spdk_strarray_free(char **strarray) in spdk_strarray_free() argument
461 if (strarray == NULL) { in spdk_strarray_free()
465 for (i = 0; strarray[i] != NULL; i++) { in spdk_strarray_free()
466 free(strarray[i]); in spdk_strarray_free()
468 free(strarray); in spdk_strarray_free()
526 spdk_strarray_dup(const char **strarray) in spdk_strarray_dup() argument
531 assert(strarray != NULL); in spdk_strarray_dup()
533 for (count = 0; strarray[count] != NULL; count++) in spdk_strarray_dup()
542 result[i] = strdup(strarray[i]); in spdk_strarray_dup()
/spdk/include/spdk/
H A Dstring.h262 char **spdk_strarray_dup(const char **strarray);
270 void spdk_strarray_free(char **strarray);