Home
last modified time | relevance | path

Searched refs:mutf8_string (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
Dhash_base.h56 static uint32_t GetHash32String(const uint8_t *mutf8_string) in GetHash32String() argument
58 return HashImpl::GetHash32StringImpl(mutf8_string); in GetHash32String()
66 static uint32_t GetHash32StringWithSeed(const uint8_t *mutf8_string, uint32_t seed) in GetHash32StringWithSeed() argument
68 return HashImpl::GetHash32StringWithSeedImpl(mutf8_string, seed); in GetHash32StringWithSeed()
Dmurmur3_hash.h45 static uint32_t GetHash32StringImpl(const uint8_t *mutf8_string) in GetHash32StringImpl() argument
47 return MurmurHash3String(mutf8_string, seed_value); in GetHash32StringImpl()
49 static uint32_t GetHash32StringWithSeedImpl(const uint8_t *mutf8_string, uint32_t seed) in GetHash32StringWithSeedImpl() argument
51 return MurmurHash3String(mutf8_string, seed); in GetHash32StringWithSeedImpl()
139 static uint32_t MurmurHash3String(const uint8_t *mutf8_string, uint32_t seed) in MurmurHash3String() argument
147 auto blocks = reinterpret_cast<uintptr_t>(mutf8_string); in MurmurHash3String()
Dhash.h63 inline uint32_t GetHash32String(const uint8_t *mutf8_string) in GetHash32String() argument
65 return Hash::GetHash32String(mutf8_string); in GetHash32String()
74 inline uint32_t GetHash32StringWithSeed(const uint8_t *mutf8_string, uint32_t seed) in GetHash32StringWithSeed() argument
76 return Hash::GetHash32StringWithSeed(mutf8_string, seed); in GetHash32StringWithSeed()
/arkcompiler/runtime_core/libpandabase/tests/
Dhash_test.cpp99 uint8_t *mutf8_string = reinterpret_cast<uint8_t *>(string); in OneStringHashTest() local
100 uint32_t first_hash = T::GetHash32String(mutf8_string); in OneStringHashTest()
101 uint32_t second_hash = T::GetHash32String(mutf8_string); in OneStringHashTest()
110 uint8_t *mutf8_string = reinterpret_cast<uint8_t *>(string); in StringMemHashTest() local
111 uint32_t second_hash = T::GetHash32(mutf8_string, string_size); in StringMemHashTest()
112 uint32_t first_hash = T::GetHash32String(mutf8_string); in StringMemHashTest()
130 uint8_t *mutf8_string = reinterpret_cast<uint8_t *>(string); in EndOfPageStringHashTest() local
131 uint32_t second_hash = T::GetHash32(mutf8_string, string_size - 1); in EndOfPageStringHashTest()
132 uint32_t first_hash = T::GetHash32String(mutf8_string); in EndOfPageStringHashTest()