Searched refs:total_bytes (Results 1 – 10 of 10) sorted by relevance
28 long total_bytes;
175 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F() local176 total_bytes[kDownloadSourceHttpsServer] = 90; in TEST_F()183 test_utils::DownloadSourceMatcher(total_bytes), in TEST_F()
413 int64_t total_bytes = 0; in ReportSuccessfulUpdateMetrics() local428 total_bytes += num_bytes_downloaded[i]; in ReportSuccessfulUpdateMetrics()432 mbs = total_bytes / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
704 int64_t total_bytes = 0; in CollectAndReportSuccessfulUpdateMetrics() local725 total_bytes += bytes; in CollectAndReportSuccessfulUpdateMetrics()733 (total_bytes - successful_bytes) * 100ULL / successful_bytes; in CollectAndReportSuccessfulUpdateMetrics()
900 int64_t total_bytes[kNumDownloadSources] = {}; in TEST() local901 total_bytes[kDownloadSourceHttpServer] = num_bytes; in TEST()909 test_utils::DownloadSourceMatcher(total_bytes), in TEST()
152 if (last_update_.total_bytes == 0) { in FinishLastBar()156 last_update_.bytes_processed = last_update_.total_bytes; in FinishLastBar()162 if (progress.total_bytes == 0) { in Display()171 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display()172 int64_t bytes_per_col = progress.total_bytes / kColumns; in Display()
118 void StartAsyncOperation(const std::string& step, int64_t total_bytes);
147 void GsiService::StartAsyncOperation(const std::string& step, int64_t total_bytes) { in StartAsyncOperation() argument153 progress_.total_bytes = total_bytes; in StartAsyncOperation()161 progress_.bytes_processed = progress_.total_bytes; in UpdateProgress()
191 size_t total_bytes = start + bytes; local199 if (current >= start && current + sizeof(uintptr_t) <= total_bytes) {
141 const size_t total_bytes) { in RemoveIdenticalBlockRanges() argument177 if (do_remove && (nonfull_block_bytes = total_bytes % kBlockSize)) in RemoveIdenticalBlockRanges()