Home
last modified time | relevance | path

Searched refs:kReadBufferSize (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/remoting/base/
Dsocket_reader.cc18 int kReadBufferSize = 4096; variable
41 read_buffer_ = new net::IOBuffer(kReadBufferSize); in DoRead()
44 kReadBufferSize, in DoRead()
/external/chromium_org/net/socket/
Dunix_domain_client_socket_posix_unittest.cc343 const int kReadBufferSize = kWriteDataSize * 2; in TEST_F() local
344 scoped_refptr<IOBuffer> read_buffer(new IOBuffer(kReadBufferSize)); in TEST_F()
348 kReadBufferSize, in TEST_F()
371 kReadBufferSize, in TEST_F()
381 ReadSynchronously(&client_socket, read_buffer.get(), kReadBufferSize, 0)); in TEST_F()
405 const int kReadBufferSize = kWriteDataSize * 2; in TEST_F() local
408 scoped_refptr<IOBuffer> read_buffer(new IOBuffer(kReadBufferSize)); in TEST_F()
432 kReadBufferSize, in TEST_F()
437 accepted_socket.get(), read_buffer.get(), kReadBufferSize, 0)); in TEST_F()
/external/chromium_org/remoting/protocol/
Dmessage_reader.cc22 static const int kReadBufferSize = 4096; variable
49 read_buffer_ = new net::IOBuffer(kReadBufferSize); in DoRead()
52 kReadBufferSize, in DoRead()
/external/chromium_org/remoting/host/
Dipc_util_win.cc119 IPC::Channel::kReadBufferSize, in CreateIpcChannel()
120 IPC::Channel::kReadBufferSize, in CreateIpcChannel()
/external/chromium_org/net/quic/
Dquic_server.cc30 const int kReadBufferSize = 2 * kMaxPacketSize; variable
46 read_buffer_(new IOBufferWithSize(kReadBufferSize)), in QuicServer()
/external/chromium_org/cloud_print/service/win/
Dsetup_listener.cc117 IPC::Channel::kReadBufferSize, in Connect()
118 IPC::Channel::kReadBufferSize, 5000, &attribs)); in Connect()
/external/chromium_org/content/browser/renderer_host/p2p/
Dsocket_host_udp.cc23 const int kReadBufferSize = 65536; variable
120 recv_buffer_ = new net::IOBuffer(kReadBufferSize); in Init()
141 kReadBufferSize, in DoRead()
Dsocket_host_tcp.cc27 const int kReadBufferSize = 4096; variable
282 read_buffer_->SetCapacity(kReadBufferSize); in DoRead()
283 } else if (read_buffer_->RemainingCapacity() < kReadBufferSize) { in DoRead()
288 read_buffer_->SetCapacity(read_buffer_->capacity() + kReadBufferSize - in DoRead()
/external/chromium_org/native_client_sdk/src/examples/demo/drive/
Ddrive.cc138 const int32_t kReadBufferSize = 16 * 1024; in ReadUrl() local
139 uint8_t* buffer_ = new uint8_t[kReadBufferSize]; in ReadUrl()
143 buffer_, kReadBufferSize, pp::BlockUntilComplete()); in ReadUrl()
145 assert(result <= kReadBufferSize); in ReadUrl()
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dnative_message_process_host.cc38 const size_t kReadBufferSize = 4096; variable
270 read_buffer_ = new net::IOBuffer(kReadBufferSize); in DoRead()
273 kReadBufferSize, in DoRead()
/external/chromium_org/ipc/
Dipc_channel_reader.h98 char input_buf_[Channel::kReadBufferSize];
Dipc_channel.h95 static const size_t kReadBufferSize = 4 * 1024; variable
Dipc_channel_reader.cc24 ReadState read_state = ReadData(input_buf_, Channel::kReadBufferSize, in ProcessIncomingMessages()
Dipc_channel_posix.h181 (Channel::kReadBufferSize / sizeof(IPC::Message::Header)) *
Dipc_channel_win.cc288 Channel::kReadBufferSize, in CreatePipe()
289 Channel::kReadBufferSize, in CreatePipe()
Dipc_channel_nacl.cc39 contents->data.resize(Channel::kReadBufferSize); in ReadDataOnReaderThread()
/external/chromium_org/net/disk_cache/
Dentry_unittest.cc672 const int kReadBufferSize = 600; in StreamAccess() local
673 const int kFinalReadSize = kBufferSize - kReadBufferSize; in StreamAccess()
674 COMPILE_ASSERT(kFinalReadSize < kReadBufferSize, should_be_exactly_two_reads); in StreamAccess()
675 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kReadBufferSize)); in StreamAccess()
677 memset(buffer2->data(), 0, kReadBufferSize); in StreamAccess()
678 EXPECT_EQ(kReadBufferSize, in StreamAccess()
679 ReadData(entry, i, 0, buffer2.get(), kReadBufferSize)); in StreamAccess()
682 memcmp(reference_buffers[i]->data(), buffer2->data(), kReadBufferSize)); in StreamAccess()
684 memset(buffer2->data(), 0, kReadBufferSize); in StreamAccess()
687 ReadData(entry, i, kReadBufferSize, buffer2.get(), kReadBufferSize)); in StreamAccess()
[all …]
/external/chromium_org/remoting/signaling/
Dxmpp_signal_strategy.cc38 const size_t kReadBufferSize = 64 * 1024; variable
95 xmpp_socket_factory.release(), kReadBufferSize, kWriteBufferSize); in Connect()
/external/chromium_org/chrome/browser/net/
Dconnection_tester.cc328 static const int kReadBufferSize = 1024; member in ConnectionTester::TestRunner
372 new net::IOBuffer(kReadBufferSize)); in ReadBody()
374 if (request->Read(unused_buffer.get(), kReadBufferSize, &num_bytes)) { in ReadBody()
/external/chromium_org/net/websockets/
Dwebsocket_basic_stream_test.cc799 const int kReadBufferSize = 32 * 1024; in TEST_F() local
803 (kWireSize + kReadBufferSize - 1) / kReadBufferSize; in TEST_F()
812 kReadBufferSize, in TEST_F()
821 size_t expected_payload_size = kReadBufferSize; in TEST_F()
823 expected_payload_size = kReadBufferSize - kLargeFrameHeaderSize; in TEST_F()
Dwebsocket_basic_stream.cc41 const int kReadBufferSize = 32 * 1024; variable
75 : read_buffer_(new IOBufferWithSize(kReadBufferSize)), in WebSocketBasicStream()
/external/chromium_org/jingle/glue/
Dpseudotcp_adapter.cc19 const int kReadBufferSize = 65536; // Maximum size of a packet. variable
384 socket_read_buffer_ = new net::IOBuffer(kReadBufferSize); in DoReadFromSocket()
390 kReadBufferSize, in DoReadFromSocket()
/external/chromium_org/net/socket_stream/
Dsocket_stream.cc49 static const int kReadBufferSize = 4096; variable
1151 read_buf_ = new IOBuffer(kReadBufferSize); in DoReadWrite()
1154 kReadBufferSize, in DoReadWrite()
/external/chromium_org/storage/browser/fileapi/
Dcopy_or_move_operation_delegate.cc356 const int kReadBufferSize = 32768; variable
510 kReadBufferSize, in RunAfterTruncateForDestination()
/external/chromium_org/net/spdy/
Dspdy_session.cc53 const int kReadBufferSize = 8 * 1024; variable
610 read_buffer_(new IOBuffer(kReadBufferSize)), in SpdySession()
1403 kReadBufferSize, in DoRead()
1427 CHECK_LE(result, kReadBufferSize); in DoReadComplete()
2050 CHECK_LE(len, static_cast<size_t>(kReadBufferSize)); in OnStreamFrameData()