/arkcompiler/ets_runtime/ecmascript/ |
D | tagged_hash_array.cpp | 54 LinkedNode *nextNode = LinkedNode::Cast(nextNodeVa.GetTaggedObject()); in GetNode() 64 JSHandle<LinkedNode> TaggedHashArray::NewLinkedNode(JSThread *thread, int hash, JSHandle<JSTaggedVa… in NewLinkedNode() 68 JSHandle<LinkedNode> hole(thread, JSTaggedValue::Hole()); in NewLinkedNode() 72 JSHandle<LinkedNode> TaggedHashArray::CreateLinkedNodeFrom(JSThread *thread, JSHandle<RBTreeNode> t… in CreateLinkedNodeFrom() 86 JSHandle<RBTreeNode> TaggedHashArray::CreateTreeNodeFrom(JSThread *thread, JSHandle<LinkedNode> lin… in CreateTreeNodeFrom() 99 JSHandle<LinkedNode> node(thread, nodeVa); in TreeingBin() 100 JSHandle<RBTreeNode> root = LinkedNode::Treeing(thread, node); in TreeingBin() 123 LinkedNode *node = LinkedNode::Cast(oldValue.GetTaggedValue().GetTaggedObject()); in Resize() 144 next = LinkedNode::Cast(nodeVa.GetTaggedObject())->GetNext(); in NodeDisperse() 145 if (((LinkedNode::Cast(nodeVa.GetTaggedObject())->GetHash().GetInt()) & oldCapacity) == 0) { in NodeDisperse() [all …]
|
D | tagged_node.h | 87 class LinkedNode : public TaggedNode { 90 JSHandle<JSTaggedValue> value, JSHandle<LinkedNode> next) in InitLinkedNode() 96 static LinkedNode *Cast(TaggedObject *object) in Cast() 99 return static_cast<LinkedNode *>(object); in Cast() 110 static JSHandle<RBTreeNode> Treeing(JSThread *thread, const JSHandle<LinkedNode> &head); 116 JSHandle<LinkedNode> lowerHead; 117 JSHandle<LinkedNode> lowerTail; 118 JSHandle<LinkedNode> higherHead; 119 JSHandle<LinkedNode> higherTail; 147 JSHandle<LinkedNode> &head, JSHandle<LinkedNode> &tail); [all …]
|
D | tagged_node.cpp | 22 JSHandle<RBTreeNode> LinkedNode::Treeing(JSThread *thread, const JSHandle<LinkedNode> &head) in Treeing() 25 JSMutableHandle<LinkedNode> next(thread, head); in Treeing() 58 JSHandle<LinkedNode> &head, JSHandle<LinkedNode> &tail) in InOrderTraverse() 63 JSHandle<LinkedNode> linkedNode = TaggedHashArray::CreateLinkedNodeFrom(thread, treeNode); in InOrderTraverse() 75 JSHandle<LinkedNode> RBTreeNode::Detreeing(JSThread *thread, const JSHandle<RBTreeNode> &root) in Detreeing() 77 JSHandle<LinkedNode> head(thread, JSTaggedValue::Hole()); in Detreeing() 78 JSHandle<LinkedNode> tail(thread, JSTaggedValue::Hole()); in Detreeing() 92 JSHandle<LinkedNode> linkedNode = TaggedHashArray::CreateLinkedNodeFrom(thread, treeNode); in InOrderTraverse() 120 LinkedNodeStruct nodeStruct {JSHandle<LinkedNode>(thread, JSTaggedValue::Hole()), in Divide() 121 JSHandle<LinkedNode>(thread, JSTaggedValue::Hole()), in Divide() [all …]
|
D | tagged_hash_array.h | 44 … static JSHandle<LinkedNode> NewLinkedNode(JSThread *thread, int hash, JSHandle<JSTaggedValue> key, 46 … static JSHandle<LinkedNode> CreateLinkedNodeFrom(JSThread *thread, JSHandle<RBTreeNode> treeNode); 49 … static JSHandle<RBTreeNode> CreateTreeNodeFrom(JSThread *thread, JSHandle<LinkedNode> linkedNode);
|
D | object_factory.h | 119 class LinkedNode; variable 628 JSHandle<LinkedNode> NewLinkedNode(int hash, const JSHandle<JSTaggedValue> &key, 630 const JSHandle<LinkedNode> &next);
|
D | global_env_constants.cpp | 291 factory->NewEcmaHClass(hClass, LinkedNode::SIZE, JSType::LINKED_NODE)); in InitRootsClass()
|
D | dump.cpp | 1112 LinkedNode::Cast(obj)->Dump(os); in DumpObject() 1605 void LinkedNode::Dump(std::ostream &os) const in Dump() 4227 LinkedNode::Cast(obj)->DumpForSnapshot(vec); in DumpObject() 4573 LinkedNode *node = LinkedNode::Cast(value.GetTaggedObject()); in DumpForSnapshot() 4760 void LinkedNode::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot() 4764 LinkedNode *nextNode = LinkedNode::Cast(next.GetTaggedObject()); in DumpForSnapshot()
|
D | global_env_constants.h | 119 …V(JSTaggedValue, LinkedNode, LINKED_NODE_CLASS_INDEX, ecma_roots_class) …
|
D | object_factory.cpp | 2681 JSHandle<LinkedNode> ObjectFactory::NewLinkedNode(int hash, const JSHandle<JSTaggedValue> &key, in NewLinkedNode() 2683 const JSHandle<LinkedNode> &next) in NewLinkedNode() 2688 JSHClass::Cast(globalConst->GetLinkedNode().GetTaggedObject()), LinkedNode::SIZE); in NewLinkedNode() 2689 JSHandle<LinkedNode> node(thread_, header); in NewLinkedNode()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | linked_node_test.cpp | 62 JSHandle<LinkedNode> CreateLinkedList() in CreateLinkedList() 69 JSHandle<LinkedNode> head(thread, JSTaggedValue::Hole()); in CreateLinkedList() 90 JSHandle<LinkedNode> hole(thread, JSTaggedValue::Hole()); in HWTEST_F_L0() 91 JSHandle<LinkedNode> newNode = factory->NewLinkedNode(hash, key, value, hole); in HWTEST_F_L0() 98 JSHandle<LinkedNode> head = CreateLinkedList(); in HWTEST_F_L0() 99 JSHandle<RBTreeNode> root = LinkedNode::Treeing(thread, head); in HWTEST_F_L0()
|
D | rb_tree_node_test.cpp | 188 for (JSHandle<LinkedNode> node = JSHandle<LinkedNode>(thread, loNode); in HWTEST_F_L0() 190 node = JSHandle<LinkedNode>(thread, node->GetNext())) { in HWTEST_F_L0() 199 for (JSHandle<LinkedNode> node = JSHandle<LinkedNode>(thread, hiNode); in HWTEST_F_L0() 201 node = JSHandle<LinkedNode>(thread, node->GetNext())) { in HWTEST_F_L0() 229 JSHandle<LinkedNode> head = RBTreeNode::Detreeing(thread, rootNode); in HWTEST_F_L0() 232 for (; !head.GetTaggedValue().IsHole(); head = JSHandle<LinkedNode>(thread, head->GetNext())) { in HWTEST_F_L0()
|
D | tagged_hash_array_test.cpp | 82 JSHandle<LinkedNode> linkedNode = in HWTEST_F_L0() 149 JSHandle<LinkedNode> hashNode(thread, hashNodeVal); in HWTEST_F_L0() 338 JSHandle<LinkedNode> hashNode(thread, taggedHashArray->Get(hashArrayIndex)); in HWTEST_F_L0()
|
D | dump_test.cpp | 1120 CHECK_DUMP_FIELDS(TaggedObject::TaggedObjectSize(), LinkedNode::SIZE, 4U); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_hashmap.cpp | 69 LinkedNode *p = LinkedNode::Cast(node.GetTaggedObject()); in HasValueLinkedNode() 105 LinkedNode::Cast(nodeVa.GetTaggedObject())->SetValue(thread, newValue); in Replace() 146 return LinkedNode::Cast(node.GetTaggedObject())->GetValue(); in Get() 161 SetAllLinkedNode(thread, dst, JSMutableHandle<LinkedNode>::Cast(node)); in SetAll() 168 …etAllLinkedNode(JSThread *thread, JSHandle<JSAPIHashMap> hashMap, JSMutableHandle<LinkedNode> node) in SetAllLinkedNode() 236 JSHandle<LinkedNode> head = RBTreeNode::Detreeing(thread, root); in Remove()
|
D | js_api_hashmap_iterator.cpp | 104 JSHandle<LinkedNode> prevNode = JSHandle<LinkedNode>::Cast(prevNodeValue); in FastGetCurrentNode()
|
D | js_api_hashset_iterator.cpp | 99 JSHandle<LinkedNode> prevNode = JSHandle<LinkedNode>::Cast(prevNodeValue); in FastGetCurrentNode()
|
D | js_api_hashmap.h | 58 …tAllLinkedNode(JSThread *thread, JSHandle<JSAPIHashMap> hashMap, JSMutableHandle<LinkedNode> node);
|
D | js_api_hashset.cpp | 109 JSHandle<LinkedNode> head = RBTreeNode::Detreeing(thread, root); in Remove()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | containers_stub_builder.cpp | 554 … type == ContainersType::HASHSET_FOREACH ? LinkedNode::KEY_OFFSET : LinkedNode::VALUE_OFFSET)); in ContainersHashCall() 555 key = Load(VariableType::JS_POINTER(), *node, IntPtr(LinkedNode::KEY_OFFSET)); in ContainersHashCall() 566 node = Load(VariableType::JS_POINTER(), *node, IntPtr(LinkedNode::NEXT_OFFSET)); in ContainersHashCall()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | object_xray.h | 585 LinkedNode::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | debugger_api.cpp | 65 using ecmascript::LinkedNode;
|