Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/PosixLib/Stringlist/
Dstringlist.c69 sl->sl_str = malloc(sl->sl_max * sizeof(char *)); in __weak_alias()
70 if (sl->sl_str == NULL) { in __weak_alias()
90 new = realloc(sl->sl_str, in sl_add()
95 sl->sl_str = new; in sl_add()
97 sl->sl_str[sl->sl_cur++] = name; in sl_add()
112 if (sl->sl_str) { in sl_free()
115 free(sl->sl_str[i]); in sl_free()
116 free(sl->sl_str); in sl_free()
133 if (strcmp(sl->sl_str[i], name) == 0) in sl_find()
134 return sl->sl_str[i]; in sl_find()
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/
Dstringlist.h52 char **sl_str; member