Home
last modified time | relevance | path

Searched refs:total_bytes_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/download/
Dsave_item.cc22 total_bytes_(0), in SaveItem()
45 if (received_bytes_ >= total_bytes_) in UpdateSize()
46 total_bytes_ = 0; in UpdateSize()
103 if (total_bytes_ > 0) in PercentComplete()
104 percent = static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete()
128 DCHECK(total_bytes_ == 0); in SetTotalBytes()
129 total_bytes_ = total_bytes; in SetTotalBytes()
Ddownload_status_updater_unittest.cc20 total_bytes_(0) { in MockDelegate()
46 return total_bytes_; in GetTotalDownloadBytes()
62 total_bytes_ = total_bytes; in set_total_bytes()
71 int64 total_bytes_; member in __anon18d0c1510111::MockDelegate
Ddownload_item.cc125 total_bytes_(info.total_bytes), in DownloadItem()
165 total_bytes_(info.total_bytes), in DownloadItem()
205 total_bytes_(0), in DownloadItem()
311 if (received_bytes_ > total_bytes_) in UpdateSize()
312 total_bytes_ = 0; in UpdateSize()
438 if (total_bytes_ <= 0) in TimeRemaining()
446 base::TimeDelta::FromSeconds((total_bytes_ - received_bytes_) / speed); in TimeRemaining()
460 if (total_bytes_ > 0) in PercentComplete()
461 percent = static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete()
Dsave_item.h62 int64 total_bytes() const { return total_bytes_; } in total_bytes()
90 int64 total_bytes_; variable
Ddownload_item.h253 int64 total_bytes() const { return total_bytes_; } in total_bytes()
254 void set_total_bytes(int64 total_bytes) { total_bytes_ = total_bytes; } in set_total_bytes()
337 int64 total_bytes_; variable
/external/chromium/webkit/glue/media/
Dbuffered_data_source.cc48 : total_bytes_(kPositionNotSpecified), in BufferedDataSource()
191 if (total_bytes_ != kPositionNotSpecified) { in GetSize()
192 *size_out = total_bytes_; in GetSize()
471 total_bytes_ = instance_size; in HttpInitialStartCallback()
535 total_bytes_ = instance_size; in NonHttpInitialStartCallback()
536 buffered_bytes_ = total_bytes_; in NonHttpInitialStartCallback()
631 } else if (error == 0 && total_bytes_ == kPositionNotSpecified) { in ReadCallback()
635 total_bytes_ = loader_->instance_size(); in ReadCallback()
637 if (host() && total_bytes_ != kPositionNotSpecified) in ReadCallback()
638 host()->SetTotalBytes(total_bytes_); in ReadCallback()
[all …]
Dbuffered_data_source.h147 int64 total_bytes_; variable
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.h683 int total_bytes_; // Sum of sizes of all buffers seen so far. variable
995 return total_bytes_ - buffer_size_; in ByteCount()
Dcoded_stream.cc530 total_bytes_(0), in CodedOutputStream()
776 total_bytes_ += buffer_size_; in Refresh()