Lines Matching defs:key_hash
256 Py_uhash_t key_hash;
262 key_hash = ht->hash_func(ht, pkey);
263 index = key_hash & (ht->num_buckets - 1);
266 if (entry->key_hash == key_hash && ht->compare_func(ht, pkey, entry))
278 Py_uhash_t key_hash;
284 key_hash = ht->hash_func(ht, pkey);
285 index = key_hash & (ht->num_buckets - 1);
289 if (entry->key_hash == key_hash && ht->compare_func(ht, pkey, entry))
315 Py_uhash_t key_hash;
330 key_hash = ht->hash_func(ht, pkey);
331 index = key_hash & (ht->num_buckets - 1);
339 entry->key_hash = key_hash;
444 assert(ht->hash_func(ht, _Py_HASHTABLE_ENTRY_PKEY(entry)) == entry->key_hash);
446 entry_index = entry->key_hash & (new_size - 1);