Home
last modified time | relevance | path

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

/external/chromium_org/net/socket/
Dstream_listen_socket.cc42 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);
Dssl_server_socket_unittest.cc272 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()
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.cc62 static const int kReadBufSize = 32768; in OnWillRead() local
66 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead()
68 *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.cc17 const int kReadBufSize = 32 * 1024; variable
155 read_buffer_ = new net::IOBuffer(kReadBufSize); in OnWillRead()
157 *buf_size = kReadBufSize; in OnWillRead()
Dsync_resource_handler.cc26 read_buffer_(new net::IOBuffer(kReadBufSize)), in SyncResourceHandler()
111 *buf_size = kReadBufSize; in OnWillRead()
Dsync_resource_handler.h54 enum { kReadBufSize = 3840 }; enumerator
Dresource_loader_unittest.cc81 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/
Dxmpp_connection.cc35 const size_t kReadBufSize = 64U * 1024U; in CreateSocket() local
44 kReadBufSize, kWriteBufSize); in CreateSocket()
/external/chromium_org/storage/browser/fileapi/
Dfile_writer_delegate.cc21 static const int kReadBufSize = 32768; variable
32 io_buffer_(new net::IOBufferWithSize(kReadBufSize)), in FileWriterDelegate()
/external/chromium_org/content/browser/download/
Dsave_file_resource_handler.h86 static const int kReadBufSize = 32768; // bytes variable
Ddownload_resource_handler.h132 static const int kReadBufSize = 32768; // bytes variable
Dsave_file_resource_handler.cc82 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
Ddownload_resource_handler.cc293 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()