Home
last modified time | relevance | path

Searched refs:read_buffer_ (Results 1 – 19 of 19) sorted by relevance

/external/chromium/chrome/browser/renderer_host/
Dsave_file_resource_handler.cc72 if (!read_buffer_) { in OnWillRead()
74 read_buffer_ = new net::IOBuffer(*buf_size); in OnWillRead()
76 *buf = read_buffer_.get(); in OnWillRead()
81 DCHECK(read_buffer_); in OnReadCompleted()
84 read_buffer_.swap(buffer); in OnReadCompleted()
107 read_buffer_ = NULL; in OnResponseCompleted()
Ddownload_resource_handler.cc134 if (!read_buffer_) { in OnWillRead()
136 read_buffer_ = new net::IOBuffer(*buf_size); in OnWillRead()
138 *buf = read_buffer_.get(); in OnWillRead()
146 DCHECK(read_buffer_); in OnReadCompleted()
152 read_buffer_.swap(&buffer); in OnReadCompleted()
192 read_buffer_ = NULL; in OnResponseCompleted()
Dsave_file_resource_handler.h67 scoped_refptr<net::IOBuffer> read_buffer_; variable
Ddownload_resource_handler.h81 scoped_refptr<net::IOBuffer> read_buffer_; variable
/external/chromium/net/tools/flip_server/
Dsm_connection.cc43 read_buffer_(kSpdySegmentSize * 40), in SMConnection()
150 read_buffer_.Clear(); in InitSMConnection()
405 while (!read_buffer_.Full()) { in DoRead()
413 read_buffer_.GetWritablePtr(&bytes, &size); in DoRead()
466 read_buffer_.AdvanceWritablePtr(bytes_read); in DoRead()
491 read_buffer_.GetReadablePtr(&bytes, &size); in DoConsumeReadData()
499 read_buffer_.AdvanceReadablePtr(bytes_consumed); in DoConsumeReadData()
513 read_buffer_.GetReadablePtr(&bytes, &size); in DoConsumeReadData()
638 read_buffer_.Clear(); in Reset()
Dsm_connection.h144 RingBuffer read_buffer_; variable
/external/chromium/net/spdy/
Dspdy_proxy_client_socket.cc106 read_buffer_.clear(); in Disconnect()
158 if (!spdy_stream_ && read_buffer_.empty()) { in Read()
182 while (!read_buffer_.empty() && user_buffer_->BytesRemaining() > 0) { in PopulateUserReadBuffer()
183 scoped_refptr<DrainableIOBuffer> data = read_buffer_.front(); in PopulateUserReadBuffer()
190 read_buffer_.pop_front(); in PopulateUserReadBuffer()
455 read_buffer_.push_back( in OnDataReceived()
Dspdy_proxy_client_socket.h153 std::list<scoped_refptr<DrainableIOBuffer> > read_buffer_; variable
Dspdy_session.h442 scoped_refptr<IOBuffer> read_buffer_; variable
Dspdy_session.cc255 read_buffer_(new IOBuffer(kReadBufferSize)), in SpdySession()
659 char *data = read_buffer_->data(); in OnReadComplete()
734 int bytes_read = connection_->socket()->Read(read_buffer_.get(), in ReadSocket()
/external/chromium/net/url_request/
Durl_request_file_dir_job.cc91 read_buffer_ = buf; in ReadRawData()
188 if (FillReadBuffer(read_buffer_->data(), read_buffer_length_, in CompleteRead()
192 read_buffer_ = NULL; in CompleteRead()
Durl_request_file_dir_job.h69 scoped_refptr<IOBuffer> read_buffer_; variable
/external/chromium/net/socket/
Dtcp_client_socket_win.cc83 WSABUF read_buffer_; member in net::TCPClientSocketWin::Core
527 core_->read_buffer_.len = buf_len; in Read()
528 core_->read_buffer_.buf = buf->data(); in Read()
533 int rv = WSARecv(socket_, &core_->read_buffer_, 1, &num, &flags, in Read()
543 base::MemoryDebug::MarkAsInitialized(core_->read_buffer_.buf, num); in Read()
549 core_->read_buffer_.buf); in Read()
803 core_->read_buffer_.buf); in DidCompleteRead()
/external/chromium/net/http/
Ddisk_cache_based_ssl_host_info.cc170 data_ = std::string(read_buffer_->data(), rv); in DoReadComplete()
208 read_buffer_ = new IOBuffer(size); in DoRead()
210 return entry_->ReadData(0 /* index */, 0 /* offset */, read_buffer_, in DoRead()
Ddisk_cache_based_ssl_host_info.h115 scoped_refptr<net::IOBuffer> read_buffer_; variable
/external/chromium/webkit/glue/media/
Dbuffered_data_source.cc59 read_buffer_(NULL), in BufferedDataSource()
268 read_buffer_ = buffer; in ReadTask()
303 read_buffer_ = 0; in CleanupTask()
440 read_buffer_ = 0; in DoneRead_Locked()
630 memcpy(read_buffer_, intermediate_read_buffer_.get(), error); in ReadCallback()
Dbuffered_resource_loader.cc68 read_buffer_(NULL), in BufferedResourceLoader()
162 read_buffer_ = buffer; in Read()
576 int read = static_cast<int>(buffer_->Read(read_buffer_, read_size_)); in ReadInternal()
634 read_buffer_ = NULL; in DoneRead()
Dbuffered_data_source.h173 uint8* read_buffer_; variable
Dbuffered_resource_loader.h253 uint8* read_buffer_; variable