Lines Matching refs:hash

338         uint64_t hash;  in base_bucket_hash()  local
342 h->hash_ops->hash(p, &state); in base_bucket_hash()
344 hash = siphash24_finalize(&state); in base_bucket_hash()
346 return (unsigned) (hash % n_buckets(h)); in base_bucket_hash()
1232 unsigned hash, idx; in hashmap_put() local
1236 hash = bucket_hash(h, key); in hashmap_put()
1237 idx = bucket_scan(h, hash, key); in hashmap_put()
1248 return hashmap_put_boldly(h, hash, &swap, true); in hashmap_put()
1254 unsigned hash, idx; in set_put() local
1258 hash = bucket_hash(s, key); in set_put()
1259 idx = bucket_scan(s, hash, key); in set_put()
1265 return hashmap_put_boldly(s, hash, &swap, true); in set_put()
1295 unsigned hash, idx; in hashmap_replace() local
1299 hash = bucket_hash(h, key); in hashmap_replace()
1300 idx = bucket_scan(h, hash, key); in hashmap_replace()
1323 return hashmap_put_boldly(h, hash, &swap, true); in hashmap_replace()
1328 unsigned hash, idx; in hashmap_update() local
1332 hash = bucket_hash(h, key); in hashmap_update()
1333 idx = bucket_scan(h, hash, key); in hashmap_update()
1346 unsigned hash, idx; in _hashmap_get() local
1351 hash = bucket_hash(h, key); in _hashmap_get()
1352 idx = bucket_scan(h, hash, key); in _hashmap_get()
1362 unsigned hash, idx; in hashmap_get2() local
1367 hash = bucket_hash(h, key); in hashmap_get2()
1368 idx = bucket_scan(h, hash, key); in hashmap_get2()
1380 unsigned hash; in _hashmap_contains() local
1385 hash = bucket_hash(h, key); in _hashmap_contains()
1386 return bucket_scan(h, hash, key) != IDX_NIL; in _hashmap_contains()
1391 unsigned hash, idx; in _hashmap_remove() local
1397 hash = bucket_hash(h, key); in _hashmap_remove()
1398 idx = bucket_scan(h, hash, key); in _hashmap_remove()
1411 unsigned hash, idx; in hashmap_remove2() local
1420 hash = bucket_hash(h, key); in hashmap_remove2()
1421 idx = bucket_scan(h, hash, key); in hashmap_remove2()
1529 unsigned hash, idx; in _hashmap_remove_value() local
1534 hash = bucket_hash(h, key); in _hashmap_remove_value()
1535 idx = bucket_scan(h, hash, key); in _hashmap_remove_value()
1782 unsigned hash, idx; in ordered_hashmap_next() local
1787 hash = bucket_hash(h, key); in ordered_hashmap_next()
1788 idx = bucket_scan(h, hash, key); in ordered_hashmap_next()