Home
last modified time | relevance | path

Searched refs:RequestID (Results 1 – 20 of 20) sorted by relevance

/external/libbrillo/brillo/http/
Dhttp_utils.h80 BRILLO_EXPORT RequestID SendRequest(
95 BRILLO_EXPORT RequestID SendRequest(
109 BRILLO_EXPORT RequestID SendRequestWithNoData(
129 BRILLO_EXPORT RequestID Get(
147 BRILLO_EXPORT RequestID Head(
168 BRILLO_EXPORT RequestID PostBinary(
182 BRILLO_EXPORT RequestID PostBinary(
206 BRILLO_EXPORT RequestID PostText(
229 BRILLO_EXPORT RequestID PostFormData(
251 BRILLO_EXPORT RequestID PostFormData(
[all …]
Dhttp_transport.h29 using RequestID = int; variable
33 base::Callback<void(RequestID, std::unique_ptr<Response>)>;
34 using ErrorCallback = base::Callback<void(RequestID, const brillo::Error*)>;
68 virtual RequestID StartAsyncTransfer(
80 virtual bool CancelRequest(RequestID request_id) = 0;
Dhttp_utils.cc32 RequestID Get(const std::string& url, in Get()
52 RequestID Head(const std::string& url, in Head()
74 RequestID PostText(const std::string& url, in PostText()
122 RequestID SendRequest(const std::string& method, in SendRequest()
147 RequestID SendRequest(const std::string& method, in SendRequest()
166 RequestID SendRequestWithNoData(const std::string& method, in SendRequestWithNoData()
200 RequestID PostBinary(const std::string& url, in PostBinary()
217 RequestID PostBinary(const std::string& url, in PostBinary()
265 RequestID PostFormData(const std::string& url, in PostFormData()
282 RequestID PostFormData(const std::string& url, in PostFormData()
[all …]
Dhttp_transport_curl.h54 RequestID StartAsyncTransfer(http::Connection* connection,
58 bool CancelRequest(RequestID request_id) override;
119 std::map<RequestID, Connection*> request_id_map_;
127 RequestID last_request_id_{0};
Dmock_transport.h31 MOCK_METHOD3(StartAsyncTransfer, RequestID(Connection*,
34 MOCK_METHOD1(CancelRequest, bool(RequestID));
Dhttp_utils_unittest.cc72 [&custom_data](RequestID /* id */, in TEST()
79 auto error_callback = [](RequestID /* id */, const Error* /* error */) { in TEST() argument
162 [](RequestID /* request_id */, std::unique_ptr<http::Response> response) { in TEST() argument
166 auto error_callback = [](RequestID /* request_id */, in TEST()
469 [](RequestID /* request_id */, in TEST()
473 auto error_callback = [](RequestID /* request_id */, const Error* error) { in TEST() argument
Dhttp_transport_curl.cc97 RequestID request_id;
209 RequestID Transport::StartAsyncTransfer(http::Connection* connection, in StartAsyncTransfer()
219 RequestID request_id = ++last_request_id_; in StartAsyncTransfer()
250 bool Transport::CancelRequest(RequestID request_id) { in CancelRequest()
Dhttp_transport_fake.h97 RequestID StartAsyncTransfer(http::Connection* connection,
101 bool CancelRequest(RequestID request_id) override;
Dmock_connection.h27 RequestID(const SuccessCallback&, const ErrorCallback&));
Dhttp_connection.h70 virtual RequestID FinishRequestAsync(const SuccessCallback& success_callback,
Dhttp_connection_fake.h34 RequestID FinishRequestAsync(const SuccessCallback& success_callback,
Dhttp_transport_fake.cc91 http::RequestID Transport::StartAsyncTransfer( in StartAsyncTransfer()
100 bool Transport::CancelRequest(RequestID /* request_id */) { in CancelRequest() argument
Dhttp_connection_curl.h37 RequestID FinishRequestAsync(
Dhttp_request.cc144 RequestID Request::GetResponse(const SuccessCallback& success_callback, in GetResponse()
152 RequestID id = in GetResponse()
Dhttp_connection_fake.cc60 RequestID Connection::FinishRequestAsync( in FinishRequestAsync()
Dhttp_transport_curl_unittest.cc209 RequestID /* request_id */, std::unique_ptr<http::Response> /* resp */) { in TEST_F() argument
214 auto error_callback = [](RequestID /* request_id */, in TEST_F()
Dhttp_request.h288 RequestID GetResponse(const SuccessCallback& success_callback,
Dhttp_request_unittest.cc160 [this, &resp_data](RequestID request_id, std::unique_ptr<Response> resp) { in TEST_F()
Dhttp_connection_curl.cc169 RequestID Connection::FinishRequestAsync( in FinishRequestAsync()
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
Drfc1157.py21 class RequestID(univ.Integer): pass class
43 namedtype.NamedType('request-id', RequestID()),