Home
last modified time | relevance | path

Searched refs:NodeList (Results 1 – 2 of 2) sorted by relevance

/ark/js_runtime/ecmascript/
Decma_global_storage.h32 topGlobalNodes_ = lastGlobalNodes_ = allocator_->New<NodeList>(false); in EcmaGlobalStorage()
33 topWeakGlobalNodes_ = lastWeakGlobalNodes_ = allocator_->New<NodeList>(true); in EcmaGlobalStorage()
38 NodeList *next = topGlobalNodes_; in ~EcmaGlobalStorage()
39 NodeList *current = nullptr; in ~EcmaGlobalStorage()
119 class NodeList {
121 NodeList(bool isWeak) : isWeak_(isWeak) in NodeList() function
127 ~NodeList() = default;
129 inline static NodeList *NodeToNodeList(Node *node);
135 inline void LinkTo(NodeList *prev);
158 inline void SetNext(NodeList *next) in SetNext()
[all …]
Decma_global_storage-inl.h21 inline EcmaGlobalStorage::NodeList *EcmaGlobalStorage::NodeList::NodeToNodeList( in NodeToNodeList()
25 return reinterpret_cast<NodeList *>(ptr); in NodeToNodeList()
28 EcmaGlobalStorage::Node *EcmaGlobalStorage::NodeList::NewNode(JSTaggedType value) in NewNode()
46 void EcmaGlobalStorage::NodeList::FreeNode(EcmaGlobalStorage::Node *node) in FreeNode()
68 EcmaGlobalStorage::Node *EcmaGlobalStorage::NodeList::GetFreeNode(JSTaggedType value) in GetFreeNode()
87 void EcmaGlobalStorage::NodeList::LinkTo(NodeList *prev) in LinkTo()
94 void EcmaGlobalStorage::NodeList::RemoveList() in RemoveList()
110 uintptr_t EcmaGlobalStorage::NewGlobalHandleImplement(NodeList **storage, NodeList **freeList, in NewGlobalHandleImplement()
115 auto block = allocator_->New<NodeList>(isWeak); in NewGlobalHandleImplement()
152 NodeList *list = NodeList::NodeToNodeList(node); in DisposeGlobalHandle()
[all …]