| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_string_table.cpp | 158 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()
|
| D | symbol_table.h | 65 return EcmaStringAccessor(nameString).GetHashcode(); in Hash()
|
| D | transitions_dictionary.h | 52 hash = EcmaStringAccessor(key).GetHashcode(); in Hash()
|
| D | tagged_node.h | 66 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
|
| D | global_dictionary-inl.h | 37 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
|
| D | ecma_string.h | 163 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()
|
| D | linked_hash_table.cpp | 267 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
|
| D | tagged_dictionary.cpp | 31 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
|
| D | js_tagged_value-inl.h | 1379 return EcmaStringAccessor(GetTaggedObject()).GetHashcode(); in GetKeyHashCode()
|
| D | js_hclass.cpp | 1440 uint64_t value = EcmaStringAccessor(key).GetHashcode(); in DumpToString()
|
| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| D | regexp_parser_cache.cpp | 41 auto hashcode = EcmaStringAccessor(pattern).GetHashcode(); in GetHash()
|
| /arkcompiler/ets_runtime/ecmascript/require/ |
| D | js_cjs_module_cache.h | 72 return EcmaStringAccessor(nameStr).GetHashcode(); in Hash()
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | string_table.cpp | 124 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/ |
| D | ecma_string_test.cpp | 1460 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()
|
| D | ecma_string_accessor_test.cpp | 703 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()
|
| D | constant_string_test.cpp | 450 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU8).GetHashcode(), hashExpect); in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | string_test.cpp | 199 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/ |
| D | string.h | 227 uint32_t GetHashcode() in GetHashcode() function
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core_String.cpp | 408 return thisStr->GetCoreType()->GetHashcode(); in StdCoreStringHashCode()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | parallel_marker-inl.h | 518 EcmaStringAccessor(reinterpret_cast<TaggedObject *>(forwardAddress)).GetHashcode(); in EvacuateObject()
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_lightweightset.cpp | 463 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
|
| D | js_api_lightweightmap.cpp | 475 return EcmaStringAccessor(keyString).GetHashcode(); in Hash()
|
| /arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
| D | serializer_test.cpp | 461 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/ |
| D | builtins_string.cpp | 2403 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/ |
| D | snapshot_processor.cpp | 1331 auto hashcode = EcmaStringAccessor(str).GetHashcode(); in DeserializeString()
|