read_buf_ 38 jingle/glue/chrome_async_socket.cc read_buf_(new net::IOBufferWithSize(read_buf_size)), read_buf_ 179 jingle/glue/chrome_async_socket.cc read_buf_.get(), read_buf_->size(), read_buf_ 241 jingle/glue/chrome_async_socket.cc std::memcpy(data, read_buf_->data() + read_start_, *len_read); read_buf_ 197 jingle/glue/chrome_async_socket.h scoped_refptr<net::IOBufferWithSize> read_buf_; read_buf_ 122 jingle/glue/fake_ssl_client_socket.cc DCHECK_EQ(read_buf_->BytesConsumed(), 0); read_buf_ 197 jingle/glue/fake_ssl_client_socket.cc DCHECK_EQ(read_buf_->BytesConsumed(), 0); read_buf_ 227 jingle/glue/fake_ssl_client_socket.cc DCHECK_EQ(read_buf_->BytesConsumed(), 0); read_buf_ 238 jingle/glue/fake_ssl_client_socket.cc read_buf_.get(), read_buf_ 239 jingle/glue/fake_ssl_client_socket.cc read_buf_->BytesRemaining(), read_buf_ 270 jingle/glue/fake_ssl_client_socket.cc DCHECK_LE(read, static_cast<size_t>(read_buf_->BytesRemaining())); read_buf_ 276 jingle/glue/fake_ssl_client_socket.cc read_buf_->BytesRemaining()]; read_buf_ 277 jingle/glue/fake_ssl_client_socket.cc if (std::memcmp(expected_data_start, read_buf_->data(), read) != 0) { read_buf_ 280 jingle/glue/fake_ssl_client_socket.cc if (read < static_cast<size_t>(read_buf_->BytesRemaining())) { read_buf_ 282 jingle/glue/fake_ssl_client_socket.cc read_buf_->DidConsume(read); read_buf_ 296 jingle/glue/fake_ssl_client_socket.cc read_buf_->SetOffset(0); read_buf_ 106 jingle/glue/fake_ssl_client_socket.h scoped_refptr<net::DrainableIOBuffer> read_buf_; read_buf_ 20 net/http/http_basic_state.cc : read_buf_(new GrowableIOBuffer()), read_buf_ 34 net/http/http_basic_state.cc connection_.get(), request_info, read_buf_.get(), net_log)); read_buf_ 43 net/http/http_basic_state.cc return read_buf_; read_buf_ 57 net/http/http_basic_state.h scoped_refptr<GrowableIOBuffer> read_buf_; read_buf_ 571 net/http/http_cache_transaction.cc read_buf_ = NULL; // Release the buffer before invoking the callback. read_buf_ 1055 net/http/http_cache_transaction.cc return network_trans_->Read(read_buf_.get(), io_buf_len_, io_callback_); read_buf_ 1440 net/http/http_cache_transaction.cc read_buf_ = new IOBuffer(io_buf_len_); read_buf_ 1443 net/http/http_cache_transaction.cc return entry_->disk_entry->ReadData(kResponseInfoIndex, 0, read_buf_.get(), read_buf_ 1450 net/http/http_cache_transaction.cc !HttpCache::ParseResponseInfo(read_buf_->data(), io_buf_len_, read_buf_ 1574 net/http/http_cache_transaction.cc return partial_->CacheRead(entry_->disk_entry, read_buf_.get(), io_buf_len_, read_buf_ 1579 net/http/http_cache_transaction.cc read_buf_.get(), io_buf_len_, read_buf_ 1619 net/http/http_cache_transaction.cc return AppendResponseDataToEntry(read_buf_.get(), num_bytes, io_callback_); read_buf_ 2235 net/http/http_cache_transaction.cc read_buf_ = data; read_buf_ 2242 net/http/http_cache_transaction.cc read_buf_ = data; read_buf_ 415 net/http/http_cache_transaction.h scoped_refptr<IOBuffer> read_buf_; read_buf_ 295 net/http/http_network_transaction.cc read_buf_ = new IOBuffer(kDrainBodyBufferSize); // A bit bucket. read_buf_ 373 net/http/http_network_transaction.cc read_buf_ = buf; read_buf_ 1104 net/http/http_network_transaction.cc DCHECK(read_buf_.get()); read_buf_ 1110 net/http/http_network_transaction.cc read_buf_.get(), read_buf_len_, io_callback_); read_buf_ 1153 net/http/http_network_transaction.cc read_buf_ = NULL; read_buf_ 1468 net/http/http_network_transaction.cc read_buf_ = NULL; read_buf_ 310 net/http/http_network_transaction.h scoped_refptr<IOBuffer> read_buf_; read_buf_ 5774 net/http/http_network_transaction_unittest.cc trans->read_buf_ = new IOBuffer(15); read_buf_ 5799 net/http/http_network_transaction_unittest.cc EXPECT_TRUE(trans->read_buf_.get() == NULL); read_buf_ 85 net/http/http_pipelined_connection_impl.cc read_buf_(new GrowableIOBuffer()), read_buf_ 134 net/http/http_pipelined_connection_impl.cc connection_.get(), request, read_buf_.get(), net_log)); read_buf_ 305 net/http/http_pipelined_connection_impl.h scoped_refptr<GrowableIOBuffer> read_buf_; read_buf_ 44 net/http/http_response_body_drainer.cc read_buf_ = new IOBuffer(read_size_); read_buf_ 90 net/http/http_response_body_drainer.cc read_buf_.get(), read_buf_ 58 net/http/http_response_body_drainer.h scoped_refptr<IOBuffer> read_buf_; read_buf_ 179 net/http/http_stream_parser.cc read_buf_(read_buffer), read_buf_ 307 net/http/http_stream_parser.cc if (read_buf_->offset() > 0) { read_buf_ 309 net/http/http_stream_parser.cc result = read_buf_->offset(); read_buf_ 310 net/http/http_stream_parser.cc read_buf_->set_offset(0); read_buf_ 510 net/http/http_stream_parser.cc if (read_buf_->RemainingCapacity() == 0) read_buf_ 511 net/http/http_stream_parser.cc read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); read_buf_ 515 net/http/http_stream_parser.cc CHECK(read_buf_->data()); read_buf_ 518 net/http/http_stream_parser.cc ->Read(read_buf_.get(), read_buf_->RemainingCapacity(), io_callback_); read_buf_ 533 net/http/http_stream_parser.cc if (result == ERR_CONNECTION_CLOSED && read_buf_->offset() == 0 && read_buf_ 541 net/http/http_stream_parser.cc if (read_buf_->offset() == 0 && result != ERR_CONNECTION_CLOSED) read_buf_ 546 net/http/http_stream_parser.cc if (read_buf_->offset() == 0) { read_buf_ 562 net/http/http_stream_parser.cc end_offset = read_buf_->offset(); read_buf_ 573 net/http/http_stream_parser.cc read_buf_->set_offset(read_buf_->offset() + result); read_buf_ 574 net/http/http_stream_parser.cc DCHECK_LE(read_buf_->offset(), read_buf_->capacity()); read_buf_ 587 net/http/http_stream_parser.cc if (read_buf_->offset() >= kMaxHeaderBufSize) { read_buf_ 597 net/http/http_stream_parser.cc int extra_bytes = read_buf_->offset() - end_of_header_offset; read_buf_ 600 net/http/http_stream_parser.cc memmove(read_buf_->StartOfBuffer(), read_buf_ 601 net/http/http_stream_parser.cc read_buf_->StartOfBuffer() + end_of_header_offset, read_buf_ 604 net/http/http_stream_parser.cc read_buf_->SetCapacity(extra_bytes); read_buf_ 632 net/http/http_stream_parser.cc if (read_buf_->offset()) { read_buf_ 633 net/http/http_stream_parser.cc int available = read_buf_->offset() - read_buf_unused_offset_; read_buf_ 638 net/http/http_stream_parser.cc read_buf_->StartOfBuffer() + read_buf_unused_offset_, read_buf_ 642 net/http/http_stream_parser.cc read_buf_->SetCapacity(0); read_buf_ 647 net/http/http_stream_parser.cc read_buf_->SetCapacity(0); read_buf_ 656 net/http/http_stream_parser.cc DCHECK_EQ(0, read_buf_->offset()); read_buf_ 722 net/http/http_stream_parser.cc int additional_save_amount = read_buf_->offset() - read_buf_unused_offset_; read_buf_ 736 net/http/http_stream_parser.cc if (read_buf_->capacity() < save_amount + additional_save_amount) { read_buf_ 737 net/http/http_stream_parser.cc read_buf_->SetCapacity(save_amount + additional_save_amount); read_buf_ 742 net/http/http_stream_parser.cc memcpy(read_buf_->StartOfBuffer(), user_read_buf_->data() + result, read_buf_ 745 net/http/http_stream_parser.cc read_buf_->set_offset(save_amount); read_buf_ 747 net/http/http_stream_parser.cc memmove(read_buf_->data(), read_buf_ 748 net/http/http_stream_parser.cc read_buf_->StartOfBuffer() + read_buf_unused_offset_, read_buf_ 750 net/http/http_stream_parser.cc read_buf_->set_offset(save_amount + additional_save_amount); read_buf_ 769 net/http/http_stream_parser.cc read_buf_->StartOfBuffer(), read_buf_->offset()); read_buf_ 773 net/http/http_stream_parser.cc end_offset = HttpUtil::LocateEndOfHeaders(read_buf_->StartOfBuffer(), read_buf_ 774 net/http/http_stream_parser.cc read_buf_->offset(), read_buf_ 776 net/http/http_stream_parser.cc } else if (read_buf_->offset() >= 8) { read_buf_ 798 net/http/http_stream_parser.cc read_buf_->StartOfBuffer(), end_offset)); read_buf_ 897 net/http/http_stream_parser.cc return read_buf_->offset() > read_buf_unused_offset_; read_buf_ 180 net/http/http_stream_parser.h scoped_refptr<GrowableIOBuffer> read_buf_; read_buf_ 189 net/http/http_transaction_unittest.cc content_.append(read_buf_->data(), result); read_buf_ 203 net/http/http_transaction_unittest.cc read_buf_ = new net::IOBuffer(1024); read_buf_ 204 net/http/http_transaction_unittest.cc int result = trans_->Read(read_buf_.get(), read_buf_ 147 net/http/http_transaction_unittest.h scoped_refptr<net::IOBuffer> read_buf_; read_buf_ 40 net/quic/quic_http_stream.cc read_buf_(new GrowableIOBuffer()), read_buf_ 295 net/quic/quic_http_stream.cc if (read_buf_->RemainingCapacity() < length) { read_buf_ 296 net/quic/quic_http_stream.cc size_t additional_capacity = length - read_buf_->RemainingCapacity(); read_buf_ 299 net/quic/quic_http_stream.cc read_buf_->SetCapacity(read_buf_->capacity() + additional_capacity); read_buf_ 301 net/quic/quic_http_stream.cc memcpy(read_buf_->data(), data, length); read_buf_ 302 net/quic/quic_http_stream.cc read_buf_->set_offset(read_buf_->offset() + length); read_buf_ 511 net/quic/quic_http_stream.cc size_t read_buf_len = static_cast<size_t>(read_buf_->offset()); read_buf_ 514 net/quic/quic_http_stream.cc char* data = read_buf_->StartOfBuffer(); read_buf_ 515 net/quic/quic_http_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), read_buf_ 142 net/quic/quic_http_stream.h scoped_refptr<GrowableIOBuffer> read_buf_; read_buf_ 56 net/socket/deterministic_socket_data_unittest.cc scoped_refptr<IOBuffer> read_buf_; read_buf_ 71 net/socket/deterministic_socket_data_unittest.cc read_buf_(NULL), read_buf_ 130 net/socket/deterministic_socket_data_unittest.cc read_buf_ = new IOBuffer(len); read_buf_ 131 net/socket/deterministic_socket_data_unittest.cc ASSERT_EQ(rv, sock_->Read(read_buf_.get(), len, read_callback_.callback())); read_buf_ 136 net/socket/deterministic_socket_data_unittest.cc ASSERT_EQ(std::string(data, len), std::string(read_buf_->data(), len)); read_buf_ 1011 net/socket/socket_test_util.cc read_buf_(NULL), read_buf_ 1031 net/socket/socket_test_util.cc DCHECK(read_buf_); read_buf_ 1045 net/socket/socket_test_util.cc memcpy(read_buf_->data(), read_data_.data, result); read_buf_ 1097 net/socket/socket_test_util.cc read_buf_ = buf; read_buf_ 819 net/socket/socket_test_util.h IOBuffer* read_buf_; read_buf_ 69 net/socket/ssl_server_socket_unittest.cc read_buf_ = buf; read_buf_ 107 net/socket/ssl_server_socket_unittest.cc int copied = PropogateData(read_buf_, read_buf_len_); read_buf_ 110 net/socket/ssl_server_socket_unittest.cc read_buf_ = NULL; read_buf_ 136 net/socket/ssl_server_socket_unittest.cc scoped_refptr<net::IOBuffer> read_buf_; read_buf_ 383 net/socket/tcp_socket_libevent.cc read_buf_ = buf; read_buf_ 551 net/socket/tcp_socket_libevent.cc read_buf_ = NULL; read_buf_ 720 net/socket/tcp_socket_libevent.cc bytes_transferred = HANDLE_EINTR(read(socket_, read_buf_->data(), read_buf_ 729 net/socket/tcp_socket_libevent.cc read_buf_->data()); read_buf_ 739 net/socket/tcp_socket_libevent.cc read_buf_ = NULL; read_buf_ 197 net/socket/tcp_socket_libevent.h scoped_refptr<IOBuffer> read_buf_; read_buf_ 108 net/socket_stream/socket_stream.cc read_buf_(NULL), read_buf_ 402 net/socket_stream/socket_stream.cc DCHECK(read_buf_.get()); read_buf_ 409 net/socket_stream/socket_stream.cc delegate_->OnReceivedData(this, read_buf_->data(), len); read_buf_ 411 net/socket_stream/socket_stream.cc read_buf_ = NULL; read_buf_ 449 net/socket_stream/socket_stream.cc } else if (result > 0 && read_buf_.get()) { read_buf_ 1147 net/socket_stream/socket_stream.cc if (!read_buf_.get()) { read_buf_ 1149 net/socket_stream/socket_stream.cc read_buf_ = new IOBuffer(kReadBufferSize); read_buf_ 1151 net/socket_stream/socket_stream.cc read_buf_.get(), read_buf_ 1172 net/socket_stream/socket_stream.cc DCHECK(read_buf_.get()); read_buf_ 381 net/socket_stream/socket_stream.h scoped_refptr<IOBuffer> read_buf_; read_buf_ 124 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_refptr<IOBuffer> read_buf_; read_buf_ 150 net/spdy/spdy_proxy_client_socket_unittest.cc read_buf_(NULL), read_buf_ 265 net/spdy/spdy_proxy_client_socket_unittest.cc read_buf_ = new IOBuffer(len); read_buf_ 267 net/spdy/spdy_proxy_client_socket_unittest.cc sock_->Read(read_buf_.get(), len, read_callback_.callback())); read_buf_ 277 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(std::string(data, len), std::string(read_buf_->data(), len)); read_buf_ 22 net/tools/quic/quic_spdy_client_stream.cc read_buf_(new GrowableIOBuffer()), read_buf_ 53 net/tools/quic/quic_spdy_client_stream.cc if (read_buf_->RemainingCapacity() < (int)data_len) { read_buf_ 54 net/tools/quic/quic_spdy_client_stream.cc read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); read_buf_ 56 net/tools/quic/quic_spdy_client_stream.cc memcpy(read_buf_->data(), data, data_len); read_buf_ 57 net/tools/quic/quic_spdy_client_stream.cc read_buf_->set_offset(read_buf_->offset() + data_len); read_buf_ 97 net/tools/quic/quic_spdy_client_stream.cc size_t read_buf_len = static_cast<size_t>(read_buf_->offset()); read_buf_ 100 net/tools/quic/quic_spdy_client_stream.cc char* data = read_buf_->StartOfBuffer(); read_buf_ 101 net/tools/quic/quic_spdy_client_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), read_buf_ 75 net/tools/quic/quic_spdy_client_stream.h scoped_refptr<GrowableIOBuffer> read_buf_; read_buf_ 24 net/tools/quic/quic_spdy_server_stream.cc read_buf_(new GrowableIOBuffer()), read_buf_ 37 net/tools/quic/quic_spdy_server_stream.cc if (read_buf_->RemainingCapacity() < (int)data_len) { read_buf_ 38 net/tools/quic/quic_spdy_server_stream.cc read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); read_buf_ 40 net/tools/quic/quic_spdy_server_stream.cc memcpy(read_buf_->data(), data, data_len); read_buf_ 41 net/tools/quic/quic_spdy_server_stream.cc read_buf_->set_offset(read_buf_->offset() + data_len); read_buf_ 68 net/tools/quic/quic_spdy_server_stream.cc size_t read_buf_len = static_cast<size_t>(read_buf_->offset()); read_buf_ 71 net/tools/quic/quic_spdy_server_stream.cc char* data = read_buf_->StartOfBuffer(); read_buf_ 72 net/tools/quic/quic_spdy_server_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), read_buf_ 58 net/tools/quic/quic_spdy_server_stream.h scoped_refptr<GrowableIOBuffer> read_buf_; read_buf_ 98 net/udp/udp_socket_libevent.cc read_buf_ = NULL; read_buf_ 191 net/udp/udp_socket_libevent.cc read_buf_ = buf; read_buf_ 382 net/udp/udp_socket_libevent.cc InternalRecvFrom(read_buf_.get(), read_buf_len_, recv_from_address_); read_buf_ 384 net/udp/udp_socket_libevent.cc read_buf_ = NULL; read_buf_ 278 net/udp/udp_socket_libevent.h scoped_refptr<IOBuffer> read_buf_; read_buf_ 55 ppapi/examples/crxfs/crxfs.cc char read_buf_[kBufSize]; read_buf_ 102 ppapi/examples/crxfs/crxfs.cc int32_t rv = file_io_.Read(0, read_buf_, sizeof(read_buf_), read_buf_ 117 ppapi/examples/crxfs/crxfs.cc content.append(read_buf_, pp_error); read_buf_ 108 webkit/browser/blob/blob_url_request_job.cc DCHECK(!read_buf_.get()); read_buf_ 109 webkit/browser/blob/blob_url_request_job.cc read_buf_ = new net::DrainableIOBuffer(dest, dest_size); read_buf_ 359 webkit/browser/blob/blob_url_request_job.cc read_buf_->DidConsume(result); read_buf_ 360 webkit/browser/blob/blob_url_request_job.cc DCHECK_GE(read_buf_->BytesRemaining(), 0); read_buf_ 365 webkit/browser/blob/blob_url_request_job.cc DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); read_buf_ 367 webkit/browser/blob/blob_url_request_job.cc memcpy(read_buf_->data(), read_buf_ 377 webkit/browser/blob/blob_url_request_job.cc DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); read_buf_ 380 webkit/browser/blob/blob_url_request_job.cc read_buf_.get(), read_buf_ 408 webkit/browser/blob/blob_url_request_job.cc if (!read_buf_->BytesRemaining()) { read_buf_ 429 webkit/browser/blob/blob_url_request_job.cc int bytes_read = read_buf_->BytesConsumed(); read_buf_ 430 webkit/browser/blob/blob_url_request_job.cc read_buf_ = NULL; read_buf_ 438 webkit/browser/blob/blob_url_request_job.cc int64 buf_remaining = read_buf_->BytesRemaining(); read_buf_ 451 webkit/browser/blob/blob_url_request_job.cc while (remaining_bytes_ > 0 && read_buf_->BytesRemaining() > 0) { read_buf_ 112 webkit/browser/blob/blob_url_request_job.h scoped_refptr<net::DrainableIOBuffer> read_buf_;