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

1 2

  /external/chromium_org/media/cast/test/
fake_task_runner.cc 27 tasks_.insert(std::make_pair(posed_task.GetTimeToRun(), posed_task));
38 std::multimap<base::TimeTicks, PostedTask>::iterator it = tasks_.begin();
39 if (it == tasks_.end()) return; // No more tasks.
44 tasks_.erase(it);
fake_task_runner.h 39 std::multimap<base::TimeTicks, PostedTask> tasks_; member in class:media::cast::test::FakeTaskRunner
  /external/chromium_org/content/common/gpu/
devtools_gpu_agent.cc 32 tasks_.reset(new GpuTaskInfoList());
64 if (!tasks_->empty() &&
66 tasks_->size() >= kMaxPendingItems)) {
67 Send(new DevToolsAgentMsg_GpuTasksChunk(route_id_, *tasks_));
68 tasks_->clear();
71 tasks_->push_back(task);
devtools_gpu_agent.h 43 scoped_ptr<GpuTaskInfoList> tasks_; member in class:content::DevToolsGpuAgent
  /external/chromium_org/net/quic/test_tools/
test_task_runner.cc 26 tasks_.push_back(
37 return tasks_;
44 DCHECK(next != tasks_.end());
48 tasks_.erase(next);
64 tasks_.begin(), tasks_.end(), ShouldRunBeforeLessThan());
test_task_runner.h 45 std::vector<PostedTask> tasks_; member in class:net::test::TestTaskRunner
  /external/chromium_org/third_party/libjingle/source/talk/xmpp/
fakexmppclient.h 91 tasks_.push_back(task);
95 std::remove(tasks_.begin(), tasks_.end(), task);
105 for (std::vector<XmppTask*>::iterator task = tasks_.begin();
106 task != tasks_.end(); ++task) {
117 std::vector<XmppTask*> tasks_; member in class:buzz::FakeXmppClient
  /external/chromium/third_party/libjingle/source/talk/base/
taskrunner.cc 57 tasks_.push_back(task);
89 // use indexing instead of iterators because tasks_ may grow
90 for (size_t i = 0; i < tasks_.size(); ++i) {
91 while (!tasks_[i]->Blocked()) {
92 tasks_[i]->Step();
99 for (size_t i = 0; i < tasks_.size(); ++i) {
100 if (tasks_[i]->IsDone()) {
101 Task* task = tasks_[i];
115 tasks_[i] = NULL;
120 it = std::remove(tasks_.begin()
    [all...]
taskrunner.h 104 std::vector<Task *> tasks_; member in class:talk_base::TaskRunner
  /external/chromium_org/third_party/libjingle/source/talk/base/
taskrunner.cc 57 tasks_.push_back(task);
89 // use indexing instead of iterators because tasks_ may grow
90 for (size_t i = 0; i < tasks_.size(); ++i) {
91 while (!tasks_[i]->Blocked()) {
92 tasks_[i]->Step();
99 for (size_t i = 0; i < tasks_.size(); ++i) {
100 if (tasks_[i]->IsDone()) {
101 Task* task = tasks_[i];
115 tasks_[i] = NULL;
120 it = std::remove(tasks_.begin()
    [all...]
taskrunner.h 104 std::vector<Task *> tasks_; member in class:talk_base::TaskRunner
  /external/chromium/base/threading/
worker_pool_posix.cc 107 while (!tasks_.empty()) {
108 Task* task = tasks_.front();
109 tasks_.pop();
128 tasks_.push(task);
131 if (static_cast<size_t>(num_idle_threads_) >= tasks_.size()) {
148 if (tasks_.empty()) { // No work available, wait for work.
157 if (tasks_.empty()) {
164 Task* task = tasks_.front();
165 tasks_.pop();
worker_pool_posix.h 78 std::queue<Task*> tasks_; member in class:base::PosixDynamicThreadPool
  /external/chromium_org/extensions/common/
one_shot_event.cc 49 tasks_.push_back(TaskInfo(from_here, runner, task));
63 // We could randomize tasks_ in debug mode in order to check that
65 for (size_t i = 0; i < tasks_.size(); ++i) {
66 tasks_[i].runner->PostTask(tasks_[i].from_here, tasks_[i].task);
one_shot_event.h 93 mutable std::vector<TaskInfo> tasks_; member in class:extensions::OneShotEvent
  /external/chromium_org/components/dom_distiller/core/
dom_distiller_service.cc 98 for (TaskList::iterator it = tasks_.begin(); it != tasks_.end(); ++it) {
113 for (TaskList::iterator it = tasks_.begin(); it != tasks_.end(); ++it) {
128 tasks_.push_back(tracker);
133 TaskList::iterator it = std::find(tasks_.begin(), tasks_.end(), task);
134 if (it != tasks_.end()) {
135 tasks_.weak_erase(it);
dom_distiller_service.h 74 // |tasks_|.
82 TaskList tasks_; member in class:dom_distiller::DomDistillerService
  /external/chromium_org/cc/resources/
raster_worker_pool_unittest.cc 151 tasks_.begin();
152 it != tasks_.end(); ++it)
167 tasks_.push_back(
174 &empty.tasks_)));
214 std::vector<RasterWorkerPool::RasterTask> tasks_; member in class:cc::RasterWorkerPoolTest
254 tasks_.clear();
283 ASSERT_EQ(1u, tasks_.size());
284 tasks_.clear();
worker_pool_perftest.cc 102 tasks_.swap(tasks);
142 TaskVector tasks_; member in class:cc::__anon3919::PerfWorkerPool
  /art/runtime/
thread_pool.cc 67 tasks_.push_back(task);
143 if (waiting_count_ == GetThreadCount() && tasks_.empty()) {
166 if (started_ && !tasks_.empty()) {
167 Task* task = tasks_.front();
168 tasks_.pop_front();
184 while (!shutting_down_ && (waiting_count_ != GetThreadCount() || !tasks_.empty())) {
195 return tasks_.size();
  /external/chromium_org/chrome/browser/chromeos/drive/
sync_client.cc 208 SyncTasks::iterator it = tasks_.find(SyncTasks::key_type(FETCH, local_id));
209 if (it == tasks_.end())
215 tasks_.erase(it);
292 SyncTasks::iterator it = tasks_.find(key);
293 if (it != tasks_.end()) {
307 tasks_[key] = task;
316 SyncTasks::iterator it = tasks_.find(key);
317 if (it == tasks_.end())
371 SyncTasks::iterator it = tasks_.find(key);
372 DCHECK(it != tasks_.end())
    [all...]
  /external/chromium_org/chrome/browser/chromeos/
session_length_limiter_unittest.cc 76 TemporalOrder> tasks_; member in class:chromeos::__anon4475::MockTimeSingleThreadTaskRunner
142 tasks_.push(std::pair<base::TimeTicks, base::Closure>(now_ + delay, task));
161 while (!tasks_.empty() && tasks_.top().first <= latest) {
162 now_ = tasks_.top().first;
163 base::Closure task = tasks_.top().second;
164 tasks_.pop();
171 while (!tasks_.empty()) {
172 now_ = tasks_.top().first;
173 base::Closure task = tasks_.top().second
    [all...]
  /external/chromium_org/chrome/browser/chromeos/system/
automatic_reboot_manager_unittest.cc 99 TemporalOrder> tasks_; member in class:chromeos::system::__anon4489::MockTimeSingleThreadTaskRunner
231 tasks_.push(std::pair<base::TimeTicks, base::Closure>(now_ + delay, task));
268 while (!tasks_.empty() && tasks_.top().first <= latest) {
269 uptime_ += tasks_.top().first - now_;
271 now_ = tasks_.top().first;
272 base::Closure task = tasks_.top().second;
273 tasks_.pop();
286 while (!tasks_.empty()) {
287 uptime_ += tasks_.top().first - now_
    [all...]
  /external/chromium_org/chrome/browser/resources/image_loader/
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/chrome/browser/resources/file_manager/foreground/js/
file_tasks.js 17 this.tasks_ = null;
108 return (this.tasks_ && this.tasks_.length) || 0;
211 this.tasks_ = [];
284 this.tasks_.push(task);
289 if (!this.defaultTask_ && this.tasks_.length > 0) {
293 this.defaultTask_ = this.tasks_[0];
701 if (this.tasks_.length === 0) {
741 for (var index = 0; index < this.tasks_.length; index++) {
742 var task = this.tasks_[index]
    [all...]

Completed in 2710 milliseconds

1 2