Home
last modified time | relevance | path

Searched refs:bytes_remaining_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/net/base/
Dtest_data_stream.cc17 int bytes_to_copy = std::min(length, bytes_remaining_); in GetBytes()
28 int bytes_to_compare = std::min(length, bytes_remaining_); in VerifyBytes()
40 bytes_remaining_ = 0; in Reset()
47 if (bytes_remaining_ == 0) { in AdvanceIndex()
52 buffer_[bytes_remaining_++] = (val % 10) + '0'; in AdvanceIndex()
54 buffer_[bytes_remaining_++] = '.'; in AdvanceIndex()
60 bytes_remaining_ -= bytes; in Consume()
61 if (bytes_remaining_) in Consume()
Dupload_file_element_reader.cc132 bytes_remaining_(0), in UploadFileElementReader()
177 return bytes_remaining_; in BytesRemaining()
210 bytes_remaining_ = 0; in Reset()
222 bytes_remaining_ = GetContentLength(); in OnInitCompleted()
233 DCHECK_GE(bytes_remaining_, static_cast<uint64>(result)); in OnReadCompleted()
234 bytes_remaining_ -= result; in OnReadCompleted()
260 bytes_remaining_(0) { in UploadFileElementReaderSync()
267 bytes_remaining_ = 0; in Init()
274 bytes_remaining_ = GetContentLength(); in Init()
283 return bytes_remaining_; in BytesRemaining()
[all …]
Dupload_file_element_reader.h103 uint64 bytes_remaining_; variable
135 uint64 bytes_remaining_; variable
Dtest_data_stream.h40 int bytes_remaining_; variable
Dupload_data_stream_unittest.cc61 bytes_remaining_(content_length), in MockUploadElementReader()
71 virtual uint64 BytesRemaining() const OVERRIDE { return bytes_remaining_; } in BytesRemaining()
102 bytes_remaining_ = std::max(0, bytes_remaining_ - read_result_); in OnRead()
113 int bytes_remaining_; member in net::__anon7737df710111::MockUploadElementReader
/external/chromium_org/net/tools/dump_cache/
Dupgrade_win.cc263 int bytes_remaining_; member in __anon9ad2a54c0111::MasterSM
456 bytes_remaining_ = input_->msg.arg2; in DoGetDataSize()
471 int read_size = std::min(bytes_remaining_, kBufferSize); in SendReadData()
474 if (bytes_remaining_ <= 0) { in SendReadData()
501 bytes_remaining_ = 0; in DoReadData()
520 bytes_remaining_ -= read_size; in DoReadData()
530 bytes_remaining_ -= ret; in DoReadDataComplete()
/external/chromium/net/tools/dump_cache/
Dupgrade.cc261 int bytes_remaining_; member in __anon65ac27f80111::MasterSM
462 bytes_remaining_ = input_->msg.arg2; in DoGetDataSize()
477 int read_size = std::min(bytes_remaining_, kBufferSize); in SendReadData()
480 if (bytes_remaining_ <= 0) { in SendReadData()
507 bytes_remaining_ = 0; in DoReadData()
525 bytes_remaining_ -= read_size; in DoReadData()
535 bytes_remaining_ -= ret; in DoReadDataComplete()