Searched refs:delayed_tasks_ (Results 1 – 6 of 6) sorted by relevance
69 for (const auto& delayed_task : delayed_tasks_) { in ~BaseMessageLoop()99 delayed_tasks_.emplace(task_id, in PostDelayedTask()171 auto delayed_task_it = delayed_tasks_.find(task_id); in CancelTask()172 if (delayed_task_it == delayed_tasks_.end()) { in CancelTask()240 delayed_tasks_.find(res) != delayed_tasks_.end() || in NextTaskId()246 auto task_it = delayed_tasks_.find(task_id); in OnRanPostedTask()247 DCHECK(task_it != delayed_tasks_.end()); in OnRanPostedTask()265 delayed_tasks_.erase(task_it); in OnRanPostedTask()
162 std::map<MessageLoop::TaskId, DelayedTask> delayed_tasks_; variable
121 if (delayed_tasks_.empty()) in RunDelayedTask()123 auto it = delayed_tasks_.begin(); in RunDelayedTask()126 delayed_tasks_.erase(it); in RunDelayedTask()127 if (!delayed_tasks_.empty()) in RunDelayedTask()128 next_wake_up = delayed_tasks_.begin()->first; in RunDelayedTask()172 auto it = delayed_tasks_.insert(std::make_pair(runtime, std::move(task))); in PostDelayedTask()173 if (it == delayed_tasks_.begin()) in PostDelayedTask()
129 if (!delayed_tasks_.empty()) { in RunImmediateAndDelayedTask()130 auto it = delayed_tasks_.begin(); in RunImmediateAndDelayedTask()133 delayed_tasks_.erase(it); in RunImmediateAndDelayedTask()202 if (!delayed_tasks_.empty()) { in GetDelayMsToNextTaskLocked()203 TimeMillis diff = delayed_tasks_.begin()->first - GetWallTimeMs(); in GetDelayMsToNextTaskLocked()225 delayed_tasks_.insert(std::make_pair(runtime, std::move(task))); in PostDelayedTask()
82 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_; variable
78 std::multimap<TimeMillis, std::function<void()>> delayed_tasks_; variable