Home
last modified time | relevance | path

Searched refs:CreateTask (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/task_scheduler/
Dsequence_unittest.cc27 Task CreateTask(MockTask* mock_task) { in CreateTask() function
51 EXPECT_TRUE(sequence->PushTask(CreateTask(&mock_task_a))); in TEST()
55 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_b))); in TEST()
56 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_c))); in TEST()
57 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_d))); in TEST()
80 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_e))); in TEST()
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DThreadEnvironment.h32 Task CreateTask(std::function<void()> f) { return Task{std::move(f)}; } in CreateTask() function
DSimpleThreadPool.h59 Task t = env_.CreateTask(std::move(fn)); in Schedule()
DNonBlockingThreadPool.h75 Task t = env_.CreateTask(std::move(fn)); in Schedule()
/external/tensorflow/tensorflow/core/lib/core/
Dthreadpool.cc65 Task CreateTask(std::function<void()> f) { in CreateTask() function