Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dset.c370 struct set_entry *available_entry = NULL; in set_search_or_add() local
390 if (available_entry == NULL) in set_search_or_add()
391 available_entry = entry; in set_search_or_add()
409 if (available_entry) { in set_search_or_add()
411 if (entry_is_deleted(available_entry)) in set_search_or_add()
413 available_entry->hash = hash; in set_search_or_add()
414 available_entry->key = key; in set_search_or_add()
418 return available_entry; in set_search_or_add()
Dhash_table.c398 struct hash_entry *available_entry = NULL; in hash_table_insert() local
418 if (available_entry == NULL) in hash_table_insert()
419 available_entry = entry; in hash_table_insert()
448 if (available_entry) { in hash_table_insert()
449 if (entry_is_deleted(ht, available_entry)) in hash_table_insert()
451 available_entry->hash = hash; in hash_table_insert()
452 available_entry->key = key; in hash_table_insert()
453 available_entry->data = data; in hash_table_insert()
455 return available_entry; in hash_table_insert()