Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dset.c254 struct set_entry *available_entry = NULL; in set_add() local
269 if (available_entry == NULL) in set_add()
270 available_entry = entry; in set_add()
297 if (available_entry) { in set_add()
298 if (entry_is_deleted(available_entry)) in set_add()
300 available_entry->hash = hash; in set_add()
301 available_entry->key = key; in set_add()
303 return available_entry; in set_add()
Dhash_table.c297 struct hash_entry *available_entry = NULL; in hash_table_insert() local
315 if (available_entry == NULL) in hash_table_insert()
316 available_entry = entry; in hash_table_insert()
346 if (available_entry) { in hash_table_insert()
347 if (entry_is_deleted(ht, available_entry)) in hash_table_insert()
349 available_entry->hash = hash; in hash_table_insert()
350 available_entry->key = key; in hash_table_insert()
351 available_entry->data = data; in hash_table_insert()
353 return available_entry; in hash_table_insert()