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

/systemd/src/test/
H A Dtest-hashmap-plain.c251 _cleanup_free_ char* key1 = NULL; local
260 key1 = strdup("key 1");
261 assert_se(hashmap_put(m, key1, val1) == 0);
262 assert_se(hashmap_put(m, key1, val2) == -EEXIST);
293 char key1[] = "key 1"; local
308 hashmap_put(m, strdup(key1), strdup(val1));
311 r = hashmap_remove2(m, key1, &r2);
313 assert_se(streq(r2, key1));
319 assert_se(!hashmap_get(m, key1));
386 void *key1 local
[all...]

Completed in 11 milliseconds