Home
last modified time | relevance | path

Searched full:head (Results 1 – 25 of 205) sorted by relevance

123456789

/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
Dlock_free_queue.cpp53 Node *head = head_.load(std::memory_order_acquire); in Pop() local
57 Node *next = head->next.load(std::memory_order_acquire); in Pop()
60 if (head != head2) { in Pop()
63 if (head == tail) { in Pop()
74 if (head_.compare_exchange_weak(head, newHead)) { in Pop()
75 delete head; in Pop()
86 Node *head = head_.load(std::memory_order_acquire); in FindValue() local
91 ASSERT(head != nullptr); in FindValue()
93 if (head->data == nullptr) { in FindValue()
94 if (head == tail) { in FindValue()
[all …]
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/component/sheet/
DTabPaneApSummary.html.js21 .tab-summary-head {
43 .head-label, .head-count {
72 <div class="tab-summary-head">
78 <label class="head-label" style="cursor: pointer;">ModuleName</label>
79 <label class="head-label" style="cursor: pointer;">->FunctionName</label>
80 <label class="head-label" style="cursor: pointer;">->Offset</label>
81 <label class="head-label" style="cursor: pointer;">->Type</label>
83 <label class="head-count">isRoot</label>
84 <label class="head-count">Kind</label>
85 <label class="head-count">abcId</label>
[all …]
/arkcompiler/ets_runtime/common_components/mutator/
Dsatb_buffer.h60 BaseObject** head = container_; in GetObjects() local
61 while (head != top_) { in GetObjects()
62 stack.push_back(*head); in GetObjects()
63 head++; in GetObjects()
216 TreapNode* head = retiredNodes_.PopAll(); in Init() local
217 while (head != nullptr) { in Init()
218 TreapNode* oldHead = head; in Init()
219 head = head->next_; in Init()
239 TreapNode* head = retiredNodes_.PopAll(); in GetRetiredObjects() local
240 while (head != nullptr) { in GetRetiredObjects()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dadjust_arefs.cpp97 auto head = heads_.back(); in ProcessArrayUses() local
99 ASSERT(IsRefAdjustable(head)); in ProcessArrayUses()
100 ASSERT(head->IsMarked(worksetMarker_)); in ProcessArrayUses()
101 ASSERT(head->GetBasicBlock() != nullptr); in ProcessArrayUses()
102 loop_ = head->GetBasicBlock()->GetLoop(); in ProcessArrayUses()
106 ASSERT(!head->GetBasicBlock()->IsMarked(blockProcessed_)); in ProcessArrayUses()
107 WalkChainDown(head->GetBasicBlock(), head, head); in ProcessArrayUses()
109 ProcessChain(head); in ProcessArrayUses()
116 * instruction and thus cannot be merged with it. In both cases "head" can potentially be
129 /* Add instructions which can be merged with head to insts_to_replace_
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Daligned_struct.h27 using Head = T;
34 using Head = T;
55 template<typename Head, typename... Res>
56 struct OffsetAt<0, TypeList<Head, Res...>> {
61 template<size_t index, typename Head, typename... Res>
62 struct OffsetAt<index, TypeList<Head, Res...>> {
63 static_assert(std::is_class<Head>::value);
65 RoundUp(Head::SizeArch64, EAS) + OffsetAt<index - 1, TypeList<Res...>>::OFFSET64;
68 RoundUp(Head::SizeArch32, EAS) + OffsetAt<index - 1, TypeList<Res...>>::OFFSET32;
/arkcompiler/runtime_core/static_core/plugins/ets/sdk/api/
D@ohos.util.LinkedList.ets58 head?: ListNode<T>;
62 this.head = undefined;
96 this.head = undefined;
107 let currentNode: ListNode<T> | undefined = this.head;
123 let currentNode: ListNode<T> | undefined = this.head;
141 let currentNode: ListNode<T> | undefined = this.head;
167 if (this.head !== undefined) {
168 return this.head!.element;
180 let currentNode: ListNode<T> | undefined = this.head;
227 let currentNode: ListNode<T> | undefined = this.head;
[all …]
/arkcompiler/jsvm/src/
Dmemory_manager.h81 MemoryChunkList() : head(nullptr), freeList(nullptr) in MemoryChunkList()
88 auto* ptr = head; in ~MemoryChunkList()
143 if (head) { in AllocateChunk()
144 newChunk->next = head; in AllocateChunk()
145 head->prev = newChunk; in AllocateChunk()
147 head = newChunk; in AllocateChunk()
181 // chunk is head in FreeChunk()
182 DCHECK(chunk == head); in FreeChunk()
183 head = chunk->next; in FreeChunk()
192 MemoryChunk* head;
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dtest_error_report.json19 "head": { object
37 "head": { object
53 "head": { object
71 "head": { object
89 "head": { object
Dtest_report.json19 "head": { object
37 "head": { object
53 "head": { object
71 "head": { object
/arkcompiler/ets_runtime/ecmascript/tests/
Dlinked_node_test.cpp45 JSHandle<LinkedNode> head(thread, JSTaggedValue::Hole()); in CreateLinkedList() local
52 head = factory->NewLinkedNode(hash, key, value, head); in CreateLinkedList()
54 return head; in CreateLinkedList()
74 JSHandle<LinkedNode> head = CreateLinkedList(); in HWTEST_F_L0() local
75 JSHandle<RBTreeNode> root = LinkedNode::Treeing(thread, head); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/finalreg/
Dfinalization_registry_manager.cpp27 size_t head = 0; in SortInstancies() local
30 while (head < tail) { in SortInstancies()
31 while (head < tail && objArray->Get(head) != nullptr) { in SortInstancies()
32 head++; in SortInstancies()
34 while (head < tail && objArray->Get(tail) == nullptr) { in SortInstancies()
37 if (head < tail) { in SortInstancies()
38 objArray->Set(head, objArray->Get(tail)); in SortInstancies()
/arkcompiler/runtime_core/tests/cts-assembly/
Dobj-13.pa30 # Obj* head = new Obj();
31 # head->data = -1;
32 # head->next = nullptr;
34 # cur = head;
41 # cur = head;
/arkcompiler/runtime_core/static_core/tests/cts-assembly/
Dobj-13.pa30 # Obj* head = new Obj();
31 # head->data = -1;
32 # head->next = nullptr;
34 # cur = head;
41 # cur = head;
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/containers/
DLinkedBlockingQueue.ets144 const val = this.head;
198 const val = this.head;
225 return this.head!.element;
339 if (this.head === undefined) {
340 this.head = this.tail = newNode;
360 if (this.head !== undefined) {
363 this.head = this.head!.next;
364 if (this.head !== undefined) {
365 this.head!.prev = undefined;
367 if (this.head === undefined) {
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe69.md19 let head, tail
20 [head, ...tail] = [1, 2, 3, 4]
38 let head = data[0]
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddebug_inf.cpp45 std::atomic<PCodeItem *> head {nullptr}; member
121 auto *head = metaInfo->head.load(std::memory_order_relaxed); in AddCodeMetaInfoImpl() local
129 codeItem->next.store(head, std::memory_order_relaxed); in AddCodeMetaInfoImpl()
134 if (head != nullptr) { in AddCodeMetaInfoImpl()
135 head->prev = codeItem; in AddCodeMetaInfoImpl()
140 metaInfo->head.store(codeItem, std::memory_order_relaxed); in AddCodeMetaInfoImpl()
168 metaInfo->head.store(next, std::memory_order_relaxed); in DelCodeMetaInfoImpl()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/xgc/
Dmark_test_cross.js66 let head = Promise.resolve();
67 let tail = head;
73 res.headJsObj = head;
104 let head = Promise.resolve();
106 gObj.ref = head;
108 let temp = head;
123 result.headJsObj = head;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/ets_proxy/
Dcheck_proxy_objects.js57 let head = new ListNode(0); variable
58 head.next = new ListNode(1, new ListNode(2, new ListNode(3, head)));
60 for (let n = head, i = 0; i < 256; ++i, n = n.next) {
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/src/
Dmempool.cpp185 MemBlock **head = nullptr; in AllocNewMemBlock() local
188 head = &fixedMemHead; in AllocNewMemBlock()
190 head = &bigMemHead; in AllocNewMemBlock()
193 newMemBlock->nextMemBlock = *head; in AllocNewMemBlock()
194 *head = newMemBlock; in AllocNewMemBlock()
265 MemBlock **head = nullptr; in AllocTailMemBlock() local
270 head = &fixedMemHead; in AllocTailMemBlock()
274 head = &bigMemHead; in AllocTailMemBlock()
282 *head = newMemBlock; in AllocTailMemBlock()
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/
Dindex.html3 <head>
20 </head>
/arkcompiler/ets_frontend/arkguard/tools/memory-line-viewer/
Dindex.html3 <head>
11 </head>
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/utils/
Dsp_sc_lock_free_queue.h62 auto head = head_.load(std::memory_order_relaxed); in ~SPSCLockFreeQueue() local
63 DeleteQueueNode(head); in ~SPSCLockFreeQueue()
93 auto *head = head_.load(std::memory_order_relaxed); in TryPop() local
104 auto *nextHead = head->next.load(std::memory_order_relaxed); in TryPop()
108 DeleteQueueNode(head); in TryPop()
111 *val = std::move(head->buffer[GetNodeIndex(popIndex)]); in TryPop()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_finalizable_weak_ref_list.h31 auto *head = GetHead(); in Push() local
32 if (head == nullptr) { in Push()
36 head->SetPrev(coro, weakRef); in Push()
37 weakRef->SetNext(coro, head); in Push()
/arkcompiler/ets_frontend/arkguard/test/grammar/export_obfuscation/
Dexport_obfuscation_3_expected.txt17 this.head = false;
20 if (!this.head) {
Dexport_obfuscation_3.js18 this.head = false;
21 if (!this.head) {

123456789