/arkcompiler/runtime_core/static_core/runtime/ |
H A D | lock_order_graph.cpp | 99 // front contains nodes which have not been explored yet. in CheckNodeForTerminationLoops() 100 PandaList<ThreadId> front = {node}; in CheckNodeForTerminationLoops() local 101 // On each iteration of the loop we take next unexplored node from the front and find all reachable nodes from in CheckNodeForTerminationLoops() 104 while (!front.empty()) { in CheckNodeForTerminationLoops() 105 auto i = front.begin(); in CheckNodeForTerminationLoops() 106 while (i != front.end()) { in CheckNodeForTerminationLoops() 108 i = front.erase(i); in CheckNodeForTerminationLoops() 125 front.clear(); in CheckNodeForTerminationLoops() 129 front.push_back(nextNode); in CheckNodeForTerminationLoops()
|
H A D | compiler_queue_simple.h | 38 auto task = std::move(queue_.front());
|
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
H A D | liveness_analyzer.h | 122 // [live_range],[front] in AppendRange() 123 if (live_ranges_.empty() || live_range.GetEnd() < live_ranges_.front().GetBegin()) { in AppendRange() 127 * [front] in AppendRange() 129 * [ front ] in AppendRange() 131 } else if (live_range.GetEnd() <= live_ranges_.front().GetEnd()) { in AppendRange() 132 live_ranges_.front().SetBegin(live_range.GetBegin()); in AppendRange() 135 * [front] in AppendRange() 137 * [ front ] in AppendRange() 139 } else if (!live_ranges_.front().Contains(live_range)) { in AppendRange() 140 ASSERT(live_ranges_.front() in AppendRange() [all...] |
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_queue.cpp | 42 uint32_t front = obj->GetFront(); in GrowCapacity() local 51 } else if ((tail + 1) % oldLength == front) { in GrowCapacity() 53 newElements = thread->GetEcmaVM()->GetFactory()->CopyQueue(oldElements, newCapacity, front, tail); in GrowCapacity() 54 front = 0; in GrowCapacity() 61 obj->SetFront(front); in GrowCapacity() 88 uint32_t front = queue->GetFront(); in Pop() local 90 JSTaggedValue value = elements->Get(front); in Pop() 94 queue->SetFront((front + 1) % elementsSize); in Pop() 113 uint32_t front = GetCurrentFront(); in Get() local 115 uint32_t curIndex = (front in Get() 164 uint32_t front = obj->GetFront(); OwnKeys() local 183 uint32_t front = obj->GetFront(); OwnEnumKeys() local [all...] |
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | ring_buffer_test.cpp | 43 ASSERT_EQ(buffer.front(), 0U); in TEST() 61 ASSERT_EQ(buffer.front(), 1U); in TEST() 95 ASSERT_EQ(buffer.front(), 0U); in TEST() 106 ASSERT_EQ(buffer.front(), 0U); in TEST() 115 ASSERT_EQ(buffer.front(), 1U); in TEST()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | ring_buffer_test.cpp | 43 ASSERT_EQ(buffer.front(), 0U); in TEST() 61 ASSERT_EQ(buffer.front(), 1U); in TEST() 95 ASSERT_EQ(buffer.front(), 0U); in TEST() 106 ASSERT_EQ(buffer.front(), 0U); in TEST() 115 ASSERT_EQ(buffer.front(), 1U); in TEST()
|
/arkcompiler/toolchain/tooling/client/manager/ |
H A D | message_manager.h | 50 sessionId = messageQue_.front().first; in MessagePop() 51 message = messageQue_.front().second; in MessagePop()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | balance_expressions.cpp | 91 * By the end of the algorithm, `operators_.front()` points to the first instruction in expression and 92 * `operators_.back()` points to the last (`operators_.front()` dominates `operators_.back()`). 100 operators_.front()->SetNext(operators_[1]); in OptimizeExpression() 108 GetBB()->AppendRangeInst(operators_.front(), operators_.back()); in OptimizeExpression() 110 GetBB()->InsertRangeBefore(operators_.front(), operators_.back(), instAfterExpr); in OptimizeExpression() 118 Inst *instToContinueCycle = operators_.front(); in OptimizeExpression() 127 * (`operators_.front()` is the first, `operators_.back()` is the last).
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | runtime_notification.h | 405 auto *listener = monitorListeners_.front(); in MonitorWaitEvent() 418 auto *listener = monitorListeners_.front(); in MonitorWaitedEvent() 420 monitorListeners_.front()->MonitorWaited(object, timedOut); in MonitorWaitedEvent() 431 auto *listener = monitorListeners_.front(); in MonitorContendedEnterEvent() 433 monitorListeners_.front()->MonitorContendedEnter(object); in MonitorContendedEnterEvent() 444 auto *listener = monitorListeners_.front(); in MonitorContendedEnteredEvent() 446 monitorListeners_.front()->MonitorContendedEntered(object); in MonitorContendedEnteredEvent() 462 auto *listener = allocationListeners_.front(); in ObjectAllocEvent() 464 allocationListeners_.front()->ObjectAlloc(klass, object, thread, size); in ObjectAllocEvent()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
H A D | ptr_list_ref.h | 298 reference front() in front() function in maple::PtrListRef 308 const_reference front() const in front() function in maple::PtrListRef 442 this->first = &(other.front()); in splice() 446 this->last->SetNext(&(other.front())); in splice() 447 other.front().SetPrev(this->last); in splice() 454 other.front().SetPrev(ptr); in splice() 457 ptr->SetNext(&(other.front())); in splice()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | objectLiteralLowering.cpp | 65 auto nestedBlckExpr = nestedBlckExprs.front(); in RestoreNestedBlockExpression() 83 const auto *const firstStatement = blockExpression->Statements().front(); in AllowRequiredTypeInstantiation() 85 !firstStatement->AsVariableDeclaration()->Declarators().front()->Init()->IsETSNewClassInstanceExpression()) { in AllowRequiredTypeInstantiation() 89 const auto *const varDecl = firstStatement->AsVariableDeclaration()->Declarators().front()->Init(); in AllowRequiredTypeInstantiation()
|
H A D | packageImplicitImport.cpp | 63 const auto *const extSrc = std::get<1>(srcIter).front(); in ValidateFolderContainOnlySamePackageFiles() 67 const auto *const extSrcCpm = std::get<1>(srcIterCmp).front(); in ValidateFolderContainOnlySamePackageFiles()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | rem_set_test.cpp | 116 auto first = testList.front(); in TEST_F() 148 auto first = testList.front(); in TEST_F() 189 auto first = testList.front(); in TEST_F()
|
/arkcompiler/runtime_core/libpandabase/tests/ringbuf/ |
H A D | lock_free_ring_buffer_test.cpp | 64 size_t queue_pop = queue.front(); in TEST() 71 size_t queue_pop = queue.front(); in TEST()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ringbuf/ |
H A D | lock_free_ring_buffer_test.cpp | 67 size_t queuePop = queue.front(); in TEST() 74 size_t queuePop = queue.front(); in TEST()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | containers_queue_stub_builder.h | 67 GateRef front = Load(VariableType::INT32(), obj, IntPtr(JSAPIQueue::FRONT_OFFSET));
in Get() local 68 GateRef curIndex = Int32Mod(Int32Add(front, index), capacity);
in Get()
|
/arkcompiler/ets_frontend/ets2panda/test/unit/lowerings/ |
H A D | scopes_initialization.cpp | 61 .front() in BodyToFirstName() 64 .front() in BodyToFirstName()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
H A D | switch_lowerer.cpp | 88 Cluster front = clusters[j]; in InitSwitchItems() local 90 if (i == front.first) { in InitSwitchItems() 91 switchItems.emplace_back(SwitchItem(i, front.second)); in InitSwitchItems() 92 i = front.second; in InitSwitchItems() 95 front = clusters[j]; in InitSwitchItems()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | loop.cpp | 103 auto *curBB = bodyList.front(); in GenerateLoop() 124 BB *bb = allBBs.front(); in ProcessBB()
|
/arkcompiler/runtime_core/static_core/static_linker/ |
H A D | linker_context_misc.cpp | 42 if (s.front() == '[') { in DemangleName() 49 auto ty = panda_file::Type::GetTypeIdBySignature(s.front()); in DemangleName() 54 if (s.front() == 'L' && s.back() == ';') { in DemangleName()
|
/arkcompiler/ets_runtime/ecmascript/taskpool/ |
H A D | task_queue.cpp | 32 std::unique_ptr<Task> task = std::move(tasks_.front()); in PopTask()
|
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/utils/ |
H A D | task_selector.cpp | 44 std::tie(frontPriority, std::ignore) = priorityQueue_.front(); in SelectQueue()
|
/arkcompiler/runtime_core/static_core/verification/jobs/ |
H A D | service.cpp | 59 auto res = langData->queue.front(); in GetProcessor()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | graph_linearizer.cpp | 208 auto entry = linearizer_->regionList_.front(); in BuildDfsFather() 303 auto entry = linearizer_->regionList_.front(); in BuildImmediateDominator() 320 auto entry = linearizer_->regionList_.front(); in BuildImmediateDominatorDepth() 444 auto entry = linearizer_->regionList_.front(); in ComputeLoopNumber() 476 auto entry = linearizer_->regionList_.front(); in ComputeLoopTree() 903 regionList_.front()->gateList_.emplace_back(*useIt); in LinearizeRegions() 1026 auto front = bb->gateList_.front(); in PrintGraph() local 1027 auto opcode = acc_.GetOpCode(front); in PrintGraph() 1034 << opcode << "(" << acc_.GetId(front) << ") " in PrintGraph() [all...] |
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | ETSchecker.cpp | 165 // note(gergocs): type->Interfaces().front() should be the same as the type in throwing functions in InitializeBuiltins() 167 type->Interfaces().front()->AddObjectFlag(ETSObjectFlags::FUNCTIONAL); in InitializeBuiltins() 175 // note(gergocs): type->Interfaces().front() should be the same as the type in rethrowing functions in InitializeBuiltins() 177 type->Interfaces().front()->AddObjectFlag(ETSObjectFlags::FUNCTIONAL); in InitializeBuiltins() 178 type->Interfaces().front()->Interfaces().front()->AddObjectFlag(ETSObjectFlags::FUNCTIONAL); in InitializeBuiltins()
|