/external/chromium/chrome/browser/download/ |
D | save_item.cc | 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()
|
D | download_status_updater_unittest.cc | 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 __anon7151e2d70111::MockDelegate
|
D | download_item.cc | 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()
|
D | save_item.h | 62 int64 total_bytes() const { return total_bytes_; } in total_bytes() 90 int64 total_bytes_; variable
|
D | download_item.h | 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
|
/external/chromium_org/content/browser/download/ |
D | save_item.cc | 23 total_bytes_(0), in SaveItem() 46 if (received_bytes_ >= total_bytes_) in UpdateSize() 47 total_bytes_ = 0; in UpdateSize() 104 if (total_bytes_ > 0) in PercentComplete() 105 percent = static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete() 129 DCHECK_EQ(0, total_bytes_); in SetTotalBytes() 130 total_bytes_ = total_bytes; in SetTotalBytes()
|
D | save_item.h | 63 int64 total_bytes() const { return total_bytes_; } in total_bytes() 91 int64 total_bytes_; variable
|
D | download_item_impl.cc | 125 total_bytes_(total_bytes), in DownloadItemImpl() 175 total_bytes_(info.total_bytes), in DownloadItemImpl() 232 total_bytes_(0), in DownloadItemImpl() 652 if (total_bytes_ <= 0) in TimeRemaining() 660 (total_bytes_ - received_bytes_) / speed); in TimeRemaining() 673 if (delegate_delayed_complete_ || total_bytes_ <= 0) in PercentComplete() 676 return static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete() 684 return total_bytes_; in GetTotalBytes() 963 total_bytes_ = total_bytes; in SetTotalBytes() 1014 if (received_bytes_ > total_bytes_) in DestinationUpdate() [all …]
|
/external/chromium_org/remoting/base/ |
D | compound_buffer.cc | 23 : total_bytes_(0), in CompoundBuffer() 33 total_bytes_ = 0; in Clear() 45 total_bytes_ += size; in Append() 68 total_bytes_ += size; in Prepend() 96 if (total_bytes_ <= bytes) { in CropFront() 101 total_bytes_ -= bytes; in CropFront() 118 if (total_bytes_ <= bytes) { in CropBack() 123 total_bytes_ -= bytes; in CropBack() 141 net::IOBufferWithSize* result = new net::IOBufferWithSize(total_bytes_); in ToIOBufferWithSize() 142 CopyTo(result->data(), total_bytes_); in ToIOBufferWithSize() [all …]
|
D | compound_buffer.h | 60 int total_bytes() const { return total_bytes_; } in total_bytes() 95 int total_bytes_; variable
|
/external/chromium_org/content/renderer/media/ |
D | buffered_data_source.cc | 86 total_bytes_(kPositionNotSpecified), in BufferedDataSource() 258 if (total_bytes_ != kPositionNotSpecified) { in GetSize() 259 *size_out = total_bytes_; in GetSize() 359 total_bytes_ = loader_->instance_size(); in StartCallback() 361 (total_bytes_ == kPositionNotSpecified || !loader_->range_supported()); in StartCallback() 364 static_cast<double>(total_bytes_)); in StartCallback() 449 } else if (bytes_read == 0 && total_bytes_ == kPositionNotSpecified) { in ReadCallback() 453 total_bytes_ = loader_->instance_size(); in ReadCallback() 455 if (host() && total_bytes_ != kPositionNotSpecified) { in ReadCallback() 456 host()->SetTotalBytes(total_bytes_); in ReadCallback() [all …]
|
D | buffered_data_source.h | 152 int64 total_bytes_; variable
|
/external/chromium_org/chrome/browser/component_updater/ |
D | url_fetcher_downloader.cc | 26 total_bytes_(-1) { in UrlFetcherDownloader() 51 total_bytes_ = -1; in DoStartDownload() 79 download_metrics.bytes_total = total_bytes_; in OnURLFetchComplete() 91 total_bytes_ = total; in OnURLFetchDownloadProgress()
|
D | url_fetcher_downloader.h | 49 int64 total_bytes_; variable
|
/external/chromium/webkit/glue/media/ |
D | buffered_data_source.cc | 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 …]
|
D | buffered_data_source.h | 147 int64 total_bytes_; variable
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
D | profiledata.cc | 86 total_bytes_(0), in ProfileData() 111 total_bytes_ = 0; in Start() 195 count_, evictions_, total_bytes_); in Stop() 327 total_bytes_ += bytes; in FlushEvicted()
|
D | profiledata.h | 170 size_t total_bytes_; // How much output variable
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
D | profiledata.cc | 86 total_bytes_(0), in ProfileData() 111 total_bytes_ = 0; in Start() 195 count_, evictions_, total_bytes_); in Stop() 327 total_bytes_ += bytes; in FlushEvicted()
|
D | profiledata.h | 170 size_t total_bytes_; // How much output variable
|
/external/chromium_org/chrome/renderer/ |
D | chrome_render_process_observer.cc | 170 size_t total_bytes_; member in __anond7f9275e0111::HeapStatisticsCollector 184 total_bytes_ = heap_stats.total_heap_size(); in InitiateCollection() 234 total_bytes_ += total_bytes; in ReceiveStats() 247 total_bytes_, used_bytes_)); in SendStatsToBrowser()
|
/external/chromium_org/media/base/ |
D | pipeline.cc | 40 total_bytes_(0), in Pipeline() 167 if (clock_->Duration() == TimeDelta() || total_bytes_ == 0) in GetBufferedTimeRanges() 187 return total_bytes_; in GetTotalBytes() 392 total_bytes_ = total_bytes; in SetTotalBytes() 399 (static_cast<double>(byte_offset) / total_bytes_); in TimeForByteOffset_Locked()
|
/external/chromium_org/net/websockets/ |
D | websocket_channel.cc | 80 SendBuffer() : total_bytes_(0) {} in SendBuffer() 95 size_t total_bytes_; member in net::WebSocketChannel::SendBuffer 99 total_bytes_ += frame->header.payload_length; in AddFrame()
|
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream.h | 683 int total_bytes_; // Sum of sizes of all buffers seen so far. variable 995 return total_bytes_ - buffer_size_; in ByteCount()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
D | coded_stream.h | 726 int total_bytes_; // Sum of sizes of all buffers seen so far. variable 1038 return total_bytes_ - buffer_size_; in ByteCount()
|