Lines Matching refs:hashCode
44 unsigned int hashCode; member
161 unsigned int hashCode, in getEntry() argument
180 if (entry->hashCode == hashCode && table->args.compFunction(key, entry->key) == 0) in getEntry()
211 unsigned int hashCode; in PHashTableGetValue() local
217 hashCode = table->args.hashFunction(key); in PHashTableGetValue()
218 idx = hashCode % table->args.capacity; in PHashTableGetValue()
219 if ((entry = getEntry(table, key, hashCode, idx)) != NULL) in PHashTableGetValue()
257 unsigned int hashCode; in PHashTableGetEntry() local
264 hashCode = table->args.hashFunction(key); in PHashTableGetEntry()
265 idx = hashCode % table->args.capacity; in PHashTableGetEntry()
267 result = getEntry(table, key, hashCode, idx); in PHashTableGetEntry()
302 idx = entry->hashCode % newCapacity; in PHashTableRehash()
344 unsigned int hashCode, idx; in PHashTablePutValue() local
348 hashCode = table->args.hashFunction(key); in PHashTablePutValue()
349 idx = hashCode % table->args.capacity; in PHashTablePutValue()
351 entry = getEntry(table, key, hashCode, idx); in PHashTablePutValue()
365 idx = hashCode % table->args.capacity; in PHashTablePutValue()
409 entry->hashCode = hashCode; in PHashTablePutValue()
426 unsigned int hashCode, idx; in PHashTableRemoveValue() local
437 hashCode = table->args.hashFunction(key); in PHashTableRemoveValue()
438 idx = hashCode % table->args.capacity; in PHashTableRemoveValue()
440 entry = getEntry(table, key, hashCode, idx); in PHashTableRemoveValue()