Lines Matching defs:hash
155 * Compute a hash code on a UTF-8 string, for use with internal hash tables.
157 * This may or may not be compatible with UTF-8 hash functions used inside
165 u4 hash = 1;
168 hash = hash * 31 + *str++;
170 return hash;
174 * Add an entry to the class lookup table. We hash the string and probe
184 u4 hash = classDescriptorHash(classDescriptor);
186 int idx = hash & mask;
200 pLookup->table[idx].classDescriptorHash = hash;
207 * Create the class lookup hash table.
227 * using a secondary hash.
445 u4 hash;
448 hash = classDescriptorHash(descriptor);
450 idx = hash & mask;
462 if (pLookup->table[idx].classDescriptorHash == hash) {