Lines Matching refs:arr
207 void string_array_init (STRING_ARRAY *arr) in string_array_init() argument
209 arr->entries = NULL; in string_array_init()
210 arr->count = 0; in string_array_init()
211 arr->max = 0; in string_array_init()
258 void string_array_clear (STRING_ARRAY *arr) in string_array_clear() argument
262 for (x = 0; x < arr->count; x++) in string_array_clear()
264 if (arr->entries[x] != NULL) free (arr->entries[x]); in string_array_clear()
265 arr->entries[x] = NULL; in string_array_clear()
267 free (arr->entries); in string_array_clear()
268 arr->entries = NULL; in string_array_clear()
269 arr->count = 0; in string_array_clear()