/external/chromium_org/v8/include/ |
H A D | v8-platform.h | 31 * This enum is used to indicate whether a task is potentially long running, 33 * whether to execute the task on a dedicated thread. 43 * Schedules a task to be invoked on a background thread. |expected_runtime| 44 * indicates that the task will run a long time. The Platform implementation 45 * takes ownership of |task|. There is no guarantee about order of execution 47 * thread the task will be run on. 49 virtual void CallOnBackgroundThread(Task* task, 53 * Schedules a task to be invoked on a foreground thread wrt a specific 57 virtual void CallOnForegroundThread(Isolate* isolate, Task* task) = 0;
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
H A D | HTMLConstructionSite.cpp | 99 static inline void insert(HTMLConstructionSiteTask& task) argument 101 if (isHTMLTemplateElement(*task.parent)) 102 task.parent = toHTMLTemplateElement(task.parent.get())->content(); 104 if (ContainerNode* parent = task.child->parentNode()) 105 parent->parserRemoveChild(*task.child); 107 if (task.nextChild) 108 task.parent->parserInsertBefore(task.child.get(), *task 113 executeInsertTask(HTMLConstructionSiteTask& task) argument 127 executeInsertTextTask(HTMLConstructionSiteTask& task) argument 148 executeReparentTask(HTMLConstructionSiteTask& task) argument 158 executeInsertAlreadyParsedChildTask(HTMLConstructionSiteTask& task) argument 165 executeTakeAllChildrenTask(HTMLConstructionSiteTask& task) argument 172 executeTask(HTMLConstructionSiteTask& task) argument 274 queueTask(const HTMLConstructionSiteTask& task) argument 829 findFosterSite(HTMLConstructionSiteTask& task) argument [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | taskparent.cc | 15 #include "webrtc/base/task.h" 47 bool TaskParent::IsChildTask(Task *task) { argument 48 ASSERT(task != NULL); 49 return task->parent_ == this && children_->find(task) != children_->end(); 84 void TaskParent::OnStopped(Task *task) { argument 86 parent_->OnChildStopped(task);
|
/external/chromium_org/ui/base/test/ |
H A D | ui_controls_aura.cc | 38 const base::Closure& task) { 41 window, key, control, shift, alt, command, task); 53 const base::Closure& task) { 55 return instance_->SendMouseMoveNotifyWhenDone(x, y, task); 67 const base::Closure& task) { 69 return instance_->SendMouseEventsNotifyWhenDone(type, state, task); 32 SendKeyPressNotifyWhenDone(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, const base::Closure& task) argument 51 SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& task) argument 65 SendMouseEventsNotifyWhenDone(MouseButton type, int state, const base::Closure& task) argument
|
H A D | ui_controls_win.cc | 37 const base::Closure& task) { 40 return internal::SendKeyPressImpl(window, key, control, shift, alt, task); 48 bool SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& task) { argument 50 return internal::SendMouseMoveImpl(x, y, task); 59 const base::Closure& task) { 61 return internal::SendMouseEventsImpl(type, state, task); 31 SendKeyPressNotifyWhenDone(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, const base::Closure& task) argument 58 SendMouseEventsNotifyWhenDone(MouseButton type, int state, const base::Closure& task) argument
|
H A D | ui_controls.h | 30 // SendKeyPressNotifyWhenDone(..., task); 32 // might trigger |task| early. 59 const base::Closure& task); 65 const base::Closure& task); 85 const base::Closure& task);
|
H A D | ui_controls_aura.h | 33 const base::Closure& task) = 0; 39 const base::Closure& task) = 0; 46 const base::Closure& task) = 0;
|
/external/chromium_org/cc/resources/ |
H A D | task_graph_runner.h | 38 // Dependencies are represented as edges in a task graph. Each graph node is 46 explicit TaskComparator(const Task* task) : task_(task) {} argument 48 bool operator()(const Node& node) const { return node.task == task_; } 56 Node(Task* task, unsigned priority, size_t dependencies) argument 57 : task(task), priority(priority), dependencies(dependencies) {} 59 Task* task; member in struct:cc::TaskGraph::Node 67 Edge(const Task* task, Task* dependent) argument 68 : task(tas 70 const Task* task; member in struct:cc::TaskGraph::Edge 144 PrioritizedTask(Task* task, unsigned priority) argument 147 Task* task; member in struct:cc::TaskGraphRunner::PrioritizedTask [all...] |
H A D | pixel_buffer_raster_worker_pool.cc | 100 RasterTask* task, 102 : type(UNSCHEDULED), task(task), task_sets(task_sets) { 182 completed_raster_tasks_.push_back(state.task); 198 // Update raster task state and remove items from old queue. 203 RasterTask* task = item.task; local 205 // Remove any old items that are associated with this task. The result is 211 RasterTaskQueue::Item::TaskComparator(task)); 220 RasterTaskState::TaskComparator(task)); 99 RasterTaskState( RasterTask* task, const TaskSetCollection& task_sets) argument 245 RasterTask* task = item.task; local 302 RasterizerTask* task = it->get(); local 310 RasterTask* task = it->get(); local 370 RasterTask* task = raster_tasks_with_pending_upload_.front().get(); local 398 RasterTask* task = it->get(); local 425 RasterTask* task = it->get(); local 438 RasterTask* task = it->get(); local 533 RasterTask* task = item.task; local 673 RasterizerTask* task = static_cast<RasterizerTask*>(it->get()); local [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkTaskGroup.cpp | 25 static void Add(SkRunnable* task, int32_t* pending) { argument 27 return task->run(); 29 gGlobal->add(task, pending); 51 work.task->run(); 65 SkRunnable* task; // A task to ->run(), member in struct:__anon15361::ThreadPool::Work 93 void add(SkRunnable* task, int32_t* pending) { argument 94 Work work = { task, pending }; 117 work.task->run(); 146 void SkTaskGroup::add(SkRunnable* task) { ThreadPoo argument [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
H A D | mucroomlookuptask_unittest.cc | 43 void OnResult(buzz::MucRoomLookupTask* task, argument 48 void OnError(buzz::IqTask* task, argument 94 buzz::MucRoomLookupTask* task = local 97 task->SignalResult.connect(listener, &MucRoomLookupListener::OnResult); 98 task->Start(); 136 buzz::MucRoomLookupTask* task = buzz::MucRoomLookupTask::CreateLookupTaskForHangoutId( local 138 task->SignalResult.connect(listener, &MucRoomLookupListener::OnResult); 139 task->Start(); 173 buzz::MucRoomLookupTask* task = buzz::MucRoomLookupTask::CreateLookupTaskForRoomName( local 175 task 189 buzz::MucRoomLookupTask* task = buzz::MucRoomLookupTask::CreateLookupTaskForRoomName( local [all...] |
H A D | pubsubclient.h | 38 #include "webrtc/base/task.h" 108 void OnRequestError(IqTask* task, 110 void OnRequestResult(PubSubRequestTask* task, 112 void OnReceiveUpdate(PubSubReceiveTask* task, 114 void OnPublishResult(PubSubPublishTask* task); 115 void OnPublishError(IqTask* task, 117 void OnRetractResult(PubSubRetractTask* task); 118 void OnRetractError(IqTask* task,
|
H A D | mucroomuniquehangoutidtask_unittest.cc | 43 void OnResult(buzz::MucRoomUniqueHangoutIdTask* task, argument 48 void OnError(buzz::IqTask* task, argument 86 buzz::MucRoomUniqueHangoutIdTask* task = new buzz::MucRoomUniqueHangoutIdTask( local 88 task->SignalResult.connect(listener, &MucRoomUniqueHangoutIdListener::OnResult); 89 task->Start();
|
H A D | pubsubclient.cc | 85 void PubSubClient::OnRequestResult(PubSubRequestTask* task, argument 90 void PubSubClient::OnRequestError(IqTask* task, argument 95 void PubSubClient::OnReceiveUpdate(PubSubReceiveTask* task, argument 113 void PubSubClient::OnPublishResult(PubSubPublishTask* task) { argument 114 const XmlElement* item = GetItemFromStanza(task->stanza()); 115 SignalPublishResult(this, task->task_id(), item); 118 void PubSubClient::OnPublishError(IqTask* task, argument 121 static_cast<PubSubPublishTask*>(task); 126 void PubSubClient::OnRetractResult(PubSubRetractTask* task) { argument 127 SignalRetractResult(this, task 130 OnRetractError(IqTask* task, const XmlElement* stanza) argument [all...] |
/external/chromium_org/base/test/ |
H A D | test_pending_task.cc | 15 const Closure& task, 20 task(task), 68 std::ostream& operator<<(std::ostream& os, const TestPendingTask& task) { argument 69 PrintTo(task, &os); 73 void PrintTo(const TestPendingTask& task, std::ostream* os) { argument 74 *os << task.ToString(); 13 TestPendingTask( const tracked_objects::Location& location, const Closure& task, TimeTicks post_time, TimeDelta delay, TestNestability nestability) argument
|
H A D | test_simple_task_runner.cc | 19 const Closure& task, 23 TestPendingTask(from_here, task, TimeTicks(), delay, 30 const Closure& task, 34 TestPendingTask(from_here, task, TimeTicks(), delay, 72 it->task.Run(); 17 PostDelayedTask( const tracked_objects::Location& from_here, const Closure& task, TimeDelta delay) argument 28 PostNonNestableDelayedTask( const tracked_objects::Location& from_here, const Closure& task, TimeDelta delay) argument
|
/external/chromium_org/chrome/browser/sync_file_system/local/ |
H A D | syncable_file_operation_runner.cc | 21 SyncableFileOperationRunner::Task* task) { 22 task->Cancel(); 23 delete task; 69 void SyncableFileOperationRunner::PostOperationTask(scoped_ptr<Task> task) { argument 71 pending_tasks_.push_back(task.release()); 82 scoped_ptr<Task> task(*iter); 84 task->Start(sync_status()); 20 CancelAndDelete( SyncableFileOperationRunner::Task* task) argument
|
/external/chromium_org/v8/tools/testrunner/objects/ |
H A D | testcase.py | 58 def UnpackTask(task): 59 """Creates a new TestCase object based on packed task data.""" 61 test = TestCase(str(task[0]), task[1], task[2], task[3]) 62 test.outcomes = set(task[4]) 63 test.id = task[5]
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
H A D | file_tasks.js | 183 * Returns true if the taskId is for an internal task. 186 * @return {boolean} True if the task ID is for an internal task. 221 var task = tasks[i]; 222 var taskParts = task.taskId.split('|'); 233 // TODO(serya): This hack needed until task.iconUrl is working 235 task.iconType = 'audio'; 236 task.title = loadTimeData.getString('ACTION_LISTEN'); 238 task.iconType = 'archive'; 239 task [all...] |
/external/chromium_org/net/quic/test_tools/ |
H A D | test_task_runner.cc | 23 const base::Closure& task, 27 PostedTask(from_here, task, clock_->NowInTicks(), delay, 41 // Find the next task to run, advance the time to the correct time 42 // and then run the task. 47 PostedTask task = *next; local 49 task.task.Run(); 22 PostDelayedTask(const tracked_objects::Location& from_here, const base::Closure& task, base::TimeDelta delay) argument
|
/external/chromium_org/storage/browser/quota/ |
H A D | quota_task.cc | 70 void QuotaTaskObserver::RegisterTask(QuotaTask* task) { argument 71 running_quota_tasks_.insert(task); 74 void QuotaTaskObserver::UnregisterTask(QuotaTask* task) { argument 75 DCHECK(running_quota_tasks_.find(task) != running_quota_tasks_.end()); 76 running_quota_tasks_.erase(task);
|
/external/chromium_org/base/ |
H A D | task_runner.h | 24 // decoupling task posting from the mechanics of how each task will be 29 // - Posting a task will not run it synchronously. That is, no 30 // Post*Task method will call task.Run() directly. 32 // - Increasing the delay can only delay when the task gets run. 33 // That is, increasing the delay may not affect when the task gets 53 // - A TaskRunner that, for each task, spawns a non-joinable thread 54 // to run that task and immediately quit. 57 // method Run() that runs each runnable task in random order. 61 // Posts the given task t [all...] |
/external/chromium_org/ui/views_content_client/ |
H A D | views_content_client.h | 63 // The task to run at the end of BrowserMainParts::PreMainMessageLoopRun(). 65 void set_task(const Task& task) { task_ = task; } argument 66 const Task& task() const { return task_; } function in class:ui::ViewsContentClient
|
/external/chromium_org/v8/src/libplatform/ |
H A D | task-queue-unittest.cc | 7 #include "src/libplatform/task-queue.h" 40 MockTask task; local 41 queue.Append(&task); 42 EXPECT_EQ(&task, queue.GetNext());
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | ListeningExecutorService.java | 37 * @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...] |