Home
last modified time | relevance | path

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

/external/v8/src/
Djson-parser.h721 uint32_t running_hash = isolate()->heap()->HashSeed(); in ScanJsonString() local
736 running_hash = in ScanJsonString()
737 StringHasher::AddCharacterCore(running_hash, in ScanJsonString()
739 running_hash = in ScanJsonString()
740 StringHasher::AddCharacterCore(running_hash, in ScanJsonString()
743 running_hash = StringHasher::AddCharacterCore(running_hash, c0); in ScanJsonString()
751 ? StringHasher::GetHashCore(running_hash) in ScanJsonString()
Dobjects-inl.h6493 uint32_t StringHasher::AddCharacterCore(uint32_t running_hash, uint16_t c) { in AddCharacterCore() argument
6494 running_hash += c; in AddCharacterCore()
6495 running_hash += (running_hash << 10); in AddCharacterCore()
6496 running_hash ^= (running_hash >> 6); in AddCharacterCore()
6497 return running_hash; in AddCharacterCore()
6501 uint32_t StringHasher::GetHashCore(uint32_t running_hash) { in GetHashCore() argument
6502 running_hash += (running_hash << 3); in GetHashCore()
6503 running_hash ^= (running_hash >> 11); in GetHashCore()
6504 running_hash += (running_hash << 15); in GetHashCore()
6505 if ((running_hash & String::kHashBitMask) == 0) { in GetHashCore()
[all …]
Dobjects.h8364 INLINE(static uint32_t AddCharacterCore(uint32_t running_hash, uint16_t c));
8365 INLINE(static uint32_t GetHashCore(uint32_t running_hash));