Home
last modified time | relevance | path

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

/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()
/arkcompiler/runtime_core/libpandabase/utils/
Dhash_base.h55 static uint32_t GetHash32String(const uint8_t *mutf8_string) in GetHash32String() argument
57 return HashImpl::GetHash32StringImpl(mutf8_string); in GetHash32String()
65 static uint32_t GetHash32StringWithSeed(const uint8_t *mutf8_string, uint32_t seed) in GetHash32StringWithSeed() argument
67 return HashImpl::GetHash32StringWithSeedImpl(mutf8_string, seed); in GetHash32StringWithSeed()
Dmurmur3_hash.h44 static uint32_t GetHash32StringImpl(const uint8_t *mutf8_string) in GetHash32StringImpl() argument
46 return MurmurHash3String(mutf8_string, seed_value); in GetHash32StringImpl()
48 static uint32_t GetHash32StringWithSeedImpl(const uint8_t *mutf8_string, uint32_t seed) in GetHash32StringWithSeedImpl() argument
50 return MurmurHash3String(mutf8_string, seed); in GetHash32StringWithSeedImpl()
138 static uint32_t MurmurHash3String(const uint8_t *mutf8_string, uint32_t seed) in MurmurHash3String() argument
146 auto blocks = reinterpret_cast<uintptr_t>(mutf8_string); in MurmurHash3String()
Dhash.h62 inline uint32_t GetHash32String(const uint8_t *mutf8_string) in GetHash32String() argument
64 return Hash::GetHash32String(mutf8_string); in GetHash32String()
73 inline uint32_t GetHash32StringWithSeed(const uint8_t *mutf8_string, uint32_t seed) in GetHash32StringWithSeed() argument
75 return Hash::GetHash32StringWithSeed(mutf8_string, seed); in GetHash32StringWithSeed()