Lines Matching defs:hash
77 * Compute a hash code on a UTF-8 string, for use with internal hash tables.
81 * I'm initializing the hash code to 1 so they *don't* match up.)
84 * the hash with the result. That way, if something encoded the same
85 * character in two different ways, the hash value would be the same. For
90 u4 hash = 1;
93 hash = hash * 31 + *utf8Str++;
95 return hash;
199 u4 hash = 0;
202 hash = hash * 31 + *utf16Str++;
204 return hash;
352 * compared their hash values; we need to do a full compare to ensure