Home
last modified time | relevance | path

Searched refs:CacheRankingsBlock (Results 1 – 10 of 10) sorted by relevance

/external/chromium/net/disk_cache/
Drankings.h66 class ScopedRankingsBlock : public scoped_ptr<CacheRankingsBlock> {
70 ScopedRankingsBlock(Rankings* rankings, CacheRankingsBlock* node) in ScopedRankingsBlock()
71 : scoped_ptr<CacheRankingsBlock>(node), rankings_(rankings) {} in ScopedRankingsBlock()
82 void reset(CacheRankingsBlock* p = NULL) {
85 scoped_ptr<CacheRankingsBlock>::reset(p);
100 CacheRankingsBlock* nodes[3]; // Nodes on the first three lists.
113 void Insert(CacheRankingsBlock* node, bool modified, List list);
120 void Remove(CacheRankingsBlock* node, List list, bool strict);
123 void UpdateRank(CacheRankingsBlock* node, bool modified, List list);
126 CacheRankingsBlock* GetNext(CacheRankingsBlock* node, List list);
[all …]
Drankings.cc182 void UpdateTimes(disk_cache::CacheRankingsBlock* node, bool modified) { in UpdateTimes()
235 void Rankings::Insert(CacheRankingsBlock* node, bool modified, List list) { in Insert()
241 CacheRankingsBlock head(backend_->File(my_head), my_head); in Insert()
305 void Rankings::Remove(CacheRankingsBlock* node, List list, bool strict) { in Remove()
322 CacheRankingsBlock next(backend_->File(next_addr), next_addr); in Remove()
323 CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr); in Remove()
386 void Rankings::UpdateRank(CacheRankingsBlock* node, bool modified, List list) { in UpdateRank()
400 CacheRankingsBlock* Rankings::GetNext(CacheRankingsBlock* node, List list) { in GetNext()
406 next.reset(new CacheRankingsBlock(backend_->File(my_head), my_head)); in GetNext()
418 next.reset(new CacheRankingsBlock(backend_->File(address), address)); in GetNext()
[all …]
Deviction.h53 bool EvictEntry(CacheRankingsBlock* node, bool empty, Rankings::List list);
66 bool RemoveDeletedNode(CacheRankingsBlock* node);
68 bool NodeIsOldEnough(CacheRankingsBlock* node, int list);
Dbackend_impl.h124 void RecoveredEntry(CacheRankingsBlock* rankings);
144 EntryImpl* GetOpenEntry(CacheRankingsBlock* rankings) const;
300 CacheRankingsBlock** from_entry,
304 EntryImpl* GetEnumeratedEntry(CacheRankingsBlock* next, Rankings::List list);
Dstorage_block.h88 typedef StorageBlock<RankingsNode> CacheRankingsBlock; typedef
Dentry_impl.h54 inline CacheRankingsBlock* rankings() { in rankings()
247 CacheRankingsBlock node_; // Rankings related information for this entry.
Deviction.cc259 bool Eviction::EvictEntry(CacheRankingsBlock* node, bool empty, in EvictEntry()
500 bool Eviction::RemoveDeletedNode(CacheRankingsBlock* node) { in RemoveDeletedNode()
514 bool Eviction::NodeIsOldEnough(CacheRankingsBlock* node, int list) { in NodeIsOldEnough()
Dentry_impl.cc776 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); in GetLastUsed()
781 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); in GetLastModified()
Dbackend_impl.cc896 void BackendImpl::RecoveredEntry(CacheRankingsBlock* rankings) { in RecoveredEntry()
965 EntryImpl* BackendImpl::GetOpenEntry(CacheRankingsBlock* rankings) const { in GetOpenEntry()
1750 CacheRankingsBlock** from_entry, in OpenFollowingEntryFromList()
1759 CacheRankingsBlock* next_block = forward ? in OpenFollowingEntryFromList()
1773 EntryImpl* BackendImpl::GetEnumeratedEntry(CacheRankingsBlock* next, in GetEnumeratedEntry()
/external/chromium/net/tools/dump_cache/
Ddump_files.cc221 disk_cache::CacheRankingsBlock rank_block(file, address); in LoadRankings()