Home
last modified time | relevance | path

Searched refs:GetHash (Results 1 - 25 of 43) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/regexp/
H A Dregexp_parser_cache.cpp39 size_t RegExpParserCache::GetHash(EcmaString *pattern, const uint32_t flags) in GetHash() function in panda::ecmascript::RegExpParserCache
48 size_t hash = GetHash(pattern, flags); in GetCache()
62 size_t hash = GetHash(pattern, flags); in SetCache()
H A Dregexp_parser_cache.h40 size_t GetHash(EcmaString *pattern, const uint32_t flags);
/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_hash_array.cpp51 if (nextNode->GetHash() == hashValue && JSTaggedValue::SameValue(key, nextNode->GetKey())) { in GetNode()
72 return NewLinkedNode(thread, treeNode->GetHash().GetInt(), key, value); in CreateLinkedNodeFrom()
86 return NewTreeNode(thread, linkedNode->GetHash().GetInt(), key, value); in CreateTreeNodeFrom()
122 int newhash = (node->GetHash().GetInt()) & (newCapacity - 1); in Resize()
142 if (((LinkedNode::Cast(nodeVa.GetTaggedObject())->GetHash().GetInt()) & oldCapacity) == 0) { in NodeDisperse()
188 if (root->GetHash().GetInt() == hash && (!key->IsHole() && in SetVal()
228 if (head->GetHash().GetInt() == hash && (!key.IsHole() && JSTaggedValue::SameValue(key, newKey))) { in RemoveNode()
237 if (nodeNext->GetHash().GetInt() == hash && (!key.IsHole() && JSTaggedValue::SameValue(key, newKey))) { in RemoveNode()
H A Dtagged_node.cpp31 rootNode.Update(RBTreeNode::Set(thread, rootNode, next->GetHash().GetInt(), key, value)); in Treeing()
95 if ((static_cast<uint32_t>(linkedNode->GetHash().GetInt()) & static_cast<uint32_t>(bit)) == 0) { in InOrderTraverse()
189 int cmp = Compare(hash, key.GetTaggedValue(), treeNode->GetHash().GetInt(), treeNodeKey.GetTaggedValue()); in Set()
348 int cmp = Compare(hash, key, treeNode->GetHash().GetInt(), treeNodeKey); in Delete()
362 cmp = Compare(hash, key, treeNode->GetHash().GetInt(), treeNodeKey); in Delete()
374 cmp = Compare(hash, key, treeNode->GetHash().GetInt(), treeNodeKey); in Delete()
385 treeNode->SetHash(thread, minNode->GetHash()); in Delete()
419 if (root->GetHash().GetInt() == hash && (!currentKey->IsHole() && JSTaggedValue::SameValue(key, currentKey))) { in GetTreeNode()
H A Dtagged_node.h69 int32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash(); in Hash()
/arkcompiler/runtime_core/static_core/runtime/dprofiler/
H A Ddprofiler.cpp59 static uint64_t GetHash() in GetHash() function
68 MakePandaUnique<dprof::ProfilingData>(appName.data(), GetHash(), os::thread::GetCurrentThreadId())), in DProfiler()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dmark_word_test.cpp85 uint32_t GetHash() in GetHash() function in ark::MarkWordTest::RandomTestValuesGetter
127 uint32_t GetHash() const in GetHash() function in ark::MarkWordTest::MaxTestValuesGetter
188 ASSERT_EQ(mw_.GetHash(), hash) << " seed = " << paramGetter_.GetSeed(); in CheckHashed()
237 auto hash = paramGetter_.GetHash(); in DecodeAndCheckHashed()
467 auto hash = paramGetter.GetHash(); in CheckMarkingWithGC()
522 auto hash = paramGetter.GetHash(); in CheckReadBarrierSet()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dfast_json_stringifier.h113 size_t index = GetHash(hclass, numOfKeys); in FindCache()
132 size_t index = GetHash(hclass, numOfKeys); in SetCache()
144 inline size_t GetHash(JSHClass *hclass, size_t numOfKeys) in GetHash() function in panda::ecmascript::base::FastJsonStringifier
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dhash_stub_builder.h33 GateRef GetHash(GateRef key);
H A Dhash_stub_builder.cpp20 GateRef HashStubBuilder::GetHash(GateRef key) in GetHash() function in panda::ecmascript::kungfu::HashStubBuilder
/arkcompiler/runtime_core/static_core/runtime/
H A Dobject_header.cpp104 return mark.GetHash(); in GetHashCodeMTSingle()
107 return mark.GetHash(); in GetHashCodeMTSingle()
151 return mark.GetHash(); in GetHashCodeMTMulti()
H A Dmark_word.cpp36 uint32_t MarkWord::GetHash() const in GetHash() function in ark::MarkWord
H A Dmark_word.h305 PANDA_PUBLIC_API uint32_t GetHash() const;
/arkcompiler/runtime_core/static_core/dprof/libstorage/dprof/
H A Dstorage.h44 uint64_t GetHash() const in GetHash() function in ark::dprof::AppData
H A Dstorage.cpp132 std::string fileName = MakeAppPath(appData.GetName(), appData.GetHash(), appData.GetPid()); in SaveAppData()
/arkcompiler/toolchain/tooling/base/
H A Dpt_script.h65 const std::string &GetHash() const in GetHash() function in panda::ecmascript::tooling::PtScript
/arkcompiler/toolchain/tooling/test/
H A Ddebugger_script_test.cpp86 ASSERT_EQ(script->GetHash(), "111"); in HWTEST_F_L0()
/arkcompiler/runtime_core/libpandabase/mem/
H A Dalloc_tracker.cpp226 size_t GetHash() const in WriteStacks() function in panda::Key
239 return k.GetHash(); in WriteStacks()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Dalloc_tracker.cpp226 size_t GetHash() const in WriteStacks() function in ark::Key
239 return k.GetHash(); in WriteStacks()
/arkcompiler/runtime_core/static_core/dprof/converter/features/
H A Dhotness_counters.h61 HCountersInfo {appData.GetName(), appData.GetHash(), appData.GetPid(), std::move(methodsList)});
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dtagged_hash_array_test.cpp64 EXPECT_EQ(linkedNode->GetHash().GetInt(), keyHash); in HWTEST_F_L0()
351 int hash = hashTreeNode->GetHash().GetInt(); in IsVaildRBTree()
354 int cmp = RBTreeNode::Compare(leftTreeNode->GetHash().GetInt(), leftTreeNode->GetKey(), hash, treeNodeKey); in IsVaildRBTree()
361 int cmp = RBTreeNode::Compare(rightTreeNode->GetHash().GetInt(), rightTreeNode->GetKey(), hash, treeNodeKey); in IsVaildRBTree()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dlinked_hashtable_stub_builder.cpp78 GateRef hash = hashBuilder.GetHash(*key); in Rehash()
529 GateRef hash = hashBuilder.GetHash(key); in Insert()
576 GateRef hash = hashBuilder.GetHash(key); in Delete()
606 GateRef hash = hashBuilder.GetHash(key); in Has()
740 GateRef hash = hashBuilder.GetHash(key); in Get()
/arkcompiler/runtime_core/libpandafile/
H A Dfile_item_container.h506 size_t GetHash() const in GetHash() function in panda::panda_file::ItemContainer::ProtoKey
527 return key.GetHash();
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dfile_item_container.h474 size_t GetHash() const in GetHash() function in ark::panda_file::ItemContainer::ProtoKey
495 return key.GetHash();
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_object.h202 return GetMark().GetHash(); in GetInteropHash()

Completed in 20 milliseconds

12