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

1234567891011>>

/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);
/external/chromium_org/chrome/browser/resources/task_manager/
H A Dpreload.js13 * @param {Array of task} tasks The array of updated task
16 var task = {type: 'change', start: start, length: length, tasks: tasks};
18 if (taskmanager) taskmanager.processTaskChange(task);
/external/chromium_org/google_apis/drive/
H A Dtask_util.cc12 const base::Closure& task) {
14 task.Run();
16 const bool posted = task_runner->PostTask(FROM_HERE, task);
11 RunTaskOnThread(scoped_refptr<base::SingleThreadTaskRunner> task_runner, const base::Closure& 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/skia/dm/
H A DDMTaskRunner.cpp11 void TaskRunner::add(Task* task) { argument
12 if (task->usesGpu()) {
13 fGpu.add(task);
15 fMain.add(task);
/external/chromium/base/
H A Dtask_queue.cc18 void TaskQueue::Push(Task* task) { argument
19 DCHECK(task);
21 // Add the task to the back of the queue.
22 queue_.push_back(task);
43 std::deque<Task*>::const_iterator task; local
44 for (task = ready.begin(); task != ready.end(); ++task) {
45 // Run the task and then delete it.
46 (*task)
[all...]
/external/chromium/base/threading/
H A Dworker_pool_win.cc8 #include "base/task.h"
15 Task* task = static_cast<Task*>(param); local
16 task->Run();
17 delete task;
24 Task* task, bool task_is_slow) {
25 task->SetBirthPlace(from_here);
31 if (!QueueUserWorkItem(WorkItemCallback, task, flags)) {
33 delete task;
23 PostTask(const tracked_objects::Location& from_here, Task* task, bool task_is_slow) argument
/external/chromium_org/base/
H A Dpending_task.h18 // Contains data about a pending task. Stored in TaskQueue and DelayedTaskQueue
25 const Closure& task);
27 const Closure& task,
35 // The task to run.
36 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();
H A Ddeferred_sequenced_task_runner.h31 const Closure& task,
38 const Closure& task,
42 // deferred tasks are posted with their initial delay, meaning that the task
53 Closure task; member in struct:base::DeferredSequencedTaskRunner::DeferredTask
54 // The delay this task was initially posted with.
63 const Closure& task,
H A Dpending_task.cc18 const base::Closure& task)
20 task(task),
27 const base::Closure& task,
31 task(task),
17 PendingTask(const tracked_objects::Location& posted_from, const base::Closure& task) argument
26 PendingTask(const tracked_objects::Location& posted_from, const base::Closure& task, TimeTicks delayed_run_time, bool nestable) argument
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Diapps_finder_impl.cc30 void FindIAppsOnFileThread(StorageInfo::Type type, const IAppsFinderTask& task, argument
33 DCHECK(!task.is_null());
39 base::Bind(task, base::Bind(PostResultToUIThread, type, callback)));
/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.cc18 const base::Closure& task) {
19 task.Run();
27 const base::Closure& task) {
30 base::Bind(&PostTaskAndWaitHelper, &event, task));
17 PostTaskAndWaitHelper(base::WaitableEvent* event, const base::Closure& task) argument
25 PostTaskAndWait(scoped_refptr<base::TaskRunner> task_runner, const tracked_objects::Location& from_here, const base::Closure& task) argument
/external/chromium_org/sandbox/linux/services/
H A Dthread_helpers_unittests.cc40 fd_ = open("/proc/self/task/", O_RDONLY | O_DIRECTORY);
54 ScopedProcSelfTask task; local
55 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(task.fd()));
59 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded(task.fd()));
63 ScopedProcSelfTask task; local
64 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(task.fd()));
70 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded(task.fd()));
75 ScopedProcSelfTask task; local
76 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(task.fd()));
83 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded(task
[all...]
/external/chromium_org/v8/src/
H A Ddefault-platform.cc41 void DefaultPlatform::CallOnBackgroundThread(Task *task, argument
44 task->Run();
45 delete task;
49 void DefaultPlatform::CallOnForegroundThread(v8::Isolate* isolate, Task* task) { argument
51 task->Run();
52 delete 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/kernel-headers/original/linux/
H A Dsmp_lock.h33 static inline int reacquire_kernel_lock(struct task_struct *task) argument
35 if (unlikely(task->lock_depth >= 0))
47 #define release_kernel_lock(task) do { } while(0)
48 #define reacquire_kernel_lock(task) 0
/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...]
/external/chromium/chrome/browser/
H A Dmach_broker_mac.h48 MachInfo& SetTask(mach_port_t task) { argument
49 mach_task_ = task;
H A Dtransport_security_persister.cc32 Task* task = NewRunnableMethod(this, local
34 BrowserThread::PostDelayedTask(BrowserThread::FILE, FROM_HERE, task, 1000);
73 Task* task = save_coalescer_.NewRunnableMethod(
75 MessageLoop::current()->PostDelayedTask(FROM_HERE, task, 1000);
/external/chromium/third_party/libjingle/source/talk/base/
H A Dtaskparent.cc32 #include "talk/base/task.h"
64 bool TaskParent::IsChildTask(Task *task) { argument
65 ASSERT(task != NULL);
66 return task->parent_ == this && children_->find(task) != children_->end();
101 void TaskParent::OnStopped(Task *task) { argument
103 parent_->OnChildStopped(task);
H A Dtaskrunner.h58 void StartTask(Task *task);
62 void UpdateTaskTimeout(Task *task, int64 previous_task_timeout_time);
65 bool is_ok_to_delete(Task* task) { argument
66 return task == deleting_task_;
78 // Returns the next absolute time when a task times out
/external/chromium_org/base/message_loop/
H A Dmessage_loop_proxy_impl.cc23 const base::Closure& task,
25 DCHECK(!task.is_null()) << from_here.ToString();
26 return incoming_queue_->AddToIncomingQueue(from_here, task, delay, true);
31 const base::Closure& task,
33 DCHECK(!task.is_null()) << from_here.ToString();
34 return incoming_queue_->AddToIncomingQueue(from_here, task, delay, false);
21 PostDelayedTask( const tracked_objects::Location& from_here, const base::Closure& task, base::TimeDelta delay) argument
29 PostNonNestableDelayedTask( const tracked_objects::Location& from_here, const base::Closure& task, base::TimeDelta delay) argument

Completed in 1337 milliseconds

1234567891011>>