buf_len 73 base/debug/trace_event_win_unittest.cc size_t buf_len, buf_len 138 base/strings/stringprintf_unittest.cc const int buf_len = string_util_buf_len + 1; buf_len 139 base/strings/stringprintf_unittest.cc char src[buf_len + 1]; // Need extra one for NULL-terminator. buf_len 140 base/strings/stringprintf_unittest.cc for (int i = 0; i < buf_len; ++i) buf_len 142 base/strings/stringprintf_unittest.cc src[buf_len] = 0; buf_len 398 base/third_party/symbolize/symbolize.cc explicit LineReader(int fd, char *buf, int buf_len) : fd_(fd), buf_len 399 base/third_party/symbolize/symbolize.cc buf_(buf), buf_len_(buf_len), bol_(buf), eol_(buf), eod_(buf) { buf_len 70 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc int buf_len, buf_len 78 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc return local_file_writer_->Write(buf, buf_len, callback); buf_len 89 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc weak_ptr_factory_.GetWeakPtr(), make_scoped_refptr(buf), buf_len)); buf_len 134 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc int buf_len, buf_len 174 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc int result = local_file_writer_->Write(buf, buf_len, callback); buf_len 50 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 59 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h int buf_len, buf_len 37 chrome/browser/devtools/adb/android_usb_socket.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 39 chrome/browser/devtools/adb/android_usb_socket.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 30 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc MOCK_METHOD3(Read, int(net::IOBuffer* buf, int buf_len, buf_len 32 chrome/browser/extensions/api/socket/tcp_socket_unittest.cc MOCK_METHOD3(Write, int(net::IOBuffer* buf, int buf_len, buf_len 11 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.cc net::IOBuffer* buf, int64 offset, int buf_len, buf_len 17 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.cc buf_len(buf_len), buf_len 53 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h net::IOBuffer* buf, int64 offset, int buf_len, buf_len 61 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h int buf_len; buf_len 97 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h net::IOBuffer* buf, int64 offset, int buf_len, buf_len 46 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc int buf_len, buf_len 59 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc buf_len, buf_len 82 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc int MTPFileStreamReader::Read(net::IOBuffer* buf, int buf_len, buf_len 94 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc if (current_offset_ == 0 && buf_len >= net::kMaxBytesToSniff) { buf_len 98 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc header_buf_len = buf_len; buf_len 108 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc make_scoped_refptr(buf), buf_len, callback), buf_len 113 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc ReadBytes(url_, buf, current_offset_, buf_len, buf_len 141 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc net::IOBuffer* buf, int buf_len, buf_len 163 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc ReadBytes(url_, buf, current_offset_, buf_len, buf_len 35 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 43 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h net::IOBuffer* buf, int buf_len, buf_len 33 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) { buf_len 40 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.cc new net::DrainableIOBuffer(buf, buf_len); buf_len 24 chrome/browser/media_galleries/fileapi/readahead_file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 291 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc net::IOBuffer* buf, int64 offset, int buf_len, buf_len 300 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc device_file_relative_path, buf, offset, buf_len, buf_len 76 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h net::IOBuffer* buf, int64 offset, int buf_len, buf_len 205 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc DCHECK(request.buf_len >= 0); buf_len 223 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::checked_cast<uint32>(request.buf_len), buf_len 246 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc CHECK_LE(base::checked_cast<int>(data.length()), request.buf_len); buf_len 55 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h net::IOBuffer* buf, int64 offset, int buf_len, buf_len 451 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc net::IOBuffer* buf, int64 offset, int buf_len, buf_len 109 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h net::IOBuffer* buf, int64 offset, int buf_len, buf_len 244 chrome/installer/mac/third_party/bsdiff/goobsdiff.c static char make_small(u_char **buf, off_t *buf_len) buf_len 247 chrome/installer/mac/third_party/bsdiff/goobsdiff.c off_t source_len = *buf_len; buf_len 263 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if (bz2_len < *buf_len) { buf_len 266 chrome/installer/mac/third_party/bsdiff/goobsdiff.c *buf_len = bz2_len; buf_len 282 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if (gz_len < *buf_len) { buf_len 285 chrome/installer/mac/third_party/bsdiff/goobsdiff.c *buf_len = gz_len; buf_len 310 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if (lzma_pos < *buf_len) { buf_len 313 chrome/installer/mac/third_party/bsdiff/goobsdiff.c *buf_len = lzma_pos; buf_len 281 content/browser/appcache/view_appcache_internals_job.cc void EmitHexDump(const char *buf, size_t buf_len, size_t total_len, buf_len 285 content/browser/appcache/view_appcache_internals_job.cc static_cast<int>(buf_len), static_cast<int>(total_len)); buf_len 286 content/browser/appcache/view_appcache_internals_job.cc net::ViewCacheHelper::HexDump(buf, buf_len, out); buf_len 287 content/browser/appcache/view_appcache_internals_job.cc if (buf_len < total_len) buf_len 466 content/browser/loader/buffered_resource_handler.cc int buf_len = 0; buf_len 467 content/browser/loader/buffered_resource_handler.cc if (!next_handler_->OnWillRead(request_id, &buf, &buf_len, bytes_read_)) buf_len 470 content/browser/loader/buffered_resource_handler.cc CHECK((buf_len >= bytes_read_) && (bytes_read_ >= 0)); buf_len 74 content/browser/loader/redirect_to_file_resource_handler.cc int Write(net::IOBuffer* buf, int buf_len) { buf_len 78 content/browser/loader/redirect_to_file_resource_handler.cc buf, buf_len, buf_len 56 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::Read(net::IOBuffer* buf, int buf_len, buf_len 60 content/browser/renderer_host/p2p/socket_host_test_utils.cc int result = std::min(buf_len, buf_len 68 content/browser/renderer_host/p2p/socket_host_test_utils.cc read_buffer_size_ = buf_len; buf_len 74 content/browser/renderer_host/p2p/socket_host_test_utils.cc int FakeSocket::Write(net::IOBuffer* buf, int buf_len, buf_len 83 content/browser/renderer_host/p2p/socket_host_test_utils.cc scoped_refptr<net::IOBuffer>(buf), buf_len, callback)); buf_len 90 content/browser/renderer_host/p2p/socket_host_test_utils.cc buf->data(), buf->data() + buf_len); buf_len 92 content/browser/renderer_host/p2p/socket_host_test_utils.cc return buf_len; buf_len 95 content/browser/renderer_host/p2p/socket_host_test_utils.cc void FakeSocket::DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, buf_len 101 content/browser/renderer_host/p2p/socket_host_test_utils.cc buf->data(), buf->data() + buf_len); buf_len 103 content/browser/renderer_host/p2p/socket_host_test_utils.cc callback.Run(buf_len); buf_len 44 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 46 content/browser/renderer_host/p2p/socket_host_test_utils.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 66 content/browser/renderer_host/p2p/socket_host_test_utils.h void DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, buf_len 67 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc virtual int RecvFrom(net::IOBuffer* buf, int buf_len, buf_len 74 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc static_cast<int>(incoming_packets_.front().second.size()), buf_len); buf_len 82 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc recv_size_ = buf_len; buf_len 88 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc virtual int SendTo(net::IOBuffer* buf, int buf_len, buf_len 92 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc std::vector<char> data_vector(buffer->data(), buffer->data() + buf_len); buf_len 94 content/browser/renderer_host/p2p/socket_host_udp_unittest.cc return buf_len; buf_len 286 content/browser/zygote_host/zygote_host_impl_linux.cc ssize_t ZygoteHostImpl::ReadReply(void* buf, size_t buf_len) { buf_len 300 content/browser/zygote_host/zygote_host_impl_linux.cc return HANDLE_EINTR(read(control_fd_, buf, buf_len)); buf_len 1281 content/renderer/npapi/webplugin_impl.cc int buf_len, buf_len 1314 content/renderer/npapi/webplugin_impl.cc SetPostData(&info.request, buf, buf_len); buf_len 164 ipc/unix_domain_socket_util_unittest.cc size_t buf_len = sizeof(buffer); buf_len 166 ipc/unix_domain_socket_util_unittest.cc HANDLE_EINTR(send(connection.client_fd(), buffer, buf_len, 0)); buf_len 167 ipc/unix_domain_socket_util_unittest.cc ASSERT_EQ(buf_len, sent_bytes); buf_len 170 ipc/unix_domain_socket_util_unittest.cc HANDLE_EINTR(recv(connection.server_fd(), recv_buf, buf_len, 0)); buf_len 171 ipc/unix_domain_socket_util_unittest.cc ASSERT_EQ(buf_len, received_bytes); buf_len 172 ipc/unix_domain_socket_util_unittest.cc ASSERT_EQ(0, memcmp(recv_buf, buffer, buf_len)); buf_len 46 jingle/glue/channel_socket_adapter.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 48 jingle/glue/channel_socket_adapter.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 92 jingle/glue/fake_ssl_client_socket.cc int FakeSSLClientSocket::Read(net::IOBuffer* buf, int buf_len, buf_len 96 jingle/glue/fake_ssl_client_socket.cc return transport_socket_->Read(buf, buf_len, callback); buf_len 99 jingle/glue/fake_ssl_client_socket.cc int FakeSSLClientSocket::Write(net::IOBuffer* buf, int buf_len, buf_len 103 jingle/glue/fake_ssl_client_socket.cc return transport_socket_->Write(buf, buf_len, callback); buf_len 48 jingle/glue/fake_ssl_client_socket.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 50 jingle/glue/fake_ssl_client_socket.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 92 jingle/glue/proxy_resolving_client_socket.cc int ProxyResolvingClientSocket::Read(net::IOBuffer* buf, int buf_len, buf_len 95 jingle/glue/proxy_resolving_client_socket.cc return transport_->socket()->Read(buf, buf_len, callback); buf_len 102 jingle/glue/proxy_resolving_client_socket.cc int buf_len, buf_len 105 jingle/glue/proxy_resolving_client_socket.cc return transport_->socket()->Write(buf, buf_len, callback); buf_len 51 jingle/glue/proxy_resolving_client_socket.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 53 jingle/glue/proxy_resolving_client_socket.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 110 jingle/glue/pseudotcp_adapter_unittest.cc virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 118 jingle/glue/pseudotcp_adapter_unittest.cc static_cast<int>(incoming_packets_.front().size()), buf_len); buf_len 125 jingle/glue/pseudotcp_adapter_unittest.cc read_buffer_size_ = buf_len; buf_len 130 jingle/glue/pseudotcp_adapter_unittest.cc virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 138 jingle/glue/pseudotcp_adapter_unittest.cc std::vector<char>(buf->data(), buf->data() + buf_len)), buf_len 142 jingle/glue/pseudotcp_adapter_unittest.cc return buf_len; buf_len 29 media/formats/mpeg/mpeg_audio_stream_parser_base.cc static int LocateEndOfHeaders(const uint8_t* buf, int buf_len, int i) { buf_len 32 media/formats/mpeg/mpeg_audio_stream_parser_base.cc for (; i < buf_len; ++i) { buf_len 162 net/base/file_stream.cc int buf_len, buf_len 168 net/base/file_stream.cc DCHECK_GT(buf_len, 0); buf_len 171 net/base/file_stream.cc return context_->ReadAsync(buf, buf_len, callback); buf_len 174 net/base/file_stream.cc int FileStream::ReadSync(char* buf, int buf_len) { buf_len 182 net/base/file_stream.cc DCHECK_GT(buf_len, 0); buf_len 184 net/base/file_stream.cc return context_->ReadSync(buf, buf_len); buf_len 187 net/base/file_stream.cc int FileStream::ReadUntilComplete(char *buf, int buf_len) { buf_len 190 net/base/file_stream.cc int to_read = buf_len; buf_len 205 net/base/file_stream.cc } while (bytes_total < buf_len); buf_len 211 net/base/file_stream.cc int buf_len, buf_len 218 net/base/file_stream.cc DCHECK_GT(buf_len, 0); buf_len 220 net/base/file_stream.cc return context_->WriteAsync(buf, buf_len, callback); buf_len 223 net/base/file_stream.cc int FileStream::WriteSync(const char* buf, int buf_len) { buf_len 231 net/base/file_stream.cc DCHECK_GT(buf_len, 0); buf_len 233 net/base/file_stream.cc return context_->WriteSync(buf, buf_len); buf_len 146 net/base/file_stream.h virtual int Read(IOBuffer* buf, int buf_len, buf_len 157 net/base/file_stream.h virtual int ReadSync(char* buf, int buf_len); buf_len 164 net/base/file_stream.h virtual int ReadUntilComplete(char *buf, int buf_len); buf_len 188 net/base/file_stream.h virtual int Write(IOBuffer* buf, int buf_len, buf_len 201 net/base/file_stream.h virtual int WriteSync(const char* buf, int buf_len); buf_len 84 net/base/file_stream_context.h int buf_len, buf_len 86 net/base/file_stream_context.h int ReadSync(char* buf, int buf_len); buf_len 89 net/base/file_stream_context.h int buf_len, buf_len 91 net/base/file_stream_context.h int WriteSync(const char* buf, int buf_len); buf_len 221 net/base/file_stream_context.h IOResult ReadFileImpl(scoped_refptr<IOBuffer> buf, int buf_len); buf_len 226 net/base/file_stream_context.h IOResult WriteFileImpl(scoped_refptr<IOBuffer> buf, int buf_len); buf_len 97 net/base/file_stream_context_posix.cc int buf_len, buf_len 105 net/base/file_stream_context_posix.cc base::Bind(&Context::ReadFileImpl, base::Unretained(this), buf, buf_len), buf_len 116 net/base/file_stream_context_posix.cc int FileStream::Context::ReadSync(char* in_buf, int buf_len) { buf_len 118 net/base/file_stream_context_posix.cc IOResult result = ReadFileImpl(buf, buf_len); buf_len 124 net/base/file_stream_context_posix.cc int buf_len, buf_len 132 net/base/file_stream_context_posix.cc base::Bind(&Context::WriteFileImpl, base::Unretained(this), buf, buf_len), buf_len 143 net/base/file_stream_context_posix.cc int FileStream::Context::WriteSync(const char* in_buf, int buf_len) { buf_len 145 net/base/file_stream_context_posix.cc IOResult result = WriteFileImpl(buf, buf_len); buf_len 180 net/base/file_stream_context_posix.cc int buf_len) { buf_len 183 net/base/file_stream_context_posix.cc static_cast<size_t>(buf_len))); buf_len 192 net/base/file_stream_context_posix.cc int buf_len) { buf_len 194 net/base/file_stream_context_posix.cc buf_len)); buf_len 107 net/base/file_stream_context_win.cc int buf_len, buf_len 113 net/base/file_stream_context_win.cc if (!ReadFile(file_.GetPlatformFile(), buf->data(), buf_len, buf_len 131 net/base/file_stream_context_win.cc int FileStream::Context::ReadSync(char* buf, int buf_len) { buf_len 133 net/base/file_stream_context_win.cc if (!ReadFile(file_.GetPlatformFile(), buf, buf_len, &bytes_read, NULL)) { buf_len 148 net/base/file_stream_context_win.cc int buf_len, buf_len 153 net/base/file_stream_context_win.cc if (!WriteFile(file_.GetPlatformFile(), buf->data(), buf_len, buf_len 169 net/base/file_stream_context_win.cc int FileStream::Context::WriteSync(const char* buf, int buf_len) { buf_len 171 net/base/file_stream_context_win.cc if (!WriteFile(file_.GetPlatformFile(), buf, buf_len, &bytes_written, NULL)) { buf_len 68 net/base/mock_file_stream.cc int buf_len, buf_len 74 net/base/mock_file_stream.cc return FileStream::Read(buf, buf_len, wrapped_callback); buf_len 78 net/base/mock_file_stream.cc int MockFileStream::ReadSync(char* buf, int buf_len) { buf_len 79 net/base/mock_file_stream.cc return ReturnError(FileStream::ReadSync(buf, buf_len)); buf_len 82 net/base/mock_file_stream.cc int MockFileStream::ReadUntilComplete(char *buf, int buf_len) { buf_len 83 net/base/mock_file_stream.cc return ReturnError(FileStream::ReadUntilComplete(buf, buf_len)); buf_len 87 net/base/mock_file_stream.cc int buf_len, buf_len 93 net/base/mock_file_stream.cc return FileStream::Write(buf, buf_len, wrapped_callback); buf_len 97 net/base/mock_file_stream.cc int MockFileStream::WriteSync(const char* buf, int buf_len) { buf_len 98 net/base/mock_file_stream.cc return ReturnError(FileStream::WriteSync(buf, buf_len)); buf_len 38 net/base/mock_file_stream.h int buf_len, buf_len 40 net/base/mock_file_stream.h virtual int ReadSync(char* buf, int buf_len) OVERRIDE; buf_len 41 net/base/mock_file_stream.h virtual int ReadUntilComplete(char *buf, int buf_len) OVERRIDE; buf_len 43 net/base/mock_file_stream.h int buf_len, buf_len 45 net/base/mock_file_stream.h virtual int WriteSync(const char* buf, int buf_len) OVERRIDE; buf_len 59 net/base/upload_data_stream.cc int buf_len, buf_len 62 net/base/upload_data_stream.cc DCHECK_GT(buf_len, 0); buf_len 63 net/base/upload_data_stream.cc return ReadInternal(new DrainableIOBuffer(buf, buf_len), callback); buf_len 65 net/base/upload_data_stream.h int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 9 net/base/zap.cc void ZapBuf(void* buf, size_t buf_len) { buf_len 10 net/base/zap.cc memset(buf, 0x0, buf_len); buf_len 17 net/base/zap.h void ZapBuf(void* buf, size_t buf_len); buf_len 316 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::ReadDataImpl(int index, int offset, IOBuffer* buf, int buf_len, buf_len 321 net/disk_cache/blockfile/entry_impl.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, false)); buf_len 324 net/disk_cache/blockfile/entry_impl.cc int result = InternalReadData(index, offset, buf, buf_len, callback); buf_len 334 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::WriteDataImpl(int index, int offset, IOBuffer* buf, int buf_len, buf_len 340 net/disk_cache/blockfile/entry_impl.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); buf_len 343 net/disk_cache/blockfile/entry_impl.cc int result = InternalWriteData(index, offset, buf, buf_len, callback, buf_len 354 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::ReadSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, buf_len 362 net/disk_cache/blockfile/entry_impl.cc result = sparse_->StartIO(SparseControl::kReadOperation, offset, buf, buf_len, buf_len 368 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::WriteSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, buf_len 377 net/disk_cache/blockfile/entry_impl.cc buf_len, callback); buf_len 812 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 815 net/disk_cache/blockfile/entry_impl.cc return ReadDataImpl(index, offset, buf, buf_len, callback); buf_len 822 net/disk_cache/blockfile/entry_impl.cc if (offset >= entry_size || offset < 0 || !buf_len) buf_len 825 net/disk_cache/blockfile/entry_impl.cc if (buf_len < 0) buf_len 831 net/disk_cache/blockfile/entry_impl.cc background_queue_->ReadData(this, index, offset, buf, buf_len, callback); buf_len 835 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 838 net/disk_cache/blockfile/entry_impl.cc return WriteDataImpl(index, offset, buf, buf_len, callback, truncate); buf_len 844 net/disk_cache/blockfile/entry_impl.cc if (offset < 0 || buf_len < 0) buf_len 850 net/disk_cache/blockfile/entry_impl.cc background_queue_->WriteData(this, index, offset, buf, buf_len, truncate, buf_len 855 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 858 net/disk_cache/blockfile/entry_impl.cc return ReadSparseDataImpl(offset, buf, buf_len, callback); buf_len 863 net/disk_cache/blockfile/entry_impl.cc background_queue_->ReadSparseData(this, offset, buf, buf_len, callback); buf_len 867 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 870 net/disk_cache/blockfile/entry_impl.cc return WriteSparseDataImpl(offset, buf, buf_len, callback); buf_len 875 net/disk_cache/blockfile/entry_impl.cc background_queue_->WriteSparseData(this, offset, buf, buf_len, callback); buf_len 974 net/disk_cache/blockfile/entry_impl.cc IOBuffer* buf, int buf_len, buf_len 977 net/disk_cache/blockfile/entry_impl.cc DVLOG(2) << "Read from " << index << " at " << offset << " : " << buf_len; buf_len 982 net/disk_cache/blockfile/entry_impl.cc if (offset >= entry_size || offset < 0 || !buf_len) buf_len 985 net/disk_cache/blockfile/entry_impl.cc if (buf_len < 0) buf_len 993 net/disk_cache/blockfile/entry_impl.cc if (offset + buf_len > entry_size) buf_len 994 net/disk_cache/blockfile/entry_impl.cc buf_len = entry_size - offset; buf_len 999 net/disk_cache/blockfile/entry_impl.cc backend_->OnRead(buf_len); buf_len 1004 net/disk_cache/blockfile/entry_impl.cc user_buffers_[index]->PreRead(eof, offset, &buf_len)) { buf_len 1006 net/disk_cache/blockfile/entry_impl.cc buf_len = user_buffers_[index]->Read(offset, buf, buf_len); buf_len 1008 net/disk_cache/blockfile/entry_impl.cc return buf_len; buf_len 1027 net/disk_cache/blockfile/entry_impl.cc DCHECK_LE(offset + buf_len, kMaxBlockSize); buf_len 1041 net/disk_cache/blockfile/entry_impl.cc if (!file->Read(buf->data(), buf_len, file_offset, io_callback, &completed)) { buf_len 1055 net/disk_cache/blockfile/entry_impl.cc return (completed || callback.is_null()) ? buf_len : net::ERR_IO_PENDING; buf_len 1059 net/disk_cache/blockfile/entry_impl.cc IOBuffer* buf, int buf_len, buf_len 1063 net/disk_cache/blockfile/entry_impl.cc DVLOG(2) << "Write to " << index << " at " << offset << " : " << buf_len; buf_len 1067 net/disk_cache/blockfile/entry_impl.cc if (offset < 0 || buf_len < 0) buf_len 1076 net/disk_cache/blockfile/entry_impl.cc if (offset > max_file_size || buf_len > max_file_size || buf_len 1077 net/disk_cache/blockfile/entry_impl.cc offset + buf_len > max_file_size) { buf_len 1078 net/disk_cache/blockfile/entry_impl.cc int size = offset + buf_len; buf_len 1089 net/disk_cache/blockfile/entry_impl.cc bool extending = entry_size < offset + buf_len; buf_len 1090 net/disk_cache/blockfile/entry_impl.cc truncate = truncate && entry_size > offset + buf_len; buf_len 1092 net/disk_cache/blockfile/entry_impl.cc if (!PrepareTarget(index, offset, buf_len, truncate)) buf_len 1097 net/disk_cache/blockfile/entry_impl.cc UpdateSize(index, entry_size, offset + buf_len); buf_len 1102 net/disk_cache/blockfile/entry_impl.cc backend_->OnWrite(buf_len); buf_len 1106 net/disk_cache/blockfile/entry_impl.cc user_buffers_[index]->Write(offset, buf, buf_len); buf_len 1108 net/disk_cache/blockfile/entry_impl.cc return buf_len; buf_len 1112 net/disk_cache/blockfile/entry_impl.cc if (offset + buf_len == 0) { buf_len 1125 net/disk_cache/blockfile/entry_impl.cc DCHECK_LE(offset + buf_len, kMaxBlockSize); buf_len 1128 net/disk_cache/blockfile/entry_impl.cc } else if (truncate || (extending && !buf_len)) { buf_len 1129 net/disk_cache/blockfile/entry_impl.cc if (!file->SetLength(offset + buf_len)) buf_len 1133 net/disk_cache/blockfile/entry_impl.cc if (!buf_len) buf_len 1145 net/disk_cache/blockfile/entry_impl.cc if (!file->Write(buf->data(), buf_len, file_offset, io_callback, buf_len 1159 net/disk_cache/blockfile/entry_impl.cc return (completed || callback.is_null()) ? buf_len : net::ERR_IO_PENDING; buf_len 1273 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::PrepareTarget(int index, int offset, int buf_len, buf_len 1276 net/disk_cache/blockfile/entry_impl.cc return HandleTruncation(index, offset, buf_len); buf_len 1278 net/disk_cache/blockfile/entry_impl.cc if (!offset && !buf_len) buf_len 1297 net/disk_cache/blockfile/entry_impl.cc return PrepareBuffer(index, offset, buf_len); buf_len 1303 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::HandleTruncation(int index, int offset, int buf_len) { buf_len 1307 net/disk_cache/blockfile/entry_impl.cc int new_size = offset + buf_len; buf_len 1337 net/disk_cache/blockfile/entry_impl.cc return PrepareBuffer(index, offset, buf_len); buf_len 1357 net/disk_cache/blockfile/entry_impl.cc return ImportSeparateFile(index, offset + buf_len); buf_len 1406 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::PrepareBuffer(int index, int offset, int buf_len) { buf_len 1425 net/disk_cache/blockfile/entry_impl.cc if (!user_buffers_[index]->PreWrite(offset, buf_len)) { buf_len 1426 net/disk_cache/blockfile/entry_impl.cc if (!Flush(index, offset + buf_len)) buf_len 1431 net/disk_cache/blockfile/entry_impl.cc !user_buffers_[index]->PreWrite(offset, buf_len)) { buf_len 45 net/disk_cache/blockfile/entry_impl.h int ReadDataImpl(int index, int offset, IOBuffer* buf, int buf_len, buf_len 47 net/disk_cache/blockfile/entry_impl.h int WriteDataImpl(int index, int offset, IOBuffer* buf, int buf_len, buf_len 49 net/disk_cache/blockfile/entry_impl.h int ReadSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, buf_len 51 net/disk_cache/blockfile/entry_impl.h int WriteSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, buf_len 156 net/disk_cache/blockfile/entry_impl.h virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 158 net/disk_cache/blockfile/entry_impl.h virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 161 net/disk_cache/blockfile/entry_impl.h virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 163 net/disk_cache/blockfile/entry_impl.h virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 182 net/disk_cache/blockfile/entry_impl.h int buf_len, const CompletionCallback& callback); buf_len 183 net/disk_cache/blockfile/entry_impl.h int InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 209 net/disk_cache/blockfile/entry_impl.h bool PrepareTarget(int index, int offset, int buf_len, bool truncate); buf_len 213 net/disk_cache/blockfile/entry_impl.h bool HandleTruncation(int index, int offset, int buf_len); buf_len 226 net/disk_cache/blockfile/entry_impl.h bool PrepareBuffer(int index, int offset, int buf_len); buf_len 525 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 528 net/disk_cache/blockfile/entry_impl_v3.cc return ReadDataImpl(index, offset, buf, buf_len, callback); buf_len 535 net/disk_cache/blockfile/entry_impl_v3.cc if (offset >= entry_size || offset < 0 || !buf_len) buf_len 538 net/disk_cache/blockfile/entry_impl_v3.cc if (buf_len < 0) buf_len 544 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->ReadData(this, index, offset, buf, buf_len, callback); buf_len 548 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::ReadDataImpl(int index, int offset, IOBuffer* buf, int buf_len, buf_len 553 net/disk_cache/blockfile/entry_impl_v3.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, false)); buf_len 556 net/disk_cache/blockfile/entry_impl_v3.cc int result = InternalReadData(index, offset, buf, buf_len, callback); buf_len 566 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 569 net/disk_cache/blockfile/entry_impl_v3.cc return WriteDataImpl(index, offset, buf, buf_len, callback, truncate); buf_len 575 net/disk_cache/blockfile/entry_impl_v3.cc if (offset < 0 || buf_len < 0) buf_len 581 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->WriteData(this, index, offset, buf, buf_len, truncate, buf_len 586 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::WriteDataImpl(int index, int offset, IOBuffer* buf, int buf_len, buf_len 592 net/disk_cache/blockfile/entry_impl_v3.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); buf_len 595 net/disk_cache/blockfile/entry_impl_v3.cc int result = InternalWriteData(index, offset, buf, buf_len, callback, buf_len 606 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 609 net/disk_cache/blockfile/entry_impl_v3.cc return ReadSparseDataImpl(offset, buf, buf_len, callback); buf_len 614 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->ReadSparseData(this, offset, buf, buf_len, callback); buf_len 618 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::ReadSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, buf_len 626 net/disk_cache/blockfile/entry_impl_v3.cc result = sparse_->StartIO(SparseControl::kReadOperation, offset, buf, buf_len, buf_len 632 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 635 net/disk_cache/blockfile/entry_impl_v3.cc return WriteSparseDataImpl(offset, buf, buf_len, callback); buf_len 640 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->WriteSparseData(this, offset, buf, buf_len, callback); buf_len 644 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::WriteSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, buf_len 653 net/disk_cache/blockfile/entry_impl_v3.cc buf_len, callback); buf_len 773 net/disk_cache/blockfile/entry_impl_v3.cc IOBuffer* buf, int buf_len, buf_len 776 net/disk_cache/blockfile/entry_impl_v3.cc DVLOG(2) << "Read from " << index << " at " << offset << " : " << buf_len; buf_len 781 net/disk_cache/blockfile/entry_impl_v3.cc if (offset >= entry_size || offset < 0 || !buf_len) buf_len 784 net/disk_cache/blockfile/entry_impl_v3.cc if (buf_len < 0) buf_len 792 net/disk_cache/blockfile/entry_impl_v3.cc if (offset + buf_len > entry_size) buf_len 793 net/disk_cache/blockfile/entry_impl_v3.cc buf_len = entry_size - offset; buf_len 798 net/disk_cache/blockfile/entry_impl_v3.cc backend_->OnRead(buf_len); buf_len 803 net/disk_cache/blockfile/entry_impl_v3.cc user_buffers_[index]->PreRead(eof, offset, &buf_len)) { buf_len 805 net/disk_cache/blockfile/entry_impl_v3.cc buf_len = user_buffers_[index]->Read(offset, buf, buf_len); buf_len 807 net/disk_cache/blockfile/entry_impl_v3.cc return buf_len; buf_len 826 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_LE(offset + buf_len, kMaxBlockSize); buf_len 840 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->Read(buf->data(), buf_len, file_offset, io_callback, &completed)) { buf_len 854 net/disk_cache/blockfile/entry_impl_v3.cc return (completed || callback.is_null()) ? buf_len : net::ERR_IO_PENDING; buf_len 858 net/disk_cache/blockfile/entry_impl_v3.cc IOBuffer* buf, int buf_len, buf_len 862 net/disk_cache/blockfile/entry_impl_v3.cc DVLOG(2) << "Write to " << index << " at " << offset << " : " << buf_len; buf_len 866 net/disk_cache/blockfile/entry_impl_v3.cc if (offset < 0 || buf_len < 0) buf_len 875 net/disk_cache/blockfile/entry_impl_v3.cc if (offset > max_file_size || buf_len > max_file_size || buf_len 876 net/disk_cache/blockfile/entry_impl_v3.cc offset + buf_len > max_file_size) { buf_len 877 net/disk_cache/blockfile/entry_impl_v3.cc int size = offset + buf_len; buf_len 888 net/disk_cache/blockfile/entry_impl_v3.cc bool extending = entry_size < offset + buf_len; buf_len 889 net/disk_cache/blockfile/entry_impl_v3.cc truncate = truncate && entry_size > offset + buf_len; buf_len 891 net/disk_cache/blockfile/entry_impl_v3.cc if (!PrepareTarget(index, offset, buf_len, truncate)) buf_len 896 net/disk_cache/blockfile/entry_impl_v3.cc UpdateSize(index, entry_size, offset + buf_len); buf_len 901 net/disk_cache/blockfile/entry_impl_v3.cc backend_->OnWrite(buf_len); buf_len 905 net/disk_cache/blockfile/entry_impl_v3.cc user_buffers_[index]->Write(offset, buf, buf_len); buf_len 907 net/disk_cache/blockfile/entry_impl_v3.cc return buf_len; buf_len 911 net/disk_cache/blockfile/entry_impl_v3.cc if (offset + buf_len == 0) { buf_len 924 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_LE(offset + buf_len, kMaxBlockSize); buf_len 927 net/disk_cache/blockfile/entry_impl_v3.cc } else if (truncate || (extending && !buf_len)) { buf_len 928 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->SetLength(offset + buf_len)) buf_len 932 net/disk_cache/blockfile/entry_impl_v3.cc if (!buf_len) buf_len 944 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->Write(buf->data(), buf_len, file_offset, io_callback, buf_len 958 net/disk_cache/blockfile/entry_impl_v3.cc return (completed || callback.is_null()) ? buf_len : net::ERR_IO_PENDING; buf_len 1095 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImpl::PrepareTarget(int index, int offset, int buf_len, buf_len 1098 net/disk_cache/blockfile/entry_impl_v3.cc return HandleTruncation(index, offset, buf_len); buf_len 1100 net/disk_cache/blockfile/entry_impl_v3.cc if (!offset && !buf_len) buf_len 1119 net/disk_cache/blockfile/entry_impl_v3.cc return PrepareBuffer(index, offset, buf_len); buf_len 1125 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImpl::HandleTruncation(int index, int offset, int buf_len) { buf_len 1129 net/disk_cache/blockfile/entry_impl_v3.cc int new_size = offset + buf_len; buf_len 1159 net/disk_cache/blockfile/entry_impl_v3.cc return PrepareBuffer(index, offset, buf_len); buf_len 1179 net/disk_cache/blockfile/entry_impl_v3.cc return ImportSeparateFile(index, offset + buf_len); buf_len 1228 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImpl::PrepareBuffer(int index, int offset, int buf_len) { buf_len 1247 net/disk_cache/blockfile/entry_impl_v3.cc if (!user_buffers_[index]->PreWrite(offset, buf_len)) { buf_len 1248 net/disk_cache/blockfile/entry_impl_v3.cc if (!Flush(index, offset + buf_len)) buf_len 1253 net/disk_cache/blockfile/entry_impl_v3.cc !user_buffers_[index]->PreWrite(offset, buf_len)) { buf_len 1423 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 1428 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 1433 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 1438 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 86 net/disk_cache/blockfile/entry_impl_v3.h virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 88 net/disk_cache/blockfile/entry_impl_v3.h virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 91 net/disk_cache/blockfile/entry_impl_v3.h virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 93 net/disk_cache/blockfile/entry_impl_v3.h virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 112 net/disk_cache/blockfile/entry_impl_v3.h int buf_len, const CompletionCallback& callback); buf_len 113 net/disk_cache/blockfile/entry_impl_v3.h int InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 137 net/disk_cache/blockfile/entry_impl_v3.h bool PrepareTarget(int index, int offset, int buf_len, bool truncate); buf_len 141 net/disk_cache/blockfile/entry_impl_v3.h bool HandleTruncation(int index, int offset, int buf_len); buf_len 154 net/disk_cache/blockfile/entry_impl_v3.h bool PrepareBuffer(int index, int offset, int buf_len); buf_len 26 net/disk_cache/blockfile/file_ios.cc FileBackgroundIO(disk_cache::File* file, const void* buf, size_t buf_len, buf_len 30 net/disk_cache/blockfile/file_ios.cc buf_(buf), buf_len_(buf_len), offset_(offset) { buf_len 72 net/disk_cache/blockfile/file_ios.cc void PostRead(disk_cache::File* file, void* buf, size_t buf_len, buf_len 74 net/disk_cache/blockfile/file_ios.cc void PostWrite(disk_cache::File* file, const void* buf, size_t buf_len, buf_len 111 net/disk_cache/blockfile/file_ios.cc void FileInFlightIO::PostRead(disk_cache::File *file, void* buf, size_t buf_len, buf_len 114 net/disk_cache/blockfile/file_ios.cc new FileBackgroundIO(file, buf, buf_len, offset, callback, this)); buf_len 123 net/disk_cache/blockfile/file_ios.cc size_t buf_len, size_t offset, buf_len 126 net/disk_cache/blockfile/file_ios.cc new FileBackgroundIO(file, buf, buf_len, offset, callback, this)); buf_len 160 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len) { buf_len 166 net/disk_cache/blockfile/in_flight_backend_io.cc buf_len_ = buf_len; buf_len 170 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len, bool truncate) { buf_len 176 net/disk_cache/blockfile/in_flight_backend_io.cc buf_len_ = buf_len; buf_len 181 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len) { buf_len 186 net/disk_cache/blockfile/in_flight_backend_io.cc buf_len_ = buf_len; buf_len 190 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len) { buf_len 195 net/disk_cache/blockfile/in_flight_backend_io.cc buf_len_ = buf_len; buf_len 448 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len, buf_len 451 net/disk_cache/blockfile/in_flight_backend_io.cc operation->ReadData(entry, index, offset, buf, buf_len); buf_len 456 net/disk_cache/blockfile/in_flight_backend_io.cc net::IOBuffer* buf, int buf_len, buf_len 460 net/disk_cache/blockfile/in_flight_backend_io.cc operation->WriteData(entry, index, offset, buf, buf_len, truncate); buf_len 465 net/disk_cache/blockfile/in_flight_backend_io.cc EntryImpl* entry, int64 offset, net::IOBuffer* buf, int buf_len, buf_len 468 net/disk_cache/blockfile/in_flight_backend_io.cc operation->ReadSparseData(entry, offset, buf, buf_len); buf_len 473 net/disk_cache/blockfile/in_flight_backend_io.cc EntryImpl* entry, int64 offset, net::IOBuffer* buf, int buf_len, buf_len 476 net/disk_cache/blockfile/in_flight_backend_io.cc operation->WriteSparseData(entry, offset, buf, buf_len); buf_len 66 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len); buf_len 68 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len, bool truncate); buf_len 70 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len); buf_len 72 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len); buf_len 179 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len, const net::CompletionCallback& callback); buf_len 182 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len, bool truncate, const net::CompletionCallback& callback); buf_len 184 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len, const net::CompletionCallback& callback); buf_len 186 net/disk_cache/blockfile/in_flight_backend_io.h int buf_len, const net::CompletionCallback& callback); buf_len 245 net/disk_cache/blockfile/sparse_control.cc int buf_len, const CompletionCallback& callback) { buf_len 251 net/disk_cache/blockfile/sparse_control.cc if (offset < 0 || buf_len < 0) buf_len 255 net/disk_cache/blockfile/sparse_control.cc if (static_cast<uint64>(offset) + static_cast<unsigned int>(buf_len) >= buf_len 269 net/disk_cache/blockfile/sparse_control.cc user_buf_ = buf ? new net::DrainableIOBuffer(buf, buf_len) : NULL; buf_len 270 net/disk_cache/blockfile/sparse_control.cc buf_len_ = buf_len; buf_len 63 net/disk_cache/blockfile/sparse_control.h int buf_len, const CompletionCallback& callback); buf_len 226 net/disk_cache/blockfile/sparse_control_v3.cc int buf_len, const CompletionCallback& callback) { buf_len 232 net/disk_cache/blockfile/sparse_control_v3.cc if (offset < 0 || buf_len < 0) buf_len 236 net/disk_cache/blockfile/sparse_control_v3.cc if (offset + buf_len >= 0x1000000000LL || offset + buf_len < 0) buf_len 248 net/disk_cache/blockfile/sparse_control_v3.cc user_buf_ = buf ? new net::DrainableIOBuffer(buf, buf_len) : NULL; buf_len 249 net/disk_cache/blockfile/sparse_control_v3.cc buf_len_ = buf_len; buf_len 58 net/disk_cache/blockfile/sparse_control_v3.h int buf_len, const CompletionCallback& callback); buf_len 192 net/disk_cache/disk_cache.h virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 206 net/disk_cache/disk_cache.h virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 254 net/disk_cache/disk_cache.h virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 263 net/disk_cache/disk_cache.h virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 3481 net/disk_cache/entry_unittest.cc int buf_len = kHalfSize; buf_len 3482 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1_read1(new net::IOBuffer(buf_len)); buf_len 3483 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, ReadData(entry2, 1, offset, buffer1_read1.get(), buf_len)); buf_len 3484 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1->data(), buffer1_read1->data(), buf_len)); buf_len 3487 net/disk_cache/entry_unittest.cc offset = buf_len; buf_len 3488 net/disk_cache/entry_unittest.cc buf_len = kHalfSize; buf_len 3489 net/disk_cache/entry_unittest.cc scoped_refptr<net::IOBuffer> buffer1_read2(new net::IOBuffer(buf_len)); buf_len 3490 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, ReadData(entry2, 1, offset, buffer1_read2.get(), buf_len)); buf_len 3492 net/disk_cache/entry_unittest.cc EXPECT_EQ(0, memcmp(buffer1_data, buffer1_read2->data(), buf_len)); buf_len 3529 net/disk_cache/entry_unittest.cc int buf_len = kHalfSize; buf_len 3531 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, buf_len 3532 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer2.get(), buf_len, false)); buf_len 3534 net/disk_cache/entry_unittest.cc buf_len = kHalfSize; buf_len 3535 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, buf_len 3536 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer1.get(), buf_len, false)); buf_len 3649 net/disk_cache/entry_unittest.cc int buf_len = kSize; buf_len 3651 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, buf_len 3652 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer1.get(), buf_len, false)); buf_len 3654 net/disk_cache/entry_unittest.cc buf_len = kHalfSize; buf_len 3655 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, buf_len 3656 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer2.get(), buf_len, false)); buf_len 3857 net/disk_cache/entry_unittest.cc int buf_len = kSize; buf_len 3859 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, buf_len 3860 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer1.get(), buf_len, false)); buf_len 3864 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, buf_len 3865 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer2.get(), buf_len, false)); buf_len 186 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 191 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, false)); buf_len 194 net/disk_cache/memory/mem_entry_impl.cc int result = InternalReadData(index, offset, buf, buf_len); buf_len 204 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 209 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); buf_len 212 net/disk_cache/memory/mem_entry_impl.cc int result = InternalWriteData(index, offset, buf, buf_len, truncate); buf_len 222 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 227 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogSparseOperationCallback(offset, buf_len)); buf_len 229 net/disk_cache/memory/mem_entry_impl.cc int result = InternalReadSparseData(offset, buf, buf_len); buf_len 235 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 240 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogSparseOperationCallback(offset, buf_len)); buf_len 242 net/disk_cache/memory/mem_entry_impl.cc int result = InternalWriteSparseData(offset, buf, buf_len); buf_len 283 net/disk_cache/memory/mem_entry_impl.cc int buf_len) { buf_len 290 net/disk_cache/memory/mem_entry_impl.cc if (offset >= entry_size || offset < 0 || !buf_len) buf_len 293 net/disk_cache/memory/mem_entry_impl.cc if (buf_len < 0) buf_len 296 net/disk_cache/memory/mem_entry_impl.cc if (offset + buf_len > entry_size) buf_len 297 net/disk_cache/memory/mem_entry_impl.cc buf_len = entry_size - offset; buf_len 301 net/disk_cache/memory/mem_entry_impl.cc memcpy(buf->data(), &(data_[index])[offset], buf_len); buf_len 302 net/disk_cache/memory/mem_entry_impl.cc return buf_len; buf_len 306 net/disk_cache/memory/mem_entry_impl.cc int buf_len, bool truncate) { buf_len 312 net/disk_cache/memory/mem_entry_impl.cc if (offset < 0 || buf_len < 0) buf_len 318 net/disk_cache/memory/mem_entry_impl.cc if (offset > max_file_size || buf_len > max_file_size || buf_len 319 net/disk_cache/memory/mem_entry_impl.cc offset + buf_len > max_file_size) { buf_len 326 net/disk_cache/memory/mem_entry_impl.cc PrepareTarget(index, offset, buf_len); buf_len 328 net/disk_cache/memory/mem_entry_impl.cc if (entry_size < offset + buf_len) { buf_len 329 net/disk_cache/memory/mem_entry_impl.cc backend_->ModifyStorageSize(entry_size, offset + buf_len); buf_len 330 net/disk_cache/memory/mem_entry_impl.cc data_size_[index] = offset + buf_len; buf_len 332 net/disk_cache/memory/mem_entry_impl.cc if (entry_size > offset + buf_len) { buf_len 333 net/disk_cache/memory/mem_entry_impl.cc backend_->ModifyStorageSize(entry_size, offset + buf_len); buf_len 334 net/disk_cache/memory/mem_entry_impl.cc data_size_[index] = offset + buf_len; buf_len 340 net/disk_cache/memory/mem_entry_impl.cc if (!buf_len) buf_len 343 net/disk_cache/memory/mem_entry_impl.cc memcpy(&(data_[index])[offset], buf->data(), buf_len); buf_len 344 net/disk_cache/memory/mem_entry_impl.cc return buf_len; buf_len 348 net/disk_cache/memory/mem_entry_impl.cc int buf_len) { buf_len 354 net/disk_cache/memory/mem_entry_impl.cc if (offset < 0 || buf_len < 0) buf_len 359 net/disk_cache/memory/mem_entry_impl.cc new net::DrainableIOBuffer(buf, buf_len)); buf_len 405 net/disk_cache/memory/mem_entry_impl.cc int buf_len) { buf_len 411 net/disk_cache/memory/mem_entry_impl.cc if (offset < 0 || buf_len < 0) buf_len 415 net/disk_cache/memory/mem_entry_impl.cc new net::DrainableIOBuffer(buf, buf_len)); buf_len 514 net/disk_cache/memory/mem_entry_impl.cc void MemEntryImpl::PrepareTarget(int index, int offset, int buf_len) { buf_len 517 net/disk_cache/memory/mem_entry_impl.cc if (entry_size >= offset + buf_len) buf_len 520 net/disk_cache/memory/mem_entry_impl.cc if (static_cast<int>(data_[index].size()) < offset + buf_len) buf_len 521 net/disk_cache/memory/mem_entry_impl.cc data_[index].resize(offset + buf_len); buf_len 96 net/disk_cache/memory/mem_entry_impl.h virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 98 net/disk_cache/memory/mem_entry_impl.h virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 101 net/disk_cache/memory/mem_entry_impl.h virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 103 net/disk_cache/memory/mem_entry_impl.h virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 122 net/disk_cache/memory/mem_entry_impl.h int InternalReadData(int index, int offset, IOBuffer* buf, int buf_len); buf_len 123 net/disk_cache/memory/mem_entry_impl.h int InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 125 net/disk_cache/memory/mem_entry_impl.h int InternalReadSparseData(int64 offset, IOBuffer* buf, int buf_len); buf_len 126 net/disk_cache/memory/mem_entry_impl.h int InternalWriteSparseData(int64 offset, IOBuffer* buf, int buf_len); buf_len 132 net/disk_cache/memory/mem_entry_impl.h void PrepareTarget(int index, int offset, int buf_len); buf_len 29 net/disk_cache/net_log_parameters.cc int buf_len, buf_len 35 net/disk_cache/net_log_parameters.cc dict->SetInteger("buf_len", buf_len); buf_len 104 net/disk_cache/net_log_parameters.cc int buf_len, buf_len 107 net/disk_cache/net_log_parameters.cc index, offset, buf_len, truncate); buf_len 31 net/disk_cache/net_log_parameters.h int buf_len, buf_len 337 net/disk_cache/simple/simple_entry_impl.cc int buf_len, buf_len 343 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, buf_len 348 net/disk_cache/simple/simple_entry_impl.cc buf_len < 0) { buf_len 358 net/disk_cache/simple/simple_entry_impl.cc offset < 0 || !buf_len)) { buf_len 375 net/disk_cache/simple/simple_entry_impl.cc this, stream_index, offset, buf_len, buf, callback, alone_in_queue)); buf_len 383 net/disk_cache/simple/simple_entry_impl.cc int buf_len, buf_len 391 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, buf_len 396 net/disk_cache/simple/simple_entry_impl.cc offset < 0 || buf_len < 0) { buf_len 405 net/disk_cache/simple/simple_entry_impl.cc if (backend_.get() && offset + buf_len > backend_->GetMaxFileSize()) { buf_len 420 net/disk_cache/simple/simple_entry_impl.cc return SetStream0Data(buf, offset, buf_len, truncate); buf_len 443 net/disk_cache/simple/simple_entry_impl.cc op_buf = new IOBuffer(buf_len); buf_len 444 net/disk_cache/simple/simple_entry_impl.cc memcpy(op_buf->data(), buf->data(), buf_len); buf_len 447 net/disk_cache/simple/simple_entry_impl.cc ret_value = buf_len; buf_len 451 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteCompleteCallback(buf_len)); buf_len 458 net/disk_cache/simple/simple_entry_impl.cc buf_len, buf_len 468 net/disk_cache/simple/simple_entry_impl.cc int buf_len, buf_len 474 net/disk_cache/simple/simple_entry_impl.cc this, offset, buf_len, buf, callback)); buf_len 480 net/disk_cache/simple/simple_entry_impl.cc int buf_len, buf_len 486 net/disk_cache/simple/simple_entry_impl.cc this, offset, buf_len, buf, callback)); buf_len 805 net/disk_cache/simple/simple_entry_impl.cc int buf_len, buf_len 813 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, buf_len 834 net/disk_cache/simple/simple_entry_impl.cc if (offset >= GetDataSize(stream_index) || offset < 0 || !buf_len) { buf_len 843 net/disk_cache/simple/simple_entry_impl.cc buf_len = std::min(buf_len, GetDataSize(stream_index) - offset); buf_len 847 net/disk_cache/simple/simple_entry_impl.cc int ret_value = ReadStream0Data(buf, offset, buf_len); buf_len 867 net/disk_cache/simple/simple_entry_impl.cc SimpleSynchronousEntry::EntryOperationData(stream_index, offset, buf_len), buf_len 886 net/disk_cache/simple/simple_entry_impl.cc int buf_len, buf_len 895 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, buf_len 918 net/disk_cache/simple/simple_entry_impl.cc int ret_value = SetStream0Data(buf, offset, buf_len, truncate); buf_len 927 net/disk_cache/simple/simple_entry_impl.cc if (buf_len == 0) { buf_len 942 net/disk_cache/simple/simple_entry_impl.cc AdvanceCrc(buf, offset, buf_len, stream_index); buf_len 949 net/disk_cache/simple/simple_entry_impl.cc data_size_[stream_index] = offset + buf_len; buf_len 951 net/disk_cache/simple/simple_entry_impl.cc data_size_[stream_index] = std::max(offset + buf_len, buf_len 969 net/disk_cache/simple/simple_entry_impl.cc stream_index, offset, buf_len, truncate, buf_len 986 net/disk_cache/simple/simple_entry_impl.cc int buf_len, buf_len 999 net/disk_cache/simple/simple_entry_impl.cc sparse_offset, buf_len), buf_len 1014 net/disk_cache/simple/simple_entry_impl.cc int buf_len, buf_len 1038 net/disk_cache/simple/simple_entry_impl.cc sparse_offset, buf_len), buf_len 1452 net/disk_cache/simple/simple_entry_impl.cc int buf_len) { buf_len 1453 net/disk_cache/simple/simple_entry_impl.cc if (buf_len < 0) { buf_len 1457 net/disk_cache/simple/simple_entry_impl.cc memcpy(buf->data(), stream_0_data_->data() + offset, buf_len); buf_len 1462 net/disk_cache/simple/simple_entry_impl.cc return buf_len; buf_len 1467 net/disk_cache/simple/simple_entry_impl.cc int buf_len, buf_len 1477 net/disk_cache/simple/simple_entry_impl.cc RecordHeaderSizeChange(cache_type_, data_size, buf_len); buf_len 1478 net/disk_cache/simple/simple_entry_impl.cc stream_0_data_->SetCapacity(buf_len); buf_len 1479 net/disk_cache/simple/simple_entry_impl.cc memcpy(stream_0_data_->data(), buf->data(), buf_len); buf_len 1480 net/disk_cache/simple/simple_entry_impl.cc data_size_[0] = buf_len; buf_len 1484 net/disk_cache/simple/simple_entry_impl.cc truncate ? offset + buf_len : std::max(offset + buf_len, data_size); buf_len 1492 net/disk_cache/simple/simple_entry_impl.cc memcpy(stream_0_data_->data() + offset, buf->data(), buf_len); buf_len 1496 net/disk_cache/simple/simple_entry_impl.cc AdvanceCrc(buf, offset, buf_len, 0); buf_len 1501 net/disk_cache/simple/simple_entry_impl.cc return buf_len; buf_len 83 net/disk_cache/simple/simple_entry_impl.h int buf_len, buf_len 88 net/disk_cache/simple/simple_entry_impl.h int buf_len, buf_len 93 net/disk_cache/simple/simple_entry_impl.h int buf_len, buf_len 97 net/disk_cache/simple/simple_entry_impl.h int buf_len, buf_len 181 net/disk_cache/simple/simple_entry_impl.h int buf_len, buf_len 187 net/disk_cache/simple/simple_entry_impl.h int buf_len, buf_len 193 net/disk_cache/simple/simple_entry_impl.h int buf_len, buf_len 198 net/disk_cache/simple/simple_entry_impl.h int buf_len, buf_len 284 net/disk_cache/simple/simple_entry_impl.h int ReadStream0Data(net::IOBuffer* buf, int offset, int buf_len); buf_len 290 net/disk_cache/simple/simple_entry_impl.h int offset, int buf_len, buf_len 200 net/disk_cache/simple/simple_synchronous_entry.cc buf_len(buf_len_p), buf_len 287 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_LT(0, in_entry_op.buf_len); buf_len 291 net/disk_cache/simple/simple_synchronous_entry.cc file->Read(file_offset, out_buf->data(), in_entry_op.buf_len); buf_len 315 net/disk_cache/simple/simple_synchronous_entry.cc int buf_len = in_entry_op.buf_len; buf_len 320 net/disk_cache/simple/simple_synchronous_entry.cc bool extending_by_write = offset + buf_len > out_entry_stat->data_size(index); buf_len 360 net/disk_cache/simple/simple_synchronous_entry.cc if (buf_len > 0) { buf_len 361 net/disk_cache/simple/simple_synchronous_entry.cc if (files_[file_index].Write(file_offset, in_buf->data(), buf_len) != buf_len 362 net/disk_cache/simple/simple_synchronous_entry.cc buf_len) { buf_len 369 net/disk_cache/simple/simple_synchronous_entry.cc if (!truncate && (buf_len > 0 || !extending_by_write)) { buf_len 371 net/disk_cache/simple/simple_synchronous_entry.cc index, std::max(out_entry_stat->data_size(index), offset + buf_len)); buf_len 373 net/disk_cache/simple/simple_synchronous_entry.cc out_entry_stat->set_data_size(index, offset + buf_len); buf_len 387 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = buf_len; buf_len 397 net/disk_cache/simple/simple_synchronous_entry.cc int buf_len = in_entry_op.buf_len; buf_len 419 net/disk_cache/simple/simple_synchronous_entry.cc int len_to_read = std::min(buf_len, range_len_after_offset); buf_len 434 net/disk_cache/simple/simple_synchronous_entry.cc while (read_so_far < buf_len && buf_len 441 net/disk_cache/simple/simple_synchronous_entry.cc int len_to_read = std::min(buf_len - read_so_far, range_len); buf_len 461 net/disk_cache/simple/simple_synchronous_entry.cc int buf_len = in_entry_op.buf_len; buf_len 475 net/disk_cache/simple/simple_synchronous_entry.cc if (sparse_data_size + buf_len > max_sparse_data_size) { buf_len 477 net/disk_cache/simple/simple_synchronous_entry.cc << buf_len << " > " << max_sparse_data_size << ")"; buf_len 495 net/disk_cache/simple/simple_synchronous_entry.cc int len_to_write = std::min(buf_len, range_len_after_offset); buf_len 508 net/disk_cache/simple/simple_synchronous_entry.cc while (written_so_far < buf_len && buf_len 510 net/disk_cache/simple/simple_synchronous_entry.cc it->second.offset < offset + buf_len) { buf_len 525 net/disk_cache/simple/simple_synchronous_entry.cc int len_to_write = std::min(buf_len - written_so_far, range_len); buf_len 537 net/disk_cache/simple/simple_synchronous_entry.cc if (written_so_far < buf_len) { buf_len 538 net/disk_cache/simple/simple_synchronous_entry.cc int len_to_append = buf_len - written_so_far; buf_len 549 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_EQ(buf_len, written_so_far); buf_len 565 net/disk_cache/simple/simple_synchronous_entry.cc int len = in_entry_op.buf_len; buf_len 110 net/disk_cache/simple/simple_synchronous_entry.h int buf_len; buf_len 23 net/disk_cache/tracing/tracing_cache_backend.cc virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 25 net/disk_cache/tracing/tracing_cache_backend.cc virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 28 net/disk_cache/tracing/tracing_cache_backend.cc virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 30 net/disk_cache/tracing/tracing_cache_backend.cc virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 46 net/disk_cache/tracing/tracing_cache_backend.cc int buf_len; buf_len 93 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::ReadData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 99 net/disk_cache/tracing/tracing_cache_backend.cc extra.buf_len = buf_len; buf_len 102 net/disk_cache/tracing/tracing_cache_backend.cc index, offset, buf, buf_len, buf_len 111 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::WriteData(int index, int offset, IOBuffer* buf, int buf_len, buf_len 118 net/disk_cache/tracing/tracing_cache_backend.cc extra.buf_len = buf_len; buf_len 120 net/disk_cache/tracing/tracing_cache_backend.cc int rv = entry_->WriteData(index, offset, buf, buf_len, buf_len 130 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 133 net/disk_cache/tracing/tracing_cache_backend.cc return entry_->ReadSparseData(offset, buf, buf_len, callback); buf_len 136 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, buf_len 139 net/disk_cache/tracing/tracing_cache_backend.cc return entry_->WriteSparseData(offset, buf, buf_len, callback); buf_len 23 net/dns/mock_mdns_socket_factory.cc int MockMDnsDatagramServerSocket::SendTo(IOBuffer* buf, int buf_len, buf_len 26 net/dns/mock_mdns_socket_factory.cc return SendToInternal(std::string(buf->data(), buf_len), address.ToString(), buf_len 29 net/dns/mock_mdns_socket_factory.h virtual int SendTo(IOBuffer* buf, int buf_len, const IPEndPoint& address, buf_len 286 net/ftp/ftp_network_transaction.cc int buf_len, buf_len 289 net/ftp/ftp_network_transaction.cc DCHECK_GT(buf_len, 0); buf_len 292 net/ftp/ftp_network_transaction.cc read_data_buf_len_ = buf_len; buf_len 44 net/ftp/ftp_network_transaction.h virtual int Read(IOBuffer* buf, int buf_len, buf_len 63 net/ftp/ftp_transaction.h int buf_len, buf_len 47 net/http/failing_http_transaction_factory.cc virtual int Read(IOBuffer* buf, int buf_len, buf_len 107 net/http/failing_http_transaction_factory.cc int FailingHttpTransaction::Read(IOBuffer* buf, int buf_len, buf_len 50 net/http/http_basic_stream.cc int buf_len, buf_len 52 net/http/http_basic_stream.cc return parser()->ReadResponseBody(buf, buf_len, callback); buf_len 52 net/http/http_basic_stream.h int buf_len, buf_len 203 net/http/http_cache.cc int buf_len); buf_len 221 net/http/http_cache.cc IOBuffer* buf, int buf_len) { buf_len 222 net/http/http_cache.cc DCHECK_GT(buf_len, 0); buf_len 231 net/http/http_cache.cc buf_len_ = buf_len; buf_len 396 net/http/http_cache.cc int buf_len) { buf_len 397 net/http/http_cache.cc if (!buf_len) buf_len 411 net/http/http_cache.cc writer->Write(url, expected_response_time, buf, buf_len); buf_len 171 net/http/http_cache.h int buf_len); buf_len 244 net/http/http_cache_transaction.cc int HttpCache::Transaction::WriteMetadata(IOBuffer* buf, int buf_len, buf_len 247 net/http/http_cache_transaction.cc DCHECK_GT(buf_len, 0); buf_len 256 net/http/http_cache_transaction.cc return entry_->disk_entry->WriteData(kMetadataIndex, 0, buf, buf_len, buf_len 388 net/http/http_cache_transaction.cc int HttpCache::Transaction::Read(IOBuffer* buf, int buf_len, buf_len 391 net/http/http_cache_transaction.cc DCHECK_GT(buf_len, 0); buf_len 417 net/http/http_cache_transaction.cc rv = ReadFromEntry(buf, buf_len); buf_len 423 net/http/http_cache_transaction.cc rv = ReadFromNetwork(buf, buf_len); buf_len 426 net/http/http_cache_transaction.cc rv = ReadFromEntry(buf, buf_len); buf_len 85 net/http/http_cache_transaction.h int buf_len, buf_len 119 net/http/http_cache_transaction.h int buf_len, buf_len 69 net/http/http_chunked_decoder.cc int HttpChunkedDecoder::FilterBuf(char* buf, int buf_len) { buf_len 72 net/http/http_chunked_decoder.cc while (buf_len) { buf_len 74 net/http/http_chunked_decoder.cc int num = std::min(chunk_remaining_, buf_len); buf_len 76 net/http/http_chunked_decoder.cc buf_len -= num; buf_len 87 net/http/http_chunked_decoder.cc bytes_after_eof_ += buf_len; buf_len 91 net/http/http_chunked_decoder.cc int bytes_consumed = ScanForChunkRemaining(buf, buf_len); buf_len 95 net/http/http_chunked_decoder.cc buf_len -= bytes_consumed; buf_len 96 net/http/http_chunked_decoder.cc if (buf_len) buf_len 97 net/http/http_chunked_decoder.cc memmove(buf, buf + bytes_consumed, buf_len); buf_len 103 net/http/http_chunked_decoder.cc int HttpChunkedDecoder::ScanForChunkRemaining(const char* buf, int buf_len) { buf_len 105 net/http/http_chunked_decoder.cc DCHECK_GT(buf_len, 0); buf_len 109 net/http/http_chunked_decoder.cc size_t index_of_lf = base::StringPiece(buf, buf_len).find('\n'); buf_len 111 net/http/http_chunked_decoder.cc buf_len = static_cast<int>(index_of_lf); buf_len 112 net/http/http_chunked_decoder.cc if (buf_len && buf[buf_len - 1] == '\r') // Eliminate a preceding CR. buf_len 113 net/http/http_chunked_decoder.cc buf_len--; buf_len 118 net/http/http_chunked_decoder.cc line_buf_.append(buf, buf_len); buf_len 120 net/http/http_chunked_decoder.cc buf_len = static_cast<int>(line_buf_.size()); buf_len 124 net/http/http_chunked_decoder.cc if (buf_len) buf_len 129 net/http/http_chunked_decoder.cc if (buf_len) { buf_len 134 net/http/http_chunked_decoder.cc } else if (buf_len) { buf_len 136 net/http/http_chunked_decoder.cc size_t index_of_semicolon = base::StringPiece(buf, buf_len).find(';'); buf_len 138 net/http/http_chunked_decoder.cc buf_len = static_cast<int>(index_of_semicolon); buf_len 140 net/http/http_chunked_decoder.cc if (!ParseChunkSize(buf, buf_len, &chunk_remaining_)) { buf_len 142 net/http/http_chunked_decoder.cc std::string(buf, buf_len); buf_len 155 net/http/http_chunked_decoder.cc bytes_consumed = buf_len; buf_len 158 net/http/http_chunked_decoder.cc if (buf[buf_len - 1] == '\r') buf_len 159 net/http/http_chunked_decoder.cc buf_len--; buf_len 161 net/http/http_chunked_decoder.cc if (line_buf_.length() + buf_len > kMaxLineBufLen) { buf_len 166 net/http/http_chunked_decoder.cc line_buf_.append(buf, buf_len); buf_len 97 net/http/http_chunked_decoder.h int FilterBuf(char* buf, int buf_len); buf_len 103 net/http/http_chunked_decoder.h int ScanForChunkRemaining(const char* buf, int buf_len); buf_len 344 net/http/http_network_transaction.cc int HttpNetworkTransaction::Read(IOBuffer* buf, int buf_len, buf_len 347 net/http/http_network_transaction.cc DCHECK_LT(0, buf_len); buf_len 374 net/http/http_network_transaction.cc read_buf_len_ = buf_len; buf_len 60 net/http/http_network_transaction.h int buf_len, buf_len 12111 net/http/http_network_transaction_unittest.cc virtual int ReadResponseBody(IOBuffer* buf, int buf_len, buf_len 603 net/http/http_pipelined_connection_impl.cc int pipeline_id, IOBuffer* buf, int buf_len, buf_len 609 net/http/http_pipelined_connection_impl.cc buf, buf_len, callback); buf_len 110 net/http/http_pipelined_connection_impl.h IOBuffer* buf, int buf_len, buf_len 66 net/http/http_pipelined_stream.cc int HttpPipelinedStream::ReadResponseBody(IOBuffer* buf, int buf_len, buf_len 68 net/http/http_pipelined_stream.cc return pipeline_->ReadResponseBody(pipeline_id_, buf, buf_len, callback); buf_len 55 net/http/http_pipelined_stream.h virtual int ReadResponseBody(IOBuffer* buf, int buf_len, buf_len 212 net/http/http_proxy_client_socket.cc int HttpProxyClientSocket::Read(IOBuffer* buf, int buf_len, buf_len 229 net/http/http_proxy_client_socket.cc return transport_->socket()->Read(buf, buf_len, callback); buf_len 232 net/http/http_proxy_client_socket.cc int HttpProxyClientSocket::Write(IOBuffer* buf, int buf_len, buf_len 237 net/http/http_proxy_client_socket.cc return transport_->socket()->Write(buf, buf_len, callback); buf_len 80 net/http/http_proxy_client_socket.h int buf_len, buf_len 83 net/http/http_proxy_client_socket.h int buf_len, buf_len 110 net/http/http_response_body_drainer_unittest.cc virtual int ReadResponseBody(IOBuffer* buf, int buf_len, buf_len 143 net/http/http_response_body_drainer_unittest.cc int ReadResponseBodyImpl(IOBuffer* buf, int buf_len); buf_len 162 net/http/http_response_body_drainer_unittest.cc int buf_len, buf_len 176 net/http/http_response_body_drainer_unittest.cc buf_len_ = buf_len; buf_len 183 net/http/http_response_body_drainer_unittest.cc return ReadResponseBodyImpl(buf, buf_len); buf_len 187 net/http/http_response_body_drainer_unittest.cc int MockHttpStream::ReadResponseBodyImpl(IOBuffer* buf, int buf_len) { buf_len 189 net/http/http_response_body_drainer_unittest.cc buf_len = 0; buf_len 191 net/http/http_response_body_drainer_unittest.cc if (buf_len > kMagicChunkSize) buf_len 192 net/http/http_response_body_drainer_unittest.cc buf_len = kMagicChunkSize; buf_len 193 net/http/http_response_body_drainer_unittest.cc std::memset(buf->data(), 1, buf_len); buf_len 199 net/http/http_response_body_drainer_unittest.cc return buf_len; buf_len 76 net/http/http_stream_base.h virtual int ReadResponseBody(IOBuffer* buf, int buf_len, buf_len 94 net/http/http_stream_factory_impl_unittest.cc int buf_len, buf_len 328 net/http/http_stream_parser.cc int HttpStreamParser::ReadResponseBody(IOBuffer* buf, int buf_len, buf_len 333 net/http/http_stream_parser.cc DCHECK_LE(buf_len, kMaxBufSize); buf_len 339 net/http/http_stream_parser.cc user_read_buf_len_ = buf_len; buf_len 57 net/http/http_stream_parser.h int ReadResponseBody(IOBuffer* buf, int buf_len, buf_len 100 net/http/http_transaction.h virtual int Read(IOBuffer* buf, int buf_len, buf_len 284 net/http/http_transaction_unittest.cc int MockNetworkTransaction::Read(net::IOBuffer* buf, int buf_len, buf_len 287 net/http/http_transaction_unittest.cc int num = std::min(buf_len, data_len - data_cursor_); buf_len 188 net/http/http_transaction_unittest.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 495 net/http/http_util.cc int HttpUtil::LocateStartOfStatusLine(const char* buf, int buf_len) { buf_len 499 net/http/http_util.cc if (buf_len >= http_len) { buf_len 500 net/http/http_util.cc int i_max = std::min(buf_len - http_len, slop); buf_len 509 net/http/http_util.cc int HttpUtil::LocateEndOfHeaders(const char* buf, int buf_len, int i) { buf_len 512 net/http/http_util.cc for (; i < buf_len; ++i) { buf_len 131 net/http/http_util.h static int LocateStartOfStatusLine(const char* buf, int buf_len); buf_len 139 net/http/http_util.h static int LocateEndOfHeaders(const char* buf, int buf_len, int i = 0); buf_len 154 net/http/http_util.h static std::string AssembleRawHeaders(const char* buf, int buf_len); buf_len 86 net/http/mock_http_cache.cc int index, int offset, net::IOBuffer* buf, int buf_len, buf_len 99 net/http/mock_http_cache.cc int num = std::min(buf_len, static_cast<int>(data_[index].size()) - offset); buf_len 110 net/http/mock_http_cache.cc int index, int offset, net::IOBuffer* buf, int buf_len, buf_len 124 net/http/mock_http_cache.cc data_[index].resize(offset + buf_len); buf_len 125 net/http/mock_http_cache.cc if (buf_len) buf_len 126 net/http/mock_http_cache.cc memcpy(&data_[index][offset], buf->data(), buf_len); buf_len 129 net/http/mock_http_cache.cc return buf_len; buf_len 131 net/http/mock_http_cache.cc CallbackLater(callback, buf_len); buf_len 135 net/http/mock_http_cache.cc int MockDiskEntry::ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, buf_len 150 net/http/mock_http_cache.cc if (!buf_len) buf_len 154 net/http/mock_http_cache.cc buf_len); buf_len 167 net/http/mock_http_cache.cc int buf_len, buf_len 181 net/http/mock_http_cache.cc if (!buf_len) buf_len 190 net/http/mock_http_cache.cc if (static_cast<int>(data_[1].size()) < real_offset + buf_len) buf_len 191 net/http/mock_http_cache.cc data_[1].resize(real_offset + buf_len); buf_len 193 net/http/mock_http_cache.cc memcpy(&data_[1][real_offset], buf->data(), buf_len); buf_len 195 net/http/mock_http_cache.cc return buf_len; buf_len 197 net/http/mock_http_cache.cc CallbackLater(callback, buf_len); buf_len 34 net/http/mock_http_cache.h virtual int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len, buf_len 36 net/http/mock_http_cache.h virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, buf_len 39 net/http/mock_http_cache.h virtual int ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, buf_len 42 net/http/mock_http_cache.h int64 offset, net::IOBuffer* buf, int buf_len, buf_len 54 net/http/proxy_connect_redirect_http_stream.cc int buf_len, buf_len 38 net/http/proxy_connect_redirect_http_stream.h int buf_len, buf_len 40 net/quic/quic_client_session_test.cc const char* buffer, size_t buf_len, buf_len 46 net/quic/quic_client_session_test.cc QuicEncryptedPacket packet(buffer, buf_len); buf_len 291 net/quic/quic_connection_test.cc const char* buffer, size_t buf_len, buf_len 294 net/quic/quic_connection_test.cc QuicEncryptedPacket packet(buffer, buf_len); buf_len 27 net/quic/quic_default_packet_writer.cc const char* buffer, size_t buf_len, buf_len 31 net/quic/quic_default_packet_writer.cc new StringIOBuffer(std::string(buffer, buf_len))); buf_len 34 net/quic/quic_default_packet_writer.cc buf_len, buf_len 30 net/quic/quic_default_packet_writer.h const char* buffer, size_t buf_len, buf_len 174 net/quic/quic_http_stream.cc IOBuffer* buf, int buf_len, const CompletionCallback& callback) { buf_len 176 net/quic/quic_http_stream.cc CHECK(buf_len); buf_len 182 net/quic/quic_http_stream.cc while (!response_body_.empty() && buf_len > 0) { buf_len 184 net/quic/quic_http_stream.cc const int bytes_to_copy = std::min(buf_len, data->size()); buf_len 186 net/quic/quic_http_stream.cc buf_len -= bytes_to_copy; buf_len 213 net/quic/quic_http_stream.cc user_buffer_len_ = buf_len; buf_len 46 net/quic/quic_http_stream.h int buf_len, buf_len 27 net/quic/quic_packet_writer.h const char* buffer, size_t buf_len, buf_len 442 net/quic/test_tools/quic_test_utils.h size_t buf_len, buf_len 39 net/socket/buffered_write_stream_socket.cc int BufferedWriteStreamSocket::Read(IOBuffer* buf, int buf_len, buf_len 41 net/socket/buffered_write_stream_socket.cc return wrapped_socket_->Read(buf, buf_len, callback); buf_len 44 net/socket/buffered_write_stream_socket.cc int BufferedWriteStreamSocket::Write(IOBuffer* buf, int buf_len, buf_len 51 net/socket/buffered_write_stream_socket.cc AppendBuffer(idle_buffer, buf, buf_len); buf_len 59 net/socket/buffered_write_stream_socket.cc return buf_len; buf_len 42 net/socket/buffered_write_stream_socket.h virtual int Read(IOBuffer* buf, int buf_len, buf_len 44 net/socket/buffered_write_stream_socket.h virtual int Write(IOBuffer* buf, int buf_len, buf_len 31 net/socket/socket.h virtual int Read(IOBuffer* buf, int buf_len, buf_len 46 net/socket/socket.h virtual int Write(IOBuffer* buf, int buf_len, buf_len 829 net/socket/socket_test_util.cc int MockTCPClientSocket::Read(IOBuffer* buf, int buf_len, buf_len 839 net/socket/socket_test_util.cc pending_buf_len_ = buf_len; buf_len 868 net/socket/socket_test_util.cc int MockTCPClientSocket::Write(IOBuffer* buf, int buf_len, buf_len 871 net/socket/socket_test_util.cc DCHECK_GT(buf_len, 0); buf_len 876 net/socket/socket_test_util.cc std::string data(buf->data(), buf_len); buf_len 974 net/socket/socket_test_util.cc int buf_len = pending_buf_len_; buf_len 985 net/socket/socket_test_util.cc result = std::min(buf_len, read_data_.data_len - read_offset_); buf_len 1057 net/socket/socket_test_util.cc IOBuffer* buf, int buf_len, const CompletionCallback& callback) { buf_len 1059 net/socket/socket_test_util.cc DCHECK_GT(buf_len, 0); buf_len 1061 net/socket/socket_test_util.cc std::string data(buf->data(), buf_len); buf_len 1078 net/socket/socket_test_util.cc IOBuffer* buf, int buf_len, const CompletionCallback& callback) { buf_len 1083 net/socket/socket_test_util.cc DCHECK_LE(read_data_.data_len, buf_len); buf_len 1098 net/socket/socket_test_util.cc read_buf_len_ = buf_len; buf_len 1147 net/socket/socket_test_util.cc int buf_len, buf_len 1152 net/socket/socket_test_util.cc return helper_.Write(buf, buf_len, callback); buf_len 1157 net/socket/socket_test_util.cc int buf_len, buf_len 1162 net/socket/socket_test_util.cc return helper_.Read(buf, buf_len, callback); buf_len 1231 net/socket/socket_test_util.cc int buf_len, buf_len 1236 net/socket/socket_test_util.cc return helper_.Write(buf, buf_len, callback); buf_len 1241 net/socket/socket_test_util.cc int buf_len, buf_len 1246 net/socket/socket_test_util.cc return helper_.Read(buf, buf_len, callback); buf_len 1328 net/socket/socket_test_util.cc int MockSSLClientSocket::Read(IOBuffer* buf, int buf_len, buf_len 1330 net/socket/socket_test_util.cc return transport_->socket()->Read(buf, buf_len, callback); buf_len 1333 net/socket/socket_test_util.cc int MockSSLClientSocket::Write(IOBuffer* buf, int buf_len, buf_len 1335 net/socket/socket_test_util.cc return transport_->socket()->Write(buf, buf_len, callback); buf_len 1465 net/socket/socket_test_util.cc int buf_len, buf_len 1475 net/socket/socket_test_util.cc pending_buf_len_ = buf_len; buf_len 1493 net/socket/socket_test_util.cc int MockUDPClientSocket::Write(IOBuffer* buf, int buf_len, buf_len 1496 net/socket/socket_test_util.cc DCHECK_GT(buf_len, 0); buf_len 1501 net/socket/socket_test_util.cc std::string data(buf->data(), buf_len); buf_len 1576 net/socket/socket_test_util.cc int buf_len = pending_buf_len_; buf_len 1587 net/socket/socket_test_util.cc result = std::min(buf_len, read_data_.data_len - read_offset_); buf_len 673 net/socket/socket_test_util.h int buf_len, buf_len 676 net/socket/socket_test_util.h int buf_len, buf_len 738 net/socket/socket_test_util.h int buf_len, buf_len 741 net/socket/socket_test_util.h int buf_len, buf_len 801 net/socket/socket_test_util.h int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 802 net/socket/socket_test_util.h int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 848 net/socket/socket_test_util.h int buf_len, buf_len 851 net/socket/socket_test_util.h int buf_len, buf_len 899 net/socket/socket_test_util.h int buf_len, buf_len 902 net/socket/socket_test_util.h int buf_len, buf_len 935 net/socket/socket_test_util.h int buf_len, buf_len 938 net/socket/socket_test_util.h int buf_len, buf_len 990 net/socket/socket_test_util.h int buf_len, buf_len 993 net/socket/socket_test_util.h int buf_len, buf_len 152 net/socket/socks5_client_socket.cc int SOCKS5ClientSocket::Read(IOBuffer* buf, int buf_len, buf_len 160 net/socket/socks5_client_socket.cc buf, buf_len, buf_len 170 net/socket/socks5_client_socket.cc int SOCKS5ClientSocket::Write(IOBuffer* buf, int buf_len, buf_len 178 net/socket/socks5_client_socket.cc buf, buf_len, buf_len 61 net/socket/socks5_client_socket.h int buf_len, buf_len 64 net/socket/socks5_client_socket.h int buf_len, buf_len 180 net/socket/socks_client_socket.cc int SOCKSClientSocket::Read(IOBuffer* buf, int buf_len, buf_len 188 net/socket/socks_client_socket.cc buf, buf_len, buf_len 198 net/socket/socks_client_socket.cc int SOCKSClientSocket::Write(IOBuffer* buf, int buf_len, buf_len 206 net/socket/socks_client_socket.cc buf, buf_len, buf_len 58 net/socket/socks_client_socket.h int buf_len, buf_len 61 net/socket/socks_client_socket.h int buf_len, buf_len 634 net/socket/ssl_client_socket_nss.cc int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 635 net/socket/ssl_client_socket_nss.cc int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 1110 net/socket/ssl_client_socket_nss.cc int SSLClientSocketNSS::Core::Read(IOBuffer* buf, int buf_len, buf_len 1122 net/socket/ssl_client_socket_nss.cc buf_len, callback)); buf_len 1139 net/socket/ssl_client_socket_nss.cc user_read_buf_len_ = buf_len; buf_len 1167 net/socket/ssl_client_socket_nss.cc int SSLClientSocketNSS::Core::Write(IOBuffer* buf, int buf_len, buf_len 1179 net/socket/ssl_client_socket_nss.cc buf_len, callback)); buf_len 1196 net/socket/ssl_client_socket_nss.cc user_write_buf_len_ = buf_len; buf_len 2537 net/socket/ssl_client_socket_nss.cc unsigned buf_len; buf_len 2539 net/socket/ssl_client_socket_nss.cc SECStatus rv = SSL_GetNextProto(nss_fd_, &state, buf, &buf_len, sizeof(buf)); buf_len 2544 net/socket/ssl_client_socket_nss.cc std::string(reinterpret_cast<char*>(buf), buf_len); buf_len 3063 net/socket/ssl_client_socket_nss.cc int SSLClientSocketNSS::Read(IOBuffer* buf, int buf_len, buf_len 3068 net/socket/ssl_client_socket_nss.cc EnterFunction(buf_len); buf_len 3069 net/socket/ssl_client_socket_nss.cc int rv = core_->Read(buf, buf_len, callback); buf_len 3075 net/socket/ssl_client_socket_nss.cc int SSLClientSocketNSS::Write(IOBuffer* buf, int buf_len, buf_len 3080 net/socket/ssl_client_socket_nss.cc EnterFunction(buf_len); buf_len 3081 net/socket/ssl_client_socket_nss.cc int rv = core_->Write(buf, buf_len, callback); buf_len 100 net/socket/ssl_client_socket_nss.h int buf_len, buf_len 103 net/socket/ssl_client_socket_nss.h int buf_len, buf_len 742 net/socket/ssl_client_socket_openssl.cc int buf_len, buf_len 745 net/socket/ssl_client_socket_openssl.cc user_read_buf_len_ = buf_len; buf_len 762 net/socket/ssl_client_socket_openssl.cc int buf_len, buf_len 765 net/socket/ssl_client_socket_openssl.cc user_write_buf_len_ = buf_len; buf_len 88 net/socket/ssl_client_socket_openssl.h virtual int Read(IOBuffer* buf, int buf_len, buf_len 90 net/socket/ssl_client_socket_openssl.h virtual int Write(IOBuffer* buf, int buf_len, buf_len 95 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 97 net/socket/ssl_client_socket_unittest.cc return transport_->Read(buf, buf_len, callback); buf_len 100 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 102 net/socket/ssl_client_socket_unittest.cc return transport_->Write(buf, buf_len, callback); buf_len 128 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 173 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 176 net/socket/ssl_client_socket_unittest.cc return transport_->Read(buf, buf_len, callback); buf_len 178 net/socket/ssl_client_socket_unittest.cc if (buf_len < buffer_size_) buf_len 258 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 261 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 303 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 307 net/socket/ssl_client_socket_unittest.cc return transport_->Read(buf, buf_len, callback); buf_len 311 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 315 net/socket/ssl_client_socket_unittest.cc return transport_->Write(buf, buf_len, callback); buf_len 329 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 331 net/socket/ssl_client_socket_unittest.cc return read_state_.RunWrappedFunction(buf, buf_len, callback); buf_len 334 net/socket/ssl_client_socket_unittest.cc int buf_len, buf_len 336 net/socket/ssl_client_socket_unittest.cc return write_state_.RunWrappedFunction(buf, buf_len, callback); buf_len 196 net/socket/ssl_server_socket_nss.cc int SSLServerSocketNSS::Read(IOBuffer* buf, int buf_len, buf_len 205 net/socket/ssl_server_socket_nss.cc user_read_buf_len_ = buf_len; buf_len 220 net/socket/ssl_server_socket_nss.cc int SSLServerSocketNSS::Write(IOBuffer* buf, int buf_len, buf_len 228 net/socket/ssl_server_socket_nss.cc user_write_buf_len_ = buf_len; buf_len 45 net/socket/ssl_server_socket_nss.h virtual int Read(IOBuffer* buf, int buf_len, buf_len 47 net/socket/ssl_server_socket_nss.h virtual int Write(IOBuffer* buf, int buf_len, buf_len 64 net/socket/ssl_server_socket_unittest.cc int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback) { buf_len 70 net/socket/ssl_server_socket_unittest.cc read_buf_len_ = buf_len; buf_len 73 net/socket/ssl_server_socket_unittest.cc return PropogateData(buf, buf_len); buf_len 76 net/socket/ssl_server_socket_unittest.cc int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback) { buf_len 87 net/socket/ssl_server_socket_unittest.cc data_.push(new net::DrainableIOBuffer(buf, buf_len)); buf_len 91 net/socket/ssl_server_socket_unittest.cc return buf_len; buf_len 167 net/socket/ssl_server_socket_unittest.cc virtual int Read(IOBuffer* buf, int buf_len, buf_len 170 net/socket/ssl_server_socket_unittest.cc buf_len = rand() % buf_len + 1; buf_len 171 net/socket/ssl_server_socket_unittest.cc return incoming_->Read(buf, buf_len, callback); buf_len 174 net/socket/ssl_server_socket_unittest.cc virtual int Write(IOBuffer* buf, int buf_len, buf_len 177 net/socket/ssl_server_socket_unittest.cc buf_len = rand() % buf_len + 1; buf_len 178 net/socket/ssl_server_socket_unittest.cc return outgoing_->Write(buf, buf_len, callback); buf_len 241 net/socket/tcp_client_socket.cc int buf_len, buf_len 249 net/socket/tcp_client_socket.cc int result = socket_->Read(buf, buf_len, read_callback); buf_len 257 net/socket/tcp_client_socket.cc int buf_len, buf_len 265 net/socket/tcp_client_socket.cc int result = socket_->Write(buf, buf_len, write_callback); buf_len 59 net/socket/tcp_client_socket.h virtual int Read(IOBuffer* buf, int buf_len, buf_len 61 net/socket/tcp_client_socket.h virtual int Write(IOBuffer* buf, int buf_len, buf_len 177 net/socket/tcp_listen_socket_unittest.cc const int buf_len = 200; buf_len 178 net/socket/tcp_listen_socket_unittest.cc char buf[buf_len+1]; buf_len 182 net/socket/tcp_listen_socket_unittest.cc buf + recv_len, buf_len - recv_len, 0)); buf_len 208 net/socket/tcp_listen_socket_unittest.cc const int buf_len = sizeof(kHelloWorld); buf_len 211 net/socket/tcp_listen_socket_unittest.cc while (recv_len < buf_len-1) { buf_len 213 net/socket/tcp_listen_socket_unittest.cc buf + recv_len, buf_len - 1 - recv_len, 0)); buf_len 350 net/socket/tcp_socket_libevent.cc int buf_len, buf_len 358 net/socket/tcp_socket_libevent.cc DCHECK_GT(buf_len, 0); buf_len 360 net/socket/tcp_socket_libevent.cc int nread = HANDLE_EINTR(read(socket_, buf->data(), buf_len)); buf_len 384 net/socket/tcp_socket_libevent.cc read_buf_len_ = buf_len; buf_len 390 net/socket/tcp_socket_libevent.cc int buf_len, buf_len 398 net/socket/tcp_socket_libevent.cc DCHECK_GT(buf_len, 0); buf_len 400 net/socket/tcp_socket_libevent.cc int nwrite = InternalWrite(buf, buf_len); buf_len 423 net/socket/tcp_socket_libevent.cc write_buf_len_ = buf_len; buf_len 819 net/socket/tcp_socket_libevent.cc int TCPSocketLibevent::InternalWrite(IOBuffer* buf, int buf_len) { buf_len 840 net/socket/tcp_socket_libevent.cc buf_len, buf_len 864 net/socket/tcp_socket_libevent.cc nwrite = HANDLE_EINTR(write(socket_, buf->data(), buf_len)); buf_len 49 net/socket/tcp_socket_libevent.h int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 50 net/socket/tcp_socket_libevent.h int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 174 net/socket/tcp_socket_libevent.h int InternalWrite(IOBuffer* buf, int buf_len); buf_len 465 net/socket/tcp_socket_win.cc int buf_len, buf_len 473 net/socket/tcp_socket_win.cc return DoRead(buf, buf_len, callback); buf_len 477 net/socket/tcp_socket_win.cc int buf_len, buf_len 483 net/socket/tcp_socket_win.cc DCHECK_GT(buf_len, 0); buf_len 490 net/socket/tcp_socket_win.cc write_buffer.len = buf_len; buf_len 501 net/socket/tcp_socket_win.cc if (rv > buf_len || rv < 0) { buf_len 504 net/socket/tcp_socket_win.cc LOG(ERROR) << "Detected broken LSP: Asked to write " << buf_len buf_len 526 net/socket/tcp_socket_win.cc core_->write_buffer_length_ = buf_len; buf_len 855 net/socket/tcp_socket_win.cc int TCPSocketWin::DoRead(IOBuffer* buf, int buf_len, buf_len 862 net/socket/tcp_socket_win.cc int rv = recv(socket_, buf->data(), buf_len, 0); buf_len 884 net/socket/tcp_socket_win.cc core_->read_buffer_length_ = buf_len; buf_len 50 net/socket/tcp_socket_win.h int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 51 net/socket/tcp_socket_win.h int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 106 net/socket/tcp_socket_win.h int DoRead(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 140 net/socket/transport_client_socket_pool_unittest.cc virtual int Read(IOBuffer* buf, int buf_len, buf_len 144 net/socket/transport_client_socket_pool_unittest.cc virtual int Write(IOBuffer* buf, int buf_len, buf_len 204 net/socket/transport_client_socket_pool_unittest.cc virtual int Read(IOBuffer* buf, int buf_len, buf_len 209 net/socket/transport_client_socket_pool_unittest.cc virtual int Write(IOBuffer* buf, int buf_len, buf_len 293 net/socket/transport_client_socket_pool_unittest.cc virtual int Read(IOBuffer* buf, int buf_len, buf_len 298 net/socket/transport_client_socket_pool_unittest.cc virtual int Write(IOBuffer* buf, int buf_len, buf_len 81 net/socket/transport_client_socket_unittest.cc uint32 buf_len, buf_len 141 net/socket/transport_client_socket_unittest.cc IOBuffer* buf, uint32 buf_len, buf_len 147 net/socket/transport_client_socket_unittest.cc rv = sock_->Read(buf, buf_len, callback->callback()); buf_len 837 net/socket_stream/socket_stream.cc int buf_len = static_cast<int>(tunnel_request_headers_->headers_.size() - buf_len 839 net/socket_stream/socket_stream.cc DCHECK_GT(buf_len, 0); buf_len 841 net/socket_stream/socket_stream.cc tunnel_request_headers_.get(), buf_len, io_callback_); buf_len 879 net/socket_stream/socket_stream.cc int buf_len = tunnel_response_headers_capacity_ - buf_len 885 net/socket_stream/socket_stream.cc tunnel_response_headers_.get(), buf_len, io_callback_); buf_len 124 net/spdy/spdy_http_stream.cc IOBuffer* buf, int buf_len, const CompletionCallback& callback) { buf_len 129 net/spdy/spdy_http_stream.cc CHECK(buf_len); buf_len 134 net/spdy/spdy_http_stream.cc return response_body_queue_.Dequeue(buf->data(), buf_len); buf_len 145 net/spdy/spdy_http_stream.cc user_buffer_len_ = buf_len; buf_len 56 net/spdy/spdy_http_stream.h int buf_len, buf_len 195 net/spdy/spdy_proxy_client_socket.cc int SpdyProxyClientSocket::Read(IOBuffer* buf, int buf_len, buf_len 209 net/spdy/spdy_proxy_client_socket.cc size_t result = PopulateUserReadBuffer(buf->data(), buf_len); buf_len 212 net/spdy/spdy_proxy_client_socket.cc user_buffer_len_ = static_cast<size_t>(buf_len); buf_len 225 net/spdy/spdy_proxy_client_socket.cc int SpdyProxyClientSocket::Write(IOBuffer* buf, int buf_len, buf_len 232 net/spdy/spdy_proxy_client_socket.cc spdy_stream_->SendData(buf, buf_len, MORE_DATA_TO_SEND); buf_len 234 net/spdy/spdy_proxy_client_socket.cc buf_len, buf->data()); buf_len 236 net/spdy/spdy_proxy_client_socket.cc write_buffer_len_ = buf_len; buf_len 84 net/spdy/spdy_proxy_client_socket.h int buf_len, buf_len 87 net/spdy/spdy_proxy_client_socket.h int buf_len, buf_len 591 net/spdy/spdy_test_util_common.cc virtual int Read(IOBuffer* buf, int buf_len, buf_len 596 net/spdy/spdy_test_util_common.cc virtual int Write(IOBuffer* buf, int buf_len, buf_len 28 net/tools/dump_cache/cache_dumper.cc net::IOBuffer* buf, int buf_len, buf_len 30 net/tools/dump_cache/cache_dumper.cc return entry->WriteData(index, offset, buf, buf_len, callback, false); buf_len 157 net/tools/dump_cache/cache_dumper.cc net::IOBuffer* buf, int buf_len, buf_len 168 net/tools/dump_cache/cache_dumper.cc if (!net::HttpCache::ParseResponseInfo(buf->data(), buf_len, buf_len 174 net/tools/dump_cache/cache_dumper.cc return buf_len; buf_len 200 net/tools/dump_cache/cache_dumper.cc len = buf_len; buf_len 37 net/tools/dump_cache/cache_dumper.h net::IOBuffer* buf, int buf_len, buf_len 53 net/tools/dump_cache/cache_dumper.h net::IOBuffer* buf, int buf_len, buf_len 70 net/tools/dump_cache/cache_dumper.h net::IOBuffer* buf, int buf_len, buf_len 873 net/tools/quic/end_to_end_test.cc size_t buf_len, buf_len 878 net/tools/quic/end_to_end_test.cc buffer, buf_len, self_address_.address(), peer_address); buf_len 19 net/tools/quic/quic_default_packet_writer.cc const char* buffer, size_t buf_len, buf_len 24 net/tools/quic/quic_default_packet_writer.cc fd_, buffer, buf_len, self_address, peer_address); buf_len 26 net/tools/quic/quic_default_packet_writer.h const char* buffer, size_t buf_len, buf_len 314 net/tools/quic/quic_dispatcher_test.cc size_t buf_len, buf_len 321 net/tools/quic/quic_dispatcher_test.cc buffer, buf_len, self_client_address, peer_client_address); buf_len 21 net/tools/quic/quic_packet_writer_wrapper.cc size_t buf_len, buf_len 24 net/tools/quic/quic_packet_writer_wrapper.cc return writer_->WritePacket(buffer, buf_len, self_address, peer_address); buf_len 28 net/tools/quic/quic_packet_writer_wrapper.h size_t buf_len, buf_len 83 net/tools/quic/quic_socket_utils.cc int QuicSocketUtils::ReadPacket(int fd, char* buffer, size_t buf_len, buf_len 93 net/tools/quic/quic_socket_utils.cc iovec iov = {buffer, buf_len}; buf_len 142 net/tools/quic/quic_socket_utils.cc size_t buf_len, buf_len 150 net/tools/quic/quic_socket_utils.cc iovec iov = {const_cast<char*>(buffer), buf_len}; buf_len 47 net/tools/quic/quic_socket_utils.h size_t buf_len, buf_len 56 net/tools/quic/quic_socket_utils.h static WriteResult WritePacket(int fd, const char* buffer, size_t buf_len, buf_len 79 net/tools/quic/test_tools/packet_dropping_test_writer.cc size_t buf_len, buf_len 89 net/tools/quic/test_tools/packet_dropping_test_writer.cc return WriteResult(WRITE_STATUS_OK, buf_len); buf_len 104 net/tools/quic/test_tools/packet_dropping_test_writer.cc if (buffer_size_ > 0 && buf_len + cur_buffer_size_ > buffer_size_) { buf_len 107 net/tools/quic/test_tools/packet_dropping_test_writer.cc return WriteResult(WRITE_STATUS_OK, buf_len); buf_len 115 net/tools/quic/test_tools/packet_dropping_test_writer.cc (buf_len * kNumMicrosPerSecond) / buf_len 121 net/tools/quic/test_tools/packet_dropping_test_writer.cc delayed_packets_.push_back(DelayedWrite(buffer, buf_len, self_address, buf_len 123 net/tools/quic/test_tools/packet_dropping_test_writer.cc cur_buffer_size_ += buf_len; buf_len 130 net/tools/quic/test_tools/packet_dropping_test_writer.cc return WriteResult(WRITE_STATUS_OK, buf_len); buf_len 134 net/tools/quic/test_tools/packet_dropping_test_writer.cc buffer, buf_len, self_address, peer_address); buf_len 201 net/tools/quic/test_tools/packet_dropping_test_writer.cc size_t buf_len, buf_len 205 net/tools/quic/test_tools/packet_dropping_test_writer.cc : buffer(buffer, buf_len), buf_len 48 net/tools/quic/test_tools/packet_dropping_test_writer.h size_t buf_len, buf_len 119 net/tools/quic/test_tools/packet_dropping_test_writer.h size_t buf_len, buf_len 129 net/tools/quic/test_tools/quic_test_utils.h size_t buf_len, buf_len 40 net/udp/datagram_server_socket.h int buf_len, buf_len 54 net/udp/datagram_server_socket.h int buf_len, buf_len 26 net/udp/udp_client_socket.cc int buf_len, buf_len 28 net/udp/udp_client_socket.cc return socket_.Read(buf, buf_len, callback); buf_len 32 net/udp/udp_client_socket.cc int buf_len, buf_len 34 net/udp/udp_client_socket.cc return socket_.Write(buf, buf_len, callback); buf_len 28 net/udp/udp_client_socket.h virtual int Read(IOBuffer* buf, int buf_len, buf_len 30 net/udp/udp_client_socket.h virtual int Write(IOBuffer* buf, int buf_len, buf_len 27 net/udp/udp_server_socket.cc int buf_len, buf_len 30 net/udp/udp_server_socket.cc return socket_.RecvFrom(buf, buf_len, address, callback); buf_len 34 net/udp/udp_server_socket.cc int buf_len, buf_len 37 net/udp/udp_server_socket.cc return socket_.SendTo(buf, buf_len, address, callback); buf_len 27 net/udp/udp_server_socket.h int buf_len, buf_len 31 net/udp/udp_server_socket.h int buf_len, buf_len 162 net/udp/udp_socket_libevent.cc int buf_len, buf_len 164 net/udp/udp_socket_libevent.cc return RecvFrom(buf, buf_len, NULL, callback); buf_len 168 net/udp/udp_socket_libevent.cc int buf_len, buf_len 176 net/udp/udp_socket_libevent.cc DCHECK_GT(buf_len, 0); buf_len 178 net/udp/udp_socket_libevent.cc int nread = InternalRecvFrom(buf, buf_len, address); buf_len 192 net/udp/udp_socket_libevent.cc read_buf_len_ = buf_len; buf_len 199 net/udp/udp_socket_libevent.cc int buf_len, buf_len 201 net/udp/udp_socket_libevent.cc return SendToOrWrite(buf, buf_len, NULL, callback); buf_len 205 net/udp/udp_socket_libevent.cc int buf_len, buf_len 208 net/udp/udp_socket_libevent.cc return SendToOrWrite(buf, buf_len, &address, callback); buf_len 212 net/udp/udp_socket_libevent.cc int buf_len, buf_len 219 net/udp/udp_socket_libevent.cc DCHECK_GT(buf_len, 0); buf_len 221 net/udp/udp_socket_libevent.cc int result = InternalSendTo(buf, buf_len, address); buf_len 235 net/udp/udp_socket_libevent.cc write_buf_len_ = buf_len; buf_len 463 net/udp/udp_socket_libevent.cc int UDPSocketLibevent::InternalRecvFrom(IOBuffer* buf, int buf_len, buf_len 473 net/udp/udp_socket_libevent.cc buf_len, buf_len 490 net/udp/udp_socket_libevent.cc int UDPSocketLibevent::InternalSendTo(IOBuffer* buf, int buf_len, buf_len 507 net/udp/udp_socket_libevent.cc buf_len, buf_len 57 net/udp/udp_socket_libevent.h int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 62 net/udp/udp_socket_libevent.h int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 78 net/udp/udp_socket_libevent.h int buf_len, buf_len 92 net/udp/udp_socket_libevent.h int buf_len, buf_len 228 net/udp/udp_socket_libevent.h int buf_len, buf_len 233 net/udp/udp_socket_libevent.h int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address); buf_len 234 net/udp/udp_socket_libevent.h int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address); buf_len 254 net/udp/udp_socket_win.cc int buf_len, buf_len 256 net/udp/udp_socket_win.cc return RecvFrom(buf, buf_len, NULL, callback); buf_len 260 net/udp/udp_socket_win.cc int buf_len, buf_len 268 net/udp/udp_socket_win.cc DCHECK_GT(buf_len, 0); buf_len 270 net/udp/udp_socket_win.cc int nread = InternalRecvFrom(buf, buf_len, address); buf_len 280 net/udp/udp_socket_win.cc int buf_len, buf_len 282 net/udp/udp_socket_win.cc return SendToOrWrite(buf, buf_len, NULL, callback); buf_len 286 net/udp/udp_socket_win.cc int buf_len, buf_len 289 net/udp/udp_socket_win.cc return SendToOrWrite(buf, buf_len, &address, callback); buf_len 293 net/udp/udp_socket_win.cc int buf_len, buf_len 300 net/udp/udp_socket_win.cc DCHECK_GT(buf_len, 0); buf_len 303 net/udp/udp_socket_win.cc int nwrite = InternalSendTo(buf, buf_len, address); buf_len 537 net/udp/udp_socket_win.cc int UDPSocketWin::InternalRecvFrom(IOBuffer* buf, int buf_len, buf_len 545 net/udp/udp_socket_win.cc read_buffer.len = buf_len; buf_len 577 net/udp/udp_socket_win.cc int UDPSocketWin::InternalSendTo(IOBuffer* buf, int buf_len, buf_len 596 net/udp/udp_socket_win.cc write_buffer.len = buf_len; buf_len 58 net/udp/udp_socket_win.h int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 63 net/udp/udp_socket_win.h int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback); buf_len 79 net/udp/udp_socket_win.h int buf_len, buf_len 93 net/udp/udp_socket_win.h int buf_len, buf_len 196 net/udp/udp_socket_win.h int buf_len, buf_len 201 net/udp/udp_socket_win.h int InternalRecvFrom(IOBuffer* buf, int buf_len, IPEndPoint* address); buf_len 202 net/udp/udp_socket_win.h int InternalSendTo(IOBuffer* buf, int buf_len, const IPEndPoint* address); buf_len 221 net/url_request/url_request_http_job_unittest.cc int buf_len, buf_len 76 net/url_request/view_cache_helper.cc void ViewCacheHelper::HexDump(const char *buf, size_t buf_len, buf_len 82 net/url_request/view_cache_helper.cc while (buf_len) { buf_len 89 net/url_request/view_cache_helper.cc size_t row_max = std::min(kMaxRows, buf_len); buf_len 111 net/url_request/view_cache_helper.cc buf_len -= row_max; buf_len 51 net/url_request/view_cache_helper.h static void HexDump(const char *buf, size_t buf_len, std::string* result); buf_len 433 net/websockets/websocket_basic_handshake_stream.cc int buf_len, buf_len 435 net/websockets/websocket_basic_handshake_stream.cc return parser()->ReadResponseBody(buf, buf_len, callback); buf_len 50 net/websockets/websocket_basic_handshake_stream.h int buf_len, buf_len 60 remoting/protocol/fake_session.cc int FakeSocket::Read(net::IOBuffer* buf, int buf_len, buf_len 71 remoting/protocol/fake_session.cc int result = std::min(buf_len, buf_len 79 remoting/protocol/fake_session.cc read_buffer_size_ = buf_len; buf_len 85 remoting/protocol/fake_session.cc int FakeSocket::Write(net::IOBuffer* buf, int buf_len, buf_len 91 remoting/protocol/fake_session.cc buf_len = std::min(write_limit_, buf_len); buf_len 96 remoting/protocol/fake_session.cc scoped_refptr<net::IOBuffer>(buf), buf_len, callback)); buf_len 106 remoting/protocol/fake_session.cc DoWrite(buf, buf_len); buf_len 107 remoting/protocol/fake_session.cc return buf_len; buf_len 111 remoting/protocol/fake_session.cc void FakeSocket::DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, buf_len 122 remoting/protocol/fake_session.cc DoWrite(buf.get(), buf_len); buf_len 123 remoting/protocol/fake_session.cc callback.Run(buf_len); buf_len 126 remoting/protocol/fake_session.cc void FakeSocket::DoWrite(net::IOBuffer* buf, int buf_len) { buf_len 128 remoting/protocol/fake_session.cc buf->data(), buf->data() + buf_len); buf_len 135 remoting/protocol/fake_session.cc std::vector<char>(buf->data(), buf->data() + buf_len))); buf_len 241 remoting/protocol/fake_session.cc int FakeUdpSocket::Read(net::IOBuffer* buf, int buf_len, buf_len 246 remoting/protocol/fake_session.cc buf_len, static_cast<int>(input_packets_[input_pos_].size())); buf_len 253 remoting/protocol/fake_session.cc read_buffer_size_ = buf_len; buf_len 259 remoting/protocol/fake_session.cc int FakeUdpSocket::Write(net::IOBuffer* buf, int buf_len, buf_len 263 remoting/protocol/fake_session.cc written_packets_.back().assign(buf->data(), buf->data() + buf_len); buf_len 264 remoting/protocol/fake_session.cc return buf_len; buf_len 56 remoting/protocol/fake_session.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 58 remoting/protocol/fake_session.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 81 remoting/protocol/fake_session.h void DoAsyncWrite(scoped_refptr<net::IOBuffer> buf, int buf_len, buf_len 83 remoting/protocol/fake_session.h void DoWrite(net::IOBuffer* buf, int buf_len); buf_len 125 remoting/protocol/fake_session.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 127 remoting/protocol/fake_session.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 444 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh unsigned int buf_len, buf_len 448 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh const char *p = buf, *pe = buf + buf_len; buf_len 321 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh unsigned int buf_len, buf_len 325 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh const char *p = buf, *pe = buf + buf_len; buf_len 355 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc int buf_len, /* -1 means nul-terminated */ buf_len 368 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc if (buf_len == -1) buf_len 369 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc buf_len = strlen (buf); buf_len 371 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc if (!buf_len) buf_len 386 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc buf, buf_len, end_ptr, buf_len 391 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc buf, buf_len, end_ptr, buf_len 315 third_party/harfbuzz-ng/src/hb-buffer.h int buf_len, /* -1 means nul-terminated */ buf_len 1370 third_party/libevent/evdns.c dnsname_to_labels(u8 *const buf, size_t buf_len, off_t j, buf_len 1378 third_party/libevent/evdns.c if (j + 2 > (off_t)buf_len) \ buf_len 1385 third_party/libevent/evdns.c if (j + 4 > (off_t)buf_len) \ buf_len 1404 third_party/libevent/evdns.c if ((size_t)(j+label_len+1) > buf_len) return -2; buf_len 1415 third_party/libevent/evdns.c if ((size_t)(j+label_len+1) > buf_len) return -2; buf_len 1452 third_party/libevent/evdns.c u8 *const buf, size_t buf_len) { buf_len 1463 third_party/libevent/evdns.c j = dnsname_to_labels(buf, buf_len, j, name, name_len, NULL); buf_len 1631 third_party/libevent/evdns.c size_t buf_len = sizeof(buf); buf_len 1657 third_party/libevent/evdns.c j = dnsname_to_labels(buf, buf_len, j, s, strlen(s), &table); buf_len 1676 third_party/libevent/evdns.c r = dnsname_to_labels(buf, buf_len, j, item->name, strlen(item->name), &table); buf_len 1688 third_party/libevent/evdns.c r = dnsname_to_labels(buf, buf_len, j, item->data, strlen(item->data), &table); buf_len 1696 third_party/libevent/evdns.c if (j+item->datalen > (off_t)buf_len) buf_len 4535 third_party/libxml/src/tree.c size_t buf_len; buf_len 4545 third_party/libxml/src/tree.c buf_len = 500; buf_len 4546 third_party/libxml/src/tree.c buffer = (xmlChar *) xmlMallocAtomic(buf_len * sizeof(xmlChar)); buf_len 4551 third_party/libxml/src/tree.c buf = (xmlChar *) xmlMallocAtomic(buf_len * sizeof(xmlChar)); buf_len 4733 third_party/libxml/src/tree.c if (xmlStrlen(buffer) + sizeof(nametemp) + 20 > buf_len) { buf_len 4734 third_party/libxml/src/tree.c buf_len = buf_len 4735 third_party/libxml/src/tree.c 2 * buf_len + xmlStrlen(buffer) + sizeof(nametemp) + 20; buf_len 4736 third_party/libxml/src/tree.c temp = (xmlChar *) xmlRealloc(buffer, buf_len); buf_len 4744 third_party/libxml/src/tree.c temp = (xmlChar *) xmlRealloc(buf, buf_len); buf_len 4754 third_party/libxml/src/tree.c snprintf((char *) buf, buf_len, "%s%s%s", buf_len 4757 third_party/libxml/src/tree.c snprintf((char *) buf, buf_len, "%s%s[%d]%s", buf_len 4759 third_party/libxml/src/tree.c snprintf((char *) buffer, buf_len, "%s", (char *)buf); buf_len 4074 third_party/libxml/src/trio.c size_t buf_len; buf_len 4081 third_party/libxml/src/trio.c buf_len = trio_length(buffer); buf_len 4082 third_party/libxml/src/trio.c buffer = &buffer[buf_len]; buf_len 4084 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max - 1 - buf_len, buf_len 4100 third_party/libxml/src/trio.c size_t buf_len; buf_len 4105 third_party/libxml/src/trio.c buf_len = trio_length(buffer); buf_len 4106 third_party/libxml/src/trio.c buffer = &buffer[buf_len]; buf_len 4107 third_party/libxml/src/trio.c status = TrioFormat(&buffer, max - 1 - buf_len, buf_len 61 webkit/browser/appcache/appcache_disk_cache.cc virtual int Read(int index, int64 offset, net::IOBuffer* buf, int buf_len, buf_len 68 webkit/browser/appcache/appcache_disk_cache.cc index, static_cast<int>(offset), buf, buf_len, callback); buf_len 71 webkit/browser/appcache/appcache_disk_cache.cc virtual int Write(int index, int64 offset, net::IOBuffer* buf, int buf_len, buf_len 79 webkit/browser/appcache/appcache_disk_cache.cc index, static_cast<int>(offset), buf, buf_len, callback, kTruncate); buf_len 110 webkit/browser/appcache/appcache_response.cc net::IOBuffer* buf, int buf_len) { buf_len 113 webkit/browser/appcache/appcache_response.cc index, offset, buf, buf_len, buf_len 121 webkit/browser/appcache/appcache_response.cc net::IOBuffer* buf, int buf_len) { buf_len 124 webkit/browser/appcache/appcache_response.cc index, offset, buf, buf_len, buf_len 181 webkit/browser/appcache/appcache_response.cc void AppCacheResponseReader::ReadData(net::IOBuffer* buf, int buf_len, buf_len 186 webkit/browser/appcache/appcache_response.cc DCHECK(buf_len >= 0); buf_len 191 webkit/browser/appcache/appcache_response.cc buffer_len_ = buf_len; buf_len 329 webkit/browser/appcache/appcache_response.cc net::IOBuffer* buf, int buf_len, const net::CompletionCallback& callback) { buf_len 333 webkit/browser/appcache/appcache_response.cc DCHECK(buf_len >= 0); buf_len 338 webkit/browser/appcache/appcache_response.cc write_amount_ = buf_len; buf_len 76 webkit/browser/appcache/appcache_response.h virtual int Read(int index, int64 offset, net::IOBuffer* buf, int buf_len, buf_len 78 webkit/browser/appcache/appcache_response.h virtual int Write(int index, int64 offset, net::IOBuffer* buf, int buf_len, buf_len 113 webkit/browser/appcache/appcache_response.h void ReadRaw(int index, int offset, net::IOBuffer* buf, int buf_len); buf_len 114 webkit/browser/appcache/appcache_response.h void WriteRaw(int index, int offset, net::IOBuffer* buf, int buf_len); buf_len 160 webkit/browser/appcache/appcache_response.h virtual void ReadData(net::IOBuffer* buf, int buf_len, buf_len 220 webkit/browser/appcache/appcache_response.h void WriteData(net::IOBuffer* buf, int buf_len, buf_len 185 webkit/browser/appcache/appcache_response_unittest.cc void WriteResponseBody(scoped_refptr<IOBuffer> io_buffer, int buf_len) { buf_len 188 webkit/browser/appcache/appcache_response_unittest.cc expected_write_result_ = buf_len; buf_len 190 webkit/browser/appcache/appcache_response_unittest.cc buf_len, buf_len 195 webkit/browser/appcache/appcache_response_unittest.cc void ReadResponseBody(scoped_refptr<IOBuffer> io_buffer, int buf_len) { buf_len 198 webkit/browser/appcache/appcache_response_unittest.cc expected_read_result_ = buf_len; buf_len 200 webkit/browser/appcache/appcache_response_unittest.cc buf_len, buf_len 52 webkit/browser/appcache/appcache_service_unittest.cc virtual void ReadData(net::IOBuffer* buf, int buf_len, buf_len 55 webkit/browser/appcache/appcache_service_unittest.cc buffer_len_ = buf_len; buf_len 62 webkit/browser/appcache/appcache_service_unittest.cc DCHECK(buf_len >= data_size_); buf_len 280 webkit/browser/appcache/appcache_url_request_job_unittest.cc void WriteResponseBody(scoped_refptr<IOBuffer> io_buffer, int buf_len) { buf_len 283 webkit/browser/appcache/appcache_url_request_job_unittest.cc expected_write_result_ = buf_len; buf_len 285 webkit/browser/appcache/appcache_url_request_job_unittest.cc buf_len, buf_len 290 webkit/browser/appcache/appcache_url_request_job_unittest.cc void ReadResponseBody(scoped_refptr<IOBuffer> io_buffer, int buf_len) { buf_len 293 webkit/browser/appcache/appcache_url_request_job_unittest.cc expected_read_result_ = buf_len; buf_len 295 webkit/browser/appcache/appcache_url_request_job_unittest.cc buf_len, buf_len 82 webkit/browser/blob/file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 39 webkit/browser/blob/local_file_stream_reader.cc int LocalFileStreamReader::Read(net::IOBuffer* buf, int buf_len, buf_len 43 webkit/browser/blob/local_file_stream_reader.cc return stream_impl_->Read(buf, buf_len, callback); buf_len 46 webkit/browser/blob/local_file_stream_reader.cc make_scoped_refptr(buf), buf_len, callback)); buf_len 135 webkit/browser/blob/local_file_stream_reader.cc int buf_len, buf_len 146 webkit/browser/blob/local_file_stream_reader.cc const int read_result = stream_impl_->Read(buf, buf_len, callback); buf_len 35 webkit/browser/blob/local_file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 58 webkit/browser/blob/local_file_stream_reader.h int buf_len, buf_len 57 webkit/browser/fileapi/file_stream_writer.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 42 webkit/browser/fileapi/file_system_file_stream_reader.cc net::IOBuffer* buf, int buf_len, buf_len 46 webkit/browser/fileapi/file_system_file_stream_reader.cc int rv = reader->Read(buf, buf_len, callback); buf_len 71 webkit/browser/fileapi/file_system_file_stream_reader.cc net::IOBuffer* buf, int buf_len, buf_len 74 webkit/browser/fileapi/file_system_file_stream_reader.cc return local_file_reader_->Read(buf, buf_len, callback); buf_len 77 webkit/browser/fileapi/file_system_file_stream_reader.cc make_scoped_refptr(buf), buf_len, callback), buf_len 41 webkit/browser/fileapi/file_system_file_stream_reader.h virtual int Read(net::IOBuffer* buf, int buf_len, buf_len 45 webkit/browser/fileapi/local_file_stream_writer.cc int LocalFileStreamWriter::Write(net::IOBuffer* buf, int buf_len, buf_len 52 webkit/browser/fileapi/local_file_stream_writer.cc int result = InitiateWrite(buf, buf_len, callback); buf_len 60 webkit/browser/fileapi/local_file_stream_writer.cc make_scoped_refptr(buf), buf_len, callback)); buf_len 191 webkit/browser/fileapi/local_file_stream_writer.cc net::IOBuffer* buf, int buf_len, buf_len 195 webkit/browser/fileapi/local_file_stream_writer.cc int result = InitiateWrite(buf, buf_len, callback); buf_len 203 webkit/browser/fileapi/local_file_stream_writer.cc net::IOBuffer* buf, int buf_len, buf_len 208 webkit/browser/fileapi/local_file_stream_writer.cc return stream_impl_->Write(buf, buf_len, buf_len 34 webkit/browser/fileapi/local_file_stream_writer.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 64 webkit/browser/fileapi/local_file_stream_writer.h void ReadyToWrite(net::IOBuffer* buf, int buf_len, buf_len 68 webkit/browser/fileapi/local_file_stream_writer.h int InitiateWrite(net::IOBuffer* buf, int buf_len, buf_len 63 webkit/browser/fileapi/sandbox_file_stream_writer.cc net::IOBuffer* buf, int buf_len, buf_len 67 webkit/browser/fileapi/sandbox_file_stream_writer.cc return WriteInternal(buf, buf_len, callback); buf_len 72 webkit/browser/fileapi/sandbox_file_stream_writer.cc make_scoped_refptr(buf), buf_len, callback); buf_len 89 webkit/browser/fileapi/sandbox_file_stream_writer.cc net::IOBuffer* buf, int buf_len, buf_len 100 webkit/browser/fileapi/sandbox_file_stream_writer.cc if (buf_len > allowed_bytes_to_write_ - total_bytes_written_) buf_len 101 webkit/browser/fileapi/sandbox_file_stream_writer.cc buf_len = allowed_bytes_to_write_ - total_bytes_written_; buf_len 105 webkit/browser/fileapi/sandbox_file_stream_writer.cc buf, buf_len, buf_len 181 webkit/browser/fileapi/sandbox_file_stream_writer.cc net::IOBuffer* buf, int buf_len, buf_len 193 webkit/browser/fileapi/sandbox_file_stream_writer.cc const int result = WriteInternal(buf, buf_len, callback); buf_len 36 webkit/browser/fileapi/sandbox_file_stream_writer.h virtual int Write(net::IOBuffer* buf, int buf_len, buf_len 48 webkit/browser/fileapi/sandbox_file_stream_writer.h int WriteInternal(net::IOBuffer* buf, int buf_len, buf_len 62 webkit/browser/fileapi/sandbox_file_stream_writer.h void DidInitializeForWrite(net::IOBuffer* buf, int buf_len,