Home
last modified time | relevance | path

Searched refs:StringHasher (Results 1 – 11 of 11) sorted by relevance

/external/clang/test/PCH/
Dcxx-templates.cpp59 struct StringHasher { struct
71 return StringHasher::createHash<char, foldCase>(data, length); in hash()
/external/v8/src/
Djson-parser.h737 StringHasher::AddCharacterCore(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()
Dast-value-factory.cc235 uint32_t hash = StringHasher::HashSequentialString<uint8_t>( in GetOneByteString()
243 uint32_t hash = StringHasher::HashSequentialString<uint16_t>( in GetTwoByteString()
Dobjects-inl.h505 hash_field_ = StringHasher::HashSequentialString<Char>(string_.start(), in Hash()
549 hash_field_ = StringHasher::HashSequentialString( in Hash()
596 hash_field_ = StringHasher::ComputeUtf8Hash(string_, seed_, &chars_); in Hash()
6478 StringHasher::StringHasher(int length, uint32_t seed) in StringHasher() function
6488 bool StringHasher::has_trivial_hash() { in has_trivial_hash()
6493 uint32_t StringHasher::AddCharacterCore(uint32_t running_hash, uint16_t c) { in AddCharacterCore()
6501 uint32_t StringHasher::GetHashCore(uint32_t running_hash) { in GetHashCore()
6512 void StringHasher::AddCharacter(uint16_t c) { in AddCharacter()
6519 bool StringHasher::UpdateIndex(uint16_t c) { in UpdateIndex()
6543 inline void StringHasher::AddCharacters(const Char* chars, int length) { in AddCharacters()
[all …]
Dheap-snapshot-generator.h578 return StringHasher::HashSequentialString( in INLINE()
Dprofile-generator.cc130 uint32_t hash = StringHasher::HashSequentialString(str, len, hash_seed_); in GetEntry()
Dobjects.h8339 class StringHasher {
8341 explicit inline StringHasher(int length, uint32_t seed);
8389 DISALLOW_COPY_AND_ASSIGN(StringHasher);
8393 class IteratingStringHasher : public StringHasher {
8401 : StringHasher(len, seed) {} in IteratingStringHasher()
Dheap-snapshot-generator.cc699 id ^= StringHasher::HashSequentialString(label, in GenerateId()
2462 uint32_t hash = StringHasher::HashSequentialString( in FindOrAddGroupInfo()
Dobjects.cc8914 uint32_t StringHasher::MakeArrayIndexHash(uint32_t value, int length) { in MakeArrayIndexHash()
8932 uint32_t StringHasher::GetHashField() { in GetHashField()
8945 uint32_t StringHasher::ComputeUtf8Hash(Vector<const char> chars, in ComputeUtf8Hash()
8959 StringHasher hasher(String::kMaxArrayIndexSize, seed); in ComputeUtf8Hash()
14595 if ((hash & String::kHashBitMask) == 0) hash = StringHasher::kZeroHash; in TwoCharHashTableKey()
14603 uint32_t check_hash = StringHasher::HashSequentialString(chars, 2, seed); in TwoCharHashTableKey()
Druntime.cc6275 uint32_t hash = StringHasher::MakeArrayIndexHash(d, len); in RUNTIME_FUNCTION()
/external/v8/src/heap/
Dheap-inl.h295 StringHasher::AddCharacterCore(raw_allocations_hash_, c1); in UpdateAllocationsHash()
297 StringHasher::AddCharacterCore(raw_allocations_hash_, c2); in UpdateAllocationsHash()
302 uint32_t hash = StringHasher::GetHashCore(raw_allocations_hash_); in PrintAlloctionsHash()