Lines Matching refs:task_count
85 int task_count() const;
117 void SpinUntilTaskCountLessThan(int task_count);
280 EXPECT_EQ(0, queue.task_count()); in TEST_F()
304 while (queue.task_count()) in TEST_F()
329 EXPECT_EQ(0, queue.task_count()); in TEST_F()
350 EXPECT_EQ(0, queue.task_count()); in TEST_F()
371 EXPECT_EQ(0, queue.task_count()); in TEST_F()
390 EXPECT_EQ(0, queue.task_count()); in TEST_F()
429 EXPECT_EQ(0, queue.task_count()); in TEST_F()
444 while (queue.task_count() != 0) in TEST_F()
457 EXPECT_EQ(0, queue.task_count()); in TEST_F()
472 while (queue.task_count() != 0) in TEST_F()
485 EXPECT_EQ(0, queue.task_count()); in TEST_F()
568 int WorkQueue::task_count() const { in task_count() function in base::__anon39cf34e60111::WorkQueue
692 void WorkQueue::SpinUntilTaskCountLessThan(int task_count) { in SpinUntilTaskCountLessThan() argument
696 if (task_count_ < task_count) in SpinUntilTaskCountLessThan()
737 while (0 == task_count() && !shutdown()) { in ThreadMain()
749 could_use_help = (task_count() > 0) && allow_help_requests(); in ThreadMain()