Lines Matching refs:read_buffer
192 scoped_refptr<IOBuffer> read_buffer(new IOBuffer(kReadDataSize));
196 read_buffer.get(), kReadDataSize, read_callback.callback()));
270 scoped_refptr<IOBuffer> read_buffer(new IOBuffer(kReadDataSize));
274 read_buffer.get(), kReadDataSize, read_callback.callback()));
303 scoped_refptr<IOBuffer> read_buffer(new IOBuffer(kReadDataSize));
307 read_buffer.get(), kReadDataSize, read_callback.callback()));
344 scoped_refptr<IOBuffer> read_buffer(new IOBuffer(kReadBufferSize));
347 read_buffer.get(),
351 std::string(read_buffer->data(), kWriteDataSize));
362 read_buffer.get(),
366 std::string(read_buffer->data(), kSmallReadBufferSize));
370 read_buffer.get(),
375 std::string(read_buffer->data(),
381 ReadSynchronously(&client_socket, read_buffer.get(), kReadBufferSize, 0));
408 scoped_refptr<IOBuffer> read_buffer(new IOBuffer(kReadBufferSize));
413 read_buffer.get(), kSmallReadBufferSize, read_callback.callback()));
431 read_buffer.get(),
437 accepted_socket.get(), read_buffer.get(), kReadBufferSize, 0));