Lines Matching refs:BackendImpl
112 void FinalCleanupCallback(disk_cache::BackendImpl* backend, in FinalCleanupCallback()
150 BackendImpl::BackendImpl( in BackendImpl() function in disk_cache::BackendImpl
166 BackendImpl::BackendImpl( in BackendImpl() function in disk_cache::BackendImpl
182 BackendImpl::~BackendImpl() { in ~BackendImpl()
210 void BackendImpl::Init(CompletionOnceCallback callback) { in Init()
214 int BackendImpl::SyncInit() { in SyncInit()
319 &BackendImpl::OnStatsTimer); in SyncInit()
325 void BackendImpl::CleanupCache() { in CleanupCache()
355 int BackendImpl::SyncOpenEntry(const std::string& key, in SyncOpenEntry()
362 int BackendImpl::SyncCreateEntry(const std::string& key, in SyncCreateEntry()
369 int BackendImpl::SyncDoomEntry(const std::string& key) { in SyncDoomEntry()
381 int BackendImpl::SyncDoomAllEntries() { in SyncDoomAllEntries()
400 int BackendImpl::SyncDoomEntriesBetween(const base::Time initial_time, in SyncDoomEntriesBetween()
435 int BackendImpl::SyncCalculateSizeOfAllEntries() { in SyncCalculateSizeOfAllEntries()
447 int BackendImpl::SyncDoomEntriesSince(const base::Time initial_time) { in SyncDoomEntriesSince()
474 int BackendImpl::SyncOpenNextEntry(Rankings::Iterator* iterator, in SyncOpenNextEntry()
482 void BackendImpl::SyncEndEnumeration( in SyncEndEnumeration()
487 void BackendImpl::SyncOnExternalCacheHit(const std::string& key) { in SyncOnExternalCacheHit()
499 scoped_refptr<EntryImpl> BackendImpl::OpenEntryImpl(const std::string& key) { in OpenEntryImpl()
539 scoped_refptr<EntryImpl> BackendImpl::CreateEntryImpl(const std::string& key) { in CreateEntryImpl()
635 scoped_refptr<EntryImpl> BackendImpl::OpenNextEntryImpl( in OpenNextEntryImpl()
697 bool BackendImpl::SetMaxSize(int64_t max_bytes) { in SetMaxSize()
717 base::FilePath BackendImpl::GetFileName(Addr address) const { in GetFileName()
727 MappedFile* BackendImpl::File(Addr address) { in File()
733 base::WeakPtr<InFlightBackendIO> BackendImpl::GetBackgroundQueue() { in GetBackgroundQueue()
737 bool BackendImpl::CreateExternalFile(Addr* address) { in CreateExternalFile()
773 bool BackendImpl::CreateBlock(FileType block_type, int block_count, in CreateBlock()
778 void BackendImpl::DeleteBlock(Addr block_address, bool deep) { in DeleteBlock()
782 LruData* BackendImpl::GetLruData() { in GetLruData()
786 void BackendImpl::UpdateRank(EntryImpl* entry, bool modified) { in UpdateRank()
792 void BackendImpl::RecoveredEntry(CacheRankingsBlock* rankings) { in RecoveredEntry()
811 void BackendImpl::InternalDoomEntry(EntryImpl* entry) { in InternalDoomEntry()
842 CacheAddr BackendImpl::GetNextAddr(Addr address) { in GetNextAddr()
856 void BackendImpl::NotLinked(EntryImpl* entry) { in NotLinked()
874 void BackendImpl::RemoveEntry(EntryImpl* entry) { in RemoveEntry()
887 void BackendImpl::OnEntryDestroyBegin(Addr address) { in OnEntryDestroyBegin()
893 void BackendImpl::OnEntryDestroyEnd() { in OnEntryDestroyEnd()
898 void BackendImpl::OnSyncBackendOpComplete() { in OnSyncBackendOpComplete()
907 EntryImpl* BackendImpl::GetOpenEntry(CacheRankingsBlock* rankings) const { in GetOpenEntry()
918 int32_t BackendImpl::GetCurrentEntryId() const { in GetCurrentEntryId()
922 int64_t BackendImpl::MaxFileSize() const { in MaxFileSize()
926 void BackendImpl::ModifyStorageSize(int32_t old_size, int32_t new_size) { in ModifyStorageSize()
940 void BackendImpl::TooMuchStorageRequested(int32_t size) { in TooMuchStorageRequested()
944 bool BackendImpl::IsAllocAllowed(int current_size, int new_size) { in IsAllocAllowed()
958 void BackendImpl::BufferDeleted(int size) { in BufferDeleted()
963 bool BackendImpl::IsLoaded() const { in IsLoaded()
971 std::string BackendImpl::HistogramName(const char* name, int experiment) const { in HistogramName()
978 base::WeakPtr<BackendImpl> BackendImpl::GetWeakPtr() { in GetWeakPtr()
984 bool BackendImpl::ShouldReportAgain() { in ShouldReportAgain()
999 void BackendImpl::FirstEviction() { in FirstEviction()
1038 void BackendImpl::CriticalError(int error) { in CriticalError()
1056 base::BindOnce(&BackendImpl::RestartCache, GetWeakPtr(), true)); in CriticalError()
1059 void BackendImpl::ReportError(int error) { in ReportError()
1068 void BackendImpl::OnEvent(Stats::Counters an_event) { in OnEvent()
1072 void BackendImpl::OnRead(int32_t bytes) { in OnRead()
1079 void BackendImpl::OnWrite(int32_t bytes) { in OnWrite()
1084 void BackendImpl::OnStatsTimer() { in OnStatsTimer()
1127 void BackendImpl::IncrementIoCount() { in IncrementIoCount()
1131 void BackendImpl::DecrementIoCount() { in DecrementIoCount()
1135 void BackendImpl::SetUnitTestMode() { in SetUnitTestMode()
1140 void BackendImpl::SetUpgradeMode() { in SetUpgradeMode()
1145 void BackendImpl::SetNewEviction() { in SetNewEviction()
1150 void BackendImpl::SetFlags(uint32_t flags) { in SetFlags()
1154 void BackendImpl::ClearRefCountForTest() { in ClearRefCountForTest()
1158 int BackendImpl::FlushQueueForTest(CompletionOnceCallback callback) { in FlushQueueForTest()
1163 int BackendImpl::RunTaskForTest(base::OnceClosure task, in RunTaskForTest()
1169 void BackendImpl::TrimForTest(bool empty) { in TrimForTest()
1174 void BackendImpl::TrimDeletedListForTest(bool empty) { in TrimDeletedListForTest()
1179 base::RepeatingTimer* BackendImpl::GetTimerForTest() { in GetTimerForTest()
1183 int BackendImpl::SelfCheck() { in SelfCheck()
1207 void BackendImpl::FlushIndex() { in FlushIndex()
1214 int32_t BackendImpl::GetEntryCount() const { in GetEntryCount()
1229 EntryResult BackendImpl::OpenOrCreateEntry( in OpenOrCreateEntry()
1238 EntryResult BackendImpl::OpenEntry(const std::string& key, in OpenEntry()
1246 EntryResult BackendImpl::CreateEntry(const std::string& key, in CreateEntry()
1254 net::Error BackendImpl::DoomEntry(const std::string& key, in DoomEntry()
1262 net::Error BackendImpl::DoomAllEntries(CompletionOnceCallback callback) { in DoomAllEntries()
1268 net::Error BackendImpl::DoomEntriesBetween(const base::Time initial_time, in DoomEntriesBetween()
1277 net::Error BackendImpl::DoomEntriesSince(const base::Time initial_time, in DoomEntriesSince()
1284 int64_t BackendImpl::CalculateSizeOfAllEntries( in CalculateSizeOfAllEntries()
1295 class BackendImpl::IteratorImpl : public Backend::Iterator {
1318 std::unique_ptr<Backend::Iterator> BackendImpl::CreateIterator() { in CreateIterator()
1322 void BackendImpl::GetStats(StatsItems* stats) { in GetStats()
1351 void BackendImpl::OnExternalCacheHit(const std::string& key) { in OnExternalCacheHit()
1359 bool BackendImpl::CreateBackingStore(disk_cache::File* file) { in CreateBackingStore()
1396 bool BackendImpl::InitBackingStore(bool* file_created) { in InitBackingStore()
1439 void BackendImpl::AdjustMaxCacheSize(int table_len) { in AdjustMaxCacheSize()
1465 bool BackendImpl::InitStats() { in InitStats()
1505 void BackendImpl::StoreStats() { in StoreStats()
1523 void BackendImpl::RestartCache(bool failure) { in RestartCache()
1552 void BackendImpl::PrepareForRestart() { in PrepareForRestart()
1571 int BackendImpl::NewEntry(Addr address, scoped_refptr<EntryImpl>* entry) { in NewEntry()
1635 scoped_refptr<EntryImpl> BackendImpl::MatchEntry(const std::string& key, in MatchEntry()
1731 bool BackendImpl::OpenFollowingEntryFromList( in OpenFollowingEntryFromList()
1754 scoped_refptr<EntryImpl> BackendImpl::GetEnumeratedEntry( in GetEnumeratedEntry()
1797 scoped_refptr<EntryImpl> BackendImpl::ResurrectEntry( in ResurrectEntry()
1815 void BackendImpl::DestroyInvalidEntry(EntryImpl* entry) { in DestroyInvalidEntry()
1828 void BackendImpl::AddStorageSize(int32_t bytes) { in AddStorageSize()
1833 void BackendImpl::SubstractStorageSize(int32_t bytes) { in SubstractStorageSize()
1838 void BackendImpl::IncreaseNumRefs() { in IncreaseNumRefs()
1844 void BackendImpl::DecreaseNumRefs() { in DecreaseNumRefs()
1851 base::BindOnce(&BackendImpl::RestartCache, GetWeakPtr(), true)); in DecreaseNumRefs()
1854 void BackendImpl::IncreaseNumEntries() { in IncreaseNumEntries()
1859 void BackendImpl::DecreaseNumEntries() { in DecreaseNumEntries()
1867 void BackendImpl::LogStats() { in LogStats()
1875 void BackendImpl::ReportStats() { in ReportStats()
1978 void BackendImpl::UpgradeTo2_1() { in UpgradeTo2_1()
1986 void BackendImpl::UpgradeTo3_0() { in UpgradeTo3_0()
1994 bool BackendImpl::CheckIndex() { in CheckIndex()
2058 int BackendImpl::CheckAllEntries() { in CheckAllEntries()
2098 bool BackendImpl::CheckEntry(EntryImpl* cache_entry) { in CheckEntry()
2113 int BackendImpl::MaxBuffersSize() { in MaxBuffersSize()
2130 void BackendImpl::FlushForTesting() { in FlushForTesting()
2138 void BackendImpl::FlushAsynchronouslyForTesting(base::OnceClosure callback) { in FlushAsynchronouslyForTesting()