Home
last modified time | relevance | path

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

/external/chromium_org/net/disk_cache/blockfile/
Deviction.cc92 new_eviction_ = backend->new_eviction_; in Init()
121 if (new_eviction_) in TrimCache()
170 if (new_eviction_) in UpdateRank()
177 if (new_eviction_) in OnOpenEntry()
182 if (new_eviction_) in OnCreateEntry()
189 if (new_eviction_) in OnDoomEntry()
199 if (new_eviction_) in OnDestroyEntry()
208 DCHECK(test_mode_ && new_eviction_); in TrimDeletedList()
296 if (empty || !new_eviction_) { in EvictEntry()
576 if (!new_eviction_) in ReportListStats()
Dbackend_worker_v3.cc143 new_eviction_ = (cache_type_ == net::DISK_CACHE); in SyncInit()
175 DCHECK(!new_eviction_); in SyncInit()
178 DCHECK(!new_eviction_); in SyncInit()
188 disabled_ = !rankings_.Init(this, new_eviction_); in SyncInit()
215 new_eviction_ = false; in PrepareForRestart()
295 if (new_eviction_) in CreateBackingStore()
366 if (new_eviction_) { in CheckIndex()
Dbackend_impl.cc131 new_eviction_(false), in BackendImpl()
158 new_eviction_(false), in BackendImpl()
230 new_eviction_ = (cache_type_ == net::DISK_CACHE); in SyncInit()
262 DCHECK(!new_eviction_); in SyncInit()
265 DCHECK(!new_eviction_); in SyncInit()
275 disabled_ = !rankings_.Init(this, new_eviction_); in SyncInit()
805 if (!new_eviction_) { in InternalDoomEntry()
859 if (!new_eviction_) in RemoveEntry()
1001 if (new_eviction_) { in FirstEviction()
1122 new_eviction_ = true; in SetNewEviction()
[all …]
Deviction_v3.cc125 if (new_eviction_) in TrimCache()
228 DCHECK(test_mode_ && new_eviction_); in TrimDeletedList()
285 if (empty || !new_eviction_) { in EvictEntry()
485 if (!new_eviction_) in ReportListStats()
Deviction.h78 bool new_eviction_; variable
Dbackend_impl_v3.cc142 if (!new_eviction_) { in InternalDoomEntry()
1044 new_eviction_ = (cache_type_ == net::DISK_CACHE); in SyncInit()
1076 DCHECK(!new_eviction_); in SyncInit()
1079 DCHECK(!new_eviction_); in SyncInit()
1089 disabled_ = !rankings_.Init(this, new_eviction_); in SyncInit()
1336 if (new_eviction_) { in CheckIndex()
Dbackend_impl.h389 bool new_eviction_; // What eviction algorithm should be used. variable
/external/chromium_org/net/disk_cache/
Ddisk_cache_test_base.cc80 new_eviction_(false), in DiskCacheTestWithCache()
109 EXPECT_TRUE(CheckCacheIntegrity(cache_path_, new_eviction_, mask_)); in SimulateCrash()
265 EXPECT_TRUE(CheckCacheIntegrity(cache_path_, new_eviction_, mask_)); in TearDown()
329 if (new_eviction_) in CreateBackend()
Ddisk_cache_test_base.h101 new_eviction_ = true; in SetNewEviction()
173 bool new_eviction_; variable
Dbackend_unittest.cc1198 if (new_eviction_) { in BackendTrimInvalidEntry2()
1707 ASSERT_TRUE(CheckCacheIntegrity(cache_path_, new_eviction_, mask)); in BackendTransaction()
1990 EXPECT_TRUE(CheckCacheIntegrity(cache_path_, new_eviction_, mask_)); in TEST_F()