Searched refs:total_bytes (Results 1 – 10 of 10) sorted by relevance
28 long total_bytes;
185 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F() local186 total_bytes[kDownloadSourceHttpsServer] = 90; in TEST_F()193 test_utils::DownloadSourceMatcher(total_bytes), in TEST_F()
409 int64_t total_bytes = 0; in ReportSuccessfulUpdateMetrics() local424 total_bytes += num_bytes_downloaded[i]; in ReportSuccessfulUpdateMetrics()428 mbs = total_bytes / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
731 int64_t total_bytes = 0; in CollectAndReportSuccessfulUpdateMetrics() local752 total_bytes += bytes; in CollectAndReportSuccessfulUpdateMetrics()760 (total_bytes - successful_bytes) * 100ULL / successful_bytes; in CollectAndReportSuccessfulUpdateMetrics()
903 int64_t total_bytes[kNumDownloadSources] = {}; in TEST() local904 total_bytes[kDownloadSourceHttpServer] = num_bytes; in TEST()912 test_utils::DownloadSourceMatcher(total_bytes), in TEST()
138 if (last_update_.total_bytes == 0) { in FinishLastBar()142 last_update_.bytes_processed = last_update_.total_bytes; in FinishLastBar()148 if (progress.total_bytes == 0) { in Display()157 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display()158 int64_t bytes_per_col = progress.total_bytes / kColumns; in Display()
73 void StartAsyncOperation(const std::string& step, int64_t total_bytes);
199 void GsiService::StartAsyncOperation(const std::string& step, int64_t total_bytes) { in StartAsyncOperation() argument205 progress_.total_bytes = total_bytes; in StartAsyncOperation()213 progress_.bytes_processed = progress_.total_bytes; in UpdateProgress()
355 size_t total_bytes = page_cache.size() * sizeof(uint64_t); in ReadVmaStats() local356 ssize_t bytes = pread64(pagemap_fd, page_cache.data(), total_bytes, in ReadVmaStats()358 if (bytes != total_bytes) { in ReadVmaStats()365 << " expected bytes " << total_bytes; in ReadVmaStats()
206 size_t total_bytes = start + bytes; in dump_memory() local219 if (current >= start && current + sizeof(uintptr_t) <= total_bytes) { in dump_memory()