/external/chromium/net/socket/ |
D | ssl_server_socket_unittest.cc | 193 const int kReadBufSize = 1024; in TEST() local 195 scoped_refptr<net::IOBuffer> read_buf = new net::IOBuffer(kReadBufSize); in TEST() 199 EXPECT_EQ(kTestDataSize, client.Read(read_buf, kReadBufSize, NULL)); in TEST() 205 server.Read(read_buf, kReadBufSize, &callback)); in TEST() 329 const int kReadBufSize = 1024; in TEST_F() local 332 scoped_refptr<net::IOBuffer> read_buf = new net::IOBuffer(kReadBufSize); in TEST_F() 340 client_ret = client_socket_->Read(read_buf, kReadBufSize, &read_callback); in TEST_F() 353 server_ret = server_socket_->Read(read_buf, kReadBufSize, &read_callback); in TEST_F()
|
/external/chromium_org/net/socket/ |
D | stream_listen_socket.cc | 42 const int kReadBufSize = 4096; variable 155 char buf[kReadBufSize + 1]; // +1 for null termination. 158 len = HANDLE_EINTR(recv(socket_, buf, kReadBufSize, 0)); 180 DCHECK_LE(len, kReadBufSize); 184 } while (len == kReadBufSize);
|
D | ssl_server_socket_unittest.cc | 266 const int kReadBufSize = 1024; in TEST() local 268 scoped_refptr<net::IOBuffer> read_buf = new net::IOBuffer(kReadBufSize); in TEST() 276 int read = client.Read(read_buf.get(), kReadBufSize, CompletionCallback()); in TEST() 284 server.Read(read_buf.get(), kReadBufSize, callback.callback())); in TEST() 421 const int kReadBufSize = 1024; in TEST_F() local 425 new net::DrainableIOBuffer(new net::IOBuffer(kReadBufSize), in TEST_F() 426 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 | 64 static const int kReadBufSize = 32768; in OnWillRead() local 68 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead() 70 *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 | 16 const int kReadBufSize = 32 * 1024; variable 143 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead() 145 *buf_size = kReadBufSize; in OnWillRead()
|
D | sync_resource_handler.cc | 26 read_buffer_(new net::IOBuffer(kReadBufSize)), in SyncResourceHandler() 110 *buf_size = kReadBufSize; in OnWillRead()
|
D | sync_resource_handler.h | 63 enum { kReadBufSize = 3840 }; enumerator
|
/external/chromium/net/base/ |
D | listen_socket.cc | 35 const int kReadBufSize = 4096; variable 198 char buf[kReadBufSize + 1]; // +1 for null termination 201 len = HANDLE_EINTR(recv(socket_, buf, kReadBufSize, 0)); 222 DCHECK(len > 0 && len <= kReadBufSize); 226 } while (len == kReadBufSize);
|
D | listen_socket_unittest.cc | 16 static const int kReadBufSize = 1024; variable 94 char buf[kReadBufSize]; in ClearTestSocket() 97 int len = HANDLE_EINTR(recv(test_socket_, buf, kReadBufSize, 0)); in ClearTestSocket()
|
/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/chrome/browser/debugger/ |
D | devtools_remote_listen_socket_unittest.cc | 20 static const int kReadBufSize = 1024; variable 212 char buf[kReadBufSize]; 216 int len = HANDLE_EINTR(recv(test_socket_, buf, kReadBufSize, 0));
|
D | devtools_remote_listen_socket.cc | 41 const int kReadBufSize = 200; variable
|
/external/chromium_org/webkit/browser/fileapi/ |
D | file_writer_delegate.cc | 21 static const int kReadBufSize = 32768; variable 30 io_buffer_(new net::IOBufferWithSize(kReadBufSize)), in FileWriterDelegate()
|
/external/chromium/net/tools/fetch/ |
D | http_listen_socket.h | 46 static const int kReadBufSize = 16 * 1024; variable
|
/external/chromium/chrome/browser/renderer_host/ |
D | save_file_resource_handler.h | 74 static const int kReadBufSize = 32768; // bytes variable
|
D | download_resource_handler.h | 93 static const int kReadBufSize = 32768; // bytes variable
|
D | save_file_resource_handler.cc | 73 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
|
D | download_resource_handler.cc | 135 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
|
/external/chromium_org/net/tools/fetch/ |
D | http_listen_socket.h | 52 static const int kReadBufSize = 16 * 1024;
|
/external/chromium_org/content/browser/download/ |
D | save_file_resource_handler.h | 87 static const int kReadBufSize = 32768; // bytes variable
|
D | download_resource_handler.h | 123 static const int kReadBufSize = 32768; // bytes variable
|
D | save_file_resource_handler.cc | 83 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
|
D | download_resource_handler.cc | 235 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
|