Lines Matching refs:old_key
1438 int hashmap_remove_and_put(Hashmap *h, const void *old_key, const void *new_key, void *value) { in hashmap_remove_and_put() argument
1446 old_hash = bucket_hash(h, old_key); in hashmap_remove_and_put()
1447 idx = bucket_scan(h, old_hash, old_key); in hashmap_remove_and_put()
1465 int set_remove_and_put(Set *s, const void *old_key, const void *new_key) { in set_remove_and_put() argument
1473 old_hash = bucket_hash(s, old_key); in set_remove_and_put()
1474 idx = bucket_scan(s, old_hash, old_key); in set_remove_and_put()
1491 int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value) { in hashmap_remove_and_replace() argument
1499 old_hash = bucket_hash(h, old_key); in hashmap_remove_and_replace()
1500 idx_old = bucket_scan(h, old_hash, old_key); in hashmap_remove_and_replace()
1504 old_key = bucket_at(HASHMAP_BASE(h), idx_old)->key; in hashmap_remove_and_replace()
1512 if (old_key != bucket_at(HASHMAP_BASE(h), idx_old)->key) in hashmap_remove_and_replace()
1514 assert(old_key == bucket_at(HASHMAP_BASE(h), idx_old)->key); in hashmap_remove_and_replace()