Lines Matching refs:completed
25 uint64_t completed, uint64_t total, in ProgressEvent() argument
32 if (completed == 0) { in ProgressEvent()
41 } else if (completed == total) { in ProgressEvent()
52 (uint32_t)((double)completed / (double)total * 100.0), (uint32_t)99); in ProgressEvent()
67 uint64_t completed, 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()
163 void ProgressEventManager::Update(uint64_t progress_id, uint64_t completed, 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()