Lines Matching refs:strings
83 struct efi_string_info *strings; member
107 free(stbl->strings[i].string); in free_strings_table()
108 free(stbl->strings); in free_strings_table()
174 stbl->strings = calloc(sizeof(stbl->strings[0]), nstrings); in add_strings_package()
175 if (!stbl->strings) { in add_strings_package()
199 stbl->strings[idx].string = in add_strings_package()
201 if (!stbl->strings[idx].string) { in add_strings_package()
231 free(stbl->strings[--idx].string); in add_strings_package()
232 free(stbl->strings); in add_strings_package()
847 buf = realloc(stbl->strings, in new_string()
848 sizeof(stbl->strings[0]) in new_string()
853 memset(&stbl->strings[stbl->nstrings], 0, in new_string()
855 * sizeof(stbl->strings[0])); in new_string()
856 stbl->strings = buf; in new_string()
864 stbl->strings[new_id - 1].string = str; in new_string()
901 str = stbl->strings[string_id - 1].string; in get_string()
955 buf = realloc(stbl->strings, in set_string()
957 * sizeof(stbl->strings[0])); in set_string()
961 memset(&stbl->strings[string_id - 1], 0, in set_string()
963 * sizeof(stbl->strings[0])); in set_string()
964 stbl->strings = buf; in set_string()
971 free(stbl->strings[string_id - 1].string); in set_string()
972 stbl->strings[string_id - 1].string = str; in set_string()