Home
last modified time | relevance | path

Searched refs:num_queued_jobs (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/base/
Dprioritized_dispatcher_unittest.cc58 size_t num_queued = dispatcher_->num_queued_jobs(); in Add()
68 EXPECT_EQ(num_queued, dispatcher_->num_queued_jobs()); in Add()
82 size_t num_queued = dispatcher_->num_queued_jobs(); in ChangePriority()
89 EXPECT_EQ(num_queued - 1, dispatcher_->num_queued_jobs()); in ChangePriority()
95 EXPECT_EQ(num_queued, dispatcher_->num_queued_jobs()); in ChangePriority()
103 size_t num_queued = dispatcher_->num_queued_jobs(); in Cancel()
107 EXPECT_EQ(num_queued - 1, dispatcher_->num_queued_jobs()); in Cancel()
159 EXPECT_EQ(0u, dispatcher_->num_queued_jobs()); in Expect()
295 EXPECT_EQ(3u, dispatcher_->num_queued_jobs()); in TEST_F()
420 EXPECT_EQ(3u, dispatcher_->num_queued_jobs()); in TEST_F()
[all …]
Dprioritized_dispatcher.h72 size_t num_queued_jobs() const { return queue_.size(); } in num_queued_jobs() function
/external/chromium_org/chrome/browser/chromeos/drive/
Djob_scheduler.cc185 size_t num_queued_jobs = 0; in ~JobScheduler() local
187 num_queued_jobs += queue_[i]->GetNumberOfJobs(); in ~JobScheduler()
188 DCHECK_EQ(num_queued_jobs, job_map_.size()); in ~JobScheduler()
/external/chromium_org/net/dns/
Dhost_resolver_impl.cc1854 DCHECK_EQ(0u, dispatcher_->num_queued_jobs()); in SetMaxQueuedJobs()
1902 if (dispatcher_->num_queued_jobs() > max_queued_jobs_) { in Resolve()