Home
last modified time | relevance | path

Searched refs:hashcode (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp73 auto hashcode = EcmaStringAccessor(string).GetHashcode(); in GetString() local
74 auto range = table_.equal_range(hashcode); in GetString()
92 auto hashcode = EcmaStringAccessor(string).GetHashcode(); in InternString() local
93 table_.emplace(hashcode, string); in InternString()
247 auto hashcode = EcmaStringAccessor(outerString).GetHashcode(); in CheckStringTableValidity() local
248 auto range = table_.equal_range(hashcode); in CheckStringTableValidity()
Decma_string.h164 uint32_t hashcode = GetRawHashcode(); in TryGetHashCode() local
165 if (hashcode == 0 && GetLength() != 0) { in TryGetHashCode()
168 *hash = hashcode; in TryGetHashCode()
176 uint32_t hashcode = GetRawHashcode(); in GetHashcode() local
178 if (hashcode == 0 && GetLength() != 0) { in GetHashcode()
179 hashcode = ComputeHashcode(0); in GetHashcode()
180 SetRawHashcode(hashcode); in GetHashcode()
182 return hashcode; in GetHashcode()
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser_cache.cpp41 auto hashcode = EcmaStringAccessor(pattern).GetHashcode(); in GetHash() local
42 return (hashcode ^ flags) % CACHE_SIZE; in GetHash()
/arkcompiler/ets_frontend/merge_abc/src/
DprotobufSnapshotGenerator.cpp75 uint32_t hashCode = protoCache.hashcode(); in GetCacheContext()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcircuit_builder.cpp1637 DEFVAlUE(hashcode, env_, VariableType::INT32(), Int32(0)); in GetHashcodeFromString()
1638 hashcode = Load(VariableType::INT32(), value, IntPtr(EcmaString::HASHCODE_OFFSET)); in GetHashcodeFromString()
1639 Branch(Int32Equal(*hashcode, Int32(0)), &noRawHashcode, &exit); in GetHashcodeFromString()
1642 hashcode = GetInt32OfTInt( in GetHashcodeFromString()
1644 Store(VariableType::INT32(), glue, value, IntPtr(EcmaString::HASHCODE_OFFSET), *hashcode); in GetHashcodeFromString()
1648 auto ret = *hashcode; in GetHashcodeFromString()
Dstub_builder.cpp5072 DEFVARIABLE(hashcode, VariableType::INT32(), Int32(0)); in GetHashcodeFromString()
5073 hashcode = Load(VariableType::INT32(), value, IntPtr(EcmaString::HASHCODE_OFFSET)); in GetHashcodeFromString()
5074 Branch(Int32Equal(*hashcode, Int32(0)), &noRawHashcode, &exit); in GetHashcodeFromString()
5077 hashcode = GetInt32OfTInt(CallRuntime(glue, RTSTUB_ID(ComputeHashcode), { value })); in GetHashcodeFromString()
5078 Store(VariableType::INT32(), glue, value, IntPtr(EcmaString::HASHCODE_OFFSET), *hashcode); in GetHashcodeFromString()
5082 auto ret = *hashcode; in GetHashcodeFromString()