Home
last modified time | relevance | path

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

12

/external/chromium_org/content/browser/download/
Dsave_item.cc23 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()
Dsave_item.h63 int64 total_bytes() const { return total_bytes_; } in total_bytes()
91 int64 total_bytes_; variable
Ddownload_item_impl.cc140 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/
Dbuffered_data_source_host_impl.cc10 : 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()
Dbuffered_data_source.cc90 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 …]
Dbuffered_data_source_host_impl.h37 int64 total_bytes_;
Dbuffered_data_source.h170 int64 total_bytes_; variable
/external/chromium_org/remoting/base/
Dcompound_buffer.cc23 : 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 …]
Dcompound_buffer.h60 int total_bytes() const { return total_bytes_; } in total_bytes()
95 int total_bytes_; variable
/external/chromium_org/components/component_updater/
Durl_fetcher_downloader.cc26 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()
Durl_fetcher_downloader.h51 int64_t total_bytes_; variable
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dprofiledata.cc86 total_bytes_(0), in ProfileData()
111 total_bytes_ = 0; in Start()
195 count_, evictions_, total_bytes_); in Stop()
327 total_bytes_ += bytes; in FlushEvicted()
Dprofiledata.h170 size_t total_bytes_; // How much output variable
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dprofiledata.cc86 total_bytes_(0), in ProfileData()
111 total_bytes_ = 0; in Start()
195 count_, evictions_, total_bytes_); in Stop()
327 total_bytes_ += bytes; in FlushEvicted()
Dprofiledata.h170 size_t total_bytes_; // How much output variable
/external/chromium_org/chrome/renderer/
Dchrome_render_process_observer.cc169 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/
DTestAllCodecs.h47 uint64_t total_bytes_; variable
DTestStereo.h55 uint64_t total_bytes_; variable
DTestAllCodecs.cc43 total_bytes_(0), in TestPack()
86 total_bytes_ += payload_size; in SendData()
DTestStereo.cc33 total_bytes_(0), in TestPackStereo()
85 total_bytes_ += payload_size; in SendData()
/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()
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.h726 int total_bytes_; // Sum of sizes of all buffers seen so far. variable
1038 return total_bytes_ - buffer_size_; in ByteCount()
Dcoded_stream.cc557 total_bytes_(0), in CodedOutputStream()
803 total_bytes_ += buffer_size_; in Refresh()
/external/chromium_org/net/websockets/
Dwebsocket_channel.cc129 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()

12