Home
last modified time | relevance | path

Searched refs:response_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium/net/http/
Dhttp_cache_transaction.cc148 cancel_request &= (response_.headers->response_code() == 200); in ~Transaction()
358 return (response_.headers || response_.ssl_info.cert || in GetResponseInfo()
359 response_.cert_request_info) ? &response_ : NULL; in GetResponseInfo()
533 &response_, &truncated_)) { in DoCacheReadResponseComplete()
580 if (response_.headers->GetContentLength() <= 0 || in AddTruncatedFlag()
581 response_.headers->HasHeaderValue("Accept-Ranges", "none") || in AddTruncatedFlag()
582 !response_.headers->HasStrongValidators()) in AddTruncatedFlag()
889 if (response_.headers->response_code() == 206 || partial_.get()) { in BeginCacheRead()
923 if (response_.headers->response_code() != 206 && !partial_.get() && in BeginPartialCacheValidation()
968 if (!partial_->UpdateFromStoredHeaders(response_.headers, entry_->disk_entry, in ValidateEntryHeadersAndContinue()
[all …]
Dhttp_stream_parser.cc50 response_ = response; in SendRequest()
195 response_->request_time = base::Time::Now(); in DoSendHeaders()
256 response_->response_time = base::Time::Now(); in DoReadHeadersComplete()
296 if (response_->headers->response_code() / 100 == 1) { in DoReadHeadersComplete()
463 response_->headers = headers; in DoParseResponseHeaders()
464 response_->vary_data.Init(*request_, *response_->headers); in DoParseResponseHeaders()
481 switch (response_->headers->response_code()) { in CalculateResponseBodySize()
496 if (response_->headers->GetHttpVersion() >= HttpVersion(1, 1) && in CalculateResponseBodySize()
497 response_->headers->HasHeaderValue("Transfer-Encoding", "chunked")) { in CalculateResponseBodySize()
500 response_body_length_ = response_->headers->GetContentLength(); in CalculateResponseBodySize()
[all …]
Dhttp_transaction_unittest.h229 response_.request_time = base::Time::Now(); in Start()
231 response_.request_time = t->request_time; in Start()
233 response_.was_cached = false; in Start()
235 response_.response_time = base::Time::Now(); in Start()
237 response_.response_time = t->response_time; in Start()
239 response_.headers = new net::HttpResponseHeaders(header_data); in Start()
240 response_.ssl_info.cert_status = t->cert_status; in Start()
286 return &response_; in GetResponseInfo()
308 net::HttpResponseInfo response_; variable
Dhttp_network_transaction.cc356 return ((headers_valid_ && response_.headers) || response_.ssl_info.cert || in GetResponseInfo()
357 response_.cert_request_info) ? &response_ : NULL; in GetResponseInfo()
898 request_body, &response_, &io_callback_); in DoSendRequest()
922 if (!response_.headers) { in HandleConnectionClosedBeforeEndOfHeaders()
975 if (response_.headers->GetParsedHttpVersion() < HttpVersion(1, 0)) { in DoReadHeadersComplete()
988 switch (response_.headers->response_code()) { in DoReadHeadersComplete()
1020 LogBlockedTunnelResponse(response_.headers->response_code()); in DoReadHeadersComplete()
1030 if (response_.headers->response_code() / 100 == 1) { in DoReadHeadersComplete()
1031 response_.headers = new HttpResponseHeaders(""); in DoReadHeadersComplete()
1043 ssl_socket->GetSSLInfo(&response_.ssl_info); in DoReadHeadersComplete()
[all …]
Dhttp_stream_parser.h135 HttpResponseInfo* response_; variable
Dhttp_network_transaction.h286 HttpResponseInfo response_; variable
Dhttp_cache_transaction.h295 HttpResponseInfo response_; variable
Dhttp_network_transaction_unittest.cc2857 HttpResponseInfo* response = &trans->response_; in TEST_F()
/external/v8/test/mjsunit/regress/
Dregress-1081309.js38 this.response_ = eval('(' + json + ')');
40 if (this.response_.refs) {
41 for (var i = 0; i < this.response_.refs.length; i++) {
42 this.refs_[this.response_.refs[i].handle] = this.response_.refs[i];
49 return this.response_;
54 return this.response_.body;
/external/chromium/net/flip/
Dflip_stream.cc22 response_(NULL), in FlipStream()
56 return response_; in GetResponseInfo()
67 if (response_->headers) in ReadResponseHeaders()
128 response_ = response; in SendRequest()
162 CHECK(!response_->headers); in OnResponseReceived()
164 *response_ = response; // TODO(mbelshe): avoid copy. in OnResponseReceived()
165 DCHECK(response_->headers); in OnResponseReceived()
191 if (!response_->headers) { in OnDataReceived()
394 return response_->headers ? OK : ERR_IO_PENDING; in DoReadHeaders()
Dflip_network_transaction.cc104 return (response_.headers || response_.ssl_info.cert) ? &response_ : NULL; in GetResponseInfo()
259 return stream_->SendRequest(upload_data, &response_, &io_callback_); in DoSendRequest()
Dflip_network_transaction.h105 HttpResponseInfo response_; variable
Dflip_stream.h175 HttpResponseInfo* response_; variable
/external/v8/test/mjsunit/
Ddebug-backtrace.js52 this.response_ = eval('(' + json + ')');
54 if (this.response_.refs) {
55 for (var i = 0; i < this.response_.refs.length; i++) {
56 this.refs_[this.response_.refs[i].handle] = this.response_.refs[i];
63 return this.response_;
68 return this.response_.body;
73 return this.response_.running;
/external/protobuf/src/google/protobuf/compiler/
Dplugin.cc65 : response_(response) {} in GeneratorResponseOutputDirectory()
71 CodeGeneratorResponse::File* file = response_->add_file(); in Open()
78 CodeGeneratorResponse::File* file = response_->add_file(); in OpenForInsert()
85 CodeGeneratorResponse* response_; member in google::protobuf::compiler::GeneratorResponseOutputDirectory
/external/chromium/net/ftp/
Dftp_network_transaction.cc140 return &response_; in GetResponseInfo()
306 response_ = FtpResponseInfo(); in ResetStateForRestart()
544 response_.needs_auth = true; in DoCtrlReadComplete()
650 response_.needs_auth = true; in ProcessResponsePASS()
1034 response_.is_directory_listing = true; in ProcessResponseMLSD()
1038 response_.is_directory_listing = true; in ProcessResponseMLSD()
1067 response_.is_directory_listing = true; in ProcessResponseLIST()
1071 response_.is_directory_listing = true; in ProcessResponseLIST()
Dftp_network_transaction.h180 FtpResponseInfo response_; variable
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc884 response_(NULL), in MockTestService()
902 response_ = response; in Foo()
915 response_ = response; in Bar()
925 Message* response_; member in google::protobuf::compiler::cpp::cpp_unittest::GeneratedServiceTest::MockTestService
936 response_(NULL), in MockRpcChannel()
958 response_ = response; in CallMethod()
968 Message* response_; member in google::protobuf::compiler::cpp::cpp_unittest::GeneratedServiceTest::MockRpcChannel
1067 EXPECT_EQ(&foo_response_ , mock_service_.response_ ); in TEST_F()
1121 EXPECT_EQ(&foo_response_ , mock_channel_.response_ ); in TEST_F()