/external/chromium_org/net/base/ |
D | upload_bytes_element_reader_unittest.cc | 24 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); in SetUp() 39 EXPECT_EQ(bytes_.size() - buf.size(), reader_->BytesRemaining()); in TEST_F() 50 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 64 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 77 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 83 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); in TEST_F() 89 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F()
|
D | upload_file_element_reader_unittest.cc | 45 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); in SetUp() 70 EXPECT_EQ(bytes_.size() - buf.size(), reader_->BytesRemaining()); in TEST_F() 78 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 90 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 107 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 122 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 130 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); in TEST_F() 138 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 161 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); in TEST_F() 171 EXPECT_EQ(bytes_.size() - buf2.size(), reader_->BytesRemaining()); in TEST_F() [all …]
|
D | upload_data_stream.cc | 183 if (reader->BytesRemaining() == 0) { in ReadInternal() 188 if (buf->BytesRemaining() == 0) in ReadInternal() 193 buf->BytesRemaining(), in ReadInternal() 213 std::min(static_cast<uint64>(buf->BytesRemaining()), in ReadInternal()
|
D | upload_bytes_element_reader.cc | 38 uint64 UploadBytesElementReader::BytesRemaining() const { in BytesRemaining() function in net::UploadBytesElementReader 52 std::min(BytesRemaining(), static_cast<uint64>(buf_length)); in Read()
|
D | upload_file_element_reader.cc | 71 uint64 UploadFileElementReader::BytesRemaining() const { in BytesRemaining() function in net::UploadFileElementReader 81 std::min(BytesRemaining(), static_cast<uint64>(buf_length)); in Read()
|
D | upload_element_reader.h | 43 virtual uint64 BytesRemaining() const = 0;
|
D | upload_bytes_element_reader.h | 32 virtual uint64 BytesRemaining() const OVERRIDE;
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
D | readahead_file_stream_reader.cc | 72 while (sink->BytesRemaining() > 0 && !buffers_.empty()) { in FinishReadFromCacheOrStoredError() 75 DCHECK(source_buffer->BytesRemaining() > 0); in FinishReadFromCacheOrStoredError() 77 int copy_len = std::min(source_buffer->BytesRemaining(), in FinishReadFromCacheOrStoredError() 78 sink->BytesRemaining()); in FinishReadFromCacheOrStoredError() 85 if (source_buffer->BytesRemaining() == 0) { in FinishReadFromCacheOrStoredError()
|
/external/chromium_org/content/browser/fileapi/ |
D | upload_file_system_file_element_reader_unittest.cc | 73 EXPECT_EQ(file_data_.size(), reader_->BytesRemaining()); in SetUp() 133 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 150 EXPECT_EQ(file_data_.size() - buf->size(), reader_->BytesRemaining()); in TEST_F() 158 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 171 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 184 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 192 EXPECT_EQ(file_data_.size(), reader_->BytesRemaining()); in TEST_F() 199 EXPECT_EQ(0U, reader_->BytesRemaining()); in TEST_F() 221 EXPECT_EQ(file_data_.size(), reader_->BytesRemaining()); in TEST_F() 230 EXPECT_EQ(file_data_.size() - buf2->size(), reader_->BytesRemaining()); in TEST_F() [all …]
|
D | upload_file_system_file_element_reader.cc | 72 uint64 UploadFileSystemFileElementReader::BytesRemaining() const { in BytesRemaining() function in content::UploadFileSystemFileElementReader 84 std::min(BytesRemaining(), static_cast<uint64>(buf_length)); in Read()
|
/external/chromium_org/jingle/glue/ |
D | fake_ssl_client_socket.cc | 204 write_buf_->BytesRemaining(), in DoSendClientHello() 226 DCHECK_LE(written, static_cast<size_t>(write_buf_->BytesRemaining())); in ProcessSendClientHelloDone() 228 if (written < static_cast<size_t>(write_buf_->BytesRemaining())) { in ProcessSendClientHelloDone() 239 read_buf_->BytesRemaining(), in DoVerifyServerHello() 270 DCHECK_LE(read, static_cast<size_t>(read_buf_->BytesRemaining())); in ProcessVerifyServerHelloDone() 276 read_buf_->BytesRemaining()]; in ProcessVerifyServerHelloDone() 280 if (read < static_cast<size_t>(read_buf_->BytesRemaining())) { in ProcessVerifyServerHelloDone()
|
/external/chromium_org/net/socket/ |
D | unix_domain_client_socket_posix_unittest.cc | 68 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); in ReadSynchronously() 69 EXPECT_GE(read_buf->BytesRemaining(), rv); in ReadSynchronously() 85 EXPECT_LE(0, read_buf->BytesRemaining()); in ReadSynchronously() 99 retry_count > 0 && write_buf->BytesRemaining() > 0; in WriteSynchronously() 102 write_buf->BytesRemaining(), in WriteSynchronously() 104 EXPECT_GE(write_buf->BytesRemaining(), rv); in WriteSynchronously() 112 EXPECT_LE(0, write_buf->BytesRemaining()); in WriteSynchronously()
|
D | ssl_server_socket_unittest.cc | 132 int copied = std::min(buf->BytesRemaining(), read_buf_len); in PropogateData() 136 if (!buf->BytesRemaining()) in PropogateData() 436 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); in TEST_F() 447 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); in TEST_F() 460 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); in TEST_F() 474 read_buf.get(), read_buf->BytesRemaining(), read_callback.callback()); in TEST_F()
|
/external/chromium_org/net/quic/crypto/ |
D | crypto_framer.cc | 202 if (reader.BytesRemaining() < kQuicTagSize) { in Process() 210 if (reader.BytesRemaining() < kNumEntriesSize + sizeof(uint16)) { in Process() 224 if (reader.BytesRemaining() < in Process() 254 if (reader.BytesRemaining() < values_len_) { in Process()
|
/external/chromium_org/components/nacl/browser/ |
D | pnacl_translation_cache.cc | 191 DCHECK(io_buf_->BytesRemaining() == len); in WriteEntry() 283 WriteEntry(io_buf_->BytesConsumed(), io_buf_->BytesRemaining()); in DispatchNext() 301 if (io_buf_->BytesRemaining() > 0) { in DispatchNext() 303 ? ReadEntry(io_buf_->BytesConsumed(), io_buf_->BytesRemaining()) in DispatchNext() 304 : WriteEntry(io_buf_->BytesConsumed(), io_buf_->BytesRemaining()); in DispatchNext()
|
/external/chromium_org/storage/browser/blob/ |
D | blob_url_request_job.cc | 364 DCHECK_GE(read_buf_->BytesRemaining(), 0); in AdvanceBytesRead() 369 DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); in ReadBytesItem() 381 DCHECK_GE(read_buf_->BytesRemaining(), bytes_to_read); in ReadFileItem() 412 if (!read_buf_->BytesRemaining()) { in DidReadFile() 442 int64 buf_remaining = read_buf_->BytesRemaining(); in ComputeBytesToRead() 455 while (remaining_bytes_ > 0 && read_buf_->BytesRemaining() > 0) { in ReadLoop()
|
/external/chromium_org/net/disk_cache/memory/ |
D | mem_entry_impl.cc | 362 while (io_buf->BytesRemaining()) { in InternalReadSparseData() 380 io_buf->BytesRemaining())); in InternalReadSparseData() 383 io_buf->BytesRemaining(), CompletionCallback()); in InternalReadSparseData() 421 while (io_buf->BytesRemaining()) { in InternalWriteSparseData() 427 int write_len = std::min(static_cast<int>(io_buf->BytesRemaining()), in InternalWriteSparseData()
|
/external/chromium_org/chrome/test/chromedriver/net/ |
D | websocket.cc | 144 if (!write_buffer_->BytesRemaining()) in Write() 164 if (!write_buffer_->BytesRemaining()) { in ContinueWritingIfNecessary() 174 write_buffer_->BytesRemaining(), in ContinueWritingIfNecessary()
|
/external/chromium_org/chrome/utility/media_galleries/ |
D | image_metadata_extractor.cc | 46 if (buffer->BytesRemaining() > 0) { in FinishGetImageBytes() 49 buffer->BytesRemaining(), in FinishGetImageBytes() 72 source->Read(0, buffer->BytesRemaining(), in GetImageBytes() 400 buffer->BytesRemaining()); in FinishExtraction()
|
/external/chromium_org/net/dns/ |
D | dns_transaction.cc | 413 if (buffer_->BytesRemaining() > 0) { in DoSendLength() 417 buffer_->BytesRemaining(), in DoSendLength() 432 if (buffer_->BytesRemaining() > 0) { in DoSendQuery() 436 buffer_->BytesRemaining(), in DoSendQuery() 460 if (buffer_->BytesRemaining() > 0) { in DoReadLengthComplete() 491 if (buffer_->BytesRemaining() > 0) { in DoReadResponseComplete() 518 buffer_->BytesRemaining(), in ReadIntoBuffer()
|
/external/chromium_org/remoting/protocol/ |
D | buffered_socket_writer.cc | 188 *size = current_buf_->BytesRemaining(); in GetNextPacket() 195 if (current_buf_->BytesRemaining() == 0) { in AdvanceBufferPosition()
|
/external/llvm/lib/Support/ |
D | raw_ostream.cpp | 316 size_t BytesRemaining = Size - BytesToWrite; in write() local 317 if (BytesRemaining > size_t(OutBufEnd - OutBufCur)) { in write() 319 return write(Ptr + BytesToWrite, BytesRemaining); in write() 321 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); in write()
|
/external/chromium_org/components/cronet/android/ |
D | wrapped_channel_upload_element_reader.cc | 32 uint64 WrappedChannelElementReader::BytesRemaining() const { in BytesRemaining() function in cronet::WrappedChannelElementReader
|
D | wrapped_channel_upload_element_reader.h | 34 virtual uint64 BytesRemaining() const OVERRIDE;
|
/external/chromium_org/net/quic/ |
D | quic_data_reader.h | 109 size_t BytesRemaining() const;
|