Lines Matching refs:v
56 void *oldv, *v = (void *)(long)(1024 + i); in test_hashmap_generic() local
58 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic()
64 err = hashmap__add(map, k, v); in test_hashmap_generic()
66 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic()
73 (long)k, (long)v, err)) in test_hashmap_generic()
79 if (CHECK(oldv != v, "elem_val", in test_hashmap_generic()
95 long v = (long)entry->value; in test_hashmap_generic() local
98 if (CHECK(v - k != 1024, "check_kv", in test_hashmap_generic()
99 "invalid k/v pair: %ld = %ld\n", k, v)) in test_hashmap_generic()
108 void *oldv, *v = (void *)(long)(256 + i); in test_hashmap_generic() local
110 err = hashmap__add(map, k, v); in test_hashmap_generic()
116 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic()
118 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic()
122 (long)k, (long)v, err)) in test_hashmap_generic()
127 if (CHECK(oldv != v, "elem_val", in test_hashmap_generic()
143 long v = (long)entry->value; in test_hashmap_generic() local
146 if (CHECK(v - k != 256, "elem_check", in test_hashmap_generic()
147 "invalid updated k/v pair: %ld = %ld\n", k, v)) in test_hashmap_generic()
166 void *oldv, *v; in test_hashmap_generic() local
169 v = entry->value; in test_hashmap_generic()
176 (long)k, (long)v)) in test_hashmap_generic()
178 if (CHECK(oldk != k || oldv != v, "check_old", in test_hashmap_generic()
180 (long)k, (long)v, (long)oldk, (long)oldv)) in test_hashmap_generic()
202 void *oldv, *v; in test_hashmap_generic() local
205 v = entry->value; in test_hashmap_generic()
212 (long)k, (long)v)) in test_hashmap_generic()
214 if (CHECK(oldk != k || oldv != v, "elem_check", in test_hashmap_generic()
216 (long)k, (long)v, (long)oldk, (long)oldv)) in test_hashmap_generic()
220 (long)k, (long)v)) in test_hashmap_generic()