Home
last modified time | relevance | path

Searched refs:GetHash (Results 1 – 20 of 20) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/regexp/
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()
61 size_t hash = GetHash(pattern, flags); in SetCache()
Dregexp_parser_cache.h40 size_t GetHash(EcmaString *pattern, const uint32_t flags);
/arkcompiler/ets_runtime/ecmascript/
Dtagged_hash_array.cpp56 …if (nextNode->GetHash().GetInt() == hash && (!key.IsHole() && JSTaggedValue::SameValue(key, findKe… in GetNode()
77 return NewLinkedNode(thread, treeNode->GetHash().GetInt(), key, value); in CreateLinkedNodeFrom()
91 return NewTreeNode(thread, linkedNode->GetHash().GetInt(), key, value); in CreateTreeNodeFrom()
126 int newhash = (node->GetHash().GetInt()) & (newCapacity - 1); in Resize()
146 if (((LinkedNode::Cast(nodeVa.GetTaggedObject())->GetHash().GetInt()) & oldCapacity) == 0) { in NodeDisperse()
191 if (root->GetHash().GetInt() == hash && (!key->IsHole() && in SetVal()
231 …if (head->GetHash().GetInt() == hash && (!key.IsHole() && JSTaggedValue::SameValue(key, newKey))) { in RemoveNode()
240 …if (nodeNext->GetHash().GetInt() == hash && (!key.IsHole() && JSTaggedValue::SameValue(key, newKey… in RemoveNode()
Dtagged_node.cpp31 rootNode.Update(RBTreeNode::Set(thread, rootNode, next->GetHash().GetInt(), key, value)); in Treeing()
95 if ((linkedNode->GetHash().GetInt() & bit) == 0) { in InOrderTraverse()
189 …int cmp = Compare(hash, key.GetTaggedValue(), treeNode->GetHash().GetInt(), treeNodeKey.GetTaggedV… in Set()
344 int cmp = Compare(hash, key, treeNode->GetHash().GetInt(), treeNodeKey); in Delete()
357 cmp = Compare(hash, key, treeNode->GetHash().GetInt(), treeNodeKey); in Delete()
367 cmp = Compare(hash, key, treeNode->GetHash().GetInt(), treeNodeKey); in Delete()
375 treeNode->SetHash(thread, minNode->GetHash()); in Delete()
378 …JSTaggedValue tmpValue = Delete(thread, rightChildVa, rightChild->GetHash().GetInt(), key, oldValu… in Delete()
409 …if (root->GetHash().GetInt() == hash && (!currentKey->IsHole() && JSTaggedValue::SameValue(key, cu… in GetTreeNode()
Dtagged_node.h66 int32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash(); in Hash()
Dlinked_hash_table.cpp244 int32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash(); in Hash()
Djs_object.h340 int32_t GetHash() const;
Djs_object.cpp2236 int32_t ECMAObject::GetHash() const in GetHash() function in panda::ecmascript::ECMAObject
/arkcompiler/toolchain/tooling/base/
Dpt_script.h65 const std::string &GetHash() const in GetHash() function
Dpt_events.h373 const std::string &GetHash() const in GetHash() function
625 const std::string &GetHash() const in GetHash() function
/arkcompiler/toolchain/tooling/test/
Ddebugger_script_test.cpp86 ASSERT_EQ(script->GetHash(), "111"); in HWTEST_F_L0()
/arkcompiler/runtime_core/libpandabase/mem/
Dalloc_tracker.cpp226 size_t GetHash() const in WriteStacks() function in panda::DetailAllocTracker::WriteStacks::Key
239 return k.GetHash(); in WriteStacks()
/arkcompiler/runtime_core/libpandafile/
Dfile_item_container.h469 size_t GetHash() const in GetHash() function
490 return key.GetHash(); in operator()
Dfile_item_container.cpp100 uint32_t GetHash() const in GetHash() function in panda::panda_file::ItemDeduper::ItemData
138 return item_data.GetHash(); in operator ()()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.h93 value = script.second->GetHash(); in MatchScripts()
Ddebugger_impl.cpp588 .SetHash(script.GetHash()); in ScriptParsed()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_hash_array_test.cpp100 EXPECT_EQ(linkedNode->GetHash().GetInt(), keyHash); in HWTEST_F_L0()
Djs_object_test.cpp1292 EXPECT_TRUE(obj->GetHash() == 87); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightset.cpp463 uint32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash(); in Hash()
Djs_api_lightweightmap.cpp467 uint32_t hash = ECMAObject::Cast(key.GetTaggedObject())->GetHash(); in Hash()