HomeSort by relevance Sort by last modified time
    Searched defs:io_buffer (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/net/dns/
dns_query.h 39 IOBufferWithSize* io_buffer() const { return io_buffer_.get(); } function in class:net::DnsQuery
dns_response.h 81 // and resource records. After reading into |io_buffer| must call InitParse to
115 IOBufferWithSize* io_buffer() { return io_buffer_.get(); } function in class:net::DnsResponse
  /external/chromium_org/net/spdy/
spdy_buffer_unittest.cc 15 #include "net/base/io_buffer.h"
113 scoped_refptr<IOBuffer> io_buffer = buffer.GetIOBufferForRemainingData(); local
116 EXPECT_EQ(expectedData, std::string(io_buffer->data(), io_buffer_size));
119 EXPECT_EQ(expectedData, std::string(io_buffer->data(), io_buffer_size));
127 scoped_refptr<IOBuffer> io_buffer = buffer->GetIOBufferForRemainingData(); local
130 // This will cause a use-after-free error if |io_buffer| doesn't
132 std::memcpy(io_buffer->data(), kData, kDataSize);
  /external/chromium_org/chrome/browser/extensions/api/socket/
socket.h 17 #include "net/base/io_buffer.h"
30 typedef base::Callback<void(int, scoped_refptr<net::IOBuffer> io_buffer)>
33 void(int, scoped_refptr<net::IOBuffer> io_buffer, const std::string&, int)>
61 void Write(scoped_refptr<net::IOBuffer> io_buffer,
67 virtual void SendTo(scoped_refptr<net::IOBuffer> io_buffer,
100 virtual int WriteImpl(net::IOBuffer* io_buffer,
115 WriteRequest(scoped_refptr<net::IOBuffer> io_buffer,
119 scoped_refptr<net::IOBuffer> io_buffer; member in struct:extensions::Socket::WriteRequest
tcp_socket.cc 158 scoped_refptr<net::IOBuffer> io_buffer = new net::IOBuffer(count); local
159 int result = socket_->Read(io_buffer.get(), count,
161 io_buffer));
164 OnReadComplete(io_buffer, result);
172 void TCPSocket::SendTo(scoped_refptr<net::IOBuffer> io_buffer,
264 int TCPSocket::WriteImpl(net::IOBuffer* io_buffer,
272 return socket_->Write(io_buffer, io_buffer_size, callback);
291 void TCPSocket::OnReadComplete(scoped_refptr<net::IOBuffer> io_buffer,
294 read_callback_.Run(result, io_buffer);
udp_socket.cc 93 scoped_refptr<net::IOBuffer> io_buffer; local
105 io_buffer = new net::IOBuffer(count);
106 result = socket_.Read(io_buffer.get(), count,
108 io_buffer));
112 OnReadComplete(io_buffer, result);
115 int UDPSocket::WriteImpl(net::IOBuffer* io_buffer,
121 return socket_.Write(io_buffer, io_buffer_size, callback);
136 scoped_refptr<net::IOBuffer> io_buffer; local
149 io_buffer = new net::IOBuffer(count);
152 io_buffer.get()
    [all...]
  /external/chromium/net/spdy/
spdy_http_stream.cc 359 IOBufferWithSize* io_buffer = new IOBufferWithSize(length); local
360 memcpy(io_buffer->data(), data, length);
361 response_body_.push_back(make_scoped_refptr(io_buffer));
  /external/chromium_org/chrome/browser/extensions/api/cast_channel/
cast_socket.h 21 #include "net/base/io_buffer.h"
293 // Sets the content of the request by serializing |message| into |io_buffer|
298 scoped_refptr<net::DrainableIOBuffer> io_buffer; member in struct:extensions::api::cast_channel::CastSocket::WriteRequest
cast_socket.cc 390 VLOG(1) << "WriteData byte_count = " << request.io_buffer->size()
391 << " bytes_written " << request.io_buffer->BytesConsumed();
395 request.io_buffer.get(),
396 request.io_buffer->BytesRemaining(),
412 scoped_refptr<net::DrainableIOBuffer> io_buffer = request.io_buffer; local
415 io_buffer->DidConsume(result);
416 if (io_buffer->BytesRemaining() > 0) {
417 VLOG(1) << "OnWriteComplete size = " << io_buffer->size()
418 << " consumed " << io_buffer->BytesConsumed(
    [all...]
  /external/chromium_org/sandbox/win/src/
sandbox_policy_base.cc 622 CountedBuffer* io_buffer = reinterpret_cast<CountedBuffer*>(arg1); local
623 if (sizeof(uint32) != io_buffer->Size())
626 uint32* cookie = reinterpret_cast<uint32*>(io_buffer->Buffer());

Completed in 326 milliseconds