Home
last modified time | relevance | path

Searched refs:running_hash (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/
Dstring-hasher-inl.h30 uint32_t StringHasher::AddCharacterCore(uint32_t running_hash, uint16_t c) { in AddCharacterCore() argument
31 running_hash += c; in AddCharacterCore()
32 running_hash += (running_hash << 10); in AddCharacterCore()
33 running_hash ^= (running_hash >> 6); in AddCharacterCore()
34 return running_hash; in AddCharacterCore()
37 uint32_t StringHasher::GetHashCore(uint32_t running_hash) { in GetHashCore() argument
38 running_hash += (running_hash << 3); in GetHashCore()
39 running_hash ^= (running_hash >> 11); in GetHashCore()
40 running_hash += (running_hash << 15); in GetHashCore()
41 if ((running_hash & String::kHashBitMask) == 0) { in GetHashCore()
[all …]
Dstring-hasher.h42 V8_INLINE static uint32_t AddCharacterCore(uint32_t running_hash, uint16_t c);
43 V8_INLINE static uint32_t GetHashCore(uint32_t running_hash);
44 V8_INLINE static uint32_t ComputeRunningHash(uint32_t running_hash,
46 V8_INLINE static uint32_t ComputeRunningHashOneByte(uint32_t running_hash,
Djson-parser.cc836 uint32_t running_hash = in ScanJsonString() local
864 running_hash = StringHasher::AddCharacterCore(running_hash, in ScanJsonString()
880 hash = StringHasher::GetHashCore(running_hash); in ScanJsonString()