Home
last modified time | relevance | path

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

12345678910>>...45

/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 …]
/arkcompiler/runtime_core/libabckit/src/wrappers/
Dpandasm_wrapper.cpp61 insn.regs = std::move(insWrap.regs); in Update()
62 insn.ids = std::move(insWrap.ids); in Update()
63 insn.imms = std::move(insWrap.imms); in Update()
64 insn.label = std::move(insWrap.label); in Update()
71 catchBlock.whole_line = std::move(cbWrap.wholeLine); in Update()
72 catchBlock.exception_record = std::move(cbWrap.exceptionRecord); in Update()
73 catchBlock.try_begin_label = std::move(cbWrap.tryBeginLabel); in Update()
74 catchBlock.try_end_label = std::move(cbWrap.tryEndLabel); in Update()
75 catchBlock.catch_begin_label = std::move(cbWrap.catchBeginLabel); in Update()
76 catchBlock.catch_end_label = std::move(cbWrap.catchEndLabel); in Update()
Dpandasm_wrapper.h75 …lArrayWrapper(std::vector<LiteralArrayWrapper::LiteralWrapper> lits) : literals(std::move(lits)) {} in LiteralArrayWrapper()
91 : wholeLine(std::move(ln)), in CatchBlockWrapper()
92 exceptionRecord(std::move(excr)), in CatchBlockWrapper()
93 tryBeginLabel(std::move(tbl)), in CatchBlockWrapper()
94 tryEndLabel(std::move(tel)), in CatchBlockWrapper()
95 catchBeginLabel(std::move(cbl)), in CatchBlockWrapper()
96 catchEndLabel(std::move(cel)) in CatchBlockWrapper()
159 : opcode(std::move(opcodeArg)), in InsWrapper()
160 regs(std::move(regsArg)), in InsWrapper()
161 ids(std::move(idsArg)), in InsWrapper()
[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 …]
/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/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/runtime_core/static_core/runtime/tooling/inspector/tests/
Dinspector_server.cpp48 CallMock(session, tmp, std::move(parameters)); in Call()
55 OnCallMock(tmp, std::move(handler)); in OnCall()
111 ASSERT_THAT(ToObject(std::move(s)), in TEST_F()
131 ASSERT_THAT(JsonObject(std::move(res).Build()), in TEST_F()
141 ASSERT_THAT(JsonObject(std::move(res).Build()), JsonProperties()); in __anonc863726f0302()
167 ASSERT_THAT(JsonObject(std::move(res).Build()), JsonProperties()); in TEST_F()
176 inspectorServer.OnCallDebuggerRemoveBreakpoint(std::move(breaks)); in TEST_F()
183 handler(g_sessionId, res, JsonObject(std::move(params).Build())); in TEST_F()
184 ASSERT_THAT(JsonObject(std::move(res).Build()), JsonProperties()); in TEST_F()
188 inspectorServer.OnCallDebuggerRemoveBreakpoint(std::move(breaks)); in TEST_F()
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
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/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/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/runtime_core/libabckit/include/cpp/headers/
Dbase_classes.h45 * @brief Move constructor allowed
50 * @brief Move assignment allowed
116 // Can move and copy views
130 * @brief Move constructor
135 * @brief Move assignment
190 // Can move and copy views in resource
204 * @brief Move constructor
209 * @brief Move assignment
297 : deleter_(std::move(d)), resource_(std::forward<Args>(a)...) in Resource()
312 * @brief Move constructor
[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/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/runtime/tooling/inspector/types/
Dremote_object.h89 return RemoteObject(std::move(string)); in String()
94 return RemoteObject(RemoteObjectType::SymbolT {std::move(description)}); in Symbol()
100 …return RemoteObject(RemoteObjectType::ObjectT {std::move(className), objectId, std::move(descripti…
106 return RemoteObject(RemoteObjectType::ArrayT {std::move(className), objectId, length});
112 …return RemoteObject(RemoteObjectType::FunctionT {std::move(className), objectId, std::move(name), …
123 preview_ = std::move(preview); in SetObjectPreview()
Dproperty_preview.h29 …Preview(std::string name, RemoteObjectType type) : name_(std::move(name)), type_(std::move(type)) … in PropertyPreview()
32 : PropertyPreview(std::move(name), std::move(type)) in PropertyPreview()
/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/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()
203 fn_.params.emplace_back(std::move(param), SourceLanguage::ETS); in AddParameter()
234 GetCtx()->Program().recordTable.emplace(name_, std::move(rec_)); in Create()
235 GetCtx()->Program().functionTable.emplace(fnName_, std::move(fn_)); in Create()
242 fn_.params.emplace_back(std::move(param), SourceLanguage::ETS); in AddParameter()
251 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()

12345678910>>...45