• Home
  • Raw
  • Download

Lines Matching full:move

60     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()
384 … [this, handler = std::move(handler)](auto &sessionId, auto &params) -> Server::MethodResponse { in OnCallDebuggerRemoveBreakpointsByUrl()
407 … [this, handler = std::move(handler)](auto &sessionId, auto &params) -> Server::MethodResponse { in OnCallDebuggerRestartFrame()
424 … server_.OnCall("Debugger.resume", [this, handler = std::move(handler)](auto &sessionId, auto &) { in OnCallDebuggerResume()
436 : breakpointId_(std::move(bpId)), location_(std::move(loc)) in OnCallDebuggerSetBreakpoint()
452 … [this, handler = std::move(handler)](auto &sessionId, auto &params) -> Server::MethodResponse { in OnCallDebuggerSetBreakpoint()
473 … auto response = std::make_unique<Response>(std::move(std::to_string(*id)), std::move(*location)); in OnCallDebuggerSetBreakpoint()
474 return std::unique_ptr<JsonSerializable>(std::move(response)); in OnCallDebuggerSetBreakpoint()
500 …auto id = handler(thread, std::move(sourceFileFilter), breakpointRequest.GetLineNumber(), sourceFi… in SetBreakpointByUrl()
509 return Expected<std::unique_ptr<UrlBreakpointResponse>, std::string>(std::move(breakpointInfo)); in SetBreakpointByUrl()
516 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallDebuggerSetBreakpointByUrl()
523 return Unexpected(JRPCError(std::move(msg), ErrorCode::PARSE_ERROR)); in OnCallDebuggerSetBreakpointByUrl()
527 return std::unique_ptr<JsonSerializable>(std::move(optResponse.Value())); in OnCallDebuggerSetBreakpointByUrl()
543 return Unexpected(std::move(msg)); in ParseUrlBreakpointRequests()
551 return Unexpected(std::move(msg)); in ParseUrlBreakpointRequests()
553 requestedBreakpoints.push_back(std::move(*optBreakpointRequest)); in ParseUrlBreakpointRequests()
562 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallDebuggerGetPossibleAndSetBreakpointByUrl()
571 … return Unexpected(JRPCError(std::move(optRequests.Error()), ErrorCode::PARSE_ERROR)); in OnCallDebuggerGetPossibleAndSetBreakpointByUrl()
587 response->Add(std::move(resp)); in OnCallDebuggerGetPossibleAndSetBreakpointByUrl()
590 return std::unique_ptr<JsonSerializable>(std::move(response)); in OnCallDebuggerGetPossibleAndSetBreakpointByUrl()
599 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallDebuggerSetBreakpointsActive()
620 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallDebuggerSetSkipAllPauses()
642 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallDebuggerSetPauseOnExceptions()
666 return Unexpected(JRPCError(std::move(msg), ErrorCode::INVALID_PARAMS)); in OnCallDebuggerSetPauseOnExceptions()
677 …server_.OnCall("Debugger.stepInto", [this, handler = std::move(handler)](auto &sessionId, auto &) { in OnCallDebuggerStepInto()
686 … server_.OnCall("Debugger.stepOut", [this, handler = std::move(handler)](auto &sessionId, auto &) { in OnCallDebuggerStepOut()
695 …server_.OnCall("Debugger.stepOver", [this, handler = std::move(handler)](auto &sessionId, auto &) { in OnCallDebuggerStepOver()
707 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallDebuggerEvaluateOnCallFrame()
713 return Unexpected(JRPCError(std::move(optRequest.Error()), ErrorCode::PARSE_ERROR)); in OnCallDebuggerEvaluateOnCallFrame()
722 return Unexpected(JRPCError(std::move(msg), ErrorCode::INTERNAL_ERROR)); in OnCallDebuggerEvaluateOnCallFrame()
725 …return std::unique_ptr<JsonSerializable>(std::make_unique<EvaluationResult>(std::move(*optResult))… in OnCallDebuggerEvaluateOnCallFrame()
735 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallDebuggerCallFunctionOn()
741 return Unexpected(JRPCError(std::move(optRequest.Error()), ErrorCode::PARSE_ERROR)); in OnCallDebuggerCallFunctionOn()
750 return Unexpected(JRPCError(std::move(msg), ErrorCode::INTERNAL_ERROR)); in OnCallDebuggerCallFunctionOn()
753 …return std::unique_ptr<JsonSerializable>(std::make_unique<EvaluationResult>(std::move(*optResult))… in OnCallDebuggerCallFunctionOn()
762 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallDebuggerSetMixedDebugEnabled()
781 … server_.OnCall("Debugger.disable", [this, handler = std::move(handler)](auto &sessionId, auto &) { in OnCallDebuggerDisable()
790 …server_.OnCall("Debugger.clientDisconnect", [this, handler = std::move(handler)](auto &sessionId, … in OnCallDebuggerClientDisconnect()
799 …server_.OnCall("Debugger.setAsyncCallStackDepth", [this, handler = std::move(handler)](auto &sessi… in OnCallDebuggerSetAsyncCallStackDepth()
808 …server_.OnCall("Debugger.setBlackboxPatterns", [this, handler = std::move(handler)](auto &sessionI… in OnCallDebuggerSetBlackboxPatterns()
817 …server_.OnCall("Debugger.smartStepInto", [this, handler = std::move(handler)](auto &sessionId, aut… in OnCallDebuggerSmartStepInto()
826 …server_.OnCall("Debugger.dropFrame", [this, handler = std::move(handler)](auto &sessionId, auto &)… in OnCallDebuggerDropFrame()
835 …server_.OnCall("Debugger.setNativeRange", [this, handler = std::move(handler)](auto &sessionId, au… in OnCallDebuggerSetNativeRange()
844 …server_.OnCall("Debugger.replyNativeCalling", [this, handler = std::move(handler)](auto &sessionId… in OnCallDebuggerReplyNativeCalling()
853 server_.OnCall("Runtime.enable", [this, handler = std::move(handler)](auto &sessionId, auto &) { in OnCallRuntimeEnable()
865 explicit Response(std::vector<PropertyDescriptor> props) : properties_(std::move(props)) {} in OnCallRuntimeGetProperties()
880 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallRuntimeGetProperties()
895 … return std::unique_ptr<JsonSerializable>(std::make_unique<Response>(std::move(properties))); in OnCallRuntimeGetProperties()
902 …server_.OnCall("Runtime.runIfWaitingForDebugger", [this, handler = std::move(handler)](auto &sessi… in OnCallRuntimeRunIfWaitingForDebugger()
914 …[this, handler = std::move(handler)](auto &sessionId, const JsonObject &params) -> Server::MethodR… in OnCallRuntimeEvaluate()
930 return Unexpected(JRPCError(std::move(msg), ErrorCode::INTERNAL_ERROR)); in OnCallRuntimeEvaluate()
933 …return std::unique_ptr<JsonSerializable>(std::make_unique<EvaluationResult>(std::move(*optResult))… in OnCallRuntimeEvaluate()
952 [handler = std::move(handler)](auto &, const JsonObject &params) -> Server::MethodResponse { in OnCallProfilerSetSamplingInterval()
969 …server_.OnCall("Profiler.start", [handler = std::move(handler)](auto &, auto &) -> Server::MethodR… in OnCallProfilerStart()
976 return Unexpected(JRPCError(std::move(msg), ErrorCode::INTERNAL_ERROR)); in OnCallProfilerStart()
984 …server_.OnCall("Profiler.stop", [handler = std::move(handler)](auto &, auto &) -> Server::MethodRe… in OnCallProfilerStop()
991 return Unexpected(JRPCError(std::move(msg), ErrorCode::INTERNAL_ERROR)); in OnCallProfilerStop()
993 return std::unique_ptr<JsonSerializable>(std::make_unique<Profile>(std::move(*optResult))); in OnCallProfilerStop()