/arkcompiler/toolchain/websocket/server/ |
H A D | websocket_server.cpp | 34 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 D | websocket_server.h | 108 bool ProtocolUpgrade(const HttpRequest& req);
|
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilerstarttrackingheapobjects_fuzzer/ |
H A D | heapprofilerstarttrackingheapobjects_fuzzer.cpp | 46 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 D | protocolhandlersendreply_fuzzer.cpp | 39 DispatchRequest req(str); in ProtocolHandlerSendReplyFuzzTest() 41 reply->Add("id", req.GetCallId()); in ProtocolHandlerSendReplyFuzzTest()
|
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilercollectgarbage_fuzzer/ |
H A D | heapprofilercollectgarbage_fuzzer.cpp | 45 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 D | heapprofilerdisable_fuzzer.cpp | 45 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 D | heapprofilergetobjectbyheapobjectid_fuzzer.cpp | 45 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 D | heapprofilergetheapobjectid_fuzzer.cpp | 45 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 D | heapprofilerstoptrackingheapobjects_fuzzer.cpp | 45 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 D | heapprofilerstopsampling_fuzzer.cpp | 45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerStopSamplingFuzzTest() local 49 dispatcherImpl->StopSampling(*req); in HeapprofilerStopSamplingFuzzTest()
|
/arkcompiler/toolchain/test/fuzztest/protocolhandlerresponse_fuzzer/ |
H A D | protocolhandlerresponse_fuzzer.cpp | 39 DispatchRequest req(str);
in ProtocolHandlerResponseFuzzTest() 41 handler.SendResponse(req, DispatchResponse::Ok(), ret);
in ProtocolHandlerResponseFuzzTest()
|
/arkcompiler/toolchain/test/fuzztest/agent/heapprofiler/heapprofilergetsamplingprofile_fuzzer/ |
H A D | heapprofilergetsamplingprofile_fuzzer.cpp | 45 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 D | heapprofilertakeheapsnapshot_fuzzer.cpp | 45 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 D | heapprofileraddinspectedheapobject_fuzzer.cpp | 45 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 D | heapprofilerdispatch_fuzzer.cpp | 45 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 D | heapprofilerenable_fuzzer.cpp | 45 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 D | heapprofilerstartsampling_fuzzer.cpp | 45 auto req = std::make_unique<DispatchRequest>(str); in HeapprofilerStartSamplingFuzzTest() local 49 dispatcherImpl->StartSampling(*req); in HeapprofilerStartSamplingFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_array_stub_builder.cpp | 991 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()
|