/external/chromium/net/disk_cache/ |
eviction.cc | 76 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_->Remove(entry->rankings(), GetListForEntry(entry), true) [all...] |
mem_backend_impl.cc | 97 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_.GetNext(current) [all...] |
rankings.h | 68 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
|
eviction.h | 73 Rankings* rankings_; member in class:disk_cache::Eviction
|
mem_backend_impl.h | 107 MemRankings rankings_; // Rankings to be able to trim the cache. member in class:disk_cache::MemBackendImpl
|
backend_impl.cc | 506 // stats_ and rankings_ may end up calling back to us so we better be enabled. 511 disabled_ = !rankings_.Init(this, new_eviction_); [all...] |
backend_impl.h | 347 Rankings rankings_; // Rankings to be able to trim the cache. member in class:disk_cache::BackendImpl
|