Home
last modified time | relevance | path

Searched refs:rankings_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium/net/disk_cache/
Deviction.cc76 rankings_ = &backend->rankings_; in Init()
115 Rankings::ScopedRankingsBlock node(rankings_); in TrimCache()
116 Rankings::ScopedRankingsBlock next(rankings_, in TrimCache()
117 rankings_->GetPrev(node.get(), Rankings::NO_USE)); in TrimCache()
124 next.reset(rankings_->GetPrev(node.get(), Rankings::NO_USE)); in TrimCache()
128 rankings_->TrackRankingsBlock(node.get(), false); in TrimCache()
161 rankings_->UpdateRank(entry->rankings(), modified, GetListForEntry(entry)); in UpdateRank()
173 rankings_->Insert(entry->rankings(), true, GetListForEntry(entry)); in OnCreateEntry()
183 rankings_->Remove(entry->rankings(), GetListForEntry(entry), true); in OnDoomEntry()
275 rankings_->Remove(entry->rankings(), GetListForEntryV2(entry), true); in EvictEntry()
[all …]
Dmem_backend_impl.cc97 rankings_.Remove(entry); in InternalDoomEntry()
108 rankings_.UpdateRank(node); in UpdateRank()
123 rankings_.Insert(entry); in InsertIntoRankingList()
127 rankings_.Remove(entry); in RemoveFromRankingList()
216 rankings_.Insert(cache_entry); in CreateEntry()
245 MemEntryImpl* next = rankings_.GetNext(NULL); in DoomEntriesBetween()
252 next = rankings_.GetNext(next); in DoomEntriesBetween()
267 Entry* entry = rankings_.GetNext(NULL); in DoomEntriesSince()
278 MemEntryImpl* node = rankings_.GetNext(current); in OpenNextEntry()
282 node = rankings_.GetNext(node); in OpenNextEntry()
[all …]
Drankings.h68 ScopedRankingsBlock() : rankings_(NULL) {} in ScopedRankingsBlock()
69 explicit ScopedRankingsBlock(Rankings* rankings) : rankings_(rankings) {} in ScopedRankingsBlock()
71 : scoped_ptr<CacheRankingsBlock>(node), rankings_(rankings) {} in ScopedRankingsBlock()
74 rankings_->FreeRankingsBlock(get()); in ~ScopedRankingsBlock()
78 rankings_ = rankings; in set_rankings()
84 rankings_->FreeRankingsBlock(get());
89 Rankings* rankings_;
Dbackend_impl.cc511 disabled_ = !rankings_.Init(this, new_eviction_); in SyncInit()
1240 int num_entries = rankings_.SelfCheck(); in SelfCheck()
1491 rankings_.Reset(); in PrepareForRestart()
1536 if (!rankings_.SanityCheck(cache_entry->rankings(), false)) { in NewEntry()
1541 rankings_.SetContents(cache_entry->rankings(), 0); in NewEntry()
1542 } else if (!rankings_.DataSanityCheck(cache_entry->rankings(), false)) { in NewEntry()
1544 rankings_.SetContents(cache_entry->rankings(), address.value()); in NewEntry()
1680 iterator.reset(new Rankings::Iterator(&rankings_)); in OpenFollowingEntry()
1752 Rankings::ScopedRankingsBlock rankings(&rankings_, *from_entry); in OpenFollowingEntryFromList()
1754 rankings_.GetNext(rankings.get(), list) : in OpenFollowingEntryFromList()
[all …]
Deviction.h73 Rankings* rankings_; variable
Dmem_backend_impl.h107 MemRankings rankings_; // Rankings to be able to trim the cache. variable
Dbackend_impl.h347 Rankings rankings_; // Rankings to be able to trim the cache. variable
/external/chromium/net/data/cache_tests/bad_rankings3/
Dcontents.txt90 rankings_->Remove(entry->rankings(), Rankings::NO_USE);
91 rankings_->Insert(entry->rankings(), false, Rankings::LOW_USE);