Home
last modified time | relevance | path

Searched refs:io_buffer (Results 1 – 6 of 6) sorted by relevance

/external/chromium/net/udp/
Dudp_socket_unittest.cc58 scoped_refptr<StringIOBuffer> io_buffer(new StringIOBuffer(msg)); in SendToSocket() local
60 new DrainableIOBuffer(io_buffer, length)); in SendToSocket()
93 scoped_refptr<StringIOBuffer> io_buffer(new StringIOBuffer(msg)); in WriteSocket() local
95 new DrainableIOBuffer(io_buffer, length)); in WriteSocket()
/external/chromium/net/spdy/
Dspdy_http_stream.cc359 IOBufferWithSize* io_buffer = new IOBufferWithSize(length); in OnDataReceived() local
360 memcpy(io_buffer->data(), data, length); in OnDataReceived()
361 response_body_.push_back(make_scoped_refptr(io_buffer)); in OnDataReceived()
Dspdy_proxy_client_socket.cc453 scoped_refptr<IOBuffer> io_buffer(new IOBuffer(length)); in OnDataReceived() local
454 memcpy(io_buffer->data(), data, length); in OnDataReceived()
456 make_scoped_refptr(new DrainableIOBuffer(io_buffer, length))); in OnDataReceived()
/external/chromium/net/ftp/
Dftp_network_transaction_unittest.cc767 scoped_refptr<IOBuffer> io_buffer(new IOBuffer(kBufferSize)); in ExecuteTransaction() local
768 memset(io_buffer->data(), 0, kBufferSize); in ExecuteTransaction()
770 transaction_.Read(io_buffer.get(), kBufferSize, &callback_)); in ExecuteTransaction()
773 EXPECT_EQ(mock_data, std::string(io_buffer->data(), mock_data.length())); in ExecuteTransaction()
776 int rv = transaction_.Read(io_buffer.get(), kBufferSize, &callback_); in ExecuteTransaction()
/external/chromium/
DAndroid.mk180 net/base/io_buffer.cc \
/external/chromium/net/
Dnet.gyp106 'base/io_buffer.cc',
107 'base/io_buffer.h',