Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Dos_misc.c190 static struct hash_table *options_tbl; variable
202 _mesa_hash_table_destroy(options_tbl, NULL); in options_tbl_fini()
203 options_tbl = NULL; in options_tbl_fini()
218 if (!options_tbl) { in os_get_option_cached()
219 options_tbl = _mesa_hash_table_create(NULL, _mesa_hash_string, in os_get_option_cached()
221 if (options_tbl == NULL) { in os_get_option_cached()
226 struct hash_entry *entry = _mesa_hash_table_search(options_tbl, name); in os_get_option_cached()
232 char *name_dup = ralloc_strdup(options_tbl, name); in os_get_option_cached()
236 opt = ralloc_strdup(options_tbl, os_get_option(name)); in os_get_option_cached()
237 _mesa_hash_table_insert(options_tbl, name_dup, (void *)opt); in os_get_option_cached()