Searched refs:SetMaxSize (Results 1 – 16 of 16) sorted by relevance
368 SetMaxSize(cache_size); in BackendSetSize()385 SetMaxSize(cache_size * 2); in BackendSetSize()390 SetMaxSize(cache_size * 10); in BackendSetSize()396 SetMaxSize(cache_size); in BackendSetSize()470 SetMaxSize(0x100000); in TEST_F()478 SetMaxSize(0x100000); in TEST_F()484 SetMaxSize(0x100000); in TEST_F()493 SetMaxSize(0x100000); in TEST_F()662 SetMaxSize(0x100000); in BackendInvalidEntryWithLoad()730 SetMaxSize(kSize * 10); in BackendTrimInvalidEntry()[all …]
71 void DiskCacheTestWithCache::SetMaxSize(int size) { in SetMaxSize() function in DiskCacheTestWithCache74 EXPECT_TRUE(cache_impl_->SetMaxSize(size)); in SetMaxSize()77 EXPECT_TRUE(mem_cache_->SetMaxSize(size)); in SetMaxSize()233 EXPECT_TRUE(mem_cache_->SetMaxSize(size_)); in InitMemoryCache()276 EXPECT_TRUE(cache_impl_->SetMaxSize(size_)); in InitDiskCacheImpl()
46 cache->SetMaxSize(max_bytes); in CreateBackend()80 bool MemBackendImpl::SetMaxSize(int max_bytes) { in SetMaxSize() function in disk_cache::MemBackendImpl
63 void SetMaxSize(int size);
42 bool SetMaxSize(int max_bytes);
90 bool SetMaxSize(int max_bytes);
1034 SetMaxSize(200 * 1024); in TEST_F()1042 SetMaxSize(200 * 1024); in TEST_F()1049 SetMaxSize(100 * 1024); in TEST_F()1057 SetMaxSize(100 * 1024); in TEST_F()
229 cache_->SetMaxSize(max_bytes_); in Run()802 bool BackendImpl::SetMaxSize(int max_bytes) { in SetMaxSize() function in disk_cache::BackendImpl
40 virtual void SetMaxSize(size_t size) = 0;
71 SetMaxSize(20 * 1024 * 1024);
141 SetMaxSize(0x3000); // 12 kB.
167 SetMaxSize(0x3000); // 12 kB.
139 SetMaxSize(0x3000); // 12 kB.
251 SetMaxSize(0x3000); // 12 kB.
260 if (!cache || !cache->SetMaxSize(0x100000)) in LoadOperations()