/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 | 140 total_bytes_(total_bytes), in DownloadItemImpl() 192 total_bytes_(info.total_bytes), in DownloadItemImpl() 249 total_bytes_(0), in DownloadItemImpl() 689 if (total_bytes_ <= 0) in TimeRemaining() 697 (total_bytes_ - received_bytes_) / speed); in TimeRemaining() 710 if (delegate_delayed_complete_ || total_bytes_ <= 0) in PercentComplete() 713 return static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete() 721 return total_bytes_; in GetTotalBytes() 1003 total_bytes_ = total_bytes; in SetTotalBytes() 1054 if (received_bytes_ > total_bytes_) in DestinationUpdate() [all …]
|
/external/chromium_org/media/blink/ |
D | buffered_data_source_host_impl.cc | 10 : total_bytes_(0), in BufferedDataSourceHostImpl() 16 total_bytes_ = total_bytes; in SetTotalBytes() 41 if (total_bytes_ && buffered_byte_ranges_.size()) { in AddBufferedTimeRanges() 46 TimeForByteOffset(start, total_bytes_, media_duration), in AddBufferedTimeRanges() 47 TimeForByteOffset(end, total_bytes_, media_duration)); in AddBufferedTimeRanges()
|
D | buffered_data_source.cc | 90 total_bytes_(kPositionNotSpecified), in BufferedDataSource() 250 if (total_bytes_ != kPositionNotSpecified) { in GetSize() 251 *size_out = total_bytes_; in GetSize() 353 total_bytes_ = loader_->instance_size(); in StartCallback() 356 (total_bytes_ == kPositionNotSpecified || !loader_->range_supported()); in StartCallback() 359 static_cast<double>(total_bytes_)); in StartCallback() 372 if (total_bytes_ != kPositionNotSpecified) { in StartCallback() 373 host_->SetTotalBytes(total_bytes_); in StartCallback() 375 host_->AddBufferedByteRange(0, total_bytes_); in StartCallback() 452 } else if (bytes_read == 0 && total_bytes_ == kPositionNotSpecified) { in ReadCallback() [all …]
|
D | buffered_data_source_host_impl.h | 37 int64 total_bytes_;
|
D | buffered_data_source.h | 170 int64 total_bytes_; variable
|
/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/components/component_updater/ |
D | url_fetcher_downloader.cc | 26 total_bytes_(-1) { in UrlFetcherDownloader() 51 total_bytes_ = -1; in DoStartDownload() 75 result.total_bytes = total_bytes_; in OnURLFetchComplete() 82 download_metrics.total_bytes = total_bytes_; in OnURLFetchComplete() 100 total_bytes_ = total; in OnURLFetchDownloadProgress() 104 result.total_bytes = total_bytes_; in OnURLFetchDownloadProgress()
|
D | url_fetcher_downloader.h | 51 int64_t total_bytes_; 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/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/chrome/renderer/ |
D | chrome_render_process_observer.cc | 169 size_t total_bytes_; member in __anon8f01214b0111::HeapStatisticsCollector 183 total_bytes_ = heap_stats.total_heap_size(); in InitiateCollection() 233 total_bytes_ += total_bytes; in ReceiveStats() 246 total_bytes_, used_bytes_)); in SendStatsToBrowser()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
D | TestAllCodecs.h | 47 uint64_t total_bytes_; variable
|
D | TestStereo.h | 55 uint64_t total_bytes_; variable
|
D | TestAllCodecs.cc | 43 total_bytes_(0), in TestPack() 86 total_bytes_ += payload_size; in SendData()
|
D | TestStereo.cc | 33 total_bytes_(0), in TestPackStereo() 85 total_bytes_ += payload_size; in SendData()
|
/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()
|
D | coded_stream.cc | 530 total_bytes_(0), in CodedOutputStream() 776 total_bytes_ += buffer_size_; in Refresh()
|
/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()
|
D | coded_stream.cc | 557 total_bytes_(0), in CodedOutputStream() 803 total_bytes_ += buffer_size_; in Refresh()
|
/external/chromium_org/net/websockets/ |
D | websocket_channel.cc | 129 SendBuffer() : total_bytes_(0) {} in SendBuffer() 144 size_t total_bytes_; member in net::WebSocketChannel::SendBuffer 148 total_bytes_ += frame->header.payload_length; in AddFrame()
|