Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp158 auto hashcode = EcmaStringAccessor(emptyStr).GetHashcode(); in InternEmptyString()
171 auto hashcode = EcmaStringAccessor(string).GetHashcode(); in InsertStringIfNotExistThreadUnsafe()
359 auto hashcode = EcmaStringAccessor(strFlat).GetHashcode(); in GetOrInternString()
386 auto hashcode = EcmaStringAccessor(strFlat).GetHashcode(); in GetOrInternStringThreadUnsafe()
401 ASSERT(EcmaStringAccessor(string).GetHashcode() == hashcode); in InsertStringToTableWithHashThreadUnsafe()
410 auto hashcode = EcmaStringAccessor(strFlat).GetHashcode(); in InsertStringToTable()
424 auto hashcode = EcmaStringAccessor(*string).GetHashcode(); in TryGetInternString()
472 auto hashcode = EcmaStringAccessor(str).GetHashcode(); in GetOrInternStringWithSpaceType()
604 auto hashcode = EcmaStringAccessor(outerString).GetHashcode(); in CheckStringTableValidity()
Dsymbol_table.h65 return EcmaStringAccessor(nameString).GetHashcode(); in Hash()
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.h163 return (GetHashcode() & IS_INTEGER_MASK) == IS_INTEGER_MASK; in IsInteger()
238 uint32_t PUBLIC_API GetHashcode() in GetHashcode() function
1294 uint32_t GetHashcode() in GetHashcode() function
1296 return string_->GetHashcode(); in GetHashcode()
Dlinked_hash_table.cpp267 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
Dtagged_dictionary.cpp31 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
Djs_tagged_value-inl.h1379 return EcmaStringAccessor(GetTaggedObject()).GetHashcode(); in GetKeyHashCode()
Djs_hclass.cpp1440 uint64_t value = EcmaStringAccessor(key).GetHashcode(); in DumpToString()
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_parser_cache.cpp41 auto hashcode = EcmaStringAccessor(pattern).GetHashcode(); in GetHash()
/arkcompiler/ets_runtime/ecmascript/require/
Djs_cjs_module_cache.h72 return EcmaStringAccessor(nameStr).GetHashcode(); in Hash()
/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/tests/
Decma_string_test.cpp1460 EXPECT_EQ(handleEcmaStrU8->GetHashcode(), hashExpect); in HWTEST_F_L0()
1481 EXPECT_EQ(handleEcmaStrU16Comp->GetHashcode(), hashExpect); in HWTEST_F_L0()
1502 EXPECT_EQ(handleEcmaStrU16NotComp->GetHashcode(), hashExpect); in HWTEST_F_L0()
1516 EXPECT_EQ(handleEcmaStrEmpty->GetHashcode(), 0U); in HWTEST_F_L0()
1532 EXPECT_EQ(handleEcmaStrAllocComp->GetHashcode(), 0U); in HWTEST_F_L0()
1533 EXPECT_EQ(handleEcmaStrAllocNotComp->GetHashcode(), 0U); in HWTEST_F_L0()
Decma_string_accessor_test.cpp703 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU8).GetHashcode(), hashExpect); in HWTEST_F_L0()
724 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU16Comp).GetHashcode(), hashExpect); in HWTEST_F_L0()
745 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU16NotComp).GetHashcode(), hashExpect); in HWTEST_F_L0()
759 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrEmpty).GetHashcode(), 0U); in HWTEST_F_L0()
Dconstant_string_test.cpp450 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU8).GetHashcode(), hashExpect); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dstring_test.cpp199 auto stringHashCode = firstString->GetHashcode(); in TEST_F()
218 auto stringHashCode = firstString->GetHashcode(); in TEST_F()
236 auto stringHashCode = firstString->GetHashcode(); in TEST_F()
246 auto stringHashCode = firstString->GetHashcode(); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
Dstring.h227 uint32_t GetHashcode() in GetHashcode() function
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_String.cpp408 return thisStr->GetCoreType()->GetHashcode(); in StdCoreStringHashCode()
/arkcompiler/ets_runtime/ecmascript/mem/
Dparallel_marker-inl.h518 EcmaStringAccessor(reinterpret_cast<TaggedObject *>(forwardAddress)).GetHashcode(); in EvacuateObject()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightset.cpp463 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
Djs_api_lightweightmap.cpp475 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
/arkcompiler/ets_runtime/ecmascript/serializer/tests/
Dserializer_test.cpp461 auto ecmaStringCode = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest1()
462 auto resEcmaStringCode = EcmaStringAccessor(resEcmaString).GetHashcode(); in EcmaStringTest1()
473 auto ecmaStringCode1 = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest2()
474 auto ecmaString1Code = EcmaStringAccessor(ecmaString1).GetHashcode(); in EcmaStringTest2()
486 auto ecmaStringCode2 = EcmaStringAccessor(ecmaString).GetHashcode(); in EcmaStringTest2()
487 auto resEcmaStringCode = EcmaStringAccessor(resEcmaString).GetHashcode(); in EcmaStringTest2()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp2403 uint32_t hash = EcmaStringAccessor(thisString).GetHashcode(); in FindCachedResult()
2441 uint32_t hash = EcmaStringAccessor(thisString).GetHashcode(); in SetCachedResult()
2464 uint32_t hash = EcmaStringAccessor(thisString).GetHashcode(); in FindCachedResult()
2500 uint32_t hash = EcmaStringAccessor(thisString).GetHashcode(); in SetCachedResult()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp1331 auto hashcode = EcmaStringAccessor(str).GetHashcode(); in DeserializeString()