Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 35) sorted by relevance

12

/arkcompiler/toolchain/tooling/agent/
Dprofiler_impl.cpp24 void ProfilerImpl::DispatcherImpl::Dispatch(const DispatchRequest &request) in Dispatch() argument
41 const std::string &method = request.GetMethod(); in Dispatch()
45 (this->*(entry->second))(request); in Dispatch()
47 SendResponse(request, DispatchResponse::Fail("Unknown method: " + method)); in Dispatch()
51 void ProfilerImpl::DispatcherImpl::Disable(const DispatchRequest &request) in Disable() argument
54 SendResponse(request, response); in Disable()
57 void ProfilerImpl::DispatcherImpl::Enable(const DispatchRequest &request) in Enable() argument
60 SendResponse(request, response); in Enable()
63 void ProfilerImpl::DispatcherImpl::Start(const DispatchRequest &request) in Start() argument
66 SendResponse(request, response); in Start()
[all …]
Dheapprofiler_impl.cpp21 void HeapProfilerImpl::DispatcherImpl::Dispatch(const DispatchRequest &request) in Dispatch() argument
38 const std::string &method = request.GetMethod(); in Dispatch()
42 (this->*(entry->second))(request); in Dispatch()
44 SendResponse(request, DispatchResponse::Fail("Unknown method: " + method)); in Dispatch()
48 void HeapProfilerImpl::DispatcherImpl::AddInspectedHeapObject(const DispatchRequest &request) in AddInspectedHeapObject() argument
50 …r<AddInspectedHeapObjectParams> params = AddInspectedHeapObjectParams::Create(request.GetParams()); in AddInspectedHeapObject()
52 SendResponse(request, DispatchResponse::Fail("wrong params")); in AddInspectedHeapObject()
56 SendResponse(request, response); in AddInspectedHeapObject()
59 void HeapProfilerImpl::DispatcherImpl::CollectGarbage(const DispatchRequest &request) in CollectGarbage() argument
62 SendResponse(request, response); in CollectGarbage()
[all …]
Dprofiler_impl.h51 void Dispatch(const DispatchRequest &request) override;
52 void Enable(const DispatchRequest &request);
53 void Disable(const DispatchRequest &request);
54 void Start(const DispatchRequest &request);
55 void Stop(const DispatchRequest &request);
56 void SetSamplingInterval(const DispatchRequest &request);
57 void GetBestEffortCoverage(const DispatchRequest &request);
58 void StopPreciseCoverage(const DispatchRequest &request);
59 void TakePreciseCoverage(const DispatchRequest &request);
60 void StartPreciseCoverage(const DispatchRequest &request);
[all …]
Dtracing_impl.cpp24 void TracingImpl::DispatcherImpl::Dispatch(const DispatchRequest &request) in Dispatch() argument
34 const std::string &method = request.GetMethod(); in Dispatch()
38 (this->*(entry->second))(request); in Dispatch()
40 SendResponse(request, DispatchResponse::Fail("Unknown method: " + method)); in Dispatch()
44 void TracingImpl::DispatcherImpl::End(const DispatchRequest &request) in End() argument
47 SendResponse(request, response); in End()
50 void TracingImpl::DispatcherImpl::GetCategories(const DispatchRequest &request) in GetCategories() argument
54 SendResponse(request, response); in GetCategories()
57 void TracingImpl::DispatcherImpl::RecordClockSyncMarker(const DispatchRequest &request) in RecordClockSyncMarker() argument
61 SendResponse(request, response); in RecordClockSyncMarker()
[all …]
Dheapprofiler_impl.h64 void Dispatch(const DispatchRequest &request) override;
65 void AddInspectedHeapObject(const DispatchRequest &request);
66 void CollectGarbage(const DispatchRequest &request);
67 void Enable(const DispatchRequest &request);
68 void Disable(const DispatchRequest &request);
69 void GetHeapObjectId(const DispatchRequest &request);
70 void GetObjectByHeapObjectId(const DispatchRequest &request);
71 void GetSamplingProfile(const DispatchRequest &request);
72 void StartSampling(const DispatchRequest &request);
73 void StartTrackingHeapObjects(const DispatchRequest &request);
[all …]
Ddebugger_impl.h114 void Dispatch(const DispatchRequest &request) override;
115 void Enable(const DispatchRequest &request);
116 void Disable(const DispatchRequest &request);
117 void EvaluateOnCallFrame(const DispatchRequest &request);
118 void GetPossibleBreakpoints(const DispatchRequest &request);
119 void GetScriptSource(const DispatchRequest &request);
120 void Pause(const DispatchRequest &request);
121 void RemoveBreakpoint(const DispatchRequest &request);
122 void Resume(const DispatchRequest &request);
123 void SetAsyncCallStackDepth(const DispatchRequest &request);
[all …]
Dtracing_impl.h44 void Dispatch(const DispatchRequest &request) override;
45 void End(const DispatchRequest &request);
46 void GetCategories(const DispatchRequest &request);
47 void RecordClockSyncMarker(const DispatchRequest &request);
48 void RequestMemoryDump(const DispatchRequest &request);
49 void Start(const DispatchRequest &request);
55 using AgentHandler = void (TracingImpl::DispatcherImpl::*)(const DispatchRequest &request);
Ddebugger_impl.cpp278 void DebuggerImpl::DispatcherImpl::Dispatch(const DispatchRequest &request) in Dispatch() argument
302 const std::string &method = request.GetMethod(); in Dispatch()
306 (this->*(entry->second))(request); in Dispatch()
308 SendResponse(request, DispatchResponse::Fail("Unknown method: " + method)); in Dispatch()
312 void DebuggerImpl::DispatcherImpl::Enable(const DispatchRequest &request) in Enable() argument
314 std::unique_ptr<EnableParams> params = EnableParams::Create(request.GetParams()); in Enable()
316 SendResponse(request, DispatchResponse::Fail("wrong params")); in Enable()
324 SendResponse(request, response, result); in Enable()
327 void DebuggerImpl::DispatcherImpl::Disable(const DispatchRequest &request) in Disable() argument
330 SendResponse(request, response); in Disable()
[all …]
Druntime_impl.h53 void Dispatch(const DispatchRequest &request) override;
54 void Disable(const DispatchRequest &request);
55 void Enable(const DispatchRequest &request);
56 void RunIfWaitingForDebugger(const DispatchRequest &request);
57 void GetProperties(const DispatchRequest &request);
58 void CallFunctionOn(const DispatchRequest &request);
59 void GetHeapUsage(const DispatchRequest &request);
62 using AgentHandler = void (RuntimeImpl::DispatcherImpl::*)(const DispatchRequest &request);
Druntime_impl.cpp26 void RuntimeImpl::DispatcherImpl::Dispatch(const DispatchRequest &request) in Dispatch() argument
36 const std::string &method = request.GetMethod(); in Dispatch()
41 (this->*(entry->second))(request); in Dispatch()
44 SendResponse(request, DispatchResponse::Fail("unknown method: " + method)); in Dispatch()
48 void RuntimeImpl::DispatcherImpl::Enable(const DispatchRequest &request) in Enable() argument
51 SendResponse(request, response); in Enable()
54 void RuntimeImpl::DispatcherImpl::Disable(const DispatchRequest &request) in Disable() argument
57 SendResponse(request, response); in Disable()
60 void RuntimeImpl::DispatcherImpl::RunIfWaitingForDebugger(const DispatchRequest &request) in RunIfWaitingForDebugger() argument
63 SendResponse(request, response); in RunIfWaitingForDebugger()
[all …]
/arkcompiler/toolchain/tooling/test/
Ddebugger_impl_test.cpp101 DispatchRequest request(msg); in HWTEST_F_L0() local
102 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
131 DispatchRequest request(msg); in HWTEST_F_L0() local
132 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
159 DispatchRequest request(msg); in HWTEST_F_L0() local
161 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
188 DispatchRequest request(msg); in HWTEST_F_L0() local
190 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
219 DispatchRequest request(msg); in HWTEST_F_L0() local
221 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
[all …]
Dprofiler_impl_test.cpp132 DispatchRequest request = DispatchRequest(msg); in HWTEST_F_L0() local
133 …std::unique_ptr<StartPreciseCoverageParams> params = StartPreciseCoverageParams::Create(request.Ge… in HWTEST_F_L0()
171 DispatchRequest request(msg); in HWTEST_F_L0() local
172 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
193 DispatchRequest request(msg); in HWTEST_F_L0() local
194 dispatcherImpl->Enable(request); in HWTEST_F_L0()
211 DispatchRequest request(msg); in HWTEST_F_L0() local
212 dispatcherImpl->Disable(request); in HWTEST_F_L0()
229 DispatchRequest request(msg); in HWTEST_F_L0() local
230 dispatcherImpl->Start(request); in HWTEST_F_L0()
[all …]
Dheapprofiler_impl_test.cpp159 DispatchRequest request(msg); in HWTEST_F_L0() local
160 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
181 DispatchRequest request(msg); in HWTEST_F_L0() local
182 dispatcherImpl->AddInspectedHeapObject(request); in HWTEST_F_L0()
203 DispatchRequest request(msg); in HWTEST_F_L0() local
204 dispatcherImpl->CollectGarbage(request); in HWTEST_F_L0()
221 DispatchRequest request(msg); in HWTEST_F_L0() local
222 dispatcherImpl->Enable(request); in HWTEST_F_L0()
239 DispatchRequest request(msg); in HWTEST_F_L0() local
240 dispatcherImpl->Disable(request); in HWTEST_F_L0()
[all …]
Dtracing_impl_test.cpp107 DispatchRequest request(msg); in HWTEST_F_L0() local
108 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
129 DispatchRequest request = DispatchRequest(msg); in HWTEST_F_L0() local
130 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
147 DispatchRequest request = DispatchRequest(msg); in HWTEST_F_L0() local
148 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
165 DispatchRequest request = DispatchRequest(msg); in HWTEST_F_L0() local
166 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
183 DispatchRequest request = DispatchRequest(msg); in HWTEST_F_L0() local
184 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
[all …]
Druntime_impl_test.cpp62 DispatchRequest request(msg); in HWTEST_F_L0() local
63 dispatcherImpl->Dispatch(request); in HWTEST_F_L0()
143 DispatchRequest request(msg); in HWTEST_F_L0() local
144 dispatcherImpl->GetProperties(request); in HWTEST_F_L0()
168 DispatchRequest request(msg); in HWTEST_F_L0() local
169 dispatcherImpl->GetProperties(request); in HWTEST_F_L0()
192 DispatchRequest request(msg); in HWTEST_F_L0() local
193 dispatcherImpl->GetHeapUsage(request); in HWTEST_F_L0()
Dprotocol_handler_test.cpp98 DispatchRequest request(msg); in HWTEST_F_L0() local
103 protocol->SendResponse(request, response, returns); in HWTEST_F_L0()
107 protocol->SendResponse(request, response1, returns); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/
Ddispatcher.cpp124 void DispatcherBase::SendResponse(const DispatchRequest &request, const DispatchResponse &response, in SendResponse() argument
128 channel_->SendResponse(request, response, result); in SendResponse()
158 void Dispatcher::Dispatch(const DispatchRequest &request) in Dispatch() argument
160 if (!request.IsValid()) { in Dispatch()
164 const std::string &domain = request.GetDomain(); in Dispatch()
167 dispatcher->second->Dispatch(request); in Dispatch()
Ddispatcher.h122 virtual void Dispatch(const DispatchRequest &request) = 0;
125 void SendResponse(const DispatchRequest &request, const DispatchResponse &response,
139 void Dispatch(const DispatchRequest &request);
Dprotocol_channel.h33 virtual void SendResponse(const DispatchRequest &request, const DispatchResponse &response,
Dprotocol_handler.cpp82 void ProtocolHandler::SendResponse(const DispatchRequest &request, const DispatchResponse &response, in SendResponse() argument
89 reply->Add("id", request.GetCallId()); in SendResponse()
/arkcompiler/ets_runtime/ecmascript/require/
Djs_cjs_module.h52 static JSHandle<JSTaggedValue> Load(JSThread *thread, JSHandle<EcmaString> &request);
54 …static JSTaggedValue Require(JSThread *thread, JSHandle<EcmaString> &request, JSHandle<CjsModule> …
Djs_cjs_module.cpp94 JSHandle<JSTaggedValue> CjsModule::Load(JSThread *thread, JSHandle<EcmaString> &request) in Load() argument
109 request.GetTaggedValue())); in Load()
114 CString requestStr = ConvertToString(request.GetTaggedValue()); in Load()
177 JSTaggedValue CjsModule::Require(JSThread *thread, JSHandle<EcmaString> &request, in Require() argument
181 Load(thread, request); in Require()
/arkcompiler/ets_runtime/ecmascript/platform/unix/
Dfile.cpp103 JSTaggedValue request) in ResolveFilenameFromNative() argument
109 CString requestStr = ConvertToString(EcmaString::Cast(request.GetTaggedObject())); in ResolveFilenameFromNative()
/arkcompiler/ets_runtime/ecmascript/platform/windows/
Dfile.cpp129 JSTaggedValue request) in ResolveFilenameFromNative() argument
135 CString requestStr = ConvertToString(EcmaString::Cast(request.GetTaggedObject())); in ResolveFilenameFromNative()
/arkcompiler/toolchain/tooling/test/utils/
Dtest_channel.h35 void SendResponse([[maybe_unused]] const DispatchRequest &request, in SendResponse() argument

12