Home
last modified time | relevance | path

Searched refs:HttpError (Results 1 – 25 of 38) 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/python/google-api-python-client/tests/
Dtest_errors.py28 from googleapiclient.errors import HttpError
64 error = HttpError(resp, content, uri='http://example.org')
72 error = HttpError(resp, content)
80 error = HttpError(resp, content, uri='http://example.org')
88 error = HttpError(resp, content)
94 error = HttpError(resp, content)
100 error = HttpError(resp, content)
Dtest_mocks.py29 from googleapiclient.errors import HttpError
144 except HttpError as e:
Dtest_json_model.py34 from googleapiclient.errors import HttpError
158 except HttpError as e:
166 except HttpError as e:
Dtest_http.py45 from googleapiclient.errors import HttpError
413 with self.assertRaises(HttpError):
521 except HttpError:
980 with self.assertRaises(HttpError):
1003 with self.assertRaises(HttpError):
1026 with self.assertRaises(HttpError):
1049 with self.assertRaises(HttpError):
1072 with self.assertRaises(HttpError):
1531 self.assertRaises(HttpError, request.execute)
Dtest_discovery.py61 from googleapiclient.errors import HttpError
493 except HttpError as e:
506 except HttpError as e:
519 except HttpError as e:
1111 self.assertRaises(HttpError, request.execute, http=http)
1130 self.assertRaises(HttpError, request.execute, http=http)
1184 except HttpError as e:
1310 self.assertRaises(HttpError, request.next_chunk, http=http)
1319 except HttpError as e:
/external/grpc-grpc/tools/gcp/utils/
Dbig_query_utils.py22 from apiclient.errors import HttpError
51 except HttpError as http_error:
126 except HttpError as http_error:
158 except HttpError as http_error:
177 except HttpError as http_error:
191 except HttpError as http_error:
/external/python/apitools/apitools/base/py/
Dexceptions.py50 class HttpError(CommunicationError): class
56 super(HttpError, self).__init__()
142 class RetryAfterError(HttpError):
156 class BadStatusCodeError(HttpError):
Dbatch_test.py149 exceptions.HttpError)
491 exceptions.HttpError, batch_request._Execute, None)
573 self.assertIsInstance(exception, exceptions.HttpError)
/external/python/google-api-python-client/googleapiclient/
Derrors.py34 class HttpError(Error): class
110 class ResumableUploadError(HttpError):
123 class BatchError(HttpError):
Dmodel.py33 from googleapiclient.errors import HttpError
212 raise HttpError(resp, content)
Dhttp.py62 from googleapiclient.errors import HttpError
705 raise HttpError(resp, content, uri=self._uri)
851 raise HttpError(resp, content, uri=self.uri)
1021 raise HttpError(resp, content, uri=self.uri)
1385 raise HttpError(resp, content, uri=self._batch_uri)
1482 raise HttpError(resp, content, uri=request.uri)
1484 except HttpError as e:
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt139 googleapiclient.errors.HttpError._get_reason googleapiclient.errors.HttpError-class.html#_get_reason
141 googleapiclient.errors.HttpError googleapiclient.errors.HttpError-class.html
142 googleapiclient.errors.HttpError.__str__ googleapiclient.errors.HttpError-class.html#__str__
143 googleapiclient.errors.HttpError.__repr__ googleapiclient.errors.HttpError-class.html#__repr__
144 googleapiclient.errors.HttpError.__init__ googleapiclient.errors.HttpError-class.html#__init__
145 googleapiclient.errors.HttpError._get_reason googleapiclient.errors.HttpError-class.html#_get_reason
151 googleapiclient.errors.HttpError.__str__ googleapiclient.errors.HttpError-class.html#__str__
152 googleapiclient.errors.HttpError.__repr__ googleapiclient.errors.HttpError-class.html#__repr__
153 googleapiclient.errors.HttpError.__init__ googleapiclient.errors.HttpError-class.html#__init__
154 googleapiclient.errors.HttpError._get_reason googleapiclient.errors.HttpError-class.html#_get_reason
/external/python/google-api-python-client/samples/analytics/
Dhello_analytics_api_v3.py50 from googleapiclient.errors import HttpError
74 except HttpError as error:
Dcore_reporting_v3_reference.py66 from googleapiclient.errors import HttpError
92 except HttpError as error:
Dmanagement_v3_reference.py60 from googleapiclient.errors import HttpError
79 except HttpError as error:
/external/syzkaller/dashboard/app/
Dutil_test.go92 httpErr, ok := err.(HttpError)
178 return nil, HttpError{w.Code, w.Body.String()}
183 type HttpError struct { struct
188 func (err HttpError) Error() string { argument
/external/autotest/site_utils/
Dgmail_lib.py123 except apiclient_errors.HttpError as error:
164 if not isinstance(exc, apiclient_errors.HttpError):

12