Lines Matching refs:total
25 uint64_t completed, uint64_t total, in ProgressEvent() argument
31 const bool calculate_percentage = total != UINT64_MAX; in ProgressEvent()
41 } else if (completed == total) { in ProgressEvent()
52 (uint32_t)((double)completed / (double)total * 100.0), (uint32_t)99); in ProgressEvent()
68 uint64_t total, in Create() argument
71 if (completed > 0 && completed < total && !prev_event) in Create()
73 ProgressEvent event(progress_id, message, completed, total, prev_event); in Create()
164 uint64_t total) { in Update() argument
166 progress_id, None, completed, total, &GetMostRecentEvent())) { in Update()
213 uint64_t completed, uint64_t total) { in Push() argument
219 ProgressEvent::Create(progress_id, StringRef(message), completed, total)) { in Push()
226 it->second->Update(progress_id, completed, total); in Push()