Home
last modified time | relevance | path

Searched refs:was_empty (Results 1 – 16 of 16) 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/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dclosure.h185 bool was_empty = (closure_list->head == nullptr); local
186 if (was_empty) {
192 return was_empty;
/external/perfetto/src/base/
Dunix_task_runner.cc249 bool was_empty; in PostTask() local
252 was_empty = immediate_tasks_.empty(); in PostTask()
255 if (was_empty) in PostTask()
/external/perfetto/src/trace_processor/
Dtrace_sorter.cc83 const bool was_empty = global_min_ts_ == kTsMax && global_max_ts_ == 0; in SortAndExtractEventsBeyondWindow() local
180 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.cc181 bool was_empty = used_events_.empty(); in QueueInUse() local
184 if (was_empty) events_pending_.notify_all(); in QueueInUse()
/external/tensorflow/tensorflow/core/common_runtime/device/
Ddevice_event_mgr.cc182 bool was_empty = used_events_.empty(); in QueueInUse() local
185 if (was_empty) events_pending_.notify_all(); in QueueInUse()
/external/virglrenderer/vtest/
Dvtest_server.c547 const bool was_empty = LIST_IS_EMPTY(&server.active_clients); in vtest_server_run() local
561 if (was_empty && !is_empty) { in vtest_server_run()
572 if (!was_empty && is_empty) { in vtest_server_run()
/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/libchrome/base/task_scheduler/
Dscheduler_single_thread_task_runner_manager.cc253 bool was_empty = in GetWorkFromWindowsMessageQueue() local
255 DCHECK(was_empty) << "GetWorkFromWindowsMessageQueue() does not expect " in GetWorkFromWindowsMessageQueue()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant.c6155 int was_empty; in radio_add_work() local
6178 was_empty = dl_list_empty(&wpa_s->radio->work); in radio_add_work()
6183 if (was_empty) { in radio_add_work()