Lines Matching refs:hash
396 uint32_t hash = hashSeed; in ComputeHashForData() local
405 hash = (hash << SHIFT) - hash + c; in ComputeHashForData()
407 return static_cast<int32_t>(hash); in ComputeHashForData()
415 uint32_t hash = 0; in ComputeHashForUtf8() local
418 …hash = (hash << SHIFT) - hash + *utf8Data++; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arith… in ComputeHashForUtf8()
420 return static_cast<int32_t>(hash); in ComputeHashForUtf8()
425 uint32_t hash; in ComputeHashcode() local
428 hash = ComputeHashForData(GetDataUtf8(), GetLength(), hashSeed); in ComputeHashcode()
430 hash = ComputeHashForData(GetDataUtf16(), GetLength(), hashSeed); in ComputeHashcode()
434 hash = ComputeHashForData(GetDataUtf16(), GetLength(), hashSeed); in ComputeHashcode()
436 return hash; in ComputeHashcode()
442 uint32_t hash; in ComputeHashcodeUtf8() local
444 hash = ComputeHashForUtf8(utf8Data); in ComputeHashcodeUtf8()
451 hash = ComputeHashForData(tmpBuffer.data(), utf16Len, 0); in ComputeHashcodeUtf8()
453 return hash; in ComputeHashcodeUtf8()