Home
last modified time | relevance | path

Searched refs:req (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/toolchain/websocket/server/
H A Dwebsocket_server.cpp34 static bool ValidateHandShakeMessage(const HttpRequest& req) in ValidateHandShakeMessage() argument
36 std::string upgradeHeaderValue = req.upgrade; in ValidateHandShakeMessage()
39 return req.connection.find("Upgrade") != std::string::npos && in ValidateHandShakeMessage()
41 req.version.compare("HTTP/1.1") == 0; in ValidateHandShakeMessage()
82 bool WebSocketServer::ProtocolUpgrade(const HttpRequest& req) in ProtocolUpgrade() argument
85 if (!WebSocketKeyEncoder::EncodeKey(req.secWebSocketKey, encodedKey)) { in ProtocolUpgrade()
122 HttpRequest req; in HttpHandShake() local
123 if (!HttpRequest::Decode(msgBuf, req)) { in HttpHandShake()
127 if (validateCb_ && !validateCb_(req)) { in HttpHandShake()
132 if (ValidateHandShakeMessage(req)) { in HttpHandShake()
[all...]
H A Dwebsocket_server.h108 bool ProtocolUpgrade(const HttpRequest& req);
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerstarttrackingheapobjects_fuzzer/
H A 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/test/fuzztest/protocolhandlersendreply_fuzzer/
H A Dprotocolhandlersendreply_fuzzer.cpp39 DispatchRequest req(str); in ProtocolHandlerSendReplyFuzzTest()
41 reply->Add("id", req.GetCallId()); in ProtocolHandlerSendReplyFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilercollectgarbage_fuzzer/
H A 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/heapprofilerdisable_fuzzer/
H A Dheapprofilerdisable_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerDisableFuzzTest() local
49 dispatcherImpl->Disable(*req); in HeapprofilerDisableFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilergetobjectbyheapobjectid_fuzzer/
H A Dheapprofilergetobjectbyheapobjectid_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerGetObjectByHeapObjectIdFuzzTest() local
49 dispatcherImpl->GetObjectByHeapObjectId(*req); in HeapprofilerGetObjectByHeapObjectIdFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilergetheapobjectid_fuzzer/
H A Dheapprofilergetheapobjectid_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerGetheapObjectIdFuzzTest() local
49 dispatcherImpl->GetHeapObjectId(*req); in HeapprofilerGetheapObjectIdFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerstoptrackingheapobjects_fuzzer/
H A 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/
H A Dheapprofilerstopsampling_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerStopSamplingFuzzTest() local
49 dispatcherImpl->StopSampling(*req); in HeapprofilerStopSamplingFuzzTest()
/arkcompiler/toolchain/test/fuzztest/protocolhandlerresponse_fuzzer/
H A Dprotocolhandlerresponse_fuzzer.cpp39 DispatchRequest req(str); in ProtocolHandlerResponseFuzzTest()
41 handler.SendResponse(req, DispatchResponse::Ok(), ret); in ProtocolHandlerResponseFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilergetsamplingprofile_fuzzer/
H A 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/heapprofilertakeheapsnapshot_fuzzer/
H A 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/heapprofileraddinspectedheapobject_fuzzer/
H A Dheapprofileraddinspectedheapobject_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerAddInspectedHeapObjectFuzzTest() local
49 dispatcherImpl->AddInspectedHeapObject(*req); in HeapprofilerAddInspectedHeapObjectFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerdispatch_fuzzer/
H A Dheapprofilerdispatch_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerDispatchFuzzTest() local
49 dispatcherImpl->Dispatch(*req); in HeapprofilerDispatchFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerenable_fuzzer/
H A Dheapprofilerenable_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerEnableFuzzTest() local
49 dispatcherImpl->Enable(*req); in HeapprofilerEnableFuzzTest()
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerstartsampling_fuzzer/
H A Dheapprofilerstartsampling_fuzzer.cpp45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerStartSamplingFuzzTest() local
49 dispatcherImpl->StartSampling(*req); in HeapprofilerStartSamplingFuzzTest()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_array_stub_builder.cpp991 JsArrayRequirements req; in IndexOf() local
992 BRANCH(IsJsArrayWithLengthLimit(glue, thisValue, MAX_LENGTH_ZERO, req), &thisIsEmpty, slowPath); in IndexOf()
1011 JsArrayRequirements req; in LastIndexOf() local
1012 BRANCH(IsJsArrayWithLengthLimit(glue, thisValue, MAX_LENGTH_ZERO, req), &thisIsEmpty, slowPath); in LastIndexOf()
1139 JsArrayRequirements req; in Slice() local
1140 req.defaultConstructor = true; in Slice()
1141 BRANCH(IsJsArrayWithLengthLimit(glue, thisValue, MAX_LENGTH_ZERO, req), &thisIsEmpty, &thisNotEmpty); in Slice()

Completed in 13 milliseconds