/external/chromium_org/net/socket/ |
D | stream_listen_socket.cc | 42 const int kReadBufSize = 4096; variable 172 char buf[kReadBufSize + 1]; // +1 for null termination. 175 len = HANDLE_EINTR(recv(socket_, buf, kReadBufSize, 0)); 197 DCHECK_LE(len, kReadBufSize); 201 } while (len == kReadBufSize);
|
D | ssl_server_socket_unittest.cc | 272 const int kReadBufSize = 1024; in TEST() local 274 scoped_refptr<IOBuffer> read_buf = new IOBuffer(kReadBufSize); in TEST() 282 int read = client.Read(read_buf.get(), kReadBufSize, CompletionCallback()); in TEST() 290 server.Read(read_buf.get(), kReadBufSize, callback.callback())); in TEST() 423 const int kReadBufSize = 1024; in TEST_F() local 427 new DrainableIOBuffer(new IOBuffer(kReadBufSize), kReadBufSize); in TEST_F()
|
D | tcp_listen_socket_unittest.cc | 21 const int kReadBufSize = 1024; variable 106 char buf[kReadBufSize]; in ClearTestSocket() 109 int len = HANDLE_EINTR(recv(test_socket_, buf, kReadBufSize, 0)); in ClearTestSocket()
|
/external/chromium_org/content/browser/loader/ |
D | stream_resource_handler.cc | 62 static const int kReadBufSize = 32768; in OnWillRead() local 66 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead() 68 *buf_size = kReadBufSize; in OnWillRead()
|
D | certificate_resource_handler.cc | 63 static const int kReadBufSize = 32768; in OnWillRead() local 68 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead() 71 *buf_size = kReadBufSize; in OnWillRead()
|
D | detachable_resource_handler.cc | 17 const int kReadBufSize = 32 * 1024; variable 155 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead() 157 *buf_size = kReadBufSize; in OnWillRead()
|
D | sync_resource_handler.cc | 26 read_buffer_(new net::IOBuffer(kReadBufSize)), in SyncResourceHandler() 111 *buf_size = kReadBufSize; in OnWillRead()
|
D | sync_resource_handler.h | 54 enum { kReadBufSize = 3840 }; enumerator
|
D | resource_loader_unittest.cc | 81 const int kReadBufSize = 1024; variable 89 read_buffer_(new net::IOBuffer(kReadBufSize)), in ResourceHandlerStub() 169 *buf_size = kReadBufSize; in OnWillRead()
|
/external/chromium_org/jingle/notifier/base/ |
D | xmpp_connection.cc | 35 const size_t kReadBufSize = 64U * 1024U; in CreateSocket() local 44 kReadBufSize, kWriteBufSize); in CreateSocket()
|
/external/chromium_org/storage/browser/fileapi/ |
D | file_writer_delegate.cc | 21 static const int kReadBufSize = 32768; variable 32 io_buffer_(new net::IOBufferWithSize(kReadBufSize)), in FileWriterDelegate()
|
/external/chromium_org/content/browser/download/ |
D | save_file_resource_handler.h | 86 static const int kReadBufSize = 32768; // bytes variable
|
D | download_resource_handler.h | 132 static const int kReadBufSize = 32768; // bytes variable
|
D | save_file_resource_handler.cc | 82 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
|
D | download_resource_handler.cc | 293 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
|