Home
last modified time | relevance | path

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

12345678910>>...54

/arkcompiler/ets_frontend/ets2panda/lsp/src/
Dtypes.cpp20 return SymbolDisplayPart(std::move(punc), "punctuation"); in CreatePunctuation()
25 return SymbolDisplayPart(std::move(keyword), "keyword"); in CreateKeyword()
35 return SymbolDisplayPart(std::move(text), "text"); in CreateText()
40 return SymbolDisplayPart(std::move(className), "className"); in CreateClassName()
45 return SymbolDisplayPart(std::move(functionName), "functionName"); in CreateFunctionName()
50 return SymbolDisplayPart(std::move(typeName), "typeName"); in CreateTypeName()
55 return SymbolDisplayPart(std::move(enumName), "enumName"); in CreateEnumName()
60 return SymbolDisplayPart(std::move(enumMember), "enumMember"); in CreateEnumMember()
65 return SymbolDisplayPart(std::move(interface), "interface"); in CreateInterface()
70 return SymbolDisplayPart(std::move(typeParameter), "typeParameter"); in CreateTypeParameter()
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Dcompiler_task_manager_worker.cpp49 compilerTaskDeque_.emplace_back(std::move(emptyTask)); in AddTask()
51 compilerTaskDeque_.emplace_back(std::move(task)); in AddTask()
56 BackgroundCompileMethod(std::move(task)); in AddTask()
64 std::move(threadDeleter)); in BackgroundCompileMethod()
68 internalAllocator_->New<CompilerTask>(std::move(ctx)), std::move(taskDeleter)); in BackgroundCompileMethod()
73 compilerCtx.SetCompilerThread(std::move(compilerThread)); in BackgroundCompileMethod()
74 compilerCtx.SetCompilerTask(std::move(compilerTask)); in BackgroundCompileMethod()
88 nextTask = std::move(compilerTaskDeque_.front()); in BackgroundCompileMethod()
90 BackgroundCompileMethod(std::move(nextTask)); in BackgroundCompileMethod()
95 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/dynamic/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.cpp59 auto regs = std::move(insWrap.regs); in Update()
60 auto ids = std::move(insWrap.ids); in Update()
61 auto imms = std::move(insWrap.imms); in Update()
62 auto label = std::move(insWrap.label); in Update()
75 catchBlock.whole_line = std::move(cbWrap.wholeLine); in Update()
76 catchBlock.exception_record = std::move(cbWrap.exceptionRecord); in Update()
77 catchBlock.try_begin_label = std::move(cbWrap.tryBeginLabel); in Update()
78 catchBlock.try_end_label = std::move(cbWrap.tryEndLabel); in Update()
79 catchBlock.catch_begin_label = std::move(cbWrap.catchBeginLabel); in Update()
80 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/static/
Dinspector_server.cpp60 server_.OnValidate([handler = std::move(handler)]() { in OnValidate()
72 server_.OnOpen([this, handler = std::move(handler)]() { in OnOpen()
87 server_.OnFail([handler = std::move(handler)]() { in OnFail()
240 …[this, handler = std::move(handler)](auto &sessionId, const auto &params) -> Server::MethodRespons… in OnCallDebuggerContinueToLocation()
265 server_.OnCall("Debugger.enable", [handler = std::move(handler)](auto, auto &) { in OnCallDebuggerEnable()
276 … [this, handler = std::move(handler)](auto &, const JsonObject &params) -> Server::MethodResponse { in OnCallDebuggerGetPossibleBreakpoints()
307 return std::unique_ptr<JsonSerializable>(std::move(response)); in OnCallDebuggerGetPossibleBreakpoints()
316 [this, handler = std::move(handler)](auto &, auto &params) -> Server::MethodResponse { in OnCallDebuggerGetScriptSource()
331 server_.OnCall("Debugger.pause", [this, handler = std::move(handler)](auto &sessionId, auto &) { in OnCallDebuggerPause()
342 … [this, handler = std::move(handler)](auto &sessionId, auto &params) -> Server::MethodResponse { in OnCallDebuggerRemoveBreakpoint()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Dinspector_server.cpp60 server_.OnValidate([handler = std::move(handler)]() { in OnValidate()
72 server_.OnOpen([this, handler = std::move(handler)]() { in OnOpen()
87 server_.OnFail([handler = std::move(handler)]() { in OnFail()
240 …[this, handler = std::move(handler)](auto &sessionId, const auto &params) -> Server::MethodRespons… in OnCallDebuggerContinueToLocation()
265 server_.OnCall("Debugger.enable", [handler = std::move(handler)](auto, auto &) { in OnCallDebuggerEnable()
276 … [this, handler = std::move(handler)](auto &, const JsonObject &params) -> Server::MethodResponse { in OnCallDebuggerGetPossibleBreakpoints()
307 return std::unique_ptr<JsonSerializable>(std::move(response)); in OnCallDebuggerGetPossibleBreakpoints()
316 [this, handler = std::move(handler)](auto &, auto &params) -> Server::MethodResponse { in OnCallDebuggerGetScriptSource()
331 server_.OnCall("Debugger.pause", [this, handler = std::move(handler)](auto &sessionId, auto &) { in OnCallDebuggerPause()
342 … [this, handler = std::move(handler)](auto &sessionId, auto &params) -> Server::MethodResponse { in OnCallDebuggerRemoveBreakpoint()
[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()
215 … auto callback = [nextTask = std::move(taskFunc), nextRunner = std::move(taskRunner)]() mutable { in StartTask()
218 nextTask(std::move(nextRunner)); in StartTask()
221 compilerQueue->AddBackgroundTask(copy_hooks::MakeFakeCopyable(std::move(callback))); in StartTask()
/arkcompiler/toolchain/tooling/dynamic/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/ets_frontend/ets2panda/test/runtime/ets/
Dgetter_setter_static_modifier.ets31 public static move: int = 10;
37 public static get Move(): int {
38 return Carry.move;
73 const move = Carry.Move;
76 assertEQ(move, 10)
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dinterfaces_props.ets17 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/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/Interface_inheritance_class_implementation/overriding_the_default_method/
Dclass_implementation_multi_inheritance_interface_05.ets25 move(): string {
26 return "move";
43 assertEQ(animal.move(), "move");
Dclass_implementation_multi_inheritance_interface_04.ets25 move(): string {
26 return "move";
37 move(): string {
47 assertEQ(animal.move(), "moving");
Dclass_implementation_multi_inheritance_interface_06.ets26 move(): string {
27 return "move";
41 move(): string {
49 assertEQ(cchild.move(), "moving");
Dclass_implementation_multi_inheritance_interface_02.ets25 move(): string {
26 return "move";
37 move(): string {
45 assertEQ(parent.move(), "moving");
/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/static_core/libpandabase/taskmanager/
Dtask_queue.h177 return AddForegroundTaskImpl(std::move(runner)); in AddForegroundTask()
184 return AddBackgroundTaskImpl(std::move(runner)); in AddBackgroundTask()
192 …auto waitListCallback = [this](RunnerCallback &&irunner) { AddForegroundTaskImpl(std::move(irunner… in AddForegroundTaskInWaitList()
193 return waitList_->AddValueToWait({std::move(runner), waitListCallback}, timeToWait); in AddForegroundTaskInWaitList()
201 …auto waitListCallback = [this](RunnerCallback &&irunner) { AddBackgroundTaskImpl(std::move(irunner… in AddBackgroundTaskInWaitList()
202 return waitList_->AddValueToWait({std::move(runner), waitListCallback}, timeToWait); in AddBackgroundTaskInWaitList()
209 …auto waitListCallback = [this](RunnerCallback &&irunner) { AddForegroundTaskImpl(std::move(irunner… in AddForegroundTaskInWaitList()
210 return waitList_->AddValueToWait({std::move(runner), waitListCallback}); in AddForegroundTaskInWaitList()
217 …auto waitListCallback = [this](RunnerCallback &&irunner) { AddBackgroundTaskImpl(std::move(irunner… in AddBackgroundTaskInWaitList()
218 return waitList_->AddValueToWait({std::move(runner), waitListCallback}); in AddBackgroundTaskInWaitList()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/Interface_inheritance_class_implementation/inheriting_abstract_methods/
Dclass_implementation_single_inheritance_interface_04.ets22 move(): string;
26 abstract move(): string;
35 move(): string {
43 const moveOutput = ostrich.move();
/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/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/ets2panda/parser/
DETSparserAnnotations.cpp37 ApplyAnnotationsToNode(result, std::move(annotations), savePos); in ParseTopLevelAnnotation()
104 …auto *annotationDecl = AllocNode<ir::AnnotationDeclaration>(expr, std::move(properties), Allocator… in ParseAnnotationDeclaration()
265 ns->SetAnnotations(std::move(annotations)); in ApplyAnnotationsToNamespace()
292 …ApplyAnnotationsToNode(node->AsExpressionStatement()->GetExpression(), std::move(annotations), pos… in ApplyAnnotationsToNode()
296 ApplyAnnotationsToSpecificNodeType(node, std::move(annotations), pos); in ApplyAnnotationsToNode()
307 func->SetAnnotations(std::move(annotations)); in ApplyAnnotationsToSpecificNodeType()
311 node->AsClassDeclaration()->Definition()->SetAnnotations(std::move(annotations)); in ApplyAnnotationsToSpecificNodeType()
314 node->AsETSStructDeclaration()->Definition()->SetAnnotations(std::move(annotations)); in ApplyAnnotationsToSpecificNodeType()
317 node->AsFunctionDeclaration()->SetAnnotations(std::move(annotations)); in ApplyAnnotationsToSpecificNodeType()
320 node->AsTSInterfaceDeclaration()->SetAnnotations(std::move(annotations)); in ApplyAnnotationsToSpecificNodeType()
[all …]

12345678910>>...54