Home
last modified time | relevance | path

Searched refs:task_count (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc238 int task_count = 0; in TEST_F() local
243 BindOnce(&IncrementInt, &task_count)); in TEST_F()
254 ASSERT_EQ(10, task_count); in TEST_F()
259 task_count = 0; in TEST_F()
262 BindOnce(&IncrementInt, &task_count), in TEST_F()
278 ASSERT_EQ(10, task_count); in TEST_F()
343 int task_count() const { return task_count_; } in task_count() function in base::__anon1e9a7beb0211::ConcurrentHelper
384 EXPECT_EQ(0, helper->task_count()); in TEST_F()
459 int task_count = 0; in TestGLibLoopInternal() local
465 BindOnce(&IncrementInt, &task_count)); in TestGLibLoopInternal()
[all …]
/external/libchrome/base/synchronization/
Dcondition_variable_unittest.cc85 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()
[all …]
/external/linux-kselftest/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c152 int task_count = 0; in broadcast_wakerfn() local
175 task_count += args->ret; in broadcast_wakerfn()
176 if (task_count < THREAD_MAX - waiters_woken.val) in broadcast_wakerfn()
180 0, MAX_WAKE_ITERS, task_count, THREAD_MAX); in broadcast_wakerfn()
190 args->ret = task_count; in broadcast_wakerfn()
201 int task_count = 0; in signal_wakerfn() local
210 while (task_count < THREAD_MAX && waiters_woken.val < THREAD_MAX) { in signal_wakerfn()
212 task_count, waiters_woken.val); in signal_wakerfn()
239 task_count += args->ret; in signal_wakerfn()
254 args->ret = task_count; in signal_wakerfn()
/external/libchrome/base/task/sequence_manager/test/
Dsequence_manager_for_test.cc63 size_t task_count = 0; in PendingTasksCount() local
65 task_count += queue->GetNumberOfPendingTasks(); in PendingTasksCount()
66 return task_count; in PendingTasksCount()
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dlearn_runner.py272 task_count = 0
275 task_count += 1
277 return task_count > 1
/external/gemmlowp/internal/
Dmulti_thread_gemm.h643 const int task_count = thread_count; in MultiThreadGemm() local
650 rows, cols, depth, task_count, context->l1_bytes_to_use(), in MultiThreadGemm()
667 for (int n = 0; n < task_count; ++n) { in MultiThreadGemm()
670 rows, RoundUp<KernelFormat::kRows>(rows * (n + 1) / task_count)); in MultiThreadGemm()
/external/libchrome/base/task/sequence_manager/
Dtask_queue_impl.cc377 size_t task_count = 0; in GetNumberOfPendingTasks() local
378 task_count += main_thread_only().delayed_work_queue->Size(); in GetNumberOfPendingTasks()
379 task_count += main_thread_only().delayed_incoming_queue.size(); in GetNumberOfPendingTasks()
380 task_count += main_thread_only().immediate_work_queue->Size(); in GetNumberOfPendingTasks()
383 task_count += immediate_incoming_queue().size(); in GetNumberOfPendingTasks()
384 return task_count; in GetNumberOfPendingTasks()