Home
last modified time | relevance | path

Searched refs:task_queue_ (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dtime_domain_unittest.cc76 task_queue_ = std::make_unique<TaskQueueImplForTest>( in SetUp()
81 if (task_queue_) in TearDown()
82 task_queue_->UnregisterTaskQueue(); in TearDown()
90 std::unique_ptr<TaskQueueImplForTest> task_queue_; member in base::sequence_manager::TimeDomainTest
99 task_queue_->SetDelayedWakeUpForTesting( in TEST_F()
104 EXPECT_EQ(task_queue_.get(), time_domain_->NextScheduledTaskQueue()); in TEST_F()
119 task_queue_->SetDelayedWakeUpForTesting( in TEST_F()
129 task_queue_->SetDelayedWakeUpForTesting( in TEST_F()
162 task_queue_->SetDelayedWakeUpForTesting( in TEST_F()
197 task_queue_->SetDelayedWakeUpForTesting( in TEST_F()
[all …]
Dwork_queue.cc16 : task_queue_(task_queue), name_(name), queue_type_(queue_type) {} in WorkQueue()
26 DCHECK(!work_queue_sets_) << task_queue_->GetName() << " : " in ~WorkQueue()
57 << task_queue_->GetName() << " : " << work_queue_sets_->GetName() << " : " in GetFrontTaskEnqueueOrder()
95 << task_queue_->GetName() << " : " << work_queue_sets_->GetName() in PushNonNestableTaskToFront()
120 task_queue_->ReloadEmptyImmediateQueue(&tasks_); in ReloadEmptyImmediateQueue()
138 task_queue_->ReloadEmptyImmediateQueue(&tasks_); in TakeTaskFromWorkQueue()
144 task_queue_->TraceQueueSize(); in TakeTaskFromWorkQueue()
160 task_queue_->ReloadEmptyImmediateQueue(&tasks_); in RemoveAllCanceledTasksFromFront()
163 task_queue_->TraceQueueSize(); in RemoveAllCanceledTasksFromFront()
Dwork_queue_unittest.cc38 task_queue_ = std::make_unique<TaskQueueImpl>(nullptr, time_domain_.get(), in SetUp()
41 work_queue_.reset(new WorkQueue(task_queue_.get(), "test", in SetUp()
77 std::unique_ptr<TaskQueueImpl> task_queue_; member in base::sequence_manager::internal::WorkQueueTest
191 task_queue_->PushImmediateIncomingTaskForTest(FakeTaskWithEnqueueOrder(2)); in TEST_F()
192 task_queue_->PushImmediateIncomingTaskForTest(FakeTaskWithEnqueueOrder(3)); in TEST_F()
193 task_queue_->PushImmediateIncomingTaskForTest(FakeTaskWithEnqueueOrder(4)); in TEST_F()
212 task_queue_->PushImmediateIncomingTaskForTest(FakeTaskWithEnqueueOrder(2)); in TEST_F()
213 task_queue_->PushImmediateIncomingTaskForTest(FakeTaskWithEnqueueOrder(3)); in TEST_F()
214 task_queue_->PushImmediateIncomingTaskForTest(FakeTaskWithEnqueueOrder(4)); in TEST_F()
Dwork_queue.h91 TaskQueueImpl* task_queue() const { return task_queue_; } in task_queue()
138 TaskQueueImpl* const task_queue_; // NOT OWNED. variable
Dtask_queue_impl.h280 return task_queue_->GetTaskQueueImpl(); in GetTaskQueueForTest()
286 scoped_refptr<TaskQueue> task_queue_; variable
Dtask_queue_impl.cc772 : task_queue_(task_queue), enabled_(true) {} in QueueEnabledVoterImpl()
775 if (task_queue_->GetTaskQueueImpl()) in ~QueueEnabledVoterImpl()
776 task_queue_->GetTaskQueueImpl()->RemoveQueueEnabledVoter(this); in ~QueueEnabledVoterImpl()
783 task_queue_->GetTaskQueueImpl()->OnQueueEnabledVoteChanged(enabled); in SetQueueEnabled()
Dsequence_manager_impl_unittest.cc2051 task_queue_(task_queue), in QuadraticTask()
2063 task_queue_->PostDelayedTask( in Run()
2065 task_queue_->PostDelayedTask( in Run()
2074 scoped_refptr<TaskQueue> task_queue_; member in base::sequence_manager::internal::sequence_manager_impl_unittest::__anon09bea3c30811::QuadraticTask
2086 task_queue_(task_queue), in LinearTask()
2098 task_queue_->PostDelayedTask( in Run()
2107 scoped_refptr<TaskQueue> task_queue_; member in base::sequence_manager::internal::sequence_manager_impl_unittest::__anon09bea3c30811::LinearTask
3216 : task_queue_(task_queue) {} in PostTaskInDestructor()
3219 task_queue_->PostTask(FROM_HERE, BindOnce(&DoNothing)); in ~PostTaskInDestructor()
3225 scoped_refptr<TaskQueue> task_queue_; member in base::sequence_manager::internal::sequence_manager_impl_unittest::__anon09bea3c31411::PostTaskInDestructor
/external/v8/src/libplatform/
Dtask-queue.cc21 DCHECK(task_queue_.empty()); in ~TaskQueue()
27 task_queue_.push(std::move(task)); in Append()
35 if (!task_queue_.empty()) { in GetNext()
36 std::unique_ptr<Task> result = std::move(task_queue_.front()); in GetNext()
37 task_queue_.pop(); in GetNext()
61 if (task_queue_.empty()) return; in BlockUntilQueueEmptyForTesting()
Ddefault-foreground-task-runner.cc22 while (!task_queue_.empty()) task_queue_.pop(); in Terminate()
30 task_queue_.push(std::move(task)); in PostTaskLocked()
73 while (task_queue_.empty()) { in PopTaskFromQueue()
78 task = std::move(task_queue_.front()); in PopTaskFromQueue()
79 task_queue_.pop(); in PopTaskFromQueue()
Dtask-queue.h44 std::queue<std::unique_ptr<Task>> task_queue_; variable
Ddefault-foreground-task-runner.h60 std::queue<std::unique_ptr<Task>> task_queue_; in NON_EXPORTED_BASE() local