Home
last modified time | relevance | path

Searched refs:GetHashcode (Results 1 – 24 of 24) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser_cache.cpp41 auto hashcode = EcmaStringAccessor(pattern).GetHashcode(); in GetHash()
/arkcompiler/ets_runtime/ecmascript/
Dsymbol_table.h65 return EcmaStringAccessor(nameString).GetHashcode(); in Hash()
Decma_string_table.cpp76 auto hashcode = EcmaStringAccessor(string).GetHashcode(); in GetString()
95 auto hashcode = EcmaStringAccessor(string).GetHashcode(); in InternString()
314 auto hashcode = EcmaStringAccessor(outerString).GetHashcode(); in CheckStringTableValidity()
Dtransitions_dictionary.h52 hash = EcmaStringAccessor(key).GetHashcode(); in Hash()
Dtagged_node.h66 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
Dglobal_dictionary-inl.h37 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
Decma_string.h159 return (GetHashcode() & IS_INTEGER_MASK) == IS_INTEGER_MASK; in IsInteger()
234 uint32_t PUBLIC_API GetHashcode() in GetHashcode() function
1269 uint32_t GetHashcode() in GetHashcode() function
1271 return string_->GetHashcode(); in GetHashcode()
Dlinked_hash_table.cpp241 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
Dtagged_dictionary.cpp33 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
Djs_tagged_value-inl.h1554 return EcmaStringAccessor(GetTaggedObject()).GetHashcode(); in GetKeyHashCode()
/arkcompiler/runtime_core/static_core/runtime/
Dstring_table.cpp124 auto hash = string->GetHashcode(); in GetString()
137 table_.insert(std::pair<uint32_t, coretypes::String *>(string->GetHashcode(), string)); in ForceInternString()
144 uint32_t hashCode = string->GetHashcode(); in InternString()
/arkcompiler/ets_runtime/ecmascript/require/
Djs_cjs_module_cache.h72 return static_cast<int>(EcmaStringAccessor(nameStr).GetHashcode()); in Hash()
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_test.cpp1507 EXPECT_EQ(handleEcmaStrU8->GetHashcode(), hashExpect); in HWTEST_F_L0()
1528 EXPECT_EQ(handleEcmaStrU16Comp->GetHashcode(), hashExpect); in HWTEST_F_L0()
1549 EXPECT_EQ(handleEcmaStrU16NotComp->GetHashcode(), hashExpect); in HWTEST_F_L0()
1563 EXPECT_EQ(handleEcmaStrEmpty->GetHashcode(), 0U); in HWTEST_F_L0()
1579 EXPECT_EQ(handleEcmaStrAllocComp->GetHashcode(), 0U); in HWTEST_F_L0()
1580 EXPECT_EQ(handleEcmaStrAllocNotComp->GetHashcode(), 0U); in HWTEST_F_L0()
Djs_serializer_test.cpp375 auto ecmaStringCode = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest1()
376 auto resEcmaStringCode = EcmaStringAccessor(resEcmaString).GetHashcode(); in EcmaStringTest1()
396 auto ecmaStringCode = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest2()
397 auto resEcmaStringCode = EcmaStringAccessor(resEcmaString).GetHashcode(); in EcmaStringTest2()
412 auto ecmaStringCode = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest3()
413 auto resEcmaStringCode = EcmaStringAccessor(resEcmaString).GetHashcode(); in EcmaStringTest3()
424 auto ecmaStringCode1 = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest4()
425 auto ecmaString1Code = EcmaStringAccessor(ecmaString1).GetHashcode(); in EcmaStringTest4()
434 auto ecmaStringCode2 = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest4()
435 auto resEcmaStringCode = EcmaStringAccessor(resEcmaString).GetHashcode(); in EcmaStringTest4()
Decma_string_accessor_test.cpp772 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU8).GetHashcode(), hashExpect); in HWTEST_F_L0()
793 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU16Comp).GetHashcode(), hashExpect); in HWTEST_F_L0()
814 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU16NotComp).GetHashcode(), hashExpect); in HWTEST_F_L0()
828 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrEmpty).GetHashcode(), 0U); in HWTEST_F_L0()
Dconstant_string_test.cpp499 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU8).GetHashcode(), hashExpect); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dstring_test.cpp197 auto stringHashCode = firstString->GetHashcode(); in TEST_F()
216 auto stringHashCode = firstString->GetHashcode(); in TEST_F()
234 auto stringHashCode = firstString->GetHashcode(); in TEST_F()
244 auto stringHashCode = firstString->GetHashcode(); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
Dstring.h221 uint32_t GetHashcode() in GetHashcode() function
/arkcompiler/ets_runtime/ecmascript/serializer/tests/
Dserializer_test.cpp418 auto ecmaStringCode = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest1()
419 auto resEcmaStringCode = EcmaStringAccessor(resEcmaString).GetHashcode(); in EcmaStringTest1()
430 auto ecmaStringCode1 = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest2()
431 auto ecmaString1Code = EcmaStringAccessor(ecmaString1).GetHashcode(); in EcmaStringTest2()
443 auto ecmaStringCode2 = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest2()
444 auto resEcmaStringCode = EcmaStringAccessor(resEcmaString).GetHashcode(); in EcmaStringTest2()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_String.cpp390 return thisStr->GetCoreType()->GetHashcode(); in StdCoreStringHashCode()
/arkcompiler/ets_runtime/ecmascript/mem/
Dparallel_marker-inl.h400 EcmaStringAccessor(reinterpret_cast<TaggedObject *>(forwardAddress)).GetHashcode(); in EvacuateObject()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightset.cpp462 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
Djs_api_lightweightmap.cpp464 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp2141 uint32_t hash = EcmaStringAccessor(thisString).GetHashcode(); in FindCachedResult()
2175 uint32_t hash = EcmaStringAccessor(thisString).GetHashcode(); in SetCachedResult()
2198 uint32_t hash = EcmaStringAccessor(thisString).GetHashcode(); in FindCachedResult()
2229 uint32_t hash = EcmaStringAccessor(thisString).GetHashcode(); in SetCachedResult()