Home
last modified time | relevance | path

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

12345678910>>...15

/external/chromium_org/chrome/browser/history/android/
Dbookmark_model_sql_handler.cc29 BookmarkModelSQLHandler::Task::Task() { in Task() function in history::BookmarkModelSQLHandler::Task
32 void BookmarkModelSQLHandler::Task::AddBookmarkToMobileFolder( in AddBookmarkToMobileFolder()
43 void BookmarkModelSQLHandler::Task::AddBookmark(const GURL& url, in AddBookmark()
54 void BookmarkModelSQLHandler::Task::RemoveBookmark(const GURL& url) { in RemoveBookmark()
67 void BookmarkModelSQLHandler::Task::UpdateBookmarkTitle( in UpdateBookmarkTitle()
82 BookmarkModelSQLHandler::Task::~Task() { in ~Task()
85 BookmarkModel* BookmarkModelSQLHandler::Task::GetBookmarkModel() { in GetBookmarkModel()
112 &BookmarkModelSQLHandler::Task::AddBookmark, in Update()
113 scoped_refptr<BookmarkModelSQLHandler::Task>( in Update()
114 new BookmarkModelSQLHandler::Task()), in Update()
[all …]
Dbookmark_model_sql_handler.h34 class Task : public base::RefCountedThreadSafe<Task> {
42 Task();
61 friend class base::RefCountedThreadSafe<Task>;
62 ~Task();
67 DISALLOW_COPY_AND_ASSIGN(Task);
/external/chromium_org/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);
53 bool IsChildTask(Task *task);
57 void OnStopped(Task *task);
65 void OnChildStopped(Task *child);
66 void AddChild(Task *child);
71 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()
/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()
/external/skia/dm/
DDMTask.cpp10 Task::Task(Reporter* reporter, TaskRunner* taskRunner) in Task() function in DM::Task
15 Task::Task(const Task& parent) in Task() function in DM::Task
23 Task::~Task() {} in ~Task()
25 void Task::run() { in run()
34 void Task::spawnChild(Task* task) { in spawnChild()
42 void Task::fail() { in fail()
DDMTask.h18 class Task : public SkRunnable {
20 Task(Reporter* reporter, TaskRunner* taskRunner);
21 Task(const Task& parent);
22 virtual ~Task();
36 void spawnChild(Task* task);
/external/chromium_org/cc/resources/
Dworker_pool_unittest.cc45 struct Task { struct in cc::__anonf843a01a0111::FakeWorkerPool
46 Task(const base::Closure& callback, in Task() function
70 void ScheduleTasks(const std::vector<Task>& tasks) { in ScheduleTasks()
83 for (std::vector<Task>::const_iterator it = tasks.begin(); in ScheduleTasks()
195 std::vector<FakeWorkerPool::Task>( in TEST_F()
197 FakeWorkerPool::Task(base::Bind(&WorkerPoolTest::RunTask, in TEST_F()
212 std::vector<FakeWorkerPool::Task>( in TEST_F()
214 FakeWorkerPool::Task(base::Bind(&WorkerPoolTest::RunTask, in TEST_F()
231 std::vector<FakeWorkerPool::Task>( in TEST_F()
232 1, FakeWorkerPool::Task(base::Bind(&WorkerPoolTest::RunTask, in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/local/
Dsyncable_file_operation_runner.h33 class Task {
35 Task() {} in Task() function
36 virtual ~Task() {} in ~Task()
50 static void CancelAndDelete(Task* task);
52 DISALLOW_COPY_AND_ASSIGN(Task);
69 void PostOperationTask(scoped_ptr<Task> task);
94 std::list<Task*> pending_tasks_;
Dsyncable_file_operation_runner.cc20 void SyncableFileOperationRunner::Task::CancelAndDelete( in CancelAndDelete()
21 SyncableFileOperationRunner::Task* task) { in CancelAndDelete()
26 bool SyncableFileOperationRunner::Task::IsRunnable( in IsRunnable()
35 void SyncableFileOperationRunner::Task::Start(LocalFileSyncStatus* status) { in Start()
58 SyncableFileOperationRunner::Task::CancelAndDelete); in ~SyncableFileOperationRunner()
69 void SyncableFileOperationRunner::PostOperationTask(scoped_ptr<Task> task) { in PostOperationTask()
77 for (std::list<Task*>::iterator iter = pending_tasks_.begin(); in RunNextRunnableTask()
82 scoped_ptr<Task> task(*iter); in RunNextRunnableTask()
/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/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_org/third_party/WebKit/Source/core/workers/
DWorkerRunLoop.cpp44 class WorkerRunLoop::Task { class in WebCore::WorkerRunLoop
45 WTF_MAKE_NONCOPYABLE(Task); WTF_MAKE_FAST_ALLOCATED;
47 static PassOwnPtr<Task> create(PassOwnPtr<ExecutionContextTask> task, const String& mode) in create()
49 return adoptPtr(new Task(task, mode)); in create()
60 Task(PassOwnPtr<ExecutionContextTask> task, const String& mode) in Task() function in WebCore::WorkerRunLoop::Task
105 bool operator()(WorkerRunLoop::Task* task) const in operator ()()
184 OwnPtr<WorkerRunLoop::Task> task; in runInMode()
189 …e() && m_sharedTimer->isActive()) ? m_sharedTimer->fireTime() : MessageQueue<Task>::infiniteTime(); in runInMode()
240 OwnPtr<WorkerRunLoop::Task> task = m_messageQueue.tryGetMessageIgnoringKilled(); in runCleanupTasks()
264 m_messageQueue.appendAndKill(Task::create(task, defaultMode().isolatedCopy())); in postTaskAndTerminate()
[all …]
/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()
/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_org/net/ssl/
Ddefault_server_bound_cert_store.cc16 class DefaultServerBoundCertStore::Task { class in net::DefaultServerBoundCertStore
18 virtual ~Task();
28 DefaultServerBoundCertStore::Task::~Task() { in ~Task()
31 void DefaultServerBoundCertStore::Task::InvokeCallback( in InvokeCallback()
40 : public DefaultServerBoundCertStore::Task {
79 : public DefaultServerBoundCertStore::Task {
122 : public DefaultServerBoundCertStore::Task {
156 : public DefaultServerBoundCertStore::Task {
194 : public DefaultServerBoundCertStore::Task {
245 EnqueueTask(scoped_ptr<Task>( in GetServerBoundCert()
[all …]
/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);
/external/chromium_org/webkit/child/
Dwebthread_impl.cc63 void WebThreadImpl::postTask(Task* task) { in postTask()
65 FROM_HERE, base::Bind(&blink::WebThread::Task::run, base::Owned(task))); in postTask()
69 Task* task, long long delay_ms) { in postDelayedTask()
72 base::Bind(&blink::WebThread::Task::run, base::Owned(task)), in postDelayedTask()
101 void WebThreadImplForMessageLoop::postTask(Task* task) { in postTask()
103 FROM_HERE, base::Bind(&blink::WebThread::Task::run, base::Owned(task))); in postTask()
107 Task* task, long long delay_ms) { in postDelayedTask()
110 base::Bind(&blink::WebThread::Task::run, base::Owned(task)), in postDelayedTask()

12345678910>>...15