Searched refs:total_bytes (Results 1 – 11 of 11) sorted by relevance
171 int total_bytes; in GenRustGetter() local173 total_bytes = 1; in GenRustGetter()175 total_bytes = 2; in GenRustGetter()177 total_bytes = 4; in GenRustGetter()179 total_bytes = 8; in GenRustGetter()181 for (int i = 0; i < total_bytes; i++) { in GenRustGetter()
28 long total_bytes;
187 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F() local188 total_bytes[kDownloadSourceHttpsServer] = 90; in TEST_F()195 test_utils::DownloadSourceMatcher(total_bytes), in TEST_F()
543 size_t total_bytes = 0; in Dump() local551 total_bytes += entry.length; in Dump()569 double bytes_success_rate = local_read_ahead_bytes * 100.0 / total_bytes; in Dump()572 double bytes_failure_rate = (total_bytes - local_read_ahead_bytes) * 100.0 / total_bytes; in Dump()581 << ", Bytes=" << (total_bytes - local_read_ahead_bytes) in Dump()585 << ", Bytes=" << total_bytes in Dump()
140 if (last_update_.total_bytes == 0) { in FinishLastBar()144 last_update_.bytes_processed = last_update_.total_bytes; in FinishLastBar()150 if (progress.total_bytes == 0) { in Display()159 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display()160 int64_t bytes_per_col = progress.total_bytes / kColumns; in Display()
75 void StartAsyncOperation(const std::string& step, int64_t total_bytes);
238 void GsiService::StartAsyncOperation(const std::string& step, int64_t total_bytes) { in StartAsyncOperation() argument244 progress_.total_bytes = total_bytes; in StartAsyncOperation()252 progress_.bytes_processed = progress_.total_bytes; in UpdateProgress()
363 int64_t total_bytes = 0; in ReportSuccessfulUpdateMetrics() local378 total_bytes += num_bytes_downloaded[i]; in ReportSuccessfulUpdateMetrics()382 mbs = total_bytes / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
734 int64_t total_bytes = 0; in CollectAndReportSuccessfulUpdateMetrics() local755 total_bytes += bytes; in CollectAndReportSuccessfulUpdateMetrics()763 (total_bytes - successful_bytes) * 100ULL / successful_bytes; in CollectAndReportSuccessfulUpdateMetrics()
899 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F() local900 total_bytes[kDownloadSourceHttpServer] = num_bytes; in TEST_F()908 test_utils::DownloadSourceMatcher(total_bytes), in TEST_F()
400 size_t total_bytes = page_cache.size() * sizeof(uint64_t); in ReadVmaStats() local401 ssize_t bytes = pread64(pagemap_fd, page_cache.data(), total_bytes, in ReadVmaStats()403 if (bytes != total_bytes) { in ReadVmaStats()410 << " expected bytes " << total_bytes; in ReadVmaStats()