Searched refs:hashmap_remove_and_replace (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-hashmap-plain.c | 371 TEST(hashmap_remove_and_replace) { in TEST() argument 383 valid = hashmap_remove_and_replace(m, key1, key2, NULL); in TEST() 389 valid = hashmap_remove_and_replace(NULL, key1, key2, key2); in TEST() 392 valid = hashmap_remove_and_replace(m, key1, key2, key2); in TEST() 401 valid = hashmap_remove_and_replace(m, key3, key2, key2); in TEST() 415 valid = hashmap_remove_and_replace(m, UINT_TO_PTR(10*i + 1), in TEST()
|
/systemd-251/src/basic/ |
D | hashmap.h | 222 int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value); 224 return hashmap_remove_and_replace(PLAIN_HASHMAP(h), old_key, new_key, value); in ordered_hashmap_remove_and_replace()
|
D | hashmap.c | 1491 int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value) { in hashmap_remove_and_replace() function
|
/systemd-251/src/core/ |
D | device.c | 52 hashmap_remove_and_replace(devices, d->sysfs, first->sysfs, first); in device_unset_sysfs()
|
/systemd-251/src/home/ |
D | homed-home.c | 276 …r = hashmap_remove_and_replace(h->manager->homes_by_uid, UID_TO_PTR(h->uid), UID_TO_PTR(hr->uid), … in home_set_record()
|