HomeSort by relevance Sort by last modified time
    Searched refs:Task (Results 1 - 25 of 418) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium/base/
task.cc 5 #include "base/task.h"
7 Task::Task() {
10 Task::~Task() {
task_queue.h 12 #include "base/task.h"
15 // the Run method. A task queue is itself a Task so that it can be placed in a
16 // message loop or another task queue.
17 class BASE_API TaskQueue : public Task {
22 // Push the specified task onto the queue. When the queue is run, the tasks
25 // This method takes ownership of |task| and will delete task after it is run
27 void Push(Task* task);
    [all...]
  /external/skia/dm/
DMTask.cpp 10 Task::Task(Reporter* reporter, TaskRunner* taskRunner)
15 Task::Task(const Task& parent)
23 Task::~Task() {}
25 void Task::run() {
34 void Task::spawnChild(Task* task)
    [all...]
DMTask.h 9 // of usesGpu(). The subclasses can call fail() to mark this task as failed,
12 // Task deletes itself when run.
18 class Task : public SkRunnable {
20 Task(Reporter* reporter, TaskRunner* taskRunner);
21 Task(const Task& parent);
22 virtual ~Task();
31 // Returns the number of parents above this task.
36 void spawnChild(Task* task);
    [all...]
DMTaskRunner.h 7 // TaskRunner runs Tasks on one of two threadpools depending on the Task's usesGpu() method.
13 class Task;
19 void add(Task* task);
  /external/chromium/chrome/browser/automation/
ui_controls_internal.h 8 #include "base/task.h"
13 // A utility class to send a mouse click event in a task.
15 class ClickTask : public Task {
17 // A |followup| Task can be specified to notify the caller when the mouse
19 ClickTask(MouseButton button, int state, Task* followup);
26 Task* followup_;
  /external/chromium_org/third_party/WebKit/Source/platform/
Task.h 39 class Task : public blink::WebThread::Task {
41 explicit Task(const Closure& closure)
  /external/chromium/base/threading/
worker_pool.h 12 class Task;
26 // This function posts |task| to run on a worker thread. |task_is_slow|
28 // false if |task| could not be posted to a worker thread. Regardless of
29 // return value, ownership of |task| is transferred to the worker pool.
31 Task* task, bool task_is_slow);
worker_pool_win.cc 8 #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))
    [all...]
worker_pool_posix.h 13 // task queue, it does not own the worker threads. The worker threads ask the
38 class Task;
57 // Adds |task| to the thread pool. PosixDynamicThreadPool assumes ownership
58 // of |task|.
59 void PostTask(Task* task);
63 Task* WaitForTask();
78 std::queue<Task*> tasks_;
  /external/chromium_org/third_party/WebKit/public/platform/
WebThread.h 38 class Task {
40 virtual ~Task() { }
51 // postTask() and postDelayedTask() take ownership of the passed Task
54 virtual void postTask(Task*) = 0;
55 virtual void postDelayedTask(Task*, long long delayMs) = 0;
62 // enterRunLoop() processes tasks posted to this WebThread. This call does not return until some task calls exitRunLoop().
WebWorkerRunLoop.h 38 class Task {
40 virtual ~Task() { }
44 // Returns true if the task was posted to a non-terminated loop.
45 BLINK_EXPORT bool postTask(Task*);
  /external/chromium_org/v8/include/
v8-platform.h 36 * A Task represents a unit of work.
38 class Task {
40 virtual ~Task() {}
54 * This enum is used to indicate whether a task is potentially long running,
56 * whether to execute the task on a dedicated thread.
64 * Schedules a task to be invoked on a background thread. |expected_runtime|
65 * indicates that the task will run a long time. The Platform implementation
66 * takes ownership of |task|. There is no guarantee about order of execution
68 * thread the task will be run on.
70 virtual void CallOnBackgroundThread(Task* task
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
taskrunner.h 38 class Task;
58 void StartTask(Task *task);
62 void UpdateTaskTimeout(Task *task, int64 previous_task_timeout_time);
65 bool is_ok_to_delete(Task* task) {
66 return task == deleting_task_;
78 // Returns the next absolute time when a task times out
104 std::vector<Task *> tasks_
    [all...]
taskparent.h 38 class Task;
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;
task.cc 28 #include "talk/base/task.h"
34 int32 Task::unique_id_seed_ = 0;
36 Task::Task(TaskParent *parent)
54 Task::~Task() {
55 // Is this task being deleted in the correct manner?
60 // If the task is being deleted without being done, it
62 // This happens if a task is deleted outside of TaskRunner.
68 int64 Task::CurrentTime()
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
taskrunner.h 38 class Task;
58 void StartTask(Task *task);
62 void UpdateTaskTimeout(Task *task, int64 previous_task_timeout_time);
65 bool is_ok_to_delete(Task* task) {
66 return task == deleting_task_;
78 // Returns the next absolute time when a task times out
104 std::vector<Task *> tasks_
    [all...]
taskparent.h 38 class Task;
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;
task.cc 28 #include "talk/base/task.h"
34 int32 Task::unique_id_seed_ = 0;
36 Task::Task(TaskParent *parent)
54 Task::~Task() {
55 // Is this task being deleted in the correct manner?
60 // If the task is being deleted without being done, it
62 // This happens if a task is deleted outside of TaskRunner.
68 int64 Task::CurrentTime()
    [all...]
  /external/chromium_org/jingle/glue/
mock_task.cc 9 MockTask::MockTask(TaskParent* parent) : talk_base::Task(parent) {}
mock_task.h 5 // A mock of talk_base::Task.
11 #include "third_party/libjingle/source/talk/base/task.h"
15 class MockTask : public talk_base::Task {
  /external/chromium/chrome/browser/chromeos/
user_cros_settings_provider.h 17 class Task;
36 // In latter case passed task will be posted when ready.
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_org/chrome/browser/history/android/
bookmark_model_sql_handler.h 34 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/v8/src/
default-platform.cc 41 void DefaultPlatform::CallOnBackgroundThread(Task *task,
44 task->Run();
45 delete task;
49 void DefaultPlatform::CallOnForegroundThread(v8::Isolate* isolate, Task* task) {
51 task->Run();
52 delete task;
default-platform.h 43 Task *task, ExpectedRuntime expected_runtime) V8_OVERRIDE;
45 Task *task) V8_OVERRIDE;

Completed in 744 milliseconds

1 2 3 4 5 6 7 8 91011>>