Lines Matching defs:key2
294 char key2[] = "key 2";
309 hashmap_put(m, strdup(key2), strdup(val2));
317 r = hashmap_get(m, key2);
387 void *key2 = UINT_TO_PTR(2);
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);
408 assert_se(r == key2);
413 valid = hashmap_remove_and_replace(m, key3, key2, key2);
415 r = hashmap_get(m, key2);
416 assert_se(r == key2);