Searched refs:old_key (Results 1 - 4 of 4) sorted by relevance

/systemd/src/basic/
H A Dhashmap.h195 int hashmap_remove_and_put(Hashmap *h, const void *old_key, const void *new_key, void *value);
196 static inline int ordered_hashmap_remove_and_put(OrderedHashmap *h, const void *old_key, const void *new_key, void *value) { argument
197 return hashmap_remove_and_put(PLAIN_HASHMAP(h), old_key, new_key, value);
200 int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value);
201 static inline int ordered_hashmap_remove_and_replace(OrderedHashmap *h, const void *old_key, const void *new_key, void *value) { argument
202 return hashmap_remove_and_replace(PLAIN_HASHMAP(h), old_key, new_key, value);
H A Dset.h65 int set_remove_and_put(Set *s, const void *old_key, const void *new_key);
H A Dhashmap.c1374 int hashmap_remove_and_put(Hashmap *h, const void *old_key, const void *new_key, void *value) { argument
1382 old_hash = bucket_hash(h, old_key);
1383 idx = bucket_scan(h, old_hash, old_key);
1401 int set_remove_and_put(Set *s, const void *old_key, const void *new_key) { argument
1409 old_hash = bucket_hash(s, old_key);
1410 idx = bucket_scan(s, old_hash, old_key);
1427 int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value) { argument
1435 old_hash = bucket_hash(h, old_key);
1436 idx_old = bucket_scan(h, old_hash, old_key);
1440 old_key
[all...]
/systemd/src/libsystemd/sd-device/
H A Dsd-device.c108 _cleanup_free_ char *key = NULL, *value = NULL, *old_key = NULL, *old_value = NULL; local
123 old_value = ordered_hashmap_get2(*properties, key, (void**) &old_key);

Completed in 2606 milliseconds