Home
last modified time | relevance | path

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

/external/chromium/net/socket/
Dssl_server_socket_unittest.cc193 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/
Dstream_listen_socket.cc42 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);
Dssl_server_socket_unittest.cc266 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()
Dtcp_listen_socket_unittest.cc21 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/
Dstream_resource_handler.cc64 static const int kReadBufSize = 32768; in OnWillRead() local
68 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead()
70 *buf_size = kReadBufSize; in OnWillRead()
Dcertificate_resource_handler.cc63 static const int kReadBufSize = 32768; in OnWillRead() local
68 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead()
71 *buf_size = kReadBufSize; in OnWillRead()
Ddetachable_resource_handler.cc16 const int kReadBufSize = 32 * 1024; variable
143 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead()
145 *buf_size = kReadBufSize; in OnWillRead()
Dsync_resource_handler.cc26 read_buffer_(new net::IOBuffer(kReadBufSize)), in SyncResourceHandler()
110 *buf_size = kReadBufSize; in OnWillRead()
Dsync_resource_handler.h63 enum { kReadBufSize = 3840 }; enumerator
/external/chromium/net/base/
Dlisten_socket.cc35 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);
Dlisten_socket_unittest.cc16 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/
Dxmpp_connection.cc35 const size_t kReadBufSize = 64U * 1024U; in CreateSocket() local
44 kReadBufSize, kWriteBufSize); in CreateSocket()
/external/chromium/chrome/browser/debugger/
Ddevtools_remote_listen_socket_unittest.cc20 static const int kReadBufSize = 1024; variable
212 char buf[kReadBufSize];
216 int len = HANDLE_EINTR(recv(test_socket_, buf, kReadBufSize, 0));
Ddevtools_remote_listen_socket.cc41 const int kReadBufSize = 200; variable
/external/chromium_org/webkit/browser/fileapi/
Dfile_writer_delegate.cc21 static const int kReadBufSize = 32768; variable
30 io_buffer_(new net::IOBufferWithSize(kReadBufSize)), in FileWriterDelegate()
/external/chromium/net/tools/fetch/
Dhttp_listen_socket.h46 static const int kReadBufSize = 16 * 1024; variable
/external/chromium/chrome/browser/renderer_host/
Dsave_file_resource_handler.h74 static const int kReadBufSize = 32768; // bytes variable
Ddownload_resource_handler.h93 static const int kReadBufSize = 32768; // bytes variable
Dsave_file_resource_handler.cc73 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
Ddownload_resource_handler.cc135 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
/external/chromium_org/net/tools/fetch/
Dhttp_listen_socket.h52 static const int kReadBufSize = 16 * 1024;
/external/chromium_org/content/browser/download/
Dsave_file_resource_handler.h87 static const int kReadBufSize = 32768; // bytes variable
Ddownload_resource_handler.h123 static const int kReadBufSize = 32768; // bytes variable
Dsave_file_resource_handler.cc83 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
Ddownload_resource_handler.cc235 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()