Home
last modified time | relevance | path

Searched refs:Response (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Debuginfod/
H A DHTTPServer.cpp86 void HTTPServerRequest::setResponse(HTTPResponse Response) { in setResponse() argument
87 HTTPLibResponse.set_content(Response.Body.begin(), Response.Body.size(), in setResponse()
88 Response.ContentType); in setResponse()
89 HTTPLibResponse.status = Response.Code; in setResponse()
94 Response.ContentLength, Response.ContentType, in setResponse()
96 if (Offset < Response.ContentLength) { in setResponse()
97 StringRef Chunk = Response.Provider(Offset, Length); in setResponse()
102 [=](bool Success) { Response.CompletionHandler(Success); }); in setResponse()
104 HTTPLibResponse.status = Response.Code; in setResponse()
113 httplib::Response &HTTPLibResponse) { in get()
[all …]
/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DMessageObjects.cpp100 StructuredData::ParseJSON(std::string(Response)); in create()
229 if (Response.size() < 3) in create()
231 if (Response.consume_front("T")) in create()
232 return StopReplyStop::create(Response, Endian, RegInfos); in create()
233 if (Response.consume_front("W")) in create()
234 return StopReplyExit::create(Response); in create()
269 StringRef SignalStr = Response.take_front(2); in create()
270 Response = Response.drop_front(2); in create()
274 auto Elements = SplitPairList(Response); in create()
327 StopReplyExit::create(StringRef Response) { in create() argument
[all …]
H A DMessageObjects.h67 create(llvm::StringRef Response,
83 create(llvm::StringRef Response);
97 create(llvm::StringRef Response, llvm::support::endianness Endian,
117 create(llvm::StringRef Response, llvm::support::endianness Endian,
/llvm-project-15.0.7/llvm/unittests/Debuginfod/
H A DHTTPServerTests.cpp28 Request.setResponse(Response); in __anon6196692c0102()
33 Request.setResponse(Response); in __anon6196692c0202()
101 EXPECT_EQ(Handler.ResponseBody, Response.Body); in TEST_F()
102 EXPECT_EQ(Client.responseCode(), Response.Code); in TEST_F()
144 EXPECT_EQ(Handler.ResponseBody, Response.Body); in TEST_F()
145 EXPECT_EQ(Client.responseCode(), Response.Code); in TEST_F()
156 OS << Response.Body; in __anon6196692c0902()
176 EXPECT_EQ(Handler.ResponseBody, Response.Body); in TEST_F()
177 EXPECT_EQ(Client.responseCode(), Response.Code); in TEST_F()
190 OS << Response.Body; in __anon6196692c0b02()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Debuginfod/
H A DHTTPServer.h26 class Response; variable
43 httplib::Response &HTTPLibResponse);
44 httplib::Response &HTTPLibResponse;
54 void setResponse(StreamingHTTPResponse Response);
55 void setResponse(HTTPResponse Response);
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/monitor/
H A DMonitor.cpp54 clang::clangd::remote::v1::MonitoringInfoReply Response; in main() local
55 const auto Status = Stub->MonitoringInfo(&Context, Request, &Response); in main()
67 google::protobuf::util::MessageToJsonString(Response, &Output, Options); in main()
70 Response.DebugString(), JsonStatus.error_code(), in main()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/
H A DClient.cpp93 auto Response = ProtobufMarshaller->fromProtobuf(Reply.stream_result()); in streamRPC() local
94 if (!Response) { in streamRPC()
97 Response.takeError()); in streamRPC()
101 Callback(*Response); in streamRPC()
/llvm-project-15.0.7/llvm/docs/
H A DReportingGuide.rst70 When handling a report, we follow our :doc:`Response Guide <ResponseGuide>`.
91 :doc:`Response Guide <ResponseGuide>`. for details on this.
97 and follow up according to the procedures in the :doc:`Response Guide
104 `Carpentries Response Guide`_, and the `Write The Docs Response Guide`_.
107 .. _Carpentries Response Guide: https://docs.carpentries.org/topic_folders/policies/enforcement-gui…
108 .. _Write The Docs Response Guide: https://www.writethedocs.org/code-of-conduct/#guidelines-for-rep…
H A DResponseGuide.rst2 Response Guide
14 Additional Code of Conduct Response Teams
26 These teams should determine if an :ref:`immediate response<Immediate Response
48 .. _Immediate Response Checklist:
50 Immediate Response Checklist
74 Response Procedure
81 Response Checklist>`.
85 3. :ref:`Discuss the incident report<Incident Response Assessment>`, gather
120 .. _Incident Response Assessment:
122 Incident Response Assessment
[all …]
H A DCodeOfConduct.rst128 :doc:`Response Guide<ResponseGuide>`.
148 For details about what a Transparency Report is and what it contains, please see the :doc:`Response
H A DCommandLine.rst1291 Response files
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DLSPBinder.h198 template <typename Request, typename Response>
199 operator OutgoingMethod<Request, Response>() && {
200 return [Method(Method), Out(Out)](Request R, Callback<Response> Reply) {
208 Reply(LSPBinder::parse<Response>(std::move(*RawRsp), Method,
H A DClangdLSPServer.cpp779 llvm::Expected<ApplyWorkspaceEditResponse> Response) mutable { in applyEdit() argument
780 if (!Response) in applyEdit()
781 return Reply(Response.takeError()); in applyEdit()
782 if (!Response->applied) { in applyEdit()
783 std::string Reason = Response->failureReason in applyEdit()
784 ? *Response->failureReason in applyEdit()
1408 std::vector<Location> Response; in onGoToType() local
1410 Response.push_back(Sym.PreferredDeclaration); in onGoToType()
1411 return Reply(std::move(Response)); in onGoToType()
H A DProtocol.cpp850 bool fromJSON(const llvm::json::Value &Response, ApplyWorkspaceEditResponse &R, in fromJSON() argument
852 llvm::json::ObjectMapper O(Response, P); in fromJSON()
/llvm-project-15.0.7/lldb/docs/
H A Dlldb-platform-packets.txt115 // Response is F followed by the return value of the command (base 16),
303 // Response is "F" plus the return value of unlink(), base 16 encoding.
319 // Response is "F" plus the return value of symlink(), base 16 encoding,
336 // Response is "F" plus the return value of chmod(), base 16 encoding.
354 // Response is "F" plus the return value of chmod(), base 10 encoding.
410 // Response is F, followed by the number of bytes read (base 16), a
430 // Response is F, followed by the number of bytes written (base 16)
/llvm-project-15.0.7/llvm/lib/MCA/HardwareUnits/
H A DRegisterFile.cpp672 unsigned Response = 0; in isAvailable() local
702 Response |= (1U << I); in isAvailable()
705 return Response; in isAvailable()