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

1234567

/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
H A DCCMainThread.cpp36 Task* task = static_cast<Task*>(userdata); local
37 task->performTask();
38 delete task;
41 void CCMainThread::postTask(PassOwnPtr<Task> task) argument
43 callOnMainThread(performTask, task.leakPtr());
H A DCCThread.cpp54 void CCThread::postTask(PassOwnPtr<Task> task) argument
56 m_queue.append(task);
73 while (OwnPtr<Task> task = m_queue.waitForMessage())
74 task->performTask();
/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/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);
H A DListeningExecutorService.java37 * @return a {@code ListenableFuture} representing pending completion of the task
41 <T> ListenableFuture<T> submit(Callable<T> task); argument
44 * @return a {@code ListenableFuture} representing pending completion of the task
48 ListenableFuture<?> submit(Runnable task); argument
51 * @return a {@code ListenableFuture} representing pending completion of the task
55 <T> ListenableFuture<T> submit(Runnable task, T result); argument
63 * sequential order as produced by the iterator for the given task list, each of which has
66 * @throws NullPointerException if any task is null
78 * sequential order as produced by the iterator for the given task list. If the operation
79 * did not time out, each task wil
[all...]
/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
H A Ddebug_locks.h48 extern void debug_show_held_locks(struct task_struct *task);
50 extern void debug_check_no_locks_held(struct task_struct *task);
56 static inline void debug_show_held_locks(struct task_struct *task) argument
66 debug_check_no_locks_held(struct task_struct *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...]
/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/emma/ant/ant14/com/vladium/emma/ant/
H A DGenericCfg.java41 public GenericCfg (final Task task) argument
43 if (task == null) throw new IllegalArgumentException ("null input: task");
45 m_task = task;
H A DStringValue.java47 protected StringValue (final Task task) argument
49 if (task == null) throw new IllegalArgumentException ("null input: task");
51 m_task = task;
/external/emma/ant/ant14/com/vladium/emma/
H A DemmaTask.java50 final NestedTask task = (NestedTask) m_tasks.remove (0);
55 setTaskName (task.getTaskName ());
57 task.execute ();
86 protected NestedTask addTask (final NestedTask task, final String pseudoName) argument
88 initTask (task, pseudoName);
90 m_tasks.add (task);
91 return task;
94 protected void initTask (final NestedTask task, final String pseudoName) argument
96 task.setTaskName (pseudoName);
97 task
[all...]
/external/guava/guava-tests/test/com/google/common/eventbus/
H A DAsyncEventBusTest.java53 // Now we find the task in our Executor and explicitly activate it.
55 assertEquals("One event dispatch task should be queued.", 1, tasks.size());
74 public void execute(Runnable task) { argument
75 tasks.add(task);
/external/webkit/Source/JavaScriptCore/wtf/
H A DMallocZoneSupport.h41 RemoteMemoryReader(task_t task, memory_reader_t* reader) argument
42 : m_task(task)
/external/webkit/Source/WebCore/storage/
H A DLocalStorageThread.cpp68 while (OwnPtr<LocalStorageTask> task = m_queue.waitForMessage())
69 task->performTask();
74 void LocalStorageThread::scheduleTask(PassOwnPtr<LocalStorageTask> task) argument
78 m_queue.append(task);
/external/webkit/Source/WebCore/storage/wince/
H A DDatabaseThreadWinCE.cpp54 RefPtr<DatabaseTask> task = m_queue.first(); local
55 task->performTask();
62 void DatabaseThread::scheduleTask(PassRefPtr<DatabaseTask> task) argument
64 m_queue.append(task);
69 void DatabaseThread::scheduleImmediateTask(PassRefPtr<DatabaseTask> task) argument
71 task->performTask();
H A DLocalStorageThreadWinCE.cpp49 RefPtr<LocalStorageTask> task = m_queue.first(); local
50 task->performTask();
/external/webkit/Source/WebCore/wml/
H A DWMLAnchorElement.cpp71 void WMLAnchorElement::registerTask(WMLTaskElement* task) argument
74 m_task = task;
77 void WMLAnchorElement::deregisterTask(WMLTaskElement* task) argument
79 ASSERT_UNUSED(task, m_task == task);
/external/webkit/Tools/DumpRenderTree/chromium/
H A DTask.cpp44 void TaskList::unregisterTask(WebTask* task) argument
46 size_t index = m_tasks.find(task);
59 WebTask* task = static_cast<WebTask*>(context); local
60 task->run();
61 delete task;
64 void postTask(WebTask* task) argument
66 WebKit::webKitClient()->callOnMainThread(invokeTask, static_cast<void*>(task));
69 void postDelayedTask(WebTask* task, int64_t ms) argument
71 webkit_support::PostDelayedTask(task, ms);
H A DTask.h40 // WebTask represents a task which can run by postTask() or postDelayedTask().
41 // it is named "WebTask", not "Task", to avoid conflist with base/task.h.
45 // The main code of this task.
62 void registerTask(WebTask* task) { m_tasks.append(task); } argument
63 void unregisterTask(WebTask* task);
69 // A task containing an object pointer of class T. Is is supposed that
91 void postTask(WebTask* task);
92 void postDelayedTask(WebTask* task, int64_t ms);
/external/chromium/chrome/browser/sync/notifier/
H A Dinvalidation_util.cc11 void RunAndDeleteClosure(invalidation::Closure* task) { argument
12 task->Run();
13 delete task;

Completed in 498 milliseconds

1234567