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.cc37 bytes_remaining_(0), in UploadFileElementReader()
72 return bytes_remaining_; in BytesRemaining()
98 bytes_remaining_ = 0; in Reset()
184 bytes_remaining_ = GetContentLength(); in OnGetFileInfoCompleted()
195 DCHECK_GE(bytes_remaining_, static_cast<uint64>(result)); in OnReadCompleted()
196 bytes_remaining_ -= result; in OnReadCompleted()
Dtest_data_stream.h40 int bytes_remaining_; variable
Dupload_file_element_reader.h89 uint64 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::__anon52e3a62b0111::MockUploadElementReader
/external/chromium_org/third_party/webrtc/modules/pacing/
Dpaced_sender.cc93 bytes_remaining_(0) {} in IntervalBudget()
101 if (bytes_remaining_ < 0) { in IncreaseBudget()
103 bytes_remaining_ = bytes_remaining_ + bytes; in IncreaseBudget()
106 bytes_remaining_ = bytes; in IncreaseBudget()
111 bytes_remaining_ = std::max(bytes_remaining_ - bytes, in UseBudget()
115 int bytes_remaining() const { return bytes_remaining_; } in bytes_remaining()
119 int bytes_remaining_; member in webrtc::paced_sender::IntervalBudget
/external/chromium_org/net/tools/dump_cache/
Dupgrade_win.cc263 int bytes_remaining_; member in __anon0b441f060111::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()