Home
last modified time | relevance | path

Searched full:move (Results 1 – 25 of 1028) sorted by relevance

12345678910>>...42

/arkcompiler/runtime_core/static_core/runtime/
Dcompiler_task_manager_worker.cpp50 compilerTaskDeque_.emplace_back(std::move(emptyTask)); in AddTask()
52 compilerTaskDeque_.emplace_back(std::move(task)); in AddTask()
57 BackgroundCompileMethod(std::move(task)); in AddTask()
65 std::move(threadDeleter)); in BackgroundCompileMethod()
69 internalAllocator_->New<CompilerTask>(std::move(ctx)), std::move(taskDeleter)); in BackgroundCompileMethod()
74 compilerCtx.SetCompilerThread(std::move(compilerThread)); in BackgroundCompileMethod()
75 compilerCtx.SetCompilerTask(std::move(compilerTask)); in BackgroundCompileMethod()
89 nextTask = std::move(compilerTaskDeque_.front()); in BackgroundCompileMethod()
91 BackgroundCompileMethod(std::move(nextTask)); in BackgroundCompileMethod()
96 compiler_->StartCompileMethod<compiler::BACKGROUND_MODE>(std::move(runner)); in BackgroundCompileMethod()
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/
Dtask_runner.h83 : callbackOnSuccess_(std::move(taskCb.callbackOnSuccess_)), in TaskCallback()
84 callbackOnFail_(std::move(taskCb.callbackOnFail_)) in TaskCallback()
114 callbackOnSuccess_ = NextCallback(std::move(callbackOnSuccess_), std::move(foo)); in AddOnSuccess()
116 callbackOnSuccess_ = std::move(foo); in AddOnSuccess()
125 callbackOnFail_ = NextCallback(std::move(callbackOnFail_), std::move(foo)); in AddOnFail()
127 callbackOnFail_ = std::move(foo); in AddOnFail()
143 return [cb = std::move(cb), foo = std::move(foo)](ContextT &taskCtx) mutable { in NextCallback()
161 Task(Task &&task) : taskFunc_(std::move(task.taskFunc_)), hasTask_(task.hasTask_) in Task()
176 taskFunc_ = std::move(foo); in SetTaskFunc()
183 return std::move(taskFunc_); in GetTaskFunc()
[all …]
/arkcompiler/toolchain/tooling/test/
Dpt_returns_test.cpp58 = std::make_unique<EvaluateOnCallFrameReturns>(std::move(result)); in HWTEST_F_L0()
81 result.emplace_back(std::move(tmpResult)); in HWTEST_F_L0()
83 = std::make_unique<SearchInContentReturns>(std::move(result)); in HWTEST_F_L0()
102 callFrame->SetLocation(std::move(location)); in HWTEST_F_L0()
103 callFrame->SetThis(std::move(res)); in HWTEST_F_L0()
104 callFrames.emplace_back(std::move(callFrame)); in HWTEST_F_L0()
109 = std::make_unique <SetScriptSourceReturns>(std::move(callFrames), in HWTEST_F_L0()
110 true, std::move(exceptionDetails)); in HWTEST_F_L0()
140 descriptor.emplace_back(std::move(propertyDescriptor)); in HWTEST_F_L0()
146 internalPropertyDescripties.emplace_back(std::move(internalPropertyDescriptor)); in HWTEST_F_L0()
[all …]
Ddebugger_returns_test.cpp80 locations.emplace_back(std::move(location)); in HWTEST_F_L0()
82 = std::make_unique<SetBreakpointByUrlReturns>("11", std::move(locations)); in HWTEST_F_L0()
101 … = std::make_unique<EvaluateOnCallFrameReturns>(std::move(result), std::move(exceptionDetails)); in HWTEST_F_L0()
121 locations.emplace_back(std::move(breakLocation)); in HWTEST_F_L0()
123 … <GetPossibleBreakpointsReturns>(std::move(locations)); in HWTEST_F_L0()
157 callFrame->SetLocation(std::move(location)); in HWTEST_F_L0()
158 callFrame->SetThis(std::move(res)); in HWTEST_F_L0()
159 callFrames.emplace_back(std::move(callFrame)); in HWTEST_F_L0()
161 … <RestartFrameReturns>(std::move(callFrames)); in HWTEST_F_L0()
173 … = std::make_unique<SetBreakpointReturns>("breakpointId_1", std::move(location)); in HWTEST_F_L0()
[all …]
Ddebugger_events_test.cpp69 breakpointResolved.SetBreakpointId("00").SetLocation(std::move(location)); in HWTEST_F_L0()
98 callFrame->SetLocation(std::move(location)); in HWTEST_F_L0()
99 callFrame->SetThis(std::move(res)); in HWTEST_F_L0()
100 callFrames_.emplace_back(std::move(callFrame)); in HWTEST_F_L0()
102 paused.SetCallFrames(std::move(callFrames_)) in HWTEST_F_L0()
119 paused1.SetData(std::move(obj)).SetReason(PauseReason::AMBIGUOUS).SetReason(PauseReason::ASSERT) in HWTEST_F_L0()
315 profile->SetNodes(std::move(v)) in HWTEST_F_L0()
320 …consoleProfileFinished.SetId("11").SetLocation(std::move(location)).SetProfile(std::move(profile))… in HWTEST_F_L0()
340 consoleProfileFinished1.SetLocation(std::move(location1)).SetProfile(std::move(profile1)); in HWTEST_F_L0()
351 consoleProfileStarted.SetId("12").SetLocation(std::move(location)).SetTitle("002"); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dunique_fd_test.cpp51 auto fdE = std::move(fdA); in TEST()
52 auto fdF = std::move(fdB); in TEST()
53 auto fdG = std::move(fdC); in TEST()
54 auto fdH = std::move(fdD); in TEST()
56 // NOLINTBEGIN(bugprone-use-after-move,clang-analyzer-cplusplus.Move) in TEST()
79 fdE = std::move(fdA); in TEST()
80 fdF = std::move(fdB); in TEST()
81 fdG = std::move(fdC); in TEST()
82 fdH = std::move(fdD); in TEST()
92 // NOLINTEND(bugprone-use-after-move,clang-analyzer-cplusplus.Move) in TEST()
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
Dbaseline_assembler.cpp37 void BaselineAssembler::Move(VirtualRegister interpreterDestReg, Immediate value) in Move() function in panda::ecmascript::kungfu::BaselineAssembler
42 macroAssembler->Move(stackSlotOperand, value); in Move()
45 void BaselineAssembler::Move(SpecialRegister destReg, Immediate value) in Move() function in panda::ecmascript::kungfu::BaselineAssembler
50 macroAssembler->Move(stackSlotOperand, value); in Move()
53 void BaselineAssembler::Move(SpecialRegister destReg, SpecialRegister srcReg) in Move() function in panda::ecmascript::kungfu::BaselineAssembler
60 macroAssembler->Move(dstStackSlotOpnd, srcStackSlotOpnd); in Move()
63 void BaselineAssembler::Move(VirtualRegister interpreterDestReg, VirtualRegister interpreterSrcReg) in Move() function in panda::ecmascript::kungfu::BaselineAssembler
71 macroAssembler->Move(dstStackSlotOpnd, srcStackSlotOpnd); in Move()
74 void BaselineAssembler::Move(SpecialRegister destReg, VirtualRegister interpreterSrcReg) in Move() function in panda::ecmascript::kungfu::BaselineAssembler
82 macroAssembler->Move(dstStackSlotOpnd, srcStackSlotOpnd); in Move()
[all …]
Dbaseline_assembler.h111 void Move(VirtualRegister interpreterDestReg, Immediate value);
112 void Move(SpecialRegister destReg, Immediate value);
113 void Move(SpecialRegister destReg, SpecialRegister srcReg);
114 void Move(VirtualRegister interpreterDestReg, VirtualRegister interpreterSrcReg);
115 void Move(SpecialRegister destReg, VirtualRegister interpreterSrcReg);
116 void Move(VirtualRegister interpreterDestReg, SpecialRegister srcReg);
/arkcompiler/toolchain/tooling/base/
Dpt_returns.h71 : id_(id), locations_(std::move(locations)) in SetBreakpointByUrlReturns()
89 : locations_(std::move(locations)) in GetPossibleAndSetBreakpointByUrlReturns()
107 : result_(std::move(result)), exceptionDetails_(std::move(exceptionDetails)) in result_()
124 : locations_(std::move(locations)) in GetPossibleBreakpointsReturns()
141 : scriptSource_(scriptSource), bytecode_(std::move(bytecode)) in scriptSource_()
159 : callFrames_(std::move(callFrames)) in RestartFrameReturns()
174 …archInContentReturns(std::vector<std::unique_ptr<SearchMatch>> result) : result_(std::move(result)) in SearchInContentReturns()
190 : breakpointId_(id), location_(std::move(location)) in SetBreakpointReturns()
223 : callFrames_(std::move(callFrames)), in callFrames_()
225 exceptionDetails_(std::move(exceptionDetails)) in callFrames_()
[all …]
/arkcompiler/runtime_core/static_core/compiler/
Dbackground_task_runner.h50 compilerTask_ = std::move(compilerTask); in SetCompilerTask()
55 compilerThread_ = std::move(compilerThread); in SetCompilerThread()
60 allocator_ = std::move(allocator); in SetAllocator()
65 localAllocator_ = std::move(localAllocator); in SetLocalAllocator()
70 methodName_ = std::move(methodName); in SetMethodName()
80 pipeline_ = std::move(pipeline); in SetPipeline()
169 target_(std::move(const_cast<T &>(other.target_))) // never reached in FakeCopyable()
218 … auto callback = [nextTask = std::move(taskFunc), nextRunner = std::move(taskRunner)]() mutable { in StartTask()
221 nextTask(std::move(nextRunner)); in StartTask()
225 …sk = taskmanager::Task::Create(TASK_PROPERTIES, copy_hooks::MakeFakeCopyable(std::move(callback))); in StartTask()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/
Dinspector_server.cpp45 CallMock(session, tmp, std::move(parameters)); in Call()
52 OnCallMock(tmp, std::move(handler)); in OnCall()
108 ASSERT_THAT(ToObject(std::move(s)), in TEST_F()
128 ASSERT_THAT(JsonObject(std::move(res).Build()), in TEST_F()
138 ASSERT_THAT(JsonObject(std::move(res).Build()), JsonProperties()); in __anon288e5e2f0302()
164 ASSERT_THAT(JsonObject(std::move(res).Build()), JsonProperties()); in TEST_F()
173 inspectorServer.OnCallDebuggerRemoveBreakpoint(std::move(breaks)); in TEST_F()
180 handler(g_sessionId, res, JsonObject(std::move(params).Build())); in TEST_F()
181 ASSERT_THAT(JsonObject(std::move(res).Build()), JsonProperties()); in TEST_F()
185 inspectorServer.OnCallDebuggerRemoveBreakpoint(std::move(breaks)); in TEST_F()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Dgetter_setter_static_modifier.sts31 public static move: int = 10;
37 public static get Move(): int {
38 return Carry.move;
73 const move = Carry.Move;
76 assert move == 10;
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dinterfaces_props.sts17 move(): void;
31 move(): void {
32 console.log("move");
47 c.move();
55 if (obj && obj.move && obj.shake && obj.getStatus) {
/arkcompiler/runtime_core/static_core/compiler/docs/
Dcompilation_start.md50 compiler::CompileInGraph<compiler::INPLACE_MODE>(runtime, is_dynamic, arch, std::move(runner));
52 compiler::InPlaceTaskRunner::StartTask(std::move(task_runner), inplace_task);
80 task_ctx.SetCompilerThread(std::move(compiler_thread));
81 task_ctx.SetCompilerTask(std::move(compiler_task));
82 task_ctx.SetAllocator(std::move(allocator));
83 task_ctx.SetLocalAllocator(std::move(graph_local_allocator));
101 … compiler::CompileInGraph<compiler::BACKGROUND_MODE>(runtime, is_dynamic, arch, std::move(runner));
103 compiler::BackgroundCompilerTaskRunner::StartTask(std::move(task_runner), background_task);
/arkcompiler/toolchain/tooling/
Ddispatcher.cpp86 params_ = std::move(params); in DispatchRequest()
139 std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(profiler)); in Dispatcher()
144 std::make_unique<HeapProfilerImpl::DispatcherImpl>(channel, std::move(heapProfiler)); in Dispatcher()
149 std::make_unique<TracingImpl::DispatcherImpl>(channel, std::move(tracing)); in Dispatcher()
156 std::make_unique<RuntimeImpl::DispatcherImpl>(channel, std::move(runtime)); in Dispatcher()
158 std::make_unique<DebuggerImpl::DispatcherImpl>(channel, std::move(debugger)); in Dispatcher()
162 std::make_unique<DomImpl::DispatcherImpl>(channel, std::move(dom)); in Dispatcher()
166 std::make_unique<CssImpl::DispatcherImpl>(channel, std::move(css)); in Dispatcher()
170 std::make_unique<OverlayImpl::DispatcherImpl>(channel, std::move(overlay)); in Dispatcher()
174 std::make_unique<TargetImpl::DispatcherImpl>(channel, std::move(target)); in Dispatcher()
[all …]
/arkcompiler/ets_frontend/arkguard/test/grammar/class_validation/
Dclass_inherit.ts25 move(distanceInMeters: number = 0, mode: string): string { method in Animal
35 move(distanceInMeters = 5, mode: string): string { method in Dog
37 return super.move(distanceInMeters, mode);
49 assert(dog.move(10, 'run') === 'dog run 10m.', 'success');
/arkcompiler/runtime_core/libpandabase/tests/
Dunique_fd_test.cpp45 auto fd_e = std::move(fd_a);
46 auto fd_f = std::move(fd_b);
47 auto fd_g = std::move(fd_c);
48 auto fd_h = std::move(fd_d);
72 fd_e = std::move(fd_a);
73 fd_f = std::move(fd_b);
74 fd_g = std::move(fd_c);
75 fd_h = std::move(fd_d);
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml35 - title: Dynamic move register-to-register
37 Move 'any' values between registers
50 Move 'any' value from register to accumulator
63 Move 'any' value from accumulator to register
76 Move immediate as 'any' value to accumulator
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_typeapi_create.cpp50 rec.fieldList.emplace_back(std::move(fld)); in AddInitField()
69 prog_.recordTable.emplace(std::move(name), std::move(ctxDataRecord_)); in FlushTypeAPICtxDataRecordsToProgram()
71 prog_.functionTable.emplace(std::move(name), std::move(ctxDataRecordCctor_)); in FlushTypeAPICtxDataRecordsToProgram()
137 prog_.functionTable.emplace(std::move(getObjectsArrayName), std::move(getObjectsArray)); in GetTypeAPICtxDataRecord()
146 return prog_.recordTable.emplace(objectRec.name, std::move(objectRec)).first->second; in AddRefTypeAsExternal()
197 fn_.params.emplace_back(std::move(param), SourceLanguage::ETS); in AddParameter()
228 GetCtx()->Program().recordTable.emplace(name_, std::move(rec_)); in Create()
229 GetCtx()->Program().functionTable.emplace(fnName_, std::move(fn_)); in Create()
236 fn_.params.emplace_back(std::move(param), SourceLanguage::ETS); in AddParameter()
245 fn_.returnType = std::move(type); in AddResult()
[all …]
/arkcompiler/runtime_core/static_core/verification/util/tests/
Dindex_test.cpp58 defaultIndex = std::move(defaultIndex1); in TEST_F()
61 // NOLINTNEXTLINE(bugprone-use-after-move,clang-analyzer-cplusplus.Move) in TEST_F()
84 Index<int, 9U> customIndex1 {std::move(customIndex)}; in TEST_F()
85 // NOLINTNEXTLINE(bugprone-use-after-move,clang-analyzer-cplusplus.Move) in TEST_F()
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
Dwrapped_module.cpp25 : llvmContext_(std::move(llvmContext)), in WrappedModule()
26 module_(std::move(module)), in WrappedModule()
27 targetMachine_(std::move(targetMachine)), in WrappedModule()
28 arkInterface_(std::move(arkInterface)), in WrappedModule()
29 debugData_(std::move(debugData)), in WrappedModule()
48 objectFile_ = std::move(objectFile); in SetCompiled()
120 return std::move(objectFile_); in TakeObjectFile()
/arkcompiler/runtime_core/libpandabase/utils/
Dexpected.h29 explicit Unexpected(E e) noexcept(std::is_nothrow_move_constructible_v<E>) : e_(std::move(e)) {} in Unexpected()
41 return std::move(e_); in Value()
74 Expected(T v) noexcept(std::is_nothrow_move_constructible_v<T>) : v_(std::move(v)) {} in noexcept()
76 …Expected(Unexpected<E> e) noexcept(std::is_nothrow_move_constructible_v<E>) : v_(std::move(e.Value… in noexcept()
100 return std::move(std::get<E>(v_)); in Error()
118 return std::move(std::get<T>(v_)); in Value()
130 return std::move(*this).Value(); in noexcept()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/ark_frame_lowering/
Dframe_builder.h52 : frameInfo_ {std::move(frameInfo)}, constantPool_ {std::move(handler)} in FrameBuilderInterface()
79 : FrameBuilderInterface(std::move(frameInfo), std::move(handler)) in AMD64FrameBuilder()
97 : FrameBuilderInterface(std::move(frameInfo), std::move(handler)) in ARM64FrameBuilder()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dproperty_descriptor.h32 : name_(std::move(name)), value_(std::move(value)), isEntry_(isEntry) in name_()
38 PropertyDescriptor property(std::move(name), std::move(getter)); in Accessor()
103 symbol_.emplace(std::move(symbol)); in SetSymbol()
/arkcompiler/runtime_core/static_core/runtime/coroutines/
Dcoro_callback_queue.h34 readyCallbacks = std::move(queue_); in Process()
37 auto callback = std::move(readyCallbacks.front()); in Process()
47 queue_.push_back(std::move(callback)); in Post()
53 queue_.splice(std::prev(queue_.end()), std::move(callbacks)); in PostSequence()

12345678910>>...42