Searched refs:rankings_ (Results 1 - 7 of 7) sorted by relevance

/external/chromium/net/disk_cache/
H A Deviction.cc76 rankings_ = &backend->rankings_;
115 Rankings::ScopedRankingsBlock node(rankings_);
116 Rankings::ScopedRankingsBlock next(rankings_,
117 rankings_->GetPrev(node.get(), Rankings::NO_USE));
124 next.reset(rankings_->GetPrev(node.get(), Rankings::NO_USE));
128 rankings_->TrackRankingsBlock(node.get(), false);
161 rankings_->UpdateRank(entry->rankings(), modified, GetListForEntry(entry));
173 rankings_->Insert(entry->rankings(), true, GetListForEntry(entry));
183 rankings_
[all...]
H A Dmem_backend_impl.cc97 rankings_.Remove(entry);
108 rankings_.UpdateRank(node);
123 rankings_.Insert(entry);
127 rankings_.Remove(entry);
216 rankings_.Insert(cache_entry);
245 MemEntryImpl* next = rankings_.GetNext(NULL);
247 // rankings_ is ordered by last used, this will descend through the cache
252 next = rankings_.GetNext(next);
267 Entry* entry = rankings_.GetNext(NULL);
278 MemEntryImpl* node = rankings_
[all...]
H A Drankings.h68 ScopedRankingsBlock() : rankings_(NULL) {}
69 explicit ScopedRankingsBlock(Rankings* rankings) : rankings_(rankings) {}
71 : scoped_ptr<CacheRankingsBlock>(node), rankings_(rankings) {}
74 rankings_->FreeRankingsBlock(get());
78 rankings_ = rankings;
84 rankings_->FreeRankingsBlock(get());
89 Rankings* rankings_; member in class:disk_cache::Rankings::ScopedRankingsBlock
H A Deviction.h73 Rankings* rankings_; member in class:disk_cache::Eviction
H A Dmem_backend_impl.h107 MemRankings rankings_; // Rankings to be able to trim the cache. member in class:disk_cache::MemBackendImpl
H A Dbackend_impl.cc506 // stats_ and rankings_ may end up calling back to us so we better be enabled.
511 disabled_ = !rankings_.Init(this, new_eviction_);
1240 int num_entries = rankings_.SelfCheck();
1491 rankings_.Reset();
1536 if (!rankings_.SanityCheck(cache_entry->rankings(), false)) {
1541 rankings_.SetContents(cache_entry->rankings(), 0);
1542 } else if (!rankings_.DataSanityCheck(cache_entry->rankings(), false)) {
1544 rankings_.SetContents(cache_entry->rankings(), address.value());
1680 iterator.reset(new Rankings::Iterator(&rankings_));
1752 Rankings::ScopedRankingsBlock rankings(&rankings_, *from_entr
[all...]
H A Dbackend_impl.h347 Rankings rankings_; // Rankings to be able to trim the cache. member in class:disk_cache::BackendImpl

Completed in 81 milliseconds