/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | loop_analysis.cpp | 51 GateRef cur = Circuit::NullGate(); in CollectLoopBody() local 53 cur = firstList.front(); in CollectLoopBody() 56 cur = secondList.front(); in CollectLoopBody() 59 ASSERT(gateToDepth.count(cur) > 0); in CollectLoopBody() 60 auto use = acc_.Uses(cur); in CollectLoopBody() 64 if (acc_.IsLoopExit(cur) && (!acc_.IsFixed(*it))) { in CollectLoopBody() 66 } else if (acc_.IsLoopExitRelated(cur) && acc_.IsFixed(cur)) { in CollectLoopBody() 74 ASSERT(gateToDepth[nex] == ComputeLoopDepth(cur, nex, gateToDepth[cur])); in CollectLoopBody() 81 gateToDepth[nex] = ComputeLoopDepth(cur, nex, gateToDepth[cur]); in CollectLoopBody() 142 size_t LoopAnalysis::ComputeLoopDepth(GateRef cur, GateRef nex, size_t curDep) in ComputeLoopDepth() argument [all …]
|
D | graph_editor.cpp | 132 auto cur = workList.front(); in EliminatePhi() local 134 ASSERT(acc_.IsValueSelector(cur)); in EliminatePhi() 135 GateRef first = acc_.GetValueIn(cur, 0); in EliminatePhi() 136 auto use = acc_.Uses(cur); in EliminatePhi() 138 bool selfUse = first == cur; in EliminatePhi() 140 auto valueNum = acc_.GetNumValueIn(cur); in EliminatePhi() 142 GateRef input = acc_.GetValueIn(cur, i); in EliminatePhi() 146 if (input == cur) { in EliminatePhi() 147 ASSERT(acc_.IsLoopHead(acc_.GetState(cur))); in EliminatePhi() 152 inList.erase(cur); in EliminatePhi() [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 | loop_analysis.h | 48 size_t ComputeLoopDepth(GateRef cur, GateRef nex, size_t curDep);
|
D | scheduler.cpp | 145 size_t cur; in Run() member 160 auto &cur = curState.cur; in Run() local 164 timeOut[cur] = timestamp++; in Run() 171 jumpUp[succ][0] = cur; in Run()
|
D | bytecode_circuit_builder.cpp | 1577 size_t cur = workList.front(); in ComputeLoopDepth() local 1579 if (visited.count(cur) > 0) { in ComputeLoopDepth() 1582 visited.insert(cur); in ComputeLoopDepth() 1583 auto &curBB = GetBasicBlockById(cur); in ComputeLoopDepth()
|
/arkcompiler/toolchain/websocket/ |
D | define.h | 46 size_t cur = str.find(input); in ProtocolSplit() local 47 while (cur != std::string::npos) { in ProtocolSplit() 48 std::string tmp = str.substr(prev, cur - prev); in ProtocolSplit() 50 prev = cur + len; in ProtocolSplit() 51 cur = str.find(input, prev); in ProtocolSplit()
|
/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/ets_runtime/ecmascript/dfx/hprof/ |
D | heap_snapshot_json_serializer.h | 47 const char *cur = str.c_str(); in Write() local 48 const char *end = cur + len; in Write() 49 while (cur < end) { in Write() 51 int writeSize = std::min(static_cast<int>(end - cur), dstSize); in Write() 52 if (memcpy_s(chunk_.data() + current_, dstSize, cur, writeSize) != EOK) { in Write() 55 cur += writeSize; in Write()
|
/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/ets_runtime/ecmascript/regexp/ |
D | regexp_parser.h | 183 int cur = c; in GetcurrentCharNext() local 185 if (c == cur) { in GetcurrentCharNext() 189 !((cur >= 'A' && cur <= 'Z') || (cur >= 'a' && cur <= 'z'))) { in GetcurrentCharNext() 190 c = cur; in GetcurrentCharNext()
|
D | regexp_parser.cpp | 1482 int cur = c; in Canonicalize() local 1486 c = cur; in Canonicalize() 1491 c = cur; in Canonicalize()
|
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases/ |
D | test-class-1-expected.txt | 262 val: cur 344 val: cur 512 val: cur 522 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;
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | interference_graph.cpp | 44 unsigned cur = nodes_.size(); in AllocNode() local 45 nodes_.emplace_back(cur, nodes_.get_allocator()); in AllocNode()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | date_parse.h | 325 DateUnit cur = GetDate(); in NextDate() local 327 return cur; in NextDate()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | alloc_tracker_test.cpp | 48 in.seekg(len, std::ios_base::cur); in SkipString()
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | instantiateContextualTypes.ts | 48 nextValues: (cur: T) => T;
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_info.cpp | 1154 stream.seekp(sizeof(SectionInfo), std::ofstream::cur); in ProcessToBinaryForLayout()
|