Searched refs:total_bytes_ (Results 1 – 9 of 9) sorted by relevance
22 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()
20 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 __anonc6e2bef30111::MockDelegate
125 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()
62 int64 total_bytes() const { return total_bytes_; } in total_bytes()90 int64 total_bytes_; variable
253 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
48 : 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 …]
147 int64 total_bytes_; variable
683 int total_bytes_; // Sum of sizes of all buffers seen so far. variable995 return total_bytes_ - buffer_size_; in ByteCount()
530 total_bytes_(0), in CodedOutputStream()776 total_bytes_ += buffer_size_; in Refresh()