/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | loop_analysis.cpp | 54 LoopInfo* loopInfo, GateRef cur) in CollectUseGate() argument 56 auto use = acc_.Uses(cur); in CollectUseGate() 58 bool isCurLoop = gateToDepth[cur] == 1; // 1: loopDepth in CollectUseGate() 61 if (isCurLoop && acc_.IsLoopExit(cur) && (!acc_.IsFixed(*it))) { in CollectUseGate() 63 } else if (isCurLoop && acc_.IsLoopExitRelated(cur) && acc_.IsFixed(cur)) { in CollectUseGate() 71 ASSERT(gateToDepth[nex] == ComputeLoopDepth(cur, nex, gateToDepth[cur])); in CollectUseGate() 78 gateToDepth[nex] = ComputeLoopDepth(cur, nex, gateToDepth[cur]); in CollectUseGate() 104 GateRef cur = Circuit::NullGate(); in CollectLoopBody() local 106 cur = firstList.front(); in CollectLoopBody() 109 cur = secondList.front(); in CollectLoopBody() [all …]
|
D | verifier.cpp | 146 GateRef cur; in RunCFGIsDAGCheck() member 158 auto &cur = curState.cur; in RunCFGIsDAGCheck() local 162 gateAcc.SetFinished(cur); in RunCFGIsDAGCheck() 172 << "(id=" << gateAcc.GetId(cur) << ")"; in RunCFGIsDAGCheck() 173 LOG_COMPILER(ERROR) << "(id=" << gateAcc.GetId(cur) << ") is reachable from " in RunCFGIsDAGCheck() 298 GateRef cur; in RunFlowCyclesFind() member 313 auto &cur = curState.cur; in RunFlowCyclesFind() local 317 gateAcc.SetFinished(cur); in RunFlowCyclesFind() 321 const auto prev = gateAcc.GetIn(cur, idx); in RunFlowCyclesFind() 328 << "(id=" << circuit->GetId(cur) << ")"; in RunFlowCyclesFind() [all …]
|
D | graph_editor.cpp | 158 auto cur = workList.front(); in EliminatePhi() local 160 acc_.SetVisited(cur); in EliminatePhi() 161 auto valueNum = acc_.GetNumValueIn(cur); in EliminatePhi() 163 GateRef first = acc_.GetValueIn(cur, 0); in EliminatePhi() 165 GateRef input = acc_.GetValueIn(cur, i); in EliminatePhi() 179 acc_.SetFinished(cur); in EliminatePhi() 180 auto uses = acc_.Uses(cur); in EliminatePhi() 188 acc_.UpdateAllUses(cur, first); in EliminatePhi() 189 acc_.DeleteGate(cur); in EliminatePhi()
|
D | loop_analysis.h | 52 size_t ComputeLoopDepth(GateRef cur, GateRef nex, size_t curDep); 55 LoopInfo* loopInfo, GateRef cur);
|
/arkcompiler/ets_runtime/ecmascript/extractortool/src/ |
D | zip_file.cpp | 137 size_t cur = 0; in AddEntryToTree() local 140 while (cur < fileName.size() && fileName[cur] == FILE_SEPARATOR_CHAR) { in AddEntryToTree() 141 cur++; in AddEntryToTree() 143 if (cur >= fileName.size()) { in AddEntryToTree() 146 auto next = fileName.find_first_of(FILE_SEPARATOR_CHAR, cur); in AddEntryToTree() 147 auto nodeName = fileName.substr(cur, next - cur); in AddEntryToTree() 156 cur = next; in AddEntryToTree() 157 } while (cur != std::string::npos); in AddEntryToTree() 246 size_t cur = 0; in IsDirExist() local 249 while (cur < dir.size() && dir[cur] == FILE_SEPARATOR_CHAR) { in IsDirExist() [all …]
|
/arkcompiler/runtime_core/static_core/libpandabase/mem/ |
D | arena_allocator.cpp | 56 Arena *cur = arenas_; in ~ArenaAllocatorT() local 57 while (cur != nullptr) { in ~ArenaAllocatorT() 58 Arena *tmp = cur->GetNextArena(); in ~ArenaAllocatorT() 59 PoolManager::FreeArena(cur); in ~ArenaAllocatorT() 60 cur = tmp; in ~ArenaAllocatorT() 169 for (Arena *cur = arenas_; cur != nullptr; cur = cur->GetNextArena()) { in GetAllocatedSize() local 170 size += cur->GetOccupiedSize(); in GetAllocatedSize()
|
/arkcompiler/runtime_core/libpandabase/mem/ |
D | arena_allocator.cpp | 60 Arena *cur = arenas_; in ~ArenaAllocatorT() local 61 while (cur != nullptr) { in ~ArenaAllocatorT() 63 tmp = cur->GetNextArena(); in ~ArenaAllocatorT() 64 PoolManager::FreeArena(cur); in ~ArenaAllocatorT() 65 cur = tmp; in ~ArenaAllocatorT() 174 for (Arena *cur = arenas_; cur != nullptr; cur = cur->GetNextArena()) { in GetAllocatedSize() local 175 size += cur->GetOccupiedSize(); in GetAllocatedSize()
|
/arkcompiler/runtime_core/static_core/runtime/mem/ |
D | pygote_space_allocator-inl.h | 40 auto cur = arena_; in ~PygoteSpaceAllocator() local 41 while (cur != nullptr) { in ~PygoteSpaceAllocator() 42 auto tmp = cur->GetNextArena(); in ~PygoteSpaceAllocator() 43 PoolManager::FreeArena(cur); in ~PygoteSpaceAllocator() 44 cur = tmp; in ~PygoteSpaceAllocator() 171 auto cur = arena_; in ContainObject() local 172 while (cur != nullptr) { in ContainObject() 173 if (cur->InArena(const_cast<ObjectHeader *>(object))) { in ContainObject() 176 cur = cur->GetNextArena(); in ContainObject() 263 auto cur = arena_; in VisitAndRemoveAllPools() local [all …]
|
D | humongous_obj_allocator-inl.h | 472 MemoryPoolHeader *cur = listHead; in SortedInsert() local 473 while (cur != nullptr) { in SortedInsert() 474 if (cur->GetPoolSize() >= poolSize) { in SortedInsert() 475 pool->SetNext(cur); in SortedInsert() 476 pool->SetPrev(cur->GetPrev()); in SortedInsert() 477 cur->GetPrev()->SetNext(pool); in SortedInsert() 478 cur->SetPrev(pool); in SortedInsert() 481 MemoryPoolHeader *next = cur->GetNext(); in SortedInsert() 483 cur->SetNext(pool); in SortedInsert() 485 pool->SetPrev(cur); in SortedInsert() [all …]
|
/arkcompiler/runtime_core/tests/cts-assembly/ |
D | obj-13.pa | 33 # Obj* cur; 34 # cur = head; 36 # addNext(cur, i); 37 # cur = cur->next; 41 # cur = head; 43 # ret += cur->data; 44 # cur = cur->next;
|
/arkcompiler/runtime_core/static_core/tests/cts-assembly/ |
D | obj-13.pa | 33 # Obj* cur; 34 # cur = head; 36 # addNext(cur, i); 37 # cur = cur->next; 41 # cur = head; 43 # ret += cur->data; 44 # cur = cur->next;
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/ |
D | recursive_types.ts | 63 let cur = parent.get(name); 64 if (cur instanceof Array) { 65 (cur as Array<object | string>).push(value); 66 } else if (cur != undefined) { 67 let array = [cur, value];
|
/arkcompiler/ets_frontend/ets2panda/linter/test/ |
D | recursive_types.ts | 63 let cur = parent.get(name); 64 if (cur instanceof Array) { 65 (cur as Array<object | string>).push(value); 66 } else if (cur != undefined) { 67 let array = [cur, value];
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
D | heap_snapshot_json_serializer.h | 50 const char *cur = str.c_str(); in WriteString() local 51 const char *end = cur + len; in WriteString() 52 while (cur < end) { in WriteString() 54 int writeSize = std::min(static_cast<int>(end - cur), dstSize); in WriteString() 56 if (memcpy_s(chunk_.data() + current_, dstSize, cur, writeSize) != EOK) { in WriteString() 59 cur += writeSize; in WriteString()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/atomics/ |
D | concurrent_countdownlatch.ets | 33 let cur: byte = Atomics.load(bytearr, 0) 34 while (cur != N) { 35 c.println("waiting, finished tasks: " + cur) 36 Atomics.wait(arr, 0, cur) 37 cur = Atomics.load(bytearr, 0)
|
D | skipped_cyclic_barrier.ets | 52 let cur = Atomics.load(arr, 0) 53 while (cur != 0) { 54 Atomics.wait(arr, 0, cur) 55 cur = Atomics.load(arr, 0)
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
D | adjust_arefs.cpp | 134 for (auto cur = startFrom; cur != nullptr; cur = cur->GetNext()) { in WalkChainDown() local 136 if (cur->IsRuntimeCall() || cur->GetOpcode() == Opcode::SafePoint) { in WalkChainDown() 138 } else if (cur->IsMarked(worksetMarker_)) { in WalkChainDown() 140 heads_.push_back(cur); in WalkChainDown() 143 ASSERT(head->IsDominate(cur)); in WalkChainDown() 144 instsToReplace_.push_back(cur); in WalkChainDown()
|
D | scheduler.cpp | 301 auto cur = old_[inst]; in FinalizeBB() local 302 if (hasPrev && prev - 1 != cur) { in FinalizeBB() 305 prev = cur; in FinalizeBB() 428 auto cur = now.top(); in SchedWithGlued() local 430 COMPILER_LOG(DEBUG, SCHEDULER) << "Scheduling " << cur->GetId() << " at cycle " << cycle; in SchedWithGlued() 433 for (auto pair : deps_.at(cur)) { in SchedWithGlued() 453 sched_.push_back(cur); in SchedWithGlued()
|
/arkcompiler/ets_runtime/ecmascript/regexp/ |
D | regexp_parser.h | 189 int cur = c; in GetcurrentCharNext() local 191 if (c == cur) { in GetcurrentCharNext() 195 !((cur >= 'A' && cur <= 'Z') || (cur >= 'a' && cur <= 'z'))) { in GetcurrentCharNext() 196 c = cur; in GetcurrentCharNext()
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/ |
D | file_structure.py | 58 cur: Optional[TestDirectory] = self 60 while cur is not None: 61 result.append(cur.test_id) 62 cur = cur.parent
|
/arkcompiler/runtime_core/static_core/patches/asmjit/ |
D | 0002-Add-Panda-Allocator.patch | 151 // Since cur can be in the middle of the double-linked list, we have to 153 - Block* next = cur->next; 155 Block* prev = cur->prev; 161 - ::free(cur); 162 cur = prev; 163 } while (cur); 165 - cur = next; 166 - while (cur) { 167 - next = cur->next; 168 - ::free(cur); [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_stable_array.cpp | 521 for (JSTaggedType *cur = first; cur < last; ++cur) { in FindRawData() local 522 JSTaggedValue convertedCur = JSTaggedValue(*cur); in FindRawData() 524 convertedCur = ElementAccessor::GetTaggedValueWithElementsKind(*cur, kind); in FindRawData() 528 return base::BuiltinsBase::GetTaggedInt64(cur - data); in FindRawData() 533 indexHandle.Update(base::BuiltinsBase::GetTaggedInt64(cur - data)); in FindRawData() 564 for (JSTaggedType *cur = beforeLast; cur > beforeFirst; --cur) { in FindLastRawData() local 565 JSTaggedValue convertedCur = JSTaggedValue(*cur); in FindLastRawData() 567 convertedCur = ElementAccessor::GetTaggedValueWithElementsKind(*cur, kind); in FindLastRawData() 571 return base::BuiltinsBase::GetTaggedInt64(cur - data); in FindLastRawData() 576 indexHandle.Update(base::BuiltinsBase::GetTaggedInt64(cur - data)); in FindLastRawData() [all …]
|
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/ |
D | test-class-1-expected.txt | 282 val: cur 364 val: cur 532 val: cur 542 val: .cur
|
D | test-class-1.ts | 18 cur() : Student { method in Student
|
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/ |
D | stubbuilder.js | 667 const result = arr.reduce((pre, cur) => { 668 if (!obj[cur.stuId]) { 669 obj[cur.stuId] = true; 670 return [...pre, cur]; 701 let num = str.split("").reduce((pre, cur) => { 702 if (cur in pre) { 703 pre[cur]++; 705 pre[cur] = 1;
|