Home
last modified time | relevance | path

Searched refs:enqueue_order (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dwork_queue_unittest.cc51 int enqueue_order, in FakeCancelableTaskWithEnqueueOrder() argument
57 EnqueueOrder::FromIntForTesting(enqueue_order)); in FakeCancelableTaskWithEnqueueOrder()
61 TaskQueueImpl::Task FakeTaskWithEnqueueOrder(int enqueue_order) { in FakeTaskWithEnqueueOrder() argument
64 EnqueueOrder(), EnqueueOrder::FromIntForTesting(enqueue_order)); in FakeTaskWithEnqueueOrder()
68 TaskQueueImpl::Task FakeNonNestableTaskWithEnqueueOrder(int enqueue_order) { in FakeNonNestableTaskWithEnqueueOrder() argument
71 EnqueueOrder(), EnqueueOrder::FromIntForTesting(enqueue_order)); in FakeNonNestableTaskWithEnqueueOrder()
96 EnqueueOrder enqueue_order; in TEST_F() local
97 EXPECT_FALSE(work_queue_->GetFrontTaskEnqueueOrder(&enqueue_order)); in TEST_F()
105 EnqueueOrder enqueue_order; in TEST_F() local
106 EXPECT_TRUE(work_queue_->GetFrontTaskEnqueueOrder(&enqueue_order)); in TEST_F()
[all …]
Dwork_queue_sets.cc21 EnqueueOrder enqueue_order; in AddQueue() local
22 bool has_enqueue_order = work_queue->GetFrontTaskEnqueueOrder(&enqueue_order); in AddQueue()
27 work_queue_heaps_[set_index].insert({enqueue_order, work_queue}); in AddQueue()
44 EnqueueOrder enqueue_order; in ChangeSetIndex() local
45 bool has_enqueue_order = work_queue->GetFrontTaskEnqueueOrder(&enqueue_order); in ChangeSetIndex()
53 work_queue_heaps_[set_index].insert({enqueue_order, work_queue}); in ChangeSetIndex()
57 EnqueueOrder enqueue_order; in OnFrontTaskChanged() local
58 bool has_enqueue_order = work_queue->GetFrontTaskEnqueueOrder(&enqueue_order); in OnFrontTaskChanged()
62 {enqueue_order, work_queue}); in OnFrontTaskChanged()
69 EnqueueOrder enqueue_order; in OnTaskPushedToEmptyQueue() local
[all …]
Dwork_queue.cc49 return tasks_.empty() || tasks_.front().enqueue_order() >= fence_; in BlockedByFence()
52 bool WorkQueue::GetFrontTaskEnqueueOrder(EnqueueOrder* enqueue_order) const { in GetFrontTaskEnqueueOrder()
56 DCHECK_LE(tasks_.front().enqueue_order(), tasks_.back().enqueue_order()) in GetFrontTaskEnqueueOrder()
59 *enqueue_order = tasks_.front().enqueue_order(); in GetFrontTaskEnqueueOrder()
70 DCHECK(was_empty || tasks_.rbegin()->enqueue_order() < task.enqueue_order()); in Push()
94 DCHECK_LE(task.enqueue_order(), tasks_.front().enqueue_order()) in PushNonNestableTaskToFront()
218 EnqueueOrder enqueue_order; in ShouldRunBefore() local
220 bool have_task = GetFrontTaskEnqueueOrder(&enqueue_order); in ShouldRunBefore()
225 return enqueue_order < other_enqueue_order; in ShouldRunBefore()
Dwork_queue_sets_unittest.cc46 TaskQueueImpl::Task FakeTaskWithEnqueueOrder(int enqueue_order) { in FakeTaskWithEnqueueOrder() argument
49 EnqueueOrder(), EnqueueOrder::FromIntForTesting(enqueue_order)); in FakeTaskWithEnqueueOrder()
53 TaskQueueImpl::Task FakeNonNestableTaskWithEnqueueOrder(int enqueue_order) { in FakeNonNestableTaskWithEnqueueOrder() argument
56 EnqueueOrder(), EnqueueOrder::FromIntForTesting(enqueue_order)); in FakeNonNestableTaskWithEnqueueOrder()
117 EnqueueOrder enqueue_order; in TEST_F() local
119 set, &selected_work_queue, &enqueue_order)); in TEST_F()
121 EXPECT_EQ(10u, enqueue_order); in TEST_F()
Dtask_queue_impl.h116 EnqueueOrder enqueue_order);
126 EnqueueOrder enqueue_order() const { in enqueue_order() function
131 void set_enqueue_order(EnqueueOrder enqueue_order) { in set_enqueue_order() argument
133 enqueue_order_ = enqueue_order; in set_enqueue_order()
215 bool CouldTaskRun(EnqueueOrder enqueue_order) const;
Dtask_queue_impl.cc99 EnqueueOrder enqueue_order) in Task() argument
101 enqueue_order_(enqueue_order) { in Task()
304 EnqueueOrder sequence_number = task.enqueue_order(); in PushOntoImmediateIncomingQueueLocked()
352 main_thread_only().current_fence = task.enqueue_order(); in ReloadEmptyImmediateQueue()
648 immediate_incoming_queue().front().enqueue_order() > previous_fence && in InsertFence()
649 immediate_incoming_queue().front().enqueue_order() < current_fence) { in InsertFence()
679 immediate_incoming_queue().front().enqueue_order() > previous_fence) { in RemoveFence()
702 return immediate_incoming_queue().front().enqueue_order() > in BlockedByFence()
715 bool TaskQueueImpl::CouldTaskRun(EnqueueOrder enqueue_order) const { in CouldTaskRun()
722 return enqueue_order < main_thread_only().current_fence; in CouldTaskRun()
[all …]
Dsequence_manager_impl.h265 internal::EnqueueOrder enqueue_order,
272 internal::EnqueueOrder enqueue_order);
Dwork_queue.h54 bool GetFrontTaskEnqueueOrder(EnqueueOrder* enqueue_order) const;
Dsequence_manager_impl.cc170 internal::EnqueueOrder enqueue_order) { in AddToIncomingImmediateWorkList() argument
178 task_queue->immediate_work_list_storage()->order = enqueue_order; in AddToIncomingImmediateWorkList()
279 internal::EnqueueOrder enqueue_order, in OnQueueHasIncomingImmediateWork() argument
281 if (AddToIncomingImmediateWorkList(queue, enqueue_order) && !queue_is_blocked) in OnQueueHasIncomingImmediateWork()
Dsequence_manager_impl_unittest.cc2735 EnqueueOrder enqueue_order = manager_->GetNextSequenceNumber(); in TEST_P() local
2736 EXPECT_TRUE(runners_[0]->GetTaskQueueImpl()->CouldTaskRun(enqueue_order)); in TEST_P()
2741 EXPECT_FALSE(runners_[0]->GetTaskQueueImpl()->CouldTaskRun(enqueue_order)); in TEST_P()
2744 EXPECT_TRUE(runners_[0]->GetTaskQueueImpl()->CouldTaskRun(enqueue_order)); in TEST_P()
2750 EnqueueOrder enqueue_order = manager_->GetNextSequenceNumber(); in TEST_P() local
2751 EXPECT_TRUE(runners_[0]->GetTaskQueueImpl()->CouldTaskRun(enqueue_order)); in TEST_P()
2754 EXPECT_TRUE(runners_[0]->GetTaskQueueImpl()->CouldTaskRun(enqueue_order)); in TEST_P()
2757 EXPECT_FALSE(runners_[0]->GetTaskQueueImpl()->CouldTaskRun(enqueue_order)); in TEST_P()
2760 EXPECT_TRUE(runners_[0]->GetTaskQueueImpl()->CouldTaskRun(enqueue_order)); in TEST_P()
2768 EnqueueOrder enqueue_order = manager_->GetNextSequenceNumber(); in TEST_P() local
[all …]
Dtask_queue_selector_unittest.cc355 size_t enqueue_order[] = {10, 1, 2, 9, 4}; in TEST_F() local
357 PushTasksWithEnqueueOrder(queue_order, enqueue_order, 5); in TEST_F()
/external/webrtc/modules/pacing/
Dround_robin_packet_queue.cc32 uint64_t enqueue_order, in QueuedPacket() argument
37 enqueue_order_(enqueue_order), in QueuedPacket()
139 uint64_t enqueue_order, in Push() argument
145 QueuedPacket(priority, enqueue_time, enqueue_order, in Push()
153 Push(QueuedPacket(priority, enqueue_time, enqueue_order, in Push()
Dround_robin_packet_queue.h42 uint64_t enqueue_order,
67 uint64_t enqueue_order,
/external/openscreen/third_party/chromium_quic/build/base/
DBUILD.gn345 "../../src/base/task/sequence_manager/enqueue_order.cc",
346 "../../src/base/task/sequence_manager/enqueue_order.h",
/external/libchrome/
DAndroid.bp338 "base/task/sequence_manager/enqueue_order.h",