Searched defs:task (Results 1 - 25 of 399) sorted by relevance

1234567891011>>

/external/chromium_org/base/test/
H A Dtest_pending_task_unittest.cc16 base::TestPendingTask task; local
19 TRACE_EVENT1("test", "TestPendingTask::TraceSupport", "task", task.AsValue());
22 EXPECT_THAT(task.AsValue()->ToString(), ::testing::HasSubstr("post_time"));
26 base::TestPendingTask task; local
29 EXPECT_THAT(task.ToString(), ::testing::StartsWith("TestPendingTask("));
33 base::TestPendingTask task; local
36 EXPECT_THAT(::testing::PrintToString(task),
40 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(false) << task, "TestPendingTask(");
/external/chromium_org/chrome/browser/metrics/variations/
H A Dvariations_request_scheduler_unittest.cc23 const base::Closure task = base::Bind(&DoNothing); local
24 VariationsRequestScheduler scheduler(task);
H A Dvariations_request_scheduler_mobile_unittest.cc31 const base::Closure task = base::Bind(&Increment, &executed); local
32 VariationsRequestSchedulerMobile scheduler(task, &prefs);
34 // We expect it the task to not have triggered.
45 const base::Closure task = base::Bind(&Increment, &executed); local
46 VariationsRequestSchedulerMobile scheduler(task, &prefs);
48 // We expect the task to have triggered.
61 const base::Closure task = base::Bind(&Increment, &executed); local
62 VariationsRequestSchedulerMobile scheduler(task, &prefs);
71 // Force execution of the task on this timer to verify that the correct task
88 const base::Closure task = base::Bind(&Increment, &executed); local
115 const base::Closure task = base::Bind(&Increment, &executed); local
[all...]
/external/chromium_org/google_apis/drive/
H A Dtask_util.cc12 const base::Closure& task) {
13 const bool posted = task_runner->PostTask(FROM_HERE, task);
11 RunTaskWithTaskRunner(scoped_refptr<base::TaskRunner> task_runner, const base::Closure& task) argument
/external/chromium_org/third_party/skia/dm/
H A DDMTaskRunner.cpp6 void TaskRunner::add(CpuTask* task) { fCpuWork.add(task); } argument
7 void TaskRunner::add(GpuTask* task) { fGpuWork.push(task); } argument
/external/chromium_org/chrome/test/base/
H A Dhistory_index_restore_observer.cc8 const base::Closure& task)
9 : task_(task),
7 HistoryIndexRestoreObserver( const base::Closure& task) argument
/external/chromium_org/gin/
H A Drun_microtasks_observer.cc13 void RunMicrotasksObserver::WillProcessTask(const base::PendingTask& task) { argument
16 void RunMicrotasksObserver::DidProcessTask(const base::PendingTask& task) { argument
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dcopy.pass.cpp31 auto task = std::bind(fnc, 2.f, 4.f); local
32 auto task2(task);
33 assert(task() == 16);
/external/chromium_org/base/
H A Dpending_task.h18 // Contains data about a pending task. Stored in TaskQueue and DelayedTaskQueue
22 const Closure& task);
24 const Closure& task,
32 // The task to run.
33 Closure task; member in struct:base::PendingTask
H A Dsequenced_task_runner.cc13 const Closure& task) {
14 return PostNonNestableDelayedTask(from_here, task, base::TimeDelta());
11 PostNonNestableTask( const tracked_objects::Location& from_here, const Closure& task) argument
H A Dat_exit.cc51 void AtExitManager::RegisterTask(base::Closure task) { argument
58 g_top_manager->stack_.push(task);
71 base::Closure task = g_top_manager->stack_.top(); local
72 task.Run();
/external/chromium_org/chrome/browser/printing/
H A Dprint_job_worker_owner.cc23 const base::Closure& task) {
24 return task_runner_->PostTask(from_here, task);
22 PostTask(const tracked_objects::Location& from_here, const base::Closure& task) argument
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dsync_task.cc17 void CallRunExclusive(const base::WeakPtr<ExclusiveTask>& task, argument
19 if (task)
20 task->RunExclusive(SyncTaskToken::WrapToCallback(token.Pass()));
/external/chromium_org/components/gcm_driver/
H A Dgcm_delayed_task_controller.cc17 void GCMDelayedTaskController::AddTask(const base::Closure& task) { argument
18 delayed_tasks_.push_back(task);
/external/chromium_org/jingle/glue/
H A Dtask_pump_unittest.cc24 MockTask* task = new MockTask(&task_pump); local
28 EXPECT_CALL(*task, ProcessStart()).WillOnce(Return(TASK_STATE_DONE));
29 task->Start();
36 MockTask* task = new MockTask(&task_pump); local
40 ON_CALL(*task, ProcessStart()).WillByDefault(Return(TASK_STATE_ERROR));
41 EXPECT_CALL(*task, ProcessStart()).Times(0);
42 task->Start();
/external/chromium_org/mojo/system/
H A Dtest_utils.cc20 const base::Closure& task) {
21 task.Run();
29 const base::Closure& task) {
32 base::Bind(&PostTaskAndWaitHelper, &event, task));
19 PostTaskAndWaitHelper(base::WaitableEvent* event, const base::Closure& task) argument
27 PostTaskAndWait(scoped_refptr<base::TaskRunner> task_runner, const tracked_objects::Location& from_here, const base::Closure& task) argument
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DMicrotask.cpp51 // Ensure that end-of-task-or-microtask actions are performed.
65 OwnPtr<WebThread::Task> task = adoptPtr(static_cast<WebThread::Task*>(data)); local
66 task->run();
/external/chromium_org/third_party/WebKit/Source/platform/scheduler/
H A DTracedTask.cpp23 TracedTask::TracedTask(const Task& task, const TraceLocation& location, const char* traceName) argument
24 : m_task(task)
/external/chromium_org/v8/src/libplatform/
H A Ddefault-platform-unittest.cc34 StrictMock<MockTask>* task = new StrictMock<MockTask>; local
35 platform.CallOnForegroundThread(isolate, task);
36 EXPECT_CALL(*task, Run());
37 EXPECT_CALL(*task, Die());
H A Dtask-queue-unittest.cc7 #include "src/libplatform/task-queue.h"
40 MockTask task; local
41 queue.Append(&task);
42 EXPECT_EQ(&task, queue.GetNext());
H A Dtask-queue.cc5 #include "src/libplatform/task-queue.h"
22 void TaskQueue::Append(Task* task) { argument
25 task_queue_.push(task);
H A Dworker-thread-unittest.cc6 #include "src/libplatform/task-queue.h"
34 StrictMock<MockTask>* task = new StrictMock<MockTask>; local
35 EXPECT_CALL(*task, Run());
36 EXPECT_CALL(*task, Die());
37 queue.Append(task);
/external/guava/guava/src/com/google/common/util/concurrent/
H A DForwardingListeningExecutorService.java39 public <T> ListenableFuture<T> submit(Callable<T> task) { argument
40 return delegate().submit(task);
44 public ListenableFuture<?> submit(Runnable task) { argument
45 return delegate().submit(task);
49 public <T> ListenableFuture<T> submit(Runnable task, T result) { argument
50 return delegate().submit(task, result);
/external/skia/dm/
H A DDMTaskRunner.cpp8 void TaskRunner::add(CpuTask* task) { fCpu.add(task); } argument
9 void TaskRunner::addNext(CpuTask* task) { fCpu.addNext(task); } argument
10 void TaskRunner::add(GpuTask* task) { fGpu.add(task); } argument
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DThreadControllerWrapper.java38 public static void waitThread(Thread worker, Runnable task) argument
41 m_tpool.waitThread(worker, task);
54 * Will get a thread from the pool, execute the task
60 * NEEDSDOC @param task
61 * @param priority if >0 the task will run with the given priority
63 * @return The thread that is running the task, can be used
66 public Thread run(Runnable task, int priority) argument
69 Thread t = new Thread(task);
79 * Wait until the task is completed on the worker
83 * NEEDSDOC @param task
87 waitThread(Thread worker, Runnable task) argument
[all...]

Completed in 685 milliseconds

1234567891011>>