Home
last modified time | relevance | path

Searched refs:ReadIOBuffer (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/server/
Dhttp_connection_unittest.cc25 scoped_refptr<HttpConnection::ReadIOBuffer> buffer( in TEST()
26 new HttpConnection::ReadIOBuffer); in TEST()
27 EXPECT_EQ(HttpConnection::ReadIOBuffer::kInitialBufSize + 0, in TEST()
29 EXPECT_EQ(HttpConnection::ReadIOBuffer::kInitialBufSize + 0, in TEST()
33 const int kNewCapacity = HttpConnection::ReadIOBuffer::kInitialBufSize + 128; in TEST()
41 scoped_refptr<HttpConnection::ReadIOBuffer> buffer( in TEST()
42 new HttpConnection::ReadIOBuffer); in TEST()
43 EXPECT_EQ(HttpConnection::ReadIOBuffer::kInitialBufSize + 0, in TEST()
45 EXPECT_EQ(HttpConnection::ReadIOBuffer::kInitialBufSize + 0, in TEST()
50 GetTestString(HttpConnection::ReadIOBuffer::kInitialBufSize)); in TEST()
[all …]
Dhttp_connection.cc13 HttpConnection::ReadIOBuffer::ReadIOBuffer() in ReadIOBuffer() function in net::HttpConnection::ReadIOBuffer
19 HttpConnection::ReadIOBuffer::~ReadIOBuffer() { in ~ReadIOBuffer()
23 int HttpConnection::ReadIOBuffer::GetCapacity() const { in GetCapacity()
27 void HttpConnection::ReadIOBuffer::SetCapacity(int capacity) { in SetCapacity()
33 bool HttpConnection::ReadIOBuffer::IncreaseCapacity() { in IncreaseCapacity()
48 char* HttpConnection::ReadIOBuffer::StartOfBuffer() const { in StartOfBuffer()
52 int HttpConnection::ReadIOBuffer::GetSize() const { in GetSize()
56 void HttpConnection::ReadIOBuffer::DidRead(int bytes) { in DidRead()
62 int HttpConnection::ReadIOBuffer::RemainingCapacity() const { in RemainingCapacity()
66 void HttpConnection::ReadIOBuffer::DidConsume(int bytes) { in DidConsume()
[all …]
Dhttp_connection.h28 class ReadIOBuffer : public IOBuffer {
35 ReadIOBuffer();
62 virtual ~ReadIOBuffer();
67 DISALLOW_COPY_AND_ASSIGN(ReadIOBuffer);
118 ReadIOBuffer* read_buf() const { return read_buf_.get(); } in read_buf()
127 const scoped_refptr<ReadIOBuffer> read_buf_;
Dhttp_server.cc165 HttpConnection::ReadIOBuffer* read_buf = connection->read_buf(); in DoReadLoop()
198 HttpConnection::ReadIOBuffer* read_buf = connection->read_buf(); in HandleReadResult()
Dweb_socket.cc91 HttpConnection::ReadIOBuffer* read_buf = connection_->read_buf(); in Read()
221 HttpConnection::ReadIOBuffer* read_buf = connection_->read_buf(); in Read()