Home
last modified time | relevance | path

Searched refs:CreateTask (Results 1 – 13 of 13) 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()
Dtask_tracker_unittest.cc171 Task CreateTask(TaskShutdownBehavior shutdown_behavior) { in CreateTask() function in base::internal::__anonfe92a6570111::TaskSchedulerTaskTrackerTest
283 Task task(CreateTask(GetParam())); in TEST_P()
347 Task task(CreateTask(GetParam())); in TEST_P()
352 Task block_shutdown_task(CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN)); in TEST_P()
376 Task task(CreateTask(GetParam())); in TEST_P()
406 Task block_shutdown_task(CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN)); in TEST_P()
415 Task task(CreateTask(GetParam())); in TEST_P()
424 Task task(CreateTask(GetParam())); in TEST_P()
441 Task task(CreateTask(GetParam())); in TEST_P()
898 &tracker_, CreateTask(TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN), in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/data/service/
Ddispatcher_state_test.cc106 Status CreateTask(int64 task_id, int64 job_id, in CreateTask() function
261 TEST(DispatcherState, CreateTask) { in TEST() argument
269 TF_EXPECT_OK(CreateTask(task_id, job_id, worker_address, state)); in TEST()
299 TF_EXPECT_OK(CreateTask(task_id_1, job_id, worker_address, state)); in TEST()
300 TF_EXPECT_OK(CreateTask(task_id_2, job_id, worker_address, state)); in TEST()
319 TF_EXPECT_OK(CreateTask(task_id_1, job_id_1, worker_address, state)); in TEST()
320 TF_EXPECT_OK(CreateTask(task_id_2, job_id_2, worker_address, state)); in TEST()
342 TF_EXPECT_OK(CreateTask(task_id_1, job_id, worker_address, state)); in TEST()
343 TF_EXPECT_OK(CreateTask(task_id_2, job_id, worker_address, state)); in TEST()
361 TF_EXPECT_OK(CreateTask(task_id_1, job_id, worker_address_1, state)); in TEST()
[all …]
Ddispatcher_state.cc55 CreateTask(update.create_task()); in Apply()
186 void DispatcherState::CreateTask(const CreateTaskUpdate& create_task) { in CreateTask() function in tensorflow::data::DispatcherState
Ddispatcher_impl.h201 Status CreateTask(std::shared_ptr<const DispatcherState::Job> job,
Ddispatcher_state.h221 void CreateTask(const CreateTaskUpdate& create_task);
Ddispatcher_impl.cc553 TF_RETURN_IF_ERROR(CreateTask(job, worker_address, task)); in CreateTasksForWorker()
580 TF_RETURN_IF_ERROR(CreateTask(job, worker->address, task)); in CreateTasksForJob()
603 Status DataServiceDispatcherImpl::CreateTask(std::shared_ptr<const Job> job, in CreateTask() function in tensorflow::data::DataServiceDispatcherImpl
/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/framework/
Drun_handler.h134 Task CreateTask(std::function<void()> f);
Drun_handler.cc68 RunHandlerEnvironment::Task RunHandlerEnvironment::CreateTask( in CreateTask() function in tensorflow::internal::RunHandlerEnvironment
386 Task t = env_.CreateTask(std::move(fn)); in AddWorkToQueue()
/external/tensorflow/tensorflow/core/platform/
Dthreadpool.cc66 Task CreateTask(std::function<void()> f) { in CreateTask() function