Home
last modified time | relevance | path

Searched refs:was_empty (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dwork_queue.cc64 bool was_empty = tasks_.empty(); in Push() local
70 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() local
92 if (!was_empty) { in PushNonNestableTaskToFront()
110 if (was_empty || was_blocked) { in PushNonNestableTaskToFront()
/external/libchrome/base/message_loop/
Dincoming_task_queue.cc255 bool was_empty = false; in PostPendingTask() local
260 was_empty = in PostPendingTask()
276 task_queue_observer_->DidQueueTask(was_empty); in PostPendingTask()
291 bool was_empty = incoming_queue_.empty(); in PostPendingTaskLockRequired() local
293 return was_empty; in PostPendingTaskLockRequired()
Dmessage_loop_task_runner_perftest.cc40 void DidQueueTask(bool was_empty) override {} in DidQueueTask() argument
120 void DidQueueTask(bool was_empty) final { in DidQueueTask() argument
Dmessage_loop.cc84 void DidQueueTask(bool was_empty) final;
134 void MessageLoop::Controller::DidQueueTask(bool was_empty) { in DidQueueTask() argument
136 if (!was_empty) in DidQueueTask()
Dincoming_task_queue.h45 virtual void DidQueueTask(bool was_empty) = 0;
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dxfeed_manager.cc42 bool was_empty = enqueued_buffers_.empty(); in EnqueueBuffersAtomically() local
48 if (was_empty && !buffers.empty()) { in EnqueueBuffersAtomically()
/external/perfetto/src/base/
Dunix_task_runner.cc181 bool was_empty; in PostTask() local
184 was_empty = immediate_tasks_.empty(); in PostTask()
187 if (was_empty) in PostTask()
Dandroid_task_runner.cc143 bool was_empty; in PostTask() local
146 was_empty = immediate_tasks_.empty(); in PostTask()
149 if (was_empty) in PostTask()
/external/perfetto/src/trace_processor/
Dtrace_sorter.cc80 const bool was_empty = global_min_ts_ == kTsMax && global_max_ts_ == 0; in SortAndExtractEventsBeyondWindow() local
178 PERFETTO_DCHECK(iterations > 0 || was_empty); in SortAndExtractEventsBeyondWindow()
/external/grpc-grpc/src/core/lib/iomgr/
Dclosure.h203 bool was_empty = (closure_list->head == nullptr); local
204 if (was_empty) {
210 return was_empty;
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_event_mgr.cc234 bool was_empty = used_events_.empty(); in QueueInUse() local
237 if (was_empty) events_pending_.notify_all(); in QueueInUse()
/external/grpc-grpc/test/core/end2end/
Dinproc_callback_test.cc186 bool was_empty = true; in tag() local
189 was_empty = false; in tag()
195 if (was_empty) { in tag()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant.c5438 int was_empty; in radio_add_work() local
5461 was_empty = dl_list_empty(&wpa_s->radio->work); in radio_add_work()
5466 if (was_empty) { in radio_add_work()