Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/runtime/
Dhandle_storage-inl.h36 uint32_t nid = lastIndex_ >> NODE_BLOCK_SIZE_LOG2; in NewHandle() local
38 if (nodes_.size() <= nid) { in NewHandle()
42 auto node = nodes_[nid]; in NewHandle()
56 uint32_t nid = lastIndex_ >> NODE_BLOCK_SIZE_LOG2; in FreeHandles() local
58 nid++; in FreeHandles()
59 for (size_t i = nid; i < nodes_.size(); ++i) { in FreeHandles()
62 if (nid < nodes_.size()) { in FreeHandles()
63 nodes_.erase(nodes_.begin() + nid, nodes_.end()); in FreeHandles()
70 uint32_t nid = lastIndex_ >> NODE_BLOCK_SIZE_LOG2; in ZapFreedHandles() local
72 for (size_t i = nid; i < nodes_.size(); ++i) { in ZapFreedHandles()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Decma_context.cpp806 int32_t nid = currentHandleStorageIndex_; in Iterate() local
807 for (int32_t i = 0; i <= nid; ++i) { in Iterate()
810 auto end = (i != nid) ? &(node->data()[NODE_BLOCK_SIZE]) : handleScopeStorageNext_; in Iterate()
826 int32_t nid = currentHandleStorageIndex_; in IterateHandle() local
827 for (int32_t i = 0; i <= nid; ++i) { in IterateHandle()
830 auto end = (i != nid) ? &(node->data()[NODE_BLOCK_SIZE]) : handleScopeStorageNext_; in IterateHandle()