Home
last modified time | relevance | path

Searched refs:Task (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/external/chromium/third_party/libjingle/source/talk/base/
Dtask.cc34 int32 Task::unique_id_seed_ = 0;
36 Task::Task(TaskParent *parent) in Task() function in talk_base::Task
54 Task::~Task() { in ~Task()
68 int64 Task::CurrentTime() { in CurrentTime()
72 int64 Task::ElapsedTime() { in ElapsedTime()
76 void Task::Start() { in Start()
86 void Task::Step() { in Step()
153 void Task::Abort(bool nowake) { in Abort()
183 void Task::Wake() { in Wake()
192 void Task::Error() { in Error()
[all …]
Dtaskrunner.h38 class Task; variable
58 void StartTask(Task *task);
62 void UpdateTaskTimeout(Task *task, int64 previous_task_timeout_time);
65 bool is_ok_to_delete(Task* task) { in is_ok_to_delete()
104 std::vector<Task *> tasks_;
105 Task *next_timeout_task_;
109 Task* deleting_task_;
112 void RecalcNextTimeout(Task *exclude_task);
Dtaskparent.h38 class Task; variable
43 TaskParent(Task *derived_instance, TaskParent *parent);
63 bool IsChildTask(Task *task);
67 void OnStopped(Task *task);
75 void OnChildStopped(Task *child);
76 void AddChild(Task *child);
81 typedef std::set<Task *> ChildSet;
Dtaskrunner.cc56 void TaskRunner::StartTask(Task * task) { in StartTask()
101 Task* task = tasks_[i]; in InternalRunTasks()
119 std::vector<Task *>::iterator it; in InternalRunTasks()
122 reinterpret_cast<Task *>(NULL)); in InternalRunTasks()
145 Task* old_timeout_task = NULL; in PollTasks()
169 void TaskRunner::UpdateTaskTimeout(Task* task, in UpdateTaskTimeout()
203 void TaskRunner::RecalcNextTimeout(Task *exclude_task) { in RecalcNextTimeout()
214 Task *task = tasks_[i]; in RecalcNextTimeout()
Dtaskparent.cc37 TaskParent::TaskParent(Task* derived_instance, TaskParent *parent) in TaskParent()
59 void TaskParent::AddChild(Task *child) { in AddChild()
64 bool TaskParent::IsChildTask(Task *task) { in IsChildTask()
101 void TaskParent::OnStopped(Task *task) { in OnStopped()
106 void TaskParent::OnChildStopped(Task *child) { in OnChildStopped()
/external/webkit/Source/WebCore/workers/
DWorkerRunLoop.h61 void postTask(PassOwnPtr<ScriptExecutionContext::Task>);
62 void postTaskForMode(PassOwnPtr<ScriptExecutionContext::Task>, const String& mode);
68 class Task {
69 WTF_MAKE_NONCOPYABLE(Task); WTF_MAKE_FAST_ALLOCATED;
71 … static PassOwnPtr<Task> create(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode);
72 ~Task() { } in ~Task()
77 Task(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode);
79 OwnPtr<ScriptExecutionContext::Task> m_task;
87 MessageQueue<Task> m_messageQueue;
DWorkerRunLoop.cpp80 bool operator()(WorkerRunLoop::Task* task) const in operator ()()
152 …e() && m_sharedTimer->isActive()) ? m_sharedTimer->fireTime() : MessageQueue<Task>::infiniteTime(); in runInMode()
154 …OwnPtr<WorkerRunLoop::Task> task = m_messageQueue.waitForMessageFilteredWithTimeout(result, predic… in runInMode()
180 void WorkerRunLoop::postTask(PassOwnPtr<ScriptExecutionContext::Task> task) in postTask()
185 void WorkerRunLoop::postTaskForMode(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mo… in postTaskForMode()
187 m_messageQueue.append(Task::create(task, mode.crossThreadString())); in postTaskForMode()
190 PassOwnPtr<WorkerRunLoop::Task> WorkerRunLoop::Task::create(PassOwnPtr<ScriptExecutionContext::Task in create()
192 return new Task(task, mode); in create()
195 void WorkerRunLoop::Task::performTask(ScriptExecutionContext* context) in performTask()
202 WorkerRunLoop::Task::Task(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode) in Task() function in WebCore::WorkerRunLoop::Task
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCThread.h46 class Task {
47 WTF_MAKE_NONCOPYABLE(Task);
49 virtual ~Task() { } in ~Task()
53 Task(void* instance) : m_instance(instance) { } in Task() function
57 void postTask(PassOwnPtr<Task>); // Executes the task on context's thread asynchronously.
68 MessageQueue<Task> m_queue;
DCCMainThread.h35 class Task {
36 WTF_MAKE_NONCOPYABLE(Task);
38 virtual ~Task() { } in ~Task()
42 Task(void* instance) : m_instance(instance) { } in Task() function
46 static void postTask(PassOwnPtr<Task>); // Executes the task on main thread asynchronously.
DCCMainThreadTask.h36 class MainThreadTask0 : public CCMainThread::Task {
48 : CCMainThread::Task(instance) in MainThreadTask0()
63 class MainThreadTask1 : public CCMainThread::Task {
76 : CCMainThread::Task(instance) in MainThreadTask1()
93 class MainThreadTask2 : public CCMainThread::Task {
107 : CCMainThread::Task(instance) in MainThreadTask2()
126 class MainThreadTask3 : public CCMainThread::Task {
141 : CCMainThread::Task(instance) in MainThreadTask3()
162 PassOwnPtr<CCMainThread::Task> createMainThreadTask(
167 PassOwnPtr<CCMainThread::Task> createMainThreadTask( in createMainThreadTask()
[all …]
DCCThreadTask.h36 class CCThreadTask0 : public CCThread::Task {
48 : CCThread::Task(instance) in CCThreadTask0()
63 class CCThreadTask1 : public CCThread::Task {
76 : CCThread::Task(instance) in CCThreadTask1()
93 class CCThreadTask2 : public CCThread::Task {
107 : CCThread::Task(instance) in CCThreadTask2()
126 class CCThreadTask3 : public CCThread::Task {
141 : CCThread::Task(instance) in CCThreadTask3()
163 class CCThreadTask4 : public CCThread::Task {
179 : CCThread::Task(instance) in CCThreadTask4()
[all …]
/external/webkit/Source/WebCore/fileapi/
DFileThread.h57 class Task {
58 WTF_MAKE_NONCOPYABLE(Task);
60 virtual ~Task() { } in ~Task()
64 Task(void* instance) : m_instance(instance) { } in Task() function
68 void postTask(PassOwnPtr<Task> task);
80 MessageQueue<Task> m_queue;
DFileThreadTask.h43 class FileThreadTask0 : public FileThread::Task {
55 : FileThread::Task(instance) in FileThreadTask0()
70 class FileThreadTask1 : public FileThread::Task {
83 : FileThread::Task(instance) in FileThreadTask1()
100 class FileThreadTask2 : public FileThread::Task {
114 : FileThread::Task(instance) in FileThreadTask2()
133 class FileThreadTask3 : public FileThread::Task {
148 : FileThread::Task(instance) in FileThreadTask3()
169 PassOwnPtr<FileThread::Task> createFileThreadTask(
174 PassOwnPtr<FileThread::Task> createFileThreadTask( in createFileThreadTask()
[all …]
/external/chromium/chrome/browser/automation/
Dautomation_provider_gtk.cc29 class WindowDragResponseTask : public Task {
55 class MouseEventTask : public Task {
57 MouseEventTask(Task* next_task, ui_controls::MouseButtonState state) in MouseEventTask()
71 Task* next_task_;
80 class MouseMoveTask : public Task {
82 MouseMoveTask(Task* next_task, int absolute_x, int absolute_y) in MouseMoveTask()
97 Task* next_task_;
120 Task* next_task = new WindowDragResponseTask(this, reply_message); in WindowSimulateDrag()
Dui_controls.h25 class Task; variable
60 Task* task);
64 bool SendMouseMoveNotifyWhenDone(long x, long y, Task* task);
82 bool SendMouseEventsNotifyWhenDone(MouseButton type, int state, Task* task);
98 Task* task);
/external/chromium/chrome/browser/chromeos/
Duser_cros_settings_provider.h17 class Task; variable
37 bool RequestTrustedAllowGuest(Task* callback);
38 bool RequestTrustedAllowNewUser(Task* callback);
39 bool RequestTrustedDataRoamingEnabled(Task* callback);
40 bool RequestTrustedShowUsersOnSignin(Task* callback);
41 bool RequestTrustedOwner(Task* callback);
/external/chromium/base/threading/
Dworker_pool_posix.cc29 void PostTask(const tracked_objects::Location& from_here, Task* task,
46 Task* task, bool task_is_slow) { in PostTask()
77 Task* task = pool_->WaitForTask(); in ThreadMain()
91 Task* task, bool task_is_slow) { in PostTask()
108 Task* task = tasks_.front(); in ~PosixDynamicThreadPool()
123 void PosixDynamicThreadPool::PostTask(Task* task) { in PostTask()
142 Task* PosixDynamicThreadPool::WaitForTask() { in WaitForTask()
164 Task* task = tasks_.front(); in WaitForTask()
Dworker_pool_posix.h38 class Task; variable
59 void PostTask(Task* task);
63 Task* WaitForTask();
78 std::queue<Task*> tasks_;
/external/valgrind/unittest/
Dmac_tests.mm17 class Task {
19 Task() {};
20 void Run() { printf("Inside Task::Run()\n"); }
25 Task *task_;
28 + (id)taskOperationWithTask:(Task*)task; argument
30 - (id)initWithTask:(Task*)task; argument
36 + (id)taskOperationWithTask:(Task*)task { argument
44 - (id)initWithTask:(Task*)task { argument
72 Task *task = new Task();
/external/chromium/base/
Dtask.cc7 Task::Task() { in Task() function in Task
10 Task::~Task() { in ~Task()
Dmessage_loop_proxy_impl.h26 Task* task);
28 Task* task, int64 delay_ms);
30 Task* task);
33 Task* task,
48 Task* task, int64 delay_ms, bool nestable);
Dmessage_loop.h155 const tracked_objects::Location& from_here, Task* task);
158 const tracked_objects::Location& from_here, Task* task, int64 delay_ms);
161 const tracked_objects::Location& from_here, Task* task);
164 const tracked_objects::Location& from_here, Task* task, int64 delay_ms);
220 class QuitTask : public Task {
292 virtual void WillProcessTask(const Task* task) = 0;
295 virtual void DidProcessTask(const Task* task) = 0;
359 PendingTask(Task* task, bool nestable) in PendingTask()
366 Task* task; // The task to run.
410 void RunTask(Task* task);
[all …]
Dmessage_loop_proxy_impl.cc22 Task* task) { in PostTask()
27 const tracked_objects::Location& from_here, Task* task, int64 delay_ms) { in PostDelayedTask()
32 const tracked_objects::Location& from_here, Task* task) { in PostNonNestableTask()
38 Task* task, in PostNonNestableDelayedTask()
85 const tracked_objects::Location& from_here, Task* task, int64 delay_ms, in PostTaskHelper()
/external/chromium/chrome/browser/metrics/
Dhistogram_synchronizer.h19 class Task; variable
83 MessageLoop* callback_thread, Task* callback_task, int wait_time);
109 Task* callback_task);
119 void InternalPostTask(MessageLoop* thread, Task* task,
132 Task* callback_task_;
/external/chromium/third_party/libjingle/source/talk/examples/call/
Dvoicemailjidrequester.h73 class Task; variable
76 public talk_base::Task {
78 VoicemailJidRequester(talk_base::Task* parent, const Jid& their_jid, const Jid& my_jid);
113 talk_base::Task* parent_;

12345678910>>...13