Searched refs:was_empty (Results 1 – 13 of 13) sorted by relevance
64 bool was_empty = tasks_.empty(); in Push() local70 DCHECK(was_empty || tasks_.rbegin()->enqueue_order() < task.enqueue_order()); in Push()75 if (!was_empty) in Push()86 bool was_empty = tasks_.empty(); in PushNonNestableTaskToFront() local92 if (!was_empty) { in PushNonNestableTaskToFront()110 if (was_empty || was_blocked) { in PushNonNestableTaskToFront()
255 bool was_empty = false; in PostPendingTask() local260 was_empty = in PostPendingTask()276 task_queue_observer_->DidQueueTask(was_empty); in PostPendingTask()291 bool was_empty = incoming_queue_.empty(); in PostPendingTaskLockRequired() local293 return was_empty; in PostPendingTaskLockRequired()
40 void DidQueueTask(bool was_empty) override {} in DidQueueTask() argument120 void DidQueueTask(bool was_empty) final { in DidQueueTask() argument
84 void DidQueueTask(bool was_empty) final;134 void MessageLoop::Controller::DidQueueTask(bool was_empty) { in DidQueueTask() argument136 if (!was_empty) in DidQueueTask()
45 virtual void DidQueueTask(bool was_empty) = 0;
42 bool was_empty = enqueued_buffers_.empty(); in EnqueueBuffersAtomically() local48 if (was_empty && !buffers.empty()) { in EnqueueBuffersAtomically()
181 bool was_empty; in PostTask() local184 was_empty = immediate_tasks_.empty(); in PostTask()187 if (was_empty) in PostTask()
143 bool was_empty; in PostTask() local146 was_empty = immediate_tasks_.empty(); in PostTask()149 if (was_empty) in PostTask()
80 const bool was_empty = global_min_ts_ == kTsMax && global_max_ts_ == 0; in SortAndExtractEventsBeyondWindow() local178 PERFETTO_DCHECK(iterations > 0 || was_empty); in SortAndExtractEventsBeyondWindow()
203 bool was_empty = (closure_list->head == nullptr); local204 if (was_empty) {210 return was_empty;
234 bool was_empty = used_events_.empty(); in QueueInUse() local237 if (was_empty) events_pending_.notify_all(); in QueueInUse()
186 bool was_empty = true; in tag() local189 was_empty = false; in tag()195 if (was_empty) { in tag()
5438 int was_empty; in radio_add_work() local5461 was_empty = dl_list_empty(&wpa_s->radio->work); in radio_add_work()5466 if (was_empty) { in radio_add_work()