Searched refs:idx_old (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/basic/ |
D | hashmap.c | 1494 unsigned old_hash, new_hash, idx_old, idx_new; in hashmap_remove_and_replace() local 1500 idx_old = bucket_scan(h, old_hash, old_key); in hashmap_remove_and_replace() 1501 if (idx_old == IDX_NIL) in hashmap_remove_and_replace() 1504 old_key = bucket_at(HASHMAP_BASE(h), idx_old)->key; in hashmap_remove_and_replace() 1509 if (idx_old != idx_new) { in hashmap_remove_and_replace() 1512 if (old_key != bucket_at(HASHMAP_BASE(h), idx_old)->key) in hashmap_remove_and_replace() 1513 idx_old = prev_idx(HASHMAP_BASE(h), idx_old); in hashmap_remove_and_replace() 1514 assert(old_key == bucket_at(HASHMAP_BASE(h), idx_old)->key); in hashmap_remove_and_replace() 1517 remove_entry(h, idx_old); in hashmap_remove_and_replace()
|