Home
last modified time | relevance | path

Searched refs:kDrainBodyBufferSize (Results 1 – 14 of 14) sorted by relevance

/external/chromium/net/http/
Dhttp_response_body_drainer.cc28 read_buf_ = new IOBuffer(kDrainBodyBufferSize); in Start()
73 read_buf_, kDrainBodyBufferSize - total_read_, in DoDrainResponseBody()
90 DCHECK_LE(total_read_, kDrainBodyBufferSize); in DoDrainResponseBodyComplete()
91 if (total_read_ >= kDrainBodyBufferSize) in DoDrainResponseBodyComplete()
Dhttp_response_body_drainer_unittest.cc27 (HttpResponseBodyDrainer::kDrainBodyBufferSize % kMagicChunkSize) == 0,
219 HttpResponseBodyDrainer::kDrainBodyBufferSize / kMagicChunkSize); in TEST_F()
241 HttpResponseBodyDrainer::kDrainBodyBufferSize / kMagicChunkSize; in TEST_F()
Dhttp_response_body_drainer.h27 static const int kDrainBodyBufferSize = 16384;
Dhttp_proxy_client_socket.h115 static const int kDrainBodyBufferSize = 1024; variable
Dhttp_proxy_client_socket.cc230 drain_buf_ = new IOBuffer(kDrainBodyBufferSize); in PrepareForAuthRestart()
467 return http_stream_parser_->ReadResponseBody(drain_buf_, kDrainBodyBufferSize, in DoDrainBody()
Dhttp_network_transaction.h258 static const int kDrainBodyBufferSize = 1024; variable
Dhttp_network_transaction.cc259 read_buf_ = new IOBuffer(kDrainBodyBufferSize); // A bit bucket. in PrepareForAuthRestart()
260 read_buf_len_ = kDrainBodyBufferSize; in PrepareForAuthRestart()
/external/chromium_org/net/http/
Dhttp_response_body_drainer.cc26 StartWithSize(session, kDrainBodyBufferSize); in Start()
35 if (num_bytes_to_drain > kDrainBodyBufferSize) { in StartWithSize()
106 DCHECK_LE(total_read_, kDrainBodyBufferSize); in DoDrainResponseBodyComplete()
107 if (total_read_ >= kDrainBodyBufferSize) in DoDrainResponseBodyComplete()
Dhttp_response_body_drainer_unittest.cc29 (HttpResponseBodyDrainer::kDrainBodyBufferSize % kMagicChunkSize) == 0,
279 HttpResponseBodyDrainer::kDrainBodyBufferSize / kMagicChunkSize); in TEST_F()
300 HttpResponseBodyDrainer::kDrainBodyBufferSize / kMagicChunkSize; in TEST_F()
310 HttpResponseBodyDrainer::kDrainBodyBufferSize / kMagicChunkSize; in TEST_F()
Dhttp_response_body_drainer.h27 static const int kDrainBodyBufferSize = 16384;
Dhttp_proxy_client_socket.cc265 drain_buf_ = new IOBuffer(kDrainBodyBufferSize); in PrepareForAuthRestart()
509 drain_buf_.get(), kDrainBodyBufferSize, io_callback_); in DoDrainBody()
Dhttp_proxy_client_socket.h109 static const int kDrainBodyBufferSize = 1024; variable
Dhttp_network_transaction.h303 static const int kDrainBodyBufferSize = 1024; variable
Dhttp_network_transaction.cc318 read_buf_ = new IOBuffer(kDrainBodyBufferSize); // A bit bucket. in PrepareForAuthRestart()
319 read_buf_len_ = kDrainBodyBufferSize; in PrepareForAuthRestart()