/external/chromium/net/disk_cache/ |
rankings.h | 64 // Rankings whenever a CacheRankingsBlock is deleted, to keep track of cache 66 class ScopedRankingsBlock : public scoped_ptr<CacheRankingsBlock> { 70 ScopedRankingsBlock(Rankings* rankings, CacheRankingsBlock* node) 71 : scoped_ptr<CacheRankingsBlock>(node), rankings_(rankings) {} 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) [all...] |
eviction.h | 53 bool EvictEntry(CacheRankingsBlock* node, bool empty, Rankings::List list); 66 bool RemoveDeletedNode(CacheRankingsBlock* node); 68 bool NodeIsOldEnough(CacheRankingsBlock* node, int list);
|
rankings.cc | 182 void UpdateTimes(disk_cache::CacheRankingsBlock* node, bool modified) { 235 void Rankings::Insert(CacheRankingsBlock* node, bool modified, List list) { 241 CacheRankingsBlock head(backend_->File(my_head), my_head); 305 void Rankings::Remove(CacheRankingsBlock* node, List list, bool strict) { 322 CacheRankingsBlock next(backend_->File(next_addr), next_addr); 323 CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr); 386 void Rankings::UpdateRank(CacheRankingsBlock* node, bool modified, List list) { 400 CacheRankingsBlock* Rankings::GetNext(CacheRankingsBlock* node, List list) { 406 next.reset(new CacheRankingsBlock(backend_->File(my_head), my_head)) [all...] |
storage_block.h | 88 typedef StorageBlock<RankingsNode> CacheRankingsBlock;
|
backend_impl.h | 124 void RecoveredEntry(CacheRankingsBlock* rankings); 144 EntryImpl* GetOpenEntry(CacheRankingsBlock* rankings) const; 300 CacheRankingsBlock** from_entry, 304 EntryImpl* GetEnumeratedEntry(CacheRankingsBlock* next, Rankings::List list);
|
entry_impl.h | 54 inline CacheRankingsBlock* rankings() { 247 CacheRankingsBlock node_; // Rankings related information for this entry.
|
eviction.cc | 259 bool Eviction::EvictEntry(CacheRankingsBlock* node, bool empty, 500 bool Eviction::RemoveDeletedNode(CacheRankingsBlock* node) { 514 bool Eviction::NodeIsOldEnough(CacheRankingsBlock* node, int list) {
|
backend_impl.cc | 896 void BackendImpl::RecoveredEntry(CacheRankingsBlock* rankings) { 965 EntryImpl* BackendImpl::GetOpenEntry(CacheRankingsBlock* rankings) const { [all...] |
entry_impl.cc | 776 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); 781 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); [all...] |
/external/chromium_org/net/disk_cache/ |
rankings.h | 22 typedef StorageBlock<RankingsNode> CacheRankingsBlock; 66 // Rankings whenever a CacheRankingsBlock is deleted, to keep track of cache 68 class ScopedRankingsBlock : public scoped_ptr<CacheRankingsBlock> { 72 ScopedRankingsBlock(Rankings* rankings, CacheRankingsBlock* node); 83 void reset(CacheRankingsBlock* p = NULL) { 86 scoped_ptr<CacheRankingsBlock>::reset(p); 101 CacheRankingsBlock* nodes[3]; // Nodes on the first three lists. 114 void Insert(CacheRankingsBlock* node, bool modified, List list); 121 void Remove(CacheRankingsBlock* node, List list, bool strict); 124 void UpdateRank(CacheRankingsBlock* node, bool modified, List list) [all...] |
eviction.h | 53 bool EvictEntry(CacheRankingsBlock* node, bool empty, Rankings::List list); 66 bool RemoveDeletedNode(CacheRankingsBlock* node); 68 bool NodeIsOldEnough(CacheRankingsBlock* node, int list);
|
rankings.cc | 182 void UpdateTimes(disk_cache::CacheRankingsBlock* node, bool modified) { 199 Rankings* rankings, CacheRankingsBlock* node) 200 : scoped_ptr<CacheRankingsBlock>(node), rankings_(rankings) {} 244 void Rankings::Insert(CacheRankingsBlock* node, bool modified, List list) { 250 CacheRankingsBlock head(backend_->File(my_head), my_head); 315 void Rankings::Remove(CacheRankingsBlock* node, List list, bool strict) { 333 CacheRankingsBlock next(backend_->File(next_addr), next_addr); 334 CacheRankingsBlock prev(backend_->File(prev_addr), prev_addr); 400 void Rankings::UpdateRank(CacheRankingsBlock* node, bool modified, List list) { 414 CacheRankingsBlock* Rankings::GetNext(CacheRankingsBlock* node, List list) [all...] |
backend_impl.h | 118 void RecoveredEntry(CacheRankingsBlock* rankings); 146 EntryImpl* GetOpenEntry(CacheRankingsBlock* rankings) const; 313 CacheRankingsBlock** from_entry, 317 EntryImpl* GetEnumeratedEntry(CacheRankingsBlock* next, Rankings::List list);
|
entry_impl.h | 21 typedef StorageBlock<RankingsNode> CacheRankingsBlock; 61 inline CacheRankingsBlock* rankings() { 258 CacheRankingsBlock node_; // Rankings related information for this entry.
|
eviction.cc | 282 bool Eviction::EvictEntry(CacheRankingsBlock* node, bool empty, 524 bool Eviction::RemoveDeletedNode(CacheRankingsBlock* node) { 538 bool Eviction::NodeIsOldEnough(CacheRankingsBlock* node, int list) {
|
backend_impl.cc | 713 void BackendImpl::RecoveredEntry(CacheRankingsBlock* rankings) { 823 EntryImpl* BackendImpl::GetOpenEntry(CacheRankingsBlock* rankings) const { [all...] |
entry_impl.cc | 792 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); 797 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); [all...] |
/external/chromium_org/net/disk_cache/v3/ |
eviction_v3.h | 46 bool EvictEntry(CacheRankingsBlock* node, bool empty, Rankings::List list); 51 bool NodeIsOldEnough(CacheRankingsBlock* node, int list);
|
backend_impl_v3.h | 87 EntryImpl* GetOpenEntry(CacheRankingsBlock* rankings) const;
|
entry_impl_v3.h | 203 CacheRankingsBlock node_; // Rankings related information for this entry.
|
eviction_v3.cc | 267 bool Eviction::EvictEntry(CacheRankingsBlock* node, bool empty, 443 bool Eviction::NodeIsOldEnough(CacheRankingsBlock* node, int list) {
|
entry_impl_v3.cc | 497 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); 502 CacheRankingsBlock* node = const_cast<CacheRankingsBlock*>(&node_); [all...] |
backend_impl_v3.cc | 246 EntryImpl* BackendImpl::GetOpenEntry(CacheRankingsBlock* rankings) const { [all...] |
/external/chromium/net/tools/dump_cache/ |
dump_files.cc | 221 disk_cache::CacheRankingsBlock rank_block(file, address);
|