Lines Matching refs:dib
469 static void bucket_set_dib(HashmapBase *h, unsigned idx, unsigned dib) { in bucket_set_dib() argument
470 dib_raw_ptr(h)[idx] = dib != DIB_FREE ? MIN(dib, DIB_RAW_OVERFLOW) : DIB_RAW_FREE; in bucket_set_dib()
550 unsigned left, right, prev, dib; in base_remove_entry() local
592 dib = bucket_calculate_dib(h, left, dibs[left]); in base_remove_entry()
593 assert(dib != 0); in base_remove_entry()
595 bucket_set_dib(h, prev, dib - 1); in base_remove_entry()
966 unsigned dib, distance; in hashmap_put_robin_hood() local
993 dib = bucket_calculate_dib(h, idx, raw_dib); in hashmap_put_robin_hood()
995 if (dib < distance) { in hashmap_put_robin_hood()
1004 distance = dib; in hashmap_put_robin_hood()
1215 unsigned dib, distance; in base_bucket_scan() local
1224 dib = bucket_calculate_dib(h, idx, dibs[idx]); in base_bucket_scan()
1226 if (dib < distance) in base_bucket_scan()
1228 if (dib == distance) { in base_bucket_scan()