Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/tests/hash_table/
Dclear.c50 static void delete_function(struct hash_entry *entry) in delete_function() function
70 _mesa_hash_table_clear(ht, delete_function); in main()
/hardware/google/gfxstream/guest/mesa/src/util/
Dset.h77 void (*delete_function)(struct set_entry *entry));
82 void (*delete_function)(struct set_entry *entry));
Dset.c209 _mesa_set_destroy(struct set *ht, void (*delete_function)(struct set_entry *entry)) in _mesa_set_destroy()
214 if (delete_function) { in _mesa_set_destroy()
216 delete_function(entry); in _mesa_set_destroy()
238 _mesa_set_clear(struct set *set, void (*delete_function)(struct set_entry *entry)) in _mesa_set_clear()
245 if (delete_function) { in _mesa_set_clear()
248 delete_function(entry); in _mesa_set_clear()
Dhash_table.h80 void (*delete_function)(struct hash_entry *entry));
82 void (*delete_function)(struct hash_entry *entry));
Dhash_table.c244 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_destroy()
249 if (delete_function) { in _mesa_hash_table_destroy()
251 delete_function(entry); in _mesa_hash_table_destroy()
272 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_clear()
279 if (delete_function) { in _mesa_hash_table_clear()
282 delete_function(entry); in _mesa_hash_table_clear()