Lines Matching refs:cancelable_tasks_
35 : task_id_counter_(0), cancelable_tasks_(ComparePointers) {} in CancelableTaskManager()
42 while ((id == 0) || (cancelable_tasks_.Lookup(reinterpret_cast<void*>(id), in Register()
47 cancelable_tasks_.LookupOrInsert(reinterpret_cast<void*>(id), id); in Register()
55 void* removed = cancelable_tasks_.Remove(reinterpret_cast<void*>(id), id); in RemoveFinishedTask()
65 cancelable_tasks_.Lookup(reinterpret_cast<void*>(id), id); in TryAbort()
70 void* removed = cancelable_tasks_.Remove(reinterpret_cast<void*>(id), id); in TryAbort()
94 while (cancelable_tasks_.occupancy() > 0) { in CancelAndWait()
95 for (HashMap::Entry* p = cancelable_tasks_.Start(); p != nullptr; in CancelAndWait()
96 p = cancelable_tasks_.Next(p)) { in CancelAndWait()
103 cancelable_tasks_.Remove(reinterpret_cast<void*>(id), id); in CancelAndWait()
108 if (cancelable_tasks_.occupancy() > 0) { in CancelAndWait()