Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerstarttrackingheapobjects_fuzzer/
Dheapprofilerstarttrackingheapobjects_fuzzer.cpp46 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerStartTrackingHeapObjectsFuzzTest() local
50 dispatcherImpl->StartTrackingHeapObjects(*req); in HeapprofilerStartTrackingHeapObjectsFuzzTest()
51 dispatcherImpl->StopTrackingHeapObjects(*req); in HeapprofilerStartTrackingHeapObjectsFuzzTest()
/arkcompiler/toolchain/websocket/
Dwebsocket.cpp75 bool WebSocket::HttpProtocolDecode(const std::string& request, HttpProtocol& req) in HttpProtocolDecode() argument
85 req.version = headers.at(2); // 2: to get the version param in HttpProtocolDecode()
89 req.connection = headers.at(1); // 1: to get the connection param in HttpProtocolDecode()
91 req.upgrade = headers.at(1); // 1: to get the upgrade param in HttpProtocolDecode()
93 req.secWebSocketKey = headers.at(1); // 1: to get the secWebSocketKey param in HttpProtocolDecode()
188 bool WebSocket::ProtocolUpgrade(const HttpProtocol& req) in ProtocolUpgrade() argument
190 std::string rawKey = req.secWebSocketKey + WEB_SOCKET_GUID; in ProtocolUpgrade()
267 HttpProtocol req; in HttpHandShake() local
268 if (!HttpProtocolDecode(msgBuf, req)) { in HttpHandShake()
271 } else if (req.connection.find("Upgrade") != std::string::npos && in HttpHandShake()
[all …]
Dwebsocket.h69 bool HttpProtocolDecode(const std::string& request, HttpProtocol& req);
71 bool ProtocolUpgrade(const HttpProtocol& req);
/arkcompiler/toolchain/test/fuzztest/protocolhandlerresponse_fuzzer/
Dprotocolhandlerresponse_fuzzer.cpp39 DispatchRequest req(str); in ProtocolHandlerResponseFuzzTest() local
41 handler.SendResponse(req, DispatchResponse::Ok(), ret); in ProtocolHandlerResponseFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilertakeheapsnapshot_fuzzer/
Dheapprofilertakeheapsnapshot_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerTakeHeapSnapshotFuzzTest() local
49 dispatcherImpl->TakeHeapSnapshot(*req); in HeapprofilerTakeHeapSnapshotFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerstartsampling_fuzzer/
Dheapprofilerstartsampling_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerStartSamplingFuzzTest() local
49 dispatcherImpl->StartSampling(*req); in HeapprofilerStartSamplingFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerstoptrackingheapobjects_fuzzer/
Dheapprofilerstoptrackingheapobjects_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerStopTrackingHeapObjectsFuzzTest() local
49 dispatcherImpl->StopTrackingHeapObjects(*req); in HeapprofilerStopTrackingHeapObjectsFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerstopsampling_fuzzer/
Dheapprofilerstopsampling_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerStopSamplingFuzzTest() local
49 dispatcherImpl->StopSampling(*req); in HeapprofilerStopSamplingFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilercollectgarbage_fuzzer/
Dheapprofilercollectgarbage_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerCollectgarbageFuzzTest() local
49 dispatcherImpl->CollectGarbage(*req); in HeapprofilerCollectgarbageFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilergetsamplingprofile_fuzzer/
Dheapprofilergetsamplingprofile_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerGetSamplingProfileFuzzTest() local
49 dispatcherImpl->GetSamplingProfile(*req); in HeapprofilerGetSamplingProfileFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofileraddinspectedheapobject_fuzzer/
Dheapprofileraddinspectedheapobject_fuzzer.cpp47 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerAddInspectedHeapObjectFuzzTest() local
51 dispatcherImpl->AddInspectedHeapObject(*req); in HeapprofilerAddInspectedHeapObjectFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerenable_fuzzer/
Dheapprofilerenable_fuzzer.cpp47 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerEnableFuzzTest() local
51 dispatcherImpl->Enable(*req); in HeapprofilerEnableFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilergetheapobjectid_fuzzer/
Dheapprofilergetheapobjectid_fuzzer.cpp47 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerGetheapObjectIdFuzzTest() local
51 dispatcherImpl->GetHeapObjectId(*req); in HeapprofilerGetheapObjectIdFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilergetobjectbyheapobjectid_fuzzer/
Dheapprofilergetobjectbyheapobjectid_fuzzer.cpp47 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerGetObjectByHeapObjectIdFuzzTest() local
51 dispatcherImpl->GetObjectByHeapObjectId(*req); in HeapprofilerGetObjectByHeapObjectIdFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerdisable_fuzzer/
Dheapprofilerdisable_fuzzer.cpp47 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerDisableFuzzTest() local
51 dispatcherImpl->Disable(*req); in HeapprofilerDisableFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerdispatch_fuzzer/
Dheapprofilerdispatch_fuzzer.cpp47 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerDispatchFuzzTest() local
51 dispatcherImpl->Dispatch(*req); in HeapprofilerDispatchFuzzTest()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DdeclareExternalModuleWithExportAssignedFundule.ts34 post(path: RegExp, handler: (req: Function) => void ): void;
DdeclaredExternalModule.ts26 (res, req, next): void;
DdeclaredExternalModuleWithExportAssignment.ts24 (res, req, next): void;
DexportAssignmentWithPrivacyError.ts22 (res, req, next): void;
DexportAssignmentWithImportStatementPrivacyError.ts24 (res, req, next): void;
DdeclFileExportAssignmentImportInternalModule.ts25 (res, req, next): void;
DdeclarationMaps.ts23 (res, req, next): void;
DdeclareFileExportAssignment.ts23 (res, req, next): void;
DdeclareFileExportAssignmentWithVarFromVariableStatement.ts23 (res, req, next): void;

12