Home
last modified time | relevance | path

Searched refs:head_ (Results 1 - 25 of 28) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/base/
H A Ddepend_chain_helper.cpp24 head_ = head_->next; in Merge()
28 auto lhs = this->head_; in Merge()
29 auto rhs = that->head_; in Merge()
41 head_ = lhs; in Merge()
52 auto lhs = this->head_; in Equals()
53 auto rhs = that->head_; in Equals()
67 Node* node = chunk_->New<Node>(gate, head_); in UpdateNode()
70 that->head_ = node; in UpdateNode()
H A Ddepend_chain_helper.h64 head_ = other->head_; in CopyFrom()
70 return head_->gate; in GetHeadGate()
75 return DependChainIterator(head_); in begin()
84 Node *head_{nullptr};
/arkcompiler/runtime_core/libpandabase/utils/
H A Dlist.h148 head_ = other.head_;
149 other.head_ = nullptr;
156 head_ = other.head_;
157 other.head_ = nullptr;
163 return Iterator(&head_); in before_begin()
168 return ConstIterator(&head_); in before_begin()
173 return Iterator(head_.next_); in begin()
178 return ConstIterator(head_ in begin()
344 ListNode head_; global() member
616 DListNode head_; global() member in DList
[all...]
H A Dring_buffer.h185 buffer_[head_] = value; in push_front()
208 buffer_[head_] = value_type(std::forward<Args>(args)...); in emplace_front()
209 return buffer_[head_]; in emplace_front()
230 buffer_[head_].~value_type(); in pop_front()
232 increment_buffer_index(head_); in pop_front()
241 return iterator(&buffer_, head_);
257 return const_iterator(&buffer_, head_);
341 return buffer_[head_];
349 return buffer_[head_];
370 return buffer_[(head_
430 increment_buffer_index(head_); global() variable
438 decrement_buffer_index(head_); global() variable
457 size_type head_ = 0U; global() member in panda::RingBuffer
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dlist.h144 head_ = other.head_;
145 other.head_ = nullptr;
152 head_ = other.head_;
153 other.head_ = nullptr;
159 return Iterator(&head_); in before_begin()
164 return ConstIterator(&head_); in before_begin()
169 return Iterator(head_.next_); in begin()
174 return ConstIterator(head_ in begin()
332 ListNode head_; global() member
603 DListNode head_; global() member in DList
[all...]
H A Dring_buffer.h189 buffer_[head_] = value; in push_front()
212 buffer_[head_] = value_type(std::forward<Args>(args)...); in emplace_front()
213 return buffer_[head_]; in emplace_front()
230 buffer_[head_].~value_type(); in pop_front()
232 IncrementBufferIndex(head_); in pop_front()
239 return iterator(&buffer_, head_);
251 return const_iterator(&buffer_, head_);
315 return buffer_[head_];
321 return buffer_[head_];
338 return buffer_[(head_
388 IncrementBufferIndex(head_); global() variable
396 DecrementBufferIndex(head_); global() variable
415 size_type head_ = 0U; global() member in ark::RingBuffer
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_waiters_list.h91 if (head_ == nullptr && !RestockQueue()) { in TryPopFront()
94 *node = std::exchange(head_, head_->next_); in TryPopFront()
100 ASSERT(head_ == nullptr); in RestockQueue()
105 newHead->next_ = std::exchange(head_, newHead); in RestockQueue()
107 return head_ != nullptr; in RestockQueue()
111 alignas(alignof(EtsLong)) Node *head_; member in ark::ets::EtsWaitersList
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
H A Dlock_free_queue.cpp53 Node *head = head_.load(std::memory_order_acquire); in Pop()
59 Node *head2 = head_.load(std::memory_order_acquire); in Pop()
74 if (head_.compare_exchange_weak(head, newHead)) { in Pop()
86 Node *head = head_.load(std::memory_order_acquire); in FindValue()
H A Dlock_free_queue.h31 head_.store(dummyNode, std::memory_order_relaxed); in LockFreeQueue()
43 delete head_; in ~LockFreeQueue()
77 std::atomic<Node *> head_; member in ark::tooling::sampler::LockFreeQueue
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/utils/
H A Dsp_sc_lock_free_queue.h54 head_.store(node, std::memory_order_release); in SPSCLockFreeQueue()
85 auto *head = head_.load(std::memory_order_acquire); in Pop()
100 head_.store(nextHead, std::memory_order_release); in Pop()
130 ASSERT(head_ == tail_); in ~SPSCLockFreeQueue()
132 auto head = head_.load(std::memory_order_acquire); in ~SPSCLockFreeQueue()
157 alignas(ark::COHERENCY_LINE_SIZE) std::atomic<QueueNode *> head_ = {nullptr}; member in ark::taskmanager::internal::SPSCLockFreeQueue
H A Dsp_mc_lock_free_queue.h205 if (LIKELY(head_.compare_exchange_strong(currentHead, nextHead, std::memory_order_acq_rel))) { in CompareAndSetNextHead()
218 alignas(ark::COHERENCY_LINE_SIZE) std::atomic<NodePtr> head_ {nullptr};
234 head_.store(node, std::memory_order_release); in SPMCLockFreeQueue()
247 auto head = head_.load(std::memory_order_acquire); in ~SPMCLockFreeQueue()
337 auto *currentHead = LoadAtomicPtr(head_);
348 // Check if need to change head_.
360 // Else we can assume that pop_index was moved but head_ may still be old one, we should check it
362 // Help to change head_ to a new one and return it's first element
/arkcompiler/runtime_core/static_core/runtime/
H A Dmonitor.h40 return head_ == nullptr; in Empty()
45 return *head_; in Front()
56 std::swap(head_, other.head_); in Swap()
63 head_ = nullptr; in Clear()
70 T *head_ {nullptr};
H A Dmonitor.cpp40 auto prev = head_; in RemoveIf()
41 for (auto current = head_; current != nullptr; current = current->GetNextWait()) { in RemoveIf()
57 head_ = other.head_; in Splice()
59 T *last = head_; in Splice()
62 last->SetWaitNext(other.head_); in Splice()
70 if (current == head_) { in EraseAfter()
71 head_ = current->GetNextWait(); in EraseAfter()
80 head_ = head_ in PopFront()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dearly_elimination.cpp480 auto lhs = this->head_; in Merge()
481 auto rhs = that->head_; in Merge()
501 this->head_ = lhs; in Merge()
504 Node* node = chunk_->New<Node>(gateStack.top(), head_); in Merge()
507 this->head_ = node; in Merge()
522 auto lhs = this->head_; in Equals()
523 auto rhs = that->head_; in Equals()
541 for (Node* node = head_; node != nullptr; node = node->next) { in LookupCheckedNode()
552 for (Node* node = head_; node != nullptr; node = node->next) { in GetGates()
563 for (Node* node = head_; nod in LookupNode()
[all...]
H A Dearly_elimination.h43 head_ = other->head_; in CopyFrom()
55 Node *head_{nullptr};
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dhumongous_obj_allocator-inl.h353 if (head_ == pool) { in Pop()
354 head_ = pool->GetNext(); in Pop()
355 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "It was a pointer to list head. Change head to " << std::hex << head_; in Pop() local
364 if (head_ != nullptr) { in Insert()
365 head_->SetPrev(pool); in Insert()
369 pool->SetNext(head_); in Insert()
371 head_ = pool; in Insert()
379 MemoryPoolHeader *curPool = head_; in FindSuitablePool()
394 MemoryPoolHeader *curPool = head_; in IsInThisList()
409 MemoryPoolHeader *currentPool = head_; in IterateAndPopOverPools()
[all...]
H A Drunslots_allocator.h176 head_ = nullptr; in RunSlotsList()
187 return head_; in GetHead()
205 RunSlotsType *current = head_; in IsInThisList()
221 RunSlotsType *head_; member in ark::mem::RunSlotsAllocator::RunSlotsList
H A Dhumongous_obj_allocator.h251 return head_; in GetListHead()
257 MemoryPoolHeader *head_ {nullptr};
H A Drunslots_allocator-inl.h420 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << " List was empty, setup head_ and tail_"; in PushToTail()
421 // this means that head_ == nullptr too in PushToTail()
422 head_ = runslots; in PushToTail()
437 if (UNLIKELY(head_ == nullptr)) { in PopFromHead()
441 RunSlotsType *headRunslots = head_; in PopFromHead()
443 head_ = headRunslots->GetNextRunSlots(); in PopFromHead()
444 if (head_ == nullptr) { in PopFromHead()
449 head_->SetPrevRunSlots(nullptr); in PopFromHead()
470 head_ = nullptr; in PopFromTail()
482 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "head_ in PopFromList() local
[all...]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_sampling.cpp29 samplingInfo_->head_.callFrameInfo_.functionName_ = "(root)"; in HeapSampling()
30 samplingInfo_->head_.id_ = CreateNodeId(); in HeapSampling()
43 CalNodeSelfSize(&samplingInfo_->head_); in GetAllocationProfile()
172 SamplingNode *node = &(samplingInfo_->head_); in PushAndGetNode()
H A Dheap_sampling.h54 struct SamplingNode head_; member
/arkcompiler/toolchain/tooling/test/
H A Dpt_types_test.cpp858 samplingInfo.head_.selfSize_ = 0; in HWTEST_F_L0()
859 samplingInfo.head_.id_ = 0; in HWTEST_F_L0()
860 samplingInfo.head_.callFrameInfo_.codeType_ = "codetype"; in HWTEST_F_L0()
861 samplingInfo.head_.callFrameInfo_.columnNumber_ = 21; in HWTEST_F_L0()
862 samplingInfo.head_.callFrameInfo_.functionName_ = "TestSampling"; in HWTEST_F_L0()
863 samplingInfo.head_.callFrameInfo_.lineNumber_ = 221; in HWTEST_F_L0()
864 samplingInfo.head_.callFrameInfo_.scriptId_ = 1; in HWTEST_F_L0()
865 samplingInfo.head_.callFrameInfo_.url_ = "url"; in HWTEST_F_L0()
872 ASSERT_TRUE(selfSize == samplingInfo.head_.selfSize_); in HWTEST_F_L0()
874 ASSERT_TRUE(id == samplingInfo.head_ in HWTEST_F_L0()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
H A Dets_sync_primitives_test.cpp60 return std::vector<MirrorFieldInfo> {MIRROR_FIELD_INFO(EtsWaitersList, head_, "head"), in GetWaitersListMembers()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
H A Dheap_sampling_test.cpp88 EXPECT_TRUE(result->head_.callFrameInfo_.functionName_ == "(root)"); in HWTEST_F_L0()
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dinst.h515 explicit UserList(PointerType head) : head_(head) {}
520 return Iterator(*head_);
530 return ConstIterator(*head_);
539 return *head_ == nullptr;
543 return **head_;
547 return **head_;
551 PointerType head_ {nullptr};

Completed in 17 milliseconds

12