Home | History | Annotate | Download | only in util

Lines Matching refs:delete_function

147  * If delete_function is passed, it gets called on each entry present before
152 void (*delete_function)(struct hash_entry *entry))
157 if (delete_function) {
161 delete_function(entry);
171 * If delete_function is passed, it gets called on each entry present.
175 void (*delete_function)(struct hash_entry *entry))
183 if (delete_function != NULL && entry->key != ht->deleted_key)
184 delete_function(entry);
558 void (*delete_function)(struct hash_entry *entry))
564 if (delete_function) {
573 delete_function(&deleted_entry);
578 _mesa_hash_table_destroy(ht->table, delete_function);