Lines Matching refs:oldk
66 const void *oldk, *k = (const void *)(long)i; in test_hashmap_generic() local
69 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic()
76 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic()
77 if (CHECK(oldk != NULL || oldv != NULL, in test_hashmap_generic()
78 "unexpected k/v: %p=%p\n", oldk, oldv)) in test_hashmap_generic()
114 const void *oldk, *k = (const void *)(long)i; in test_hashmap_generic() local
122 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic()
124 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic()
167 const void *oldk, *k; in test_hashmap_generic() local
176 if (CHECK(!hashmap__delete(map, k, &oldk, &oldv), in test_hashmap_generic()
180 if (CHECK(oldk != k || oldv != v, in test_hashmap_generic()
182 (long)k, (long)v, (long)oldk, (long)oldv)) in test_hashmap_generic()
184 if (CHECK(hashmap__delete(map, k, &oldk, &oldv), in test_hashmap_generic()
186 (long)oldk, (long)oldv)) in test_hashmap_generic()
202 const void *oldk, *k; in test_hashmap_generic() local
211 if (CHECK(!hashmap__delete(map, k, &oldk, &oldv), in test_hashmap_generic()
215 if (CHECK(oldk != k || oldv != v, in test_hashmap_generic()
217 (long)k, (long)v, (long)oldk, (long)oldv)) in test_hashmap_generic()
219 if (CHECK(hashmap__delete(map, k, &oldk, &oldv), in test_hashmap_generic()