/external/chromium_org/third_party/webrtc/base/ |
D | taskrunner.cc | 40 tasks_.push_back(task); in StartTask() 73 for (size_t i = 0; i < tasks_.size(); ++i) { in InternalRunTasks() 74 while (!tasks_[i]->Blocked()) { in InternalRunTasks() 75 tasks_[i]->Step(); in InternalRunTasks() 82 for (size_t i = 0; i < tasks_.size(); ++i) { in InternalRunTasks() 83 if (tasks_[i]->IsDone()) { in InternalRunTasks() 84 Task* task = tasks_[i]; in InternalRunTasks() 98 tasks_[i] = NULL; in InternalRunTasks() 103 it = std::remove(tasks_.begin(), in InternalRunTasks() 104 tasks_.end(), in InternalRunTasks() [all …]
|
D | taskrunner.h | 87 std::vector<Task *> tasks_; variable
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | taskrunner.cc | 57 tasks_.push_back(task); in StartTask() 90 for (size_t i = 0; i < tasks_.size(); ++i) { in InternalRunTasks() 91 while (!tasks_[i]->Blocked()) { in InternalRunTasks() 92 tasks_[i]->Step(); in InternalRunTasks() 99 for (size_t i = 0; i < tasks_.size(); ++i) { in InternalRunTasks() 100 if (tasks_[i]->IsDone()) { in InternalRunTasks() 101 Task* task = tasks_[i]; in InternalRunTasks() 115 tasks_[i] = NULL; in InternalRunTasks() 120 it = std::remove(tasks_.begin(), in InternalRunTasks() 121 tasks_.end(), in InternalRunTasks() [all …]
|
D | taskrunner.h | 104 std::vector<Task *> tasks_; variable
|
/external/chromium_org/media/cast/test/ |
D | fake_single_thread_task_runner.cc | 37 tasks_.insert(std::make_pair(posed_task.GetTimeToRun(), posed_task)); in PostDelayedTask() 48 std::multimap<base::TimeTicks, PostedTask>::iterator it = tasks_.begin(); in RunTasks() 49 if (it == tasks_.end()) in RunTasks() 56 tasks_.erase(it); in RunTasks() 71 std::multimap<base::TimeTicks, PostedTask>::iterator it = tasks_.begin(); in Sleep() 72 if (it == tasks_.end()) { in Sleep() 84 tasks_.erase(it); in Sleep()
|
D | fake_single_thread_task_runner.h | 48 std::multimap<base::TimeTicks, PostedTask> tasks_; variable
|
/external/chromium_org/net/quic/test_tools/ |
D | test_task_runner.cc | 26 tasks_.push_back( in PostDelayedTask() 37 return tasks_; in GetPostedTasks() 44 DCHECK(next != tasks_.end()); in RunNextTask() 48 tasks_.erase(next); in RunNextTask() 64 tasks_.begin(), tasks_.end(), ShouldRunBeforeLessThan()); in FindNextTask()
|
D | test_task_runner.h | 45 std::vector<PostedTask> tasks_; variable
|
/external/chromium_org/content/common/gpu/ |
D | devtools_gpu_agent.cc | 30 tasks_.reset(new GpuTaskInfoList()); in StartEventsRecording() 65 if (!tasks_->empty() && in ProcessEvent() 67 tasks_->size() >= kMaxPendingItems)) { in ProcessEvent() 68 Send(new DevToolsAgentMsg_GpuTasksChunk(route_id_, *tasks_)); in ProcessEvent() 69 tasks_->clear(); in ProcessEvent() 72 tasks_->push_back(task); in ProcessEvent()
|
D | devtools_gpu_agent.h | 42 scoped_ptr<GpuTaskInfoList> tasks_; variable
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
D | fakexmppclient.h | 91 tasks_.push_back(task); in AddXmppTask() 95 std::remove(tasks_.begin(), tasks_.end(), task); in RemoveXmppTask() 105 for (std::vector<XmppTask*>::iterator task = tasks_.begin(); in HandleStanza() 106 task != tasks_.end(); ++task) { in HandleStanza() 117 std::vector<XmppTask*> tasks_; variable
|
/external/chromium_org/ash/system/chromeos/session/ |
D | logout_confirmation_controller_unittest.cc | 60 TemporalOrder> tasks_; member in ash::__anon9f109c880111::MockTimeSingleThreadTaskRunner 93 tasks_.push(std::make_pair(now_ + delay, task)); in PostDelayedTask() 111 while (!tasks_.empty() && tasks_.top().first <= latest) { in FastForwardBy() 112 now_ = tasks_.top().first; in FastForwardBy() 113 base::Closure task = tasks_.top().second; in FastForwardBy() 114 tasks_.pop(); in FastForwardBy() 121 while (!tasks_.empty()) { in FastForwardUntilNoTasksRemain() 122 now_ = tasks_.top().first; in FastForwardUntilNoTasksRemain() 123 base::Closure task = tasks_.top().second; in FastForwardUntilNoTasksRemain() 124 tasks_.pop(); in FastForwardUntilNoTasksRemain()
|
/external/chromium_org/components/dom_distiller/core/ |
D | dom_distiller_service.cc | 171 for (TaskList::iterator it = tasks_.begin(); it != tasks_.end(); ++it) { in GetOrCreateTaskTrackerForUrl() 185 for (TaskList::const_iterator it = tasks_.begin(); it != tasks_.end(); ++it) { in GetTaskTrackerForEntry() 207 tasks_.push_back(tracker); in CreateTaskTracker() 212 TaskList::iterator it = std::find(tasks_.begin(), tasks_.end(), task); in CancelTask() 213 if (it != tasks_.end()) { in CancelTask() 214 tasks_.weak_erase(it); in CancelTask()
|
/external/chromium_org/ui/file_manager/image_loader/ |
D | image_loader_client.js | 23 this.tasks_ = {}; 103 if (!(message.taskId in this.tasks_)) { 109 var task = this.tasks_[message.taskId]; 115 delete this.tasks_[message.taskId]; 139 var taskKeys = Object.keys(this.tasks_); 142 var task = this.tasks_[taskKey]; 146 delete this.tasks_[taskKey]; 180 this.tasks_[this.lastTaskId_] = task;
|
/external/chromium_org/components/domain_reliability/ |
D | test_util.cc | 120 while (!tasks_.empty() && tasks_.begin()->first.time <= target_ticks) { in Advance() 121 TaskKey key = tasks_.begin()->first; in Advance() 122 base::Closure task = tasks_.begin()->second; in Advance() 123 tasks_.erase(tasks_.begin()); in Advance() 139 tasks_[TaskKey(now_ticks_ + delay, task_sequence_number_++)] = task; in AddTask()
|
D | dispatcher.cc | 47 STLDeleteElements(&tasks_); in ~DomainReliabilityDispatcher() 59 tasks_.insert(task); in ScheduleTask() 116 tasks_.erase(task); in RunAndDeleteTask()
|
D | dispatcher.h | 57 std::set<Task*> tasks_; variable
|
/external/chromium_org/android_webview/browser/ |
D | deferred_gpu_command_service.cc | 67 DCHECK(tasks_.empty()); in ~DeferredGpuCommandService() 86 tasks_.push(task); in ScheduleTask() 158 has_more_tasks = tasks_.size() > 0; in RunTasks() 165 task = tasks_.front(); in RunTasks() 166 tasks_.pop(); in RunTasks() 171 has_more_tasks = tasks_.size() > 0; in RunTasks()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | sync_client.cc | 206 SyncTasks::iterator it = tasks_.find(SyncTasks::key_type(FETCH, local_id)); in RemoveFetchTask() 207 if (it == tasks_.end()) in RemoveFetchTask() 213 tasks_.erase(it); in RemoveFetchTask() 267 SyncTasks::iterator it = tasks_.find(key); in AddTask() 268 if (it != tasks_.end()) { in AddTask() 282 tasks_[key] = task; in AddTask() 291 SyncTasks::iterator it = tasks_.find(key); in StartTask() 292 if (it == tasks_.end()) in StartTask() 337 SyncTasks::iterator it = tasks_.find(key); in OnTaskComplete() 338 DCHECK(it != tasks_.end()); in OnTaskComplete() [all …]
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
D | file_tasks.js | 18 this.tasks_ = null; 108 return (this.tasks_ && this.tasks_.length) || 0; 211 this.tasks_ = []; property 284 this.tasks_.push(task); 289 if (!this.defaultTask_ && this.tasks_.length > 0) { 293 this.defaultTask_ = this.tasks_[0]; 730 if (this.tasks_.length === 0) { 770 for (var index = 0; index < this.tasks_.length; index++) { 771 var task = this.tasks_[index]; 790 this.tasks_.length > 1); [all …]
|
/external/chromium_org/chrome/browser/chromeos/ |
D | session_length_limiter_unittest.cc | 76 TemporalOrder> tasks_; member in chromeos::__anon1de3a52b0111::MockTimeSingleThreadTaskRunner 142 tasks_.push(std::pair<base::TimeTicks, base::Closure>(now_ + delay, task)); in PostDelayedTask() 161 while (!tasks_.empty() && tasks_.top().first <= latest) { in FastForwardBy() 162 now_ = tasks_.top().first; in FastForwardBy() 163 base::Closure task = tasks_.top().second; in FastForwardBy() 164 tasks_.pop(); in FastForwardBy() 171 while (!tasks_.empty()) { in FastForwardUntilNoTasksRemain() 172 now_ = tasks_.top().first; in FastForwardUntilNoTasksRemain() 173 base::Closure task = tasks_.top().second; in FastForwardUntilNoTasksRemain() 174 tasks_.pop(); in FastForwardUntilNoTasksRemain()
|
/external/chromium_org/cc/resources/ |
D | raster_worker_pool_unittest.cc | 201 for (RasterTaskVector::const_iterator it = tasks_.begin(); in ScheduleTasks() 202 it != tasks_.end(); in ScheduleTasks() 216 tasks_.push_back(new TestRasterTaskImpl( in AppendTask() 236 tasks_.push_back(new BlockingTestRasterTaskImpl( in AppendBlockingTask() 277 RasterTaskVector tasks_; member in cc::__anon92d750e40111::RasterWorkerPoolTest 320 tasks.swap(tasks_); in TEST_P()
|
/external/chromium_org/extensions/common/ |
D | one_shot_event.cc | 73 for (size_t i = 0; i < tasks_.size(); ++i) { in Signal() 74 const TaskInfo& task = tasks_[i]; in Signal() 94 tasks_.push_back(TaskInfo(from_here, runner, task, delay)); in PostImpl()
|
D | one_shot_event.h | 109 mutable std::vector<TaskInfo> tasks_; variable
|
/external/chromium_org/chrome/browser/chromeos/system/ |
D | automatic_reboot_manager_unittest.cc | 99 TemporalOrder> tasks_; member in chromeos::system::__anonbe4703900111::MockTimeSingleThreadTaskRunner 230 tasks_.push(std::pair<base::TimeTicks, base::Closure>(now_ + delay, task)); in PostDelayedTask() 267 while (!tasks_.empty() && tasks_.top().first <= latest) { in FastForwardBy() 268 uptime_ += tasks_.top().first - now_; in FastForwardBy() 270 now_ = tasks_.top().first; in FastForwardBy() 271 base::Closure task = tasks_.top().second; in FastForwardBy() 272 tasks_.pop(); in FastForwardBy() 285 while (!tasks_.empty()) { in FastForwardUntilNoTasksRemain() 286 uptime_ += tasks_.top().first - now_; in FastForwardUntilNoTasksRemain() 288 now_ = tasks_.top().first; in FastForwardUntilNoTasksRemain() [all …]
|