/external/chromium_org/remoting/base/ |
D | socket_reader.cc | 18 int kReadBufferSize = 4096; variable 41 read_buffer_ = new net::IOBuffer(kReadBufferSize); in DoRead() 44 kReadBufferSize, in DoRead()
|
/external/chromium_org/net/socket/ |
D | unix_domain_client_socket_posix_unittest.cc | 343 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/ |
D | message_reader.cc | 22 static const int kReadBufferSize = 4096; variable 49 read_buffer_ = new net::IOBuffer(kReadBufferSize); in DoRead() 52 kReadBufferSize, in DoRead()
|
/external/chromium_org/remoting/host/ |
D | ipc_util_win.cc | 119 IPC::Channel::kReadBufferSize, in CreateIpcChannel() 120 IPC::Channel::kReadBufferSize, in CreateIpcChannel()
|
/external/chromium_org/net/quic/ |
D | quic_server.cc | 30 const int kReadBufferSize = 2 * kMaxPacketSize; variable 46 read_buffer_(new IOBufferWithSize(kReadBufferSize)), in QuicServer()
|
/external/chromium_org/cloud_print/service/win/ |
D | setup_listener.cc | 117 IPC::Channel::kReadBufferSize, in Connect() 118 IPC::Channel::kReadBufferSize, 5000, &attribs)); in Connect()
|
/external/chromium_org/content/browser/renderer_host/p2p/ |
D | socket_host_udp.cc | 23 const int kReadBufferSize = 65536; variable 120 recv_buffer_ = new net::IOBuffer(kReadBufferSize); in Init() 141 kReadBufferSize, in DoRead()
|
D | socket_host_tcp.cc | 27 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/ |
D | drive.cc | 138 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/ |
D | native_message_process_host.cc | 38 const size_t kReadBufferSize = 4096; variable 270 read_buffer_ = new net::IOBuffer(kReadBufferSize); in DoRead() 273 kReadBufferSize, in DoRead()
|
/external/chromium_org/ipc/ |
D | ipc_channel_reader.h | 98 char input_buf_[Channel::kReadBufferSize];
|
D | ipc_channel.h | 95 static const size_t kReadBufferSize = 4 * 1024; variable
|
D | ipc_channel_reader.cc | 24 ReadState read_state = ReadData(input_buf_, Channel::kReadBufferSize, in ProcessIncomingMessages()
|
D | ipc_channel_posix.h | 181 (Channel::kReadBufferSize / sizeof(IPC::Message::Header)) *
|
D | ipc_channel_win.cc | 288 Channel::kReadBufferSize, in CreatePipe() 289 Channel::kReadBufferSize, in CreatePipe()
|
D | ipc_channel_nacl.cc | 39 contents->data.resize(Channel::kReadBufferSize); in ReadDataOnReaderThread()
|
/external/chromium_org/net/disk_cache/ |
D | entry_unittest.cc | 672 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/ |
D | xmpp_signal_strategy.cc | 38 const size_t kReadBufferSize = 64 * 1024; variable 95 xmpp_socket_factory.release(), kReadBufferSize, kWriteBufferSize); in Connect()
|
/external/chromium_org/chrome/browser/net/ |
D | connection_tester.cc | 328 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/ |
D | websocket_basic_stream_test.cc | 799 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()
|
D | websocket_basic_stream.cc | 41 const int kReadBufferSize = 32 * 1024; variable 75 : read_buffer_(new IOBufferWithSize(kReadBufferSize)), in WebSocketBasicStream()
|
/external/chromium_org/jingle/glue/ |
D | pseudotcp_adapter.cc | 19 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/ |
D | socket_stream.cc | 49 static const int kReadBufferSize = 4096; variable 1151 read_buf_ = new IOBuffer(kReadBufferSize); in DoReadWrite() 1154 kReadBufferSize, in DoReadWrite()
|
/external/chromium_org/storage/browser/fileapi/ |
D | copy_or_move_operation_delegate.cc | 356 const int kReadBufferSize = 32768; variable 510 kReadBufferSize, in RunAfterTruncateForDestination()
|
/external/chromium_org/net/spdy/ |
D | spdy_session.cc | 53 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()
|