Searched refs:Rankings (Results 1 – 13 of 13) sorted by relevance
/external/chromium/net/disk_cache/ |
D | eviction.cc | 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() 252 Rankings::List Eviction::GetListForEntry(EntryImpl* entry) { in GetListForEntry() 253 return Rankings::NO_USE; in GetListForEntry() 274 rankings_->Insert(entry->rankings(), true, Rankings::DELETED); in EvictEntry() 290 Rankings::ScopedRankingsBlock next[kListsToSearch]; in TrimCacheV2() 291 int list = Rankings::LAST_ELEMENT; in TrimCacheV2() 299 next[i].reset(rankings_->GetPrev(NULL, static_cast<Rankings::List>(i))); in TrimCacheV2() [all …]
|
D | rankings.h | 51 class Rankings { 69 explicit ScopedRankingsBlock(Rankings* rankings) : rankings_(rankings) {} in ScopedRankingsBlock() 70 ScopedRankingsBlock(Rankings* rankings, CacheRankingsBlock* node) in ScopedRankingsBlock() 77 void set_rankings(Rankings* rankings) { in set_rankings() 89 Rankings* rankings_; 96 explicit Iterator(Rankings* rankings); 101 Rankings* my_rankings; 104 Rankings(); 105 ~Rankings(); 198 DISALLOW_COPY_AND_ASSIGN(Rankings);
|
D | rankings.cc | 189 Rankings::Iterator::Iterator(Rankings* rankings) { in Iterator() 194 Rankings::Iterator::~Iterator() { in ~Iterator() 199 Rankings::Rankings() : init_(false) {} in Rankings() function in disk_cache::Rankings 201 Rankings::~Rankings() {} in ~Rankings() 203 bool Rankings::Init(BackendImpl* backend, bool count_lists) { in Init() 222 void Rankings::Reset() { in Reset() 231 void Rankings::Insert(CacheRankingsBlock* node, bool modified, List list) { in Insert() 301 void Rankings::Remove(CacheRankingsBlock* node, List list) { in Remove() 380 void Rankings::UpdateRank(CacheRankingsBlock* node, bool modified, List list) { in UpdateRank() 394 CacheRankingsBlock* Rankings::GetNext(CacheRankingsBlock* node, List list) { in GetNext() [all …]
|
D | eviction.h | 52 Rankings::List GetListForEntry(EntryImpl* entry); 64 Rankings::List GetListForEntryV2(EntryImpl* entry); 73 Rankings* rankings_;
|
D | backend_impl.cc | 662 scoped_ptr<Rankings::Iterator> iterator( in SyncEndEnumeration() 663 reinterpret_cast<Rankings::Iterator*>(iter)); in SyncEndEnumeration() 1251 data_->header.lru.sizes[Rankings::DELETED]; in GetEntryCount() 1651 scoped_ptr<Rankings::Iterator> iterator( in OpenFollowingEntry() 1652 reinterpret_cast<Rankings::Iterator*>(*iter)); in OpenFollowingEntry() 1656 iterator.reset(new Rankings::Iterator(&rankings_)); in OpenFollowingEntry() 1662 ret |= OpenFollowingEntryFromList(forward, static_cast<Rankings::List>(i), in OpenFollowingEntry() 1708 iterator->list = static_cast<Rankings::List>(newest); in OpenFollowingEntry() 1711 iterator->list = static_cast<Rankings::List>(oldest); in OpenFollowingEntry() 1718 bool BackendImpl::OpenFollowingEntryFromList(bool forward, Rankings::List list, in OpenFollowingEntryFromList() [all …]
|
D | backend_impl.h | 299 bool OpenFollowingEntryFromList(bool forward, Rankings::List list, 347 Rankings rankings_; // Rankings to be able to trim the cache.
|
/external/chromium/net/data/cache_tests/bad_rankings3/ |
D | contents.txt | 25 Rankings at 0x90000000 42 Rankings at 0x90000001 59 Rankings at 0x90000002 90 rankings_->Remove(entry->rankings(), Rankings::NO_USE); 91 rankings_->Insert(entry->rankings(), false, Rankings::LOW_USE);
|
/external/chromium/net/data/cache_tests/list_loop3/ |
D | contents.txt | 127 Rankings at 0x90000000 155 Rankings at 0x90000001 183 Rankings at 0x90000002 211 Rankings at 0x90000003 239 Rankings at 0x90000004
|
/external/chromium/net/data/cache_tests/dirty_entry4/ |
D | contents.txt | 127 Rankings at 0x90000001 155 Rankings at 0x90000002
|
/external/chromium/net/data/cache_tests/dirty_entry3/ |
D | contents.txt | 127 Rankings at 0x90000001 155 Rankings at 0x90000002
|
/external/chromium/net/data/cache_tests/list_loop2/ |
D | contents.txt | 127 Rankings at 0x90000001
|
/external/chromium/net/data/cache_tests/dirty_entry5/ |
D | contents.txt | 127 Rankings at 0x90000000
|
/external/chromium/net/data/cache_tests/list_loop/ |
D | contents.txt | 228 * break on Rankings::Remove() and edit the values before they are saved.
|