Searched defs:key2 (Results 1 - 2 of 2) sorted by relevance

/systemd/src/test/
H A Dtest-hashmap-plain.c294 char key2[] = "key 2"; local
309 hashmap_put(m, strdup(key2), strdup(val2));
317 r = hashmap_get(m, key2);
387 void *key2 = UINT_TO_PTR(2); local
395 valid = hashmap_remove_and_replace(m, key1, key2, NULL);
401 valid = hashmap_remove_and_replace(NULL, key1, key2, key2);
404 valid = hashmap_remove_and_replace(m, key1, key2, key2);
407 r = hashmap_get(m, key2);
[all...]
/systemd/src/basic/
H A Dhashmap.c1296 void *hashmap_get2(Hashmap *h, const void *key, void **key2) { argument
1309 if (key2)
1310 *key2 = (void*) e->b.key;

Completed in 28 milliseconds