Rankings 279 chrome/browser/autocomplete/bookmark_provider_unittest.cc TEST_F(BookmarkProviderTest, Rankings) { Rankings 449 net/disk_cache/blockfile/backend_impl.cc scoped_ptr<Rankings::Iterator> iterator( Rankings 450 net/disk_cache/blockfile/backend_impl.cc reinterpret_cast<Rankings::Iterator*>(iter)); Rankings 1142 net/disk_cache/blockfile/backend_impl.cc data_->header.lru.sizes[Rankings::DELETED]; Rankings 1623 net/disk_cache/blockfile/backend_impl.cc scoped_ptr<Rankings::Iterator> iterator( Rankings 1624 net/disk_cache/blockfile/backend_impl.cc reinterpret_cast<Rankings::Iterator*>(*iter)); Rankings 1628 net/disk_cache/blockfile/backend_impl.cc iterator.reset(new Rankings::Iterator(&rankings_)); Rankings 1634 net/disk_cache/blockfile/backend_impl.cc ret |= OpenFollowingEntryFromList(forward, static_cast<Rankings::List>(i), Rankings 1650 net/disk_cache/blockfile/backend_impl.cc static_cast<Rankings::List>(i)); Rankings 1681 net/disk_cache/blockfile/backend_impl.cc iterator->list = static_cast<Rankings::List>(newest); Rankings 1684 net/disk_cache/blockfile/backend_impl.cc iterator->list = static_cast<Rankings::List>(oldest); Rankings 1692 net/disk_cache/blockfile/backend_impl.cc bool BackendImpl::OpenFollowingEntryFromList(bool forward, Rankings::List list, Rankings 1698 net/disk_cache/blockfile/backend_impl.cc if (!new_eviction_ && Rankings::NO_USE != list) Rankings 1701 net/disk_cache/blockfile/backend_impl.cc Rankings::ScopedRankingsBlock rankings(&rankings_, *from_entry); Rankings 1705 net/disk_cache/blockfile/backend_impl.cc Rankings::ScopedRankingsBlock next(&rankings_, next_block); Rankings 1717 net/disk_cache/blockfile/backend_impl.cc Rankings::List list) { Rankings 1955 net/disk_cache/blockfile/backend_impl.cc data_->header.lru.sizes[Rankings::NO_USE] = data_->header.num_entries; Rankings 315 net/disk_cache/blockfile/backend_impl.h bool OpenFollowingEntryFromList(bool forward, Rankings::List list, Rankings 320 net/disk_cache/blockfile/backend_impl.h EntryImpl* GetEnumeratedEntry(CacheRankingsBlock* next, Rankings::List list); Rankings 363 net/disk_cache/blockfile/backend_impl.h Rankings rankings_; // Rankings to be able to trim the cache. Rankings 975 net/disk_cache/blockfile/backend_impl_v3.cc scoped_ptr<Rankings::Iterator> iterator( Rankings 976 net/disk_cache/blockfile/backend_impl_v3.cc reinterpret_cast<Rankings::Iterator*>(*iter)); Rankings 980 net/disk_cache/blockfile/backend_impl_v3.cc iterator.reset(new Rankings::Iterator(&rankings_)); Rankings 986 net/disk_cache/blockfile/backend_impl_v3.cc ret |= OpenFollowingEntryFromList(forward, static_cast<Rankings::List>(i), Rankings 1002 net/disk_cache/blockfile/backend_impl_v3.cc static_cast<Rankings::List>(i)); Rankings 1033 net/disk_cache/blockfile/backend_impl_v3.cc iterator->list = static_cast<Rankings::List>(newest); Rankings 1036 net/disk_cache/blockfile/backend_impl_v3.cc iterator->list = static_cast<Rankings::List>(oldest); Rankings 126 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock node(rankings_); Rankings 127 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock next( Rankings 128 net/disk_cache/blockfile/eviction.cc rankings_, rankings_->GetPrev(node.get(), Rankings::NO_USE)); Rankings 136 net/disk_cache/blockfile/eviction.cc next.reset(rankings_->GetPrev(node.get(), Rankings::NO_USE)); Rankings 141 net/disk_cache/blockfile/eviction.cc if (EvictEntry(node.get(), empty, Rankings::NO_USE) && !test_mode_) Rankings 250 net/disk_cache/blockfile/eviction.cc return (!test_mode_ && header_->lru.sizes[Rankings::DELETED] > max_length); Rankings 281 net/disk_cache/blockfile/eviction.cc Rankings::List Eviction::GetListForEntry(EntryImpl* entry) { Rankings 282 net/disk_cache/blockfile/eviction.cc return Rankings::NO_USE; Rankings 286 net/disk_cache/blockfile/eviction.cc Rankings::List list) { Rankings 304 net/disk_cache/blockfile/eviction.cc rankings_->Insert(entry->rankings(), true, Rankings::DELETED); Rankings 322 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock next[kListsToSearch]; Rankings 323 net/disk_cache/blockfile/eviction.cc int list = Rankings::LAST_ELEMENT; Rankings 331 net/disk_cache/blockfile/eviction.cc next[i].reset(rankings_->GetPrev(NULL, static_cast<Rankings::List>(i))); Rankings 333 net/disk_cache/blockfile/eviction.cc list = static_cast<Rankings::List>(i); Rankings 339 net/disk_cache/blockfile/eviction.cc if (!empty && Rankings::LAST_ELEMENT == list) Rankings 345 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock node(rankings_); Rankings 357 net/disk_cache/blockfile/eviction.cc static_cast<Rankings::List>(list))); Rankings 362 net/disk_cache/blockfile/eviction.cc if (EvictEntry(node.get(), empty, static_cast<Rankings::List>(list))) Rankings 414 net/disk_cache/blockfile/eviction.cc rankings_->Remove(entry->rankings(), Rankings::NO_USE, true); Rankings 415 net/disk_cache/blockfile/eviction.cc rankings_->Insert(entry->rankings(), false, Rankings::LOW_USE); Rankings 418 net/disk_cache/blockfile/eviction.cc rankings_->Remove(entry->rankings(), Rankings::LOW_USE, true); Rankings 419 net/disk_cache/blockfile/eviction.cc rankings_->Insert(entry->rankings(), false, Rankings::HIGH_USE); Rankings 444 net/disk_cache/blockfile/eviction.cc rankings_->Remove(entry->rankings(), Rankings::DELETED, true); Rankings 469 net/disk_cache/blockfile/eviction.cc rankings_->Insert(entry->rankings(), true, Rankings::DELETED); Rankings 476 net/disk_cache/blockfile/eviction.cc rankings_->Remove(entry->rankings(), Rankings::DELETED, true); Rankings 479 net/disk_cache/blockfile/eviction.cc Rankings::List Eviction::GetListForEntryV2(EntryImpl* entry) { Rankings 484 net/disk_cache/blockfile/eviction.cc return Rankings::NO_USE; Rankings 487 net/disk_cache/blockfile/eviction.cc return Rankings::LOW_USE; Rankings 489 net/disk_cache/blockfile/eviction.cc return Rankings::HIGH_USE; Rankings 500 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock node(rankings_); Rankings 501 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock next( Rankings 502 net/disk_cache/blockfile/eviction.cc rankings_, rankings_->GetPrev(node.get(), Rankings::DELETED)); Rankings 508 net/disk_cache/blockfile/eviction.cc next.reset(rankings_->GetPrev(node.get(), Rankings::DELETED)); Rankings 528 net/disk_cache/blockfile/eviction.cc EntryImpl* entry = backend_->GetEnumeratedEntry(node, Rankings::DELETED); Rankings 553 net/disk_cache/blockfile/eviction.cc int Eviction::SelectListByLength(Rankings::ScopedRankingsBlock* next) { Rankings 555 net/disk_cache/blockfile/eviction.cc header_->lru.sizes[Rankings::DELETED]; Rankings 577 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock last1(rankings_, Rankings 578 net/disk_cache/blockfile/eviction.cc rankings_->GetPrev(NULL, Rankings::NO_USE)); Rankings 579 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock last2(rankings_, Rankings 580 net/disk_cache/blockfile/eviction.cc rankings_->GetPrev(NULL, Rankings::LOW_USE)); Rankings 581 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock last3(rankings_, Rankings 582 net/disk_cache/blockfile/eviction.cc rankings_->GetPrev(NULL, Rankings::HIGH_USE)); Rankings 583 net/disk_cache/blockfile/eviction.cc Rankings::ScopedRankingsBlock last4(rankings_, Rankings 584 net/disk_cache/blockfile/eviction.cc rankings_->GetPrev(NULL, Rankings::DELETED)); Rankings 52 net/disk_cache/blockfile/eviction.h Rankings::List GetListForEntry(EntryImpl* entry); Rankings 53 net/disk_cache/blockfile/eviction.h bool EvictEntry(CacheRankingsBlock* node, bool empty, Rankings::List list); Rankings 64 net/disk_cache/blockfile/eviction.h Rankings::List GetListForEntryV2(EntryImpl* entry); Rankings 69 net/disk_cache/blockfile/eviction.h int SelectListByLength(Rankings::ScopedRankingsBlock* next); Rankings 73 net/disk_cache/blockfile/eviction.h Rankings* rankings_; Rankings 131 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock node(rankings_); Rankings 132 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock next( Rankings 133 net/disk_cache/blockfile/eviction_v3.cc rankings_, rankings_->GetPrev(node.get(), Rankings::NO_USE)); Rankings 141 net/disk_cache/blockfile/eviction_v3.cc next.reset(rankings_->GetPrev(node.get(), Rankings::NO_USE)); Rankings 146 net/disk_cache/blockfile/eviction_v3.cc if (EvictEntry(node.get(), empty, Rankings::NO_USE) && !test_mode_) Rankings 183 net/disk_cache/blockfile/eviction_v3.cc rankings_->Remove(entry->rankings(), Rankings::NO_USE, true); Rankings 184 net/disk_cache/blockfile/eviction_v3.cc rankings_->Insert(entry->rankings(), false, Rankings::LOW_USE); Rankings 187 net/disk_cache/blockfile/eviction_v3.cc rankings_->Remove(entry->rankings(), Rankings::LOW_USE, true); Rankings 188 net/disk_cache/blockfile/eviction_v3.cc rankings_->Insert(entry->rankings(), false, Rankings::HIGH_USE); Rankings 213 net/disk_cache/blockfile/eviction_v3.cc rankings_->Remove(entry->rankings(), Rankings::DELETED, true); Rankings 273 net/disk_cache/blockfile/eviction_v3.cc return (!test_mode_ && header_->lru.sizes[Rankings::DELETED] > max_length); Rankings 277 net/disk_cache/blockfile/eviction_v3.cc Rankings::List list) { Rankings 295 net/disk_cache/blockfile/eviction_v3.cc rankings_->Insert(entry->rankings(), true, Rankings::DELETED); Rankings 311 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock next[kListsToSearch]; Rankings 312 net/disk_cache/blockfile/eviction_v3.cc int list = Rankings::LAST_ELEMENT; Rankings 320 net/disk_cache/blockfile/eviction_v3.cc next[i].reset(rankings_->GetPrev(NULL, static_cast<Rankings::List>(i))); Rankings 322 net/disk_cache/blockfile/eviction_v3.cc list = static_cast<Rankings::List>(i); Rankings 328 net/disk_cache/blockfile/eviction_v3.cc if (!empty && Rankings::LAST_ELEMENT == list) Rankings 334 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock node(rankings_); Rankings 346 net/disk_cache/blockfile/eviction_v3.cc static_cast<Rankings::List>(list))); Rankings 351 net/disk_cache/blockfile/eviction_v3.cc if (EvictEntry(node.get(), empty, static_cast<Rankings::List>(list))) Rankings 397 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock node(rankings_); Rankings 398 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock next( Rankings 399 net/disk_cache/blockfile/eviction_v3.cc rankings_, rankings_->GetPrev(node.get(), Rankings::DELETED)); Rankings 405 net/disk_cache/blockfile/eviction_v3.cc next.reset(rankings_->GetPrev(node.get(), Rankings::DELETED)); Rankings 464 net/disk_cache/blockfile/eviction_v3.cc int EvictionV3::SelectListByLength(Rankings::ScopedRankingsBlock* next) { Rankings 466 net/disk_cache/blockfile/eviction_v3.cc header_->lru.sizes[Rankings::DELETED]; Rankings 488 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock last1(rankings_, Rankings 489 net/disk_cache/blockfile/eviction_v3.cc rankings_->GetPrev(NULL, Rankings::NO_USE)); Rankings 490 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock last2(rankings_, Rankings 491 net/disk_cache/blockfile/eviction_v3.cc rankings_->GetPrev(NULL, Rankings::LOW_USE)); Rankings 492 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock last3(rankings_, Rankings 493 net/disk_cache/blockfile/eviction_v3.cc rankings_->GetPrev(NULL, Rankings::HIGH_USE)); Rankings 494 net/disk_cache/blockfile/eviction_v3.cc Rankings::ScopedRankingsBlock last4(rankings_, Rankings 495 net/disk_cache/blockfile/eviction_v3.cc rankings_->GetPrev(NULL, Rankings::DELETED)); Rankings 19 net/disk_cache/blockfile/eviction_v3.h namespace Rankings { Rankings 51 net/disk_cache/blockfile/eviction_v3.h bool EvictEntry(CacheRankingsBlock* node, bool empty, Rankings::List list); Rankings 196 net/disk_cache/blockfile/rankings.cc Rankings::ScopedRankingsBlock::ScopedRankingsBlock() : rankings_(NULL) {} Rankings 198 net/disk_cache/blockfile/rankings.cc Rankings::ScopedRankingsBlock::ScopedRankingsBlock(Rankings* rankings) Rankings 201 net/disk_cache/blockfile/rankings.cc Rankings::ScopedRankingsBlock::ScopedRankingsBlock( Rankings 202 net/disk_cache/blockfile/rankings.cc Rankings* rankings, CacheRankingsBlock* node) Rankings 205 net/disk_cache/blockfile/rankings.cc Rankings::Iterator::Iterator(Rankings* rankings) { Rankings 210 net/disk_cache/blockfile/rankings.cc Rankings::Iterator::~Iterator() { Rankings 215 net/disk_cache/blockfile/rankings.cc Rankings::Rankings() : init_(false) {} Rankings 217 net/disk_cache/blockfile/rankings.cc Rankings::~Rankings() {} Rankings 219 net/disk_cache/blockfile/rankings.cc bool Rankings::Init(BackendImpl* backend, bool count_lists) { Rankings 238 net/disk_cache/blockfile/rankings.cc void Rankings::Reset() { Rankings 247 net/disk_cache/blockfile/rankings.cc void Rankings::Insert(CacheRankingsBlock* node, bool modified, List list) { Rankings 318 net/disk_cache/blockfile/rankings.cc void Rankings::Remove(CacheRankingsBlock* node, List list, bool strict) { Rankings 403 net/disk_cache/blockfile/rankings.cc void Rankings::UpdateRank(CacheRankingsBlock* node, bool modified, List list) { Rankings 417 net/disk_cache/blockfile/rankings.cc CacheRankingsBlock* Rankings::GetNext(CacheRankingsBlock* node, List list) { Rankings 450 net/disk_cache/blockfile/rankings.cc CacheRankingsBlock* Rankings::GetPrev(CacheRankingsBlock* node, List list) { Rankings 483 net/disk_cache/blockfile/rankings.cc void Rankings::FreeRankingsBlock(CacheRankingsBlock* node) { Rankings 487 net/disk_cache/blockfile/rankings.cc void Rankings::TrackRankingsBlock(CacheRankingsBlock* node, Rankings 500 net/disk_cache/blockfile/rankings.cc int Rankings::SelfCheck() { Rankings 514 net/disk_cache/blockfile/rankings.cc bool Rankings::SanityCheck(CacheRankingsBlock* node, bool from_list) const { Rankings 546 net/disk_cache/blockfile/rankings.cc bool Rankings::DataSanityCheck(CacheRankingsBlock* node, bool from_list) const { Rankings 558 net/disk_cache/blockfile/rankings.cc void Rankings::SetContents(CacheRankingsBlock* node, CacheAddr address) { Rankings 563 net/disk_cache/blockfile/rankings.cc void Rankings::ReadHeads() { Rankings 568 net/disk_cache/blockfile/rankings.cc void Rankings::ReadTails() { Rankings 573 net/disk_cache/blockfile/rankings.cc void Rankings::WriteHead(List list) { Rankings 577 net/disk_cache/blockfile/rankings.cc void Rankings::WriteTail(List list) { Rankings 581 net/disk_cache/blockfile/rankings.cc bool Rankings::GetRanking(CacheRankingsBlock* rankings) { Rankings 622 net/disk_cache/blockfile/rankings.cc void Rankings::ConvertToLongLived(CacheRankingsBlock* rankings) { Rankings 635 net/disk_cache/blockfile/rankings.cc void Rankings::CompleteTransaction() { Rankings 669 net/disk_cache/blockfile/rankings.cc void Rankings::FinishInsert(CacheRankingsBlock* node) { Rankings 687 net/disk_cache/blockfile/rankings.cc void Rankings::RevertRemove(CacheRankingsBlock* node) { Rankings 745 net/disk_cache/blockfile/rankings.cc bool Rankings::CheckLinks(CacheRankingsBlock* node, CacheRankingsBlock* prev, Rankings 786 net/disk_cache/blockfile/rankings.cc bool Rankings::CheckSingleLink(CacheRankingsBlock* prev, Rankings 799 net/disk_cache/blockfile/rankings.cc int Rankings::CheckList(List list) { Rankings 813 net/disk_cache/blockfile/rankings.cc int Rankings::CheckListSection(List list, Addr end1, Addr end2, bool forward, Rankings 858 net/disk_cache/blockfile/rankings.cc bool Rankings::IsHead(CacheAddr addr, List* list) const { Rankings 870 net/disk_cache/blockfile/rankings.cc bool Rankings::IsTail(CacheAddr addr, List* list) const { Rankings 885 net/disk_cache/blockfile/rankings.cc void Rankings::UpdateIterators(CacheRankingsBlock* node) { Rankings 896 net/disk_cache/blockfile/rankings.cc void Rankings::InvalidateIterators(CacheRankingsBlock* node) { Rankings 907 net/disk_cache/blockfile/rankings.cc void Rankings::IncrementCounter(List list) { Rankings 916 net/disk_cache/blockfile/rankings.cc void Rankings::DecrementCounter(List list) { Rankings 53 net/disk_cache/blockfile/rankings.h class Rankings { Rankings 71 net/disk_cache/blockfile/rankings.h explicit ScopedRankingsBlock(Rankings* rankings); Rankings 72 net/disk_cache/blockfile/rankings.h ScopedRankingsBlock(Rankings* rankings, CacheRankingsBlock* node); Rankings 78 net/disk_cache/blockfile/rankings.h void set_rankings(Rankings* rankings) { Rankings 90 net/disk_cache/blockfile/rankings.h Rankings* rankings_; Rankings 97 net/disk_cache/blockfile/rankings.h explicit Iterator(Rankings* rankings); Rankings 102 net/disk_cache/blockfile/rankings.h Rankings* my_rankings; Rankings 105 net/disk_cache/blockfile/rankings.h Rankings(); Rankings 106 net/disk_cache/blockfile/rankings.h ~Rankings(); Rankings 209 net/disk_cache/blockfile/rankings.h DISALLOW_COPY_AND_ASSIGN(Rankings);