Home
last modified time | relevance | path

Searched refs:HttpError (Results 1 – 25 of 31) sorted by relevance

12

/external/webrtc/webrtc/base/
Dhttpbase.h36 HttpError* error);
38 void complete(HttpError err);
43 ProcessResult ProcessLine(const char* line, size_t len, HttpError* error);
47 HttpError* error) = 0;
50 HttpError* error) = 0;
52 HttpError* error) = 0;
54 HttpError* error) = 0;
55 virtual void OnComplete(HttpError err) = 0;
76 virtual HttpError onHttpHeaderComplete(bool chunked, size_t& data_size) = 0;
77 virtual void onHttpComplete(HttpMode mode, HttpError err) = 0;
[all …]
Dhttpclient.h54 typedef HttpError HttpErrorType;
141 HttpError WriteCacheHeaders(const std::string& id);
145 HttpError ReadCacheHeaders(const std::string& id, bool override);
146 HttpError ReadCacheBody(const std::string& id);
149 HttpError CompleteValidate();
151 HttpError OnHeaderAvailable(bool ignore_data, bool chunked, size_t data_size);
157 HttpError onHttpHeaderComplete(bool chunked, size_t& data_size) override;
158 void onHttpComplete(HttpMode mode, HttpError err) override;
159 void onHttpClosed(HttpError err) override;
Dhttpbase.cc61 HttpError* error) { in Process()
125 HttpParser::ProcessLine(const char* line, size_t len, HttpError* error) { in ProcessLine()
221 HttpParser::complete(HttpError error) { in complete()
286 HttpError http_error; in Read()
344 HttpBase* Disconnect(HttpError error) { in Disconnect()
356 HttpError error_;
463 HttpBase::abort(HttpError err) { in abort()
479 HttpError HttpBase::HandleStreamClose(int error) { in HandleStreamClose()
498 bool HttpBase::DoReceiveLoop(HttpError* error) { in DoReceiveLoop()
582 HttpError error; in read_and_process_data()
[all …]
Dhttpclient.cc487 HttpError HttpClient::WriteCacheHeaders(const std::string& id) { in WriteCacheHeaders()
529 HttpError error = ReadCacheHeaders(id, true); in CheckCache()
565 HttpError HttpClient::ReadCacheHeaders(const std::string& id, bool override) { in ReadCacheHeaders()
583 HttpError HttpClient::ReadCacheBody(const std::string& id) { in ReadCacheBody()
586 HttpError error = HE_NONE; in ReadCacheBody()
635 HttpError HttpClient::CompleteValidate() { in CompleteValidate()
641 HttpError error = ReadCacheHeaders(id, false); in CompleteValidate()
653 HttpError HttpClient::OnHeaderAvailable(bool ignore_data, bool chunked, in OnHeaderAvailable()
674 HttpError HttpClient::onHttpHeaderComplete(bool chunked, size_t& data_size) { in onHttpHeaderComplete()
697 HttpError error = OnHeaderAvailable(base_.ignore_data(), chunked, data_size); in onHttpHeaderComplete()
[all …]
Dhttpserver.h92 HttpError onHttpHeaderComplete(bool chunked, size_t& data_size) override;
93 void onHttpComplete(HttpMode mode, HttpError err) override;
94 void onHttpClosed(HttpError err) override;
Dhttpcommon.h67 enum HttpError { enum
122 inline HttpError mkerr(HttpError err, HttpError def_err = HE_DEFAULT) {
379 virtual HttpError parseLeader(const char* line, size_t len) = 0;
400 HttpError parseLeader(const char* line, size_t len) override;
424 HttpError parseLeader(const char* line, size_t len) override;
Dhttpbase_unittest.cc55 HttpError err;
66 virtual HttpError onHttpHeaderComplete(bool chunked, size_t& data_size) { in onHttpHeaderComplete()
75 virtual void onHttpComplete(HttpMode mode, HttpError err) { in onHttpComplete()
80 virtual void onHttpClosed(HttpError err) { in onHttpClosed()
102 void VerifyTransferComplete(HttpMode mode, HttpError error);
294 void HttpBaseTest::VerifyTransferComplete(HttpMode mode, HttpError error) { in VerifyTransferComplete()
Dhttpserver.cc176 HttpError
191 HttpServer::Connection::onHttpComplete(HttpMode mode, HttpError err) { in onHttpComplete()
224 HttpServer::Connection::onHttpClosed(HttpError err) { in onHttpClosed()
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dexceptions.py35 class HttpError(CommunicationError): class
40 super(HttpError, self).__init__()
122 class RetryAfterError(HttpError):
136 class BadStatusCodeError(HttpError):
Dbatch_test.py134 exceptions.HttpError)
403 exceptions.HttpError, batch_request._Execute, None)
485 self.assertIsInstance(exception, exceptions.HttpError)
Dtransfer.py306 raise exceptions.HttpError.FromResponse(response)
405 raise exceptions.HttpError.FromResponse(response)
800 raise exceptions.HttpError.FromResponse(refresh_response)
821 raise exceptions.HttpError.FromResponse(http_response)
924 raise exceptions.HttpError.FromResponse(response)
Dbatch.py413 raise exceptions.HttpError.FromResponse(response)
457 exception = exceptions.HttpError.FromResponse(response)
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/
Derrors.py34 class HttpError(Error): class
95 class ResumableUploadError(HttpError):
108 class BatchError(HttpError):
Dhttp.py50 from googleapiclient.errors import HttpError
573 raise HttpError(resp, content, uri=self._uri)
729 raise HttpError(resp, content, uri=self.uri)
907 raise HttpError(resp, content, uri=self.uri)
1253 raise HttpError(resp, content, uri=self._batch_uri)
1335 raise HttpError(resp, content, uri=request.uri)
1337 except HttpError as e:
Dmodel.py33 from googleapiclient.errors import HttpError
210 raise HttpError(resp, content)
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_copy_helper_funcs.py356 exc = apitools_exceptions.HttpError({'status': 503}, None, None)
361 exc = apitools_exceptions.HttpError({'status': 503}, None, None)
366 exc = apitools_exceptions.HttpError({'status': 429}, None, None)
370 exc = apitools_exceptions.HttpError({'status': 410}, None, None)
375 exc = apitools_exceptions.HttpError({'status': 404}, None, None)
380 exc = apitools_exceptions.HttpError({'status': 401}, None, None)
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dsignurl.py31 from apitools.base.py.exceptions import HttpError
263 raise HttpError(response)
266 except HttpError as e:
/external/chromium-trace/catapult/dashboard/dashboard/
Dissue_tracker_service_test.py108 service._ExecuteRequest = mock.Mock(side_effect=errors.HttpError(
120 service._ExecuteRequest = mock.Mock(side_effect=errors.HttpError(
Dissue_tracker_service.py109 except errors.HttpError as e:
213 except errors.HttpError as e:
Dutils.py272 except (errors.HttpError, KeyError, AttributeError) as e:
/external/autotest/site_utils/
Dgmail_lib.py114 except apiclient_errors.HttpError as error:
155 if not isinstance(exc, apiclient_errors.HttpError):
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/testing/
Dmock_test.py25 exception=apitools_base.HttpError({'status': 404}, '', ''))
27 with self.assertRaises(apitools_base.HttpError):
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dgcs_json_api.py101 TRANSLATABLE_APITOOLS_EXCEPTIONS = (apitools_exceptions.HttpError,
1205 if isinstance(e, apitools_exceptions.HttpError) and e.status_code == 404:
1313 if isinstance(http_error, apitools_exceptions.HttpError):
1324 if isinstance(e, apitools_exceptions.HttpError):
1368 if isinstance(e, apitools_exceptions.HttpError):
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/scripts/
Doauth2l.py150 raise apitools_base.HttpError.FromResponse(response)
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/samples/storage_sample/
Ddownloads_test.py69 with self.assertRaises(apitools_base.HttpError):

12