/external/chromium_org/net/quic/ |
quic_spdy_server_stream.cc | 26 read_buf_(new GrowableIOBuffer()), 28 read_buf_->SetCapacity(kHeaderBufInitialSize); 42 while (read_buf_->RemainingCapacity() < static_cast<int>(data_len)) { 43 read_buf_->SetCapacity(read_buf_->capacity() * 2); 45 memcpy(read_buf_->data(), data, data_len); 46 read_buf_->set_offset(read_buf_->offset() + data_len); 84 const char* data = read_buf_->StartOfBuffer(); 85 size_t read_buf_len = static_cast<size_t>(read_buf_->offset()) [all...] |
quic_spdy_server_stream.h | 58 scoped_refptr<GrowableIOBuffer> read_buf_; member in class:net::QuicSpdyServerStream
|
quic_http_stream.cc | 40 read_buf_(new GrowableIOBuffer()), 295 if (read_buf_->RemainingCapacity() < length) { 296 size_t additional_capacity = length - read_buf_->RemainingCapacity(); 299 read_buf_->SetCapacity(read_buf_->capacity() + additional_capacity); 301 memcpy(read_buf_->data(), data, length); 302 read_buf_->set_offset(read_buf_->offset() + length); 514 size_t read_buf_len = static_cast<size_t>(read_buf_->offset()); 517 char* data = read_buf_->StartOfBuffer() [all...] |
quic_http_stream.h | 143 scoped_refptr<GrowableIOBuffer> read_buf_; member in class:net::QuicHttpStream
|
/external/chromium_org/net/tools/quic/ |
quic_spdy_client_stream.cc | 22 read_buf_(new GrowableIOBuffer()), 53 if (read_buf_->RemainingCapacity() < (int)data_len) { 54 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); 56 memcpy(read_buf_->data(), data, data_len); 57 read_buf_->set_offset(read_buf_->offset() + data_len); 97 size_t read_buf_len = static_cast<size_t>(read_buf_->offset()); 100 char* data = read_buf_->StartOfBuffer(); 101 size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset() [all...] |
quic_spdy_server_stream.cc | 24 read_buf_(new GrowableIOBuffer()), 37 if (read_buf_->RemainingCapacity() < (int)data_len) { 38 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); 40 memcpy(read_buf_->data(), data, data_len); 41 read_buf_->set_offset(read_buf_->offset() + data_len); 68 size_t read_buf_len = static_cast<size_t>(read_buf_->offset()); 71 char* data = read_buf_->StartOfBuffer(); 72 size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset() [all...] |
quic_spdy_server_stream.h | 58 scoped_refptr<GrowableIOBuffer> read_buf_; member in class:net::tools::QuicSpdyServerStream
|
quic_spdy_client_stream.h | 75 scoped_refptr<GrowableIOBuffer> read_buf_; member in class:net::tools::QuicSpdyClientStream
|
/external/chromium_org/net/http/ |
http_stream_parser.cc | 186 read_buf_(read_buffer), 317 if (read_buf_->offset() > 0) { 319 result = read_buf_->offset(); 320 read_buf_->set_offset(0); 551 if (read_buf_->RemainingCapacity() == 0) 552 read_buf_->SetCapacity(read_buf_->capacity() + kHeaderBufInitialSize); 556 CHECK(read_buf_->data()); 559 ->Read(read_buf_.get(), read_buf_->RemainingCapacity(), io_callback_) [all...] |
http_basic_state.cc | 20 : read_buf_(new GrowableIOBuffer()), 34 connection_.get(), request_info, read_buf_.get(), net_log)); 43 return read_buf_;
|
http_response_body_drainer.h | 54 scoped_refptr<IOBuffer> read_buf_; member in class:net::HttpResponseBodyDrainer
|
http_basic_state.h | 57 scoped_refptr<GrowableIOBuffer> read_buf_; member in class:net::HttpBasicState
|
http_response_body_drainer.cc | 25 read_buf_ = new IOBuffer(kDrainBodyBufferSize); 71 read_buf_.get(),
|
http_stream_parser.h | 159 // Examines |read_buf_| to find the start and end of the headers. If they are 186 scoped_refptr<GrowableIOBuffer> read_buf_; member in class:net::HttpStreamParser 188 // Offset of the first unused byte in |read_buf_|. May be nonzero due to
|
/external/chromium_org/jingle/glue/ |
fake_ssl_client_socket.cc | 85 read_buf_(NewDrainableIOBufferWithSize(arraysize(kSslServerHello))) { 122 DCHECK_EQ(read_buf_->BytesConsumed(), 0); 197 DCHECK_EQ(read_buf_->BytesConsumed(), 0); 227 DCHECK_EQ(read_buf_->BytesConsumed(), 0); 238 read_buf_.get(), 239 read_buf_->BytesRemaining(), 270 DCHECK_LE(read, static_cast<size_t>(read_buf_->BytesRemaining())); 276 read_buf_->BytesRemaining()]; 277 if (std::memcmp(expected_data_start, read_buf_->data(), read) != 0) { 280 if (read < static_cast<size_t>(read_buf_->BytesRemaining())) [all...] |
chrome_async_socket.h | 194 // |read_buf_->size()|. There's a read in flight (i.e., 197 scoped_refptr<net::IOBufferWithSize> read_buf_; member in class:jingle_glue::ChromeAsyncSocket
|
fake_ssl_client_socket.h | 106 scoped_refptr<net::DrainableIOBuffer> read_buf_; member in class:jingle_glue::FakeSSLClientSocket
|
chrome_async_socket.cc | 38 read_buf_(new net::IOBufferWithSize(read_buf_size)), 179 read_buf_.get(), read_buf_->size(), 241 std::memcpy(data, read_buf_->data() + read_start_, *len_read);
|
/external/chromium_org/ppapi/examples/crxfs/ |
crxfs.cc | 55 char read_buf_[kBufSize]; member in class:MyInstance 102 int32_t rv = file_io_.Read(0, read_buf_, sizeof(read_buf_), 117 content.append(read_buf_, pp_error);
|
/external/chromium_org/net/server/ |
http_connection.h | 118 ReadIOBuffer* read_buf() const { return read_buf_.get(); } 127 const scoped_refptr<ReadIOBuffer> read_buf_; member in class:net::HttpConnection
|
http_server_unittest.cc | 472 read_buf_(NULL), 482 read_buf_ = NULL; 513 read_buf_ = buf; 537 if (!read_buf_.get()) { 542 memcpy(read_buf_->data(), data, read_len); 544 read_buf_ = NULL; 553 scoped_refptr<IOBuffer> read_buf_; member in class:net::__anon14138::MockStreamSocket
|
/external/chromium_org/storage/browser/blob/ |
blob_url_request_job.cc | 112 DCHECK(!read_buf_.get()); 113 read_buf_ = new net::DrainableIOBuffer(dest, dest_size); 363 read_buf_->DidConsume(result); 364 DCHECK_GE(read_buf_->BytesRemaining(), 0); 369 DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); 371 memcpy(read_buf_->data(), 381 DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); 384 read_buf_.get(), 412 if (!read_buf_->BytesRemaining()) { 433 int bytes_read = read_buf_->BytesConsumed() [all...] |
blob_url_request_job.h | 112 scoped_refptr<net::DrainableIOBuffer> read_buf_; member in class:storage::BlobURLRequestJob
|
/external/chromium_org/net/socket/ |
socket_libevent.h | 108 scoped_refptr<IOBuffer> read_buf_; member in class:net::SocketLibevent
|
socket_libevent.cc | 249 read_buf_ = buf; 425 int rv = DoRead(read_buf_.get(), read_buf_len_); 431 read_buf_ = NULL; 467 read_buf_ = NULL;
|