Searched refs:rankings (Results 1 - 25 of 25) sorted by relevance

/external/chromium_org/net/disk_cache/blockfile/
H A Drankings.h71 explicit ScopedRankingsBlock(Rankings* rankings);
72 ScopedRankingsBlock(Rankings* rankings, CacheRankingsBlock* node);
78 void set_rankings(Rankings* rankings) { argument
79 rankings_ = rankings;
155 // Gets the rankings information for a given rankings node. We may end up
157 // reference to that entry, so |rankings| must be short lived.
158 bool GetRanking(CacheRankingsBlock* rankings);
160 // Makes |rankings| suitable to live a long life.
161 void ConvertToLongLived(CacheRankingsBlock* rankings);
[all...]
H A Deviction.cc173 rankings_->UpdateRank(entry->rankings(), modified, GetListForEntry(entry));
185 rankings_->Insert(entry->rankings(), true, GetListForEntry(entry));
195 rankings_->Remove(entry->rankings(), GetListForEntry(entry), true);
303 rankings_->Remove(entry->rankings(), GetListForEntryV2(entry), true);
306 rankings_->Insert(entry->rankings(), true, Rankings::DELETED);
403 rankings_->UpdateRank(entry->rankings(), modified, GetListForEntryV2(entry));
416 rankings_->Remove(entry->rankings(), Rankings::NO_USE, true);
417 rankings_->Insert(entry->rankings(), false, Rankings::LOW_USE);
420 rankings_->Remove(entry->rankings(), Rankings::LOW_USE, true);
421 rankings_->Insert(entry->rankings(), fals
[all...]
H A Drankings.cc5 #include "net/disk_cache/blockfile/rankings.h"
33 // This class provides a simple lock for the LRU list of rankings. Whenever an
198 Rankings::ScopedRankingsBlock::ScopedRankingsBlock(Rankings* rankings) argument
199 : rankings_(rankings) {}
202 Rankings* rankings, CacheRankingsBlock* node)
203 : scoped_ptr<CacheRankingsBlock>(node), rankings_(rankings) {}
332 LOG(ERROR) << "Invalid rankings info.";
583 bool Rankings::GetRanking(CacheRankingsBlock* rankings) { argument
584 if (!rankings->address().is_initialized())
588 if (!rankings
201 ScopedRankingsBlock( Rankings* rankings, CacheRankingsBlock* node) argument
624 ConvertToLongLived(CacheRankingsBlock* rankings) argument
[all...]
H A Deviction_v3.cc183 rankings_->Remove(entry->rankings(), Rankings::NO_USE, true);
184 rankings_->Insert(entry->rankings(), false, Rankings::LOW_USE);
187 rankings_->Remove(entry->rankings(), Rankings::LOW_USE, true);
188 rankings_->Insert(entry->rankings(), false, Rankings::HIGH_USE);
213 rankings_->Remove(entry->rankings(), Rankings::DELETED, true);
220 rankings_->Insert(entry->rankings(), true, GetListForEntryV2(entry));
292 rankings_->Remove(entry->rankings(), GetListForEntryV2(entry), true);
295 rankings_->Insert(entry->rankings(), true, Rankings::DELETED);
H A Dbackend_impl.h17 #include "net/disk_cache/blockfile/rankings.h"
120 void RecoveredEntry(CacheRankingsBlock* rankings);
145 // If the data stored by the provided |rankings| points to an open entry,
148 EntryImpl* GetOpenEntry(CacheRankingsBlock* rankings) const;
387 bool read_only_; // Prevents updates of the rankings data (used by tools).
H A Dbackend_impl.cc584 cache_entry->rankings()->Store();
772 void BackendImpl::RecoveredEntry(CacheRankingsBlock* rankings) { argument
773 Addr address(rankings->Data()->contents);
882 EntryImpl* BackendImpl::GetOpenEntry(CacheRankingsBlock* rankings) const {
883 DCHECK(rankings->HasData());
885 open_entries_.find(rankings->Data()->contents);
1166 LOG(ERROR) << "Invalid rankings list, error " << num_entries;
1551 if (!rankings_.SanityCheck(cache_entry->rankings(), false)) {
1556 // rankings node to be deleted if we find it through a list.
1557 rankings_.SetContents(cache_entry->rankings(),
[all...]
H A Dbackend_impl_v3.cc172 DCHECK(rankings->HasData());
174 open_entries_.find(rankings->Data()->contents);
397 LOG(ERROR) << "Invalid rankings list, error " << num_entries;
547 cache_entry->rankings()->Store();
933 if (!rankings_.SanityCheck(cache_entry->rankings(), false)) {
938 // rankings node to be deleted if we find it through a list.
939 rankings_.SetContents(cache_entry->rankings(), 0);
940 } else if (!rankings_.DataSanityCheck(cache_entry->rankings(), false)) {
943 rankings_.SetContents(cache_entry->rankings(), address.value());
1204 cache_entry->rankings()
[all...]
H A Dentry_impl.h61 inline CacheRankingsBlock* rankings() { function in class:disk_cache::EntryImpl
89 // Reloads the rankings node information.
H A Dentry_impl.cc541 RankingsNode* rankings = node_.Data();
542 if (!rankings->dirty) {
543 rankings->dirty = backend_->GetCurrentEntryId();
571 // if it is possible to load the rankings node and delete them together.
/external/chromium_org/net/tools/dump_cache/
H A Ddump_files.cc171 disk_cache::RankingsNode* rankings);
258 disk_cache::RankingsNode* rankings) {
268 memcpy(rankings, rank_block.Data(), sizeof(*rankings));
283 printf("rankings: 0x%x\n", entry.rankings_node);
297 void DumpRankings(const disk_cache::RankingsNode& rankings) { argument
298 printf("next: 0x%x\n", rankings.next);
299 printf("prev: 0x%x\n", rankings.prev);
300 printf("entry: 0x%x\n", rankings.contents);
301 printf("dirty: %d\n", rankings
257 LoadRankings(disk_cache::CacheAddr addr, disk_cache::RankingsNode* rankings) argument
365 disk_cache::RankingsNode rankings; local
[all...]
/external/chromium_org/net/disk_cache/
H A Dbackend_unittest.cc199 // Order in rankings list:
218 // Order in rankings list:
2142 // Tests handling of corrupt entries by keeping the rankings node around, with
2160 entry_impl->rankings()->Data()->next = 0;
2161 entry_impl->rankings()->Store();
2186 // Tests handling of corrupt entries by keeping the rankings node around, with
2204 entry_impl->rankings()->Data()->contents = 0;
2205 entry_impl->rankings()->Store();
/external/chromium_org/net/
H A Dnet.target.darwin-arm.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.darwin-arm64.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.darwin-mips.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.darwin-mips64.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.darwin-x86.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.darwin-x86_64.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.linux-arm.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.linux-arm64.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.linux-mips.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.linux-mips64.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.linux-x86.mk188 net/disk_cache/blockfile/rankings.cc \
H A Dnet.target.linux-x86_64.mk188 net/disk_cache/blockfile/rankings.cc \
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.osgi_3.6.1.R36x_v20100806.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.osgi_3.6.2.R36x_v20101103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 5332 milliseconds