Home
last modified time | relevance | path

Searched refs:ScopedRankingsBlock (Results 1 – 5 of 5) sorted by relevance

/external/cronet/net/disk_cache/blockfile/
Drankings.h70 class ScopedRankingsBlock : public std::unique_ptr<CacheRankingsBlock> {
72 ScopedRankingsBlock();
73 explicit ScopedRankingsBlock(Rankings* rankings);
74 ScopedRankingsBlock(Rankings* rankings, CacheRankingsBlock* node);
76 ScopedRankingsBlock(const ScopedRankingsBlock&) = delete;
77 ScopedRankingsBlock& operator=(const ScopedRankingsBlock&) = delete;
79 ~ScopedRankingsBlock() { in ~ScopedRankingsBlock()
Deviction.cc128 Rankings::ScopedRankingsBlock node(rankings_); in TrimCache()
129 Rankings::ScopedRankingsBlock next( in TrimCache()
319 Rankings::ScopedRankingsBlock next[kListsToSearch]; in TrimCacheV2()
342 Rankings::ScopedRankingsBlock node(rankings_); in TrimCacheV2()
497 Rankings::ScopedRankingsBlock node(rankings_); in TrimDeleted()
498 Rankings::ScopedRankingsBlock next( in TrimDeleted()
547 int Eviction::SelectListByLength(Rankings::ScopedRankingsBlock* next) { in SelectListByLength()
571 Rankings::ScopedRankingsBlock last1( in ReportListStats()
573 Rankings::ScopedRankingsBlock last2( in ReportListStats()
575 Rankings::ScopedRankingsBlock last3( in ReportListStats()
[all …]
Drankings.cc200 Rankings::ScopedRankingsBlock::ScopedRankingsBlock() : rankings_(nullptr) {} in ScopedRankingsBlock() function in disk_cache::Rankings::ScopedRankingsBlock
202 Rankings::ScopedRankingsBlock::ScopedRankingsBlock(Rankings* rankings) in ScopedRankingsBlock() function in disk_cache::Rankings::ScopedRankingsBlock
205 Rankings::ScopedRankingsBlock::ScopedRankingsBlock(Rankings* rankings, in ScopedRankingsBlock() function in disk_cache::Rankings::ScopedRankingsBlock
214 ScopedRankingsBlock(my_rankings, node); in Reset()
425 ScopedRankingsBlock next(this); in GetNext()
458 ScopedRankingsBlock prev(this); in GetPrev()
Deviction.h73 int SelectListByLength(Rankings::ScopedRankingsBlock* next);
Dbackend_impl.cc1741 Rankings::ScopedRankingsBlock rankings(&rankings_, *from_entry); in OpenFollowingEntryFromList()
1743 Rankings::ScopedRankingsBlock next(&rankings_, next_block); in OpenFollowingEntryFromList()