Home
last modified time | relevance | path

Searched refs:SetMaxSize (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/net/disk_cache/
Ddisk_cache_test_base.cc119 void DiskCacheTestWithCache::SetMaxSize(int size) { in SetMaxSize() function in DiskCacheTestWithCache
122 EXPECT_TRUE(simple_cache_impl_->SetMaxSize(size)); in SetMaxSize()
125 EXPECT_TRUE(cache_impl_->SetMaxSize(size)); in SetMaxSize()
128 EXPECT_TRUE(mem_cache_->SetMaxSize(size)); in SetMaxSize()
278 EXPECT_TRUE(mem_cache_->SetMaxSize(size_)); in InitMemoryCache()
328 EXPECT_TRUE(cache_impl_->SetMaxSize(size_)); in CreateBackend()
Dbackend_unittest.cc707 SetMaxSize(cache_size); in BackendSetSize()
726 SetMaxSize(cache_size * 2); in BackendSetSize()
731 SetMaxSize(cache_size * 10); in BackendSetSize()
737 SetMaxSize(cache_size); in BackendSetSize()
811 SetMaxSize(0x100000); in TEST_F()
819 SetMaxSize(0x100000); in TEST_F()
824 SetMaxSize(0x100000); in TEST_F()
833 SetMaxSize(0x100000); in TEST_F()
841 SetMaxSize(0x100000); in TEST_F()
848 SetMaxSize(0x3000); // 12 kB. in BackendChain()
[all …]
Ddisk_cache_test_base.h93 void SetMaxSize(int size);
Dcache_creator.cc112 new_cache->SetMaxSize(max_bytes_); in Run()
/external/chromium_org/net/spdy/
Dhpack_header_table_test.cc275 table_.SetMaxSize(max_size); in TEST_F()
280 table_.SetMaxSize(max_size); in TEST_F()
308 table_.SetMaxSize(entry1->Size() + entry2->Size() + entry3_size); in TEST_F()
313 table_.SetMaxSize(entry1->Size() + entry2->Size()); in TEST_F()
346 TEST_F(HpackHeaderTableTest, SetMaxSize) { in TEST_F() argument
356 table_.SetMaxSize(table_.size() + 1); in TEST_F()
359 table_.SetMaxSize(table_.size()); in TEST_F()
363 table_.SetMaxSize(table_.size() - 1); in TEST_F()
Dhpack_header_table.cc109 void HpackHeaderTable::SetMaxSize(size_t max_size) { in SetMaxSize() function in net::HpackHeaderTable
122 SetMaxSize(settings_size_bound_); in SetSettingsHeaderTableSize()
Dhpack_encoder_test.cc113 peer_.table()->SetMaxSize(peer_.table()->size()); in SetUp()
192 peer_.table()->SetMaxSize(1); // Also evicts all fixtures. in TEST_F()
228 peer_.table()->SetMaxSize(1); // Also evicts all fixtures. in TEST_F()
Dhpack_header_table.h76 void SetMaxSize(size_t max_size);
Dhpack_decoder.cc133 header_table_.SetMaxSize(size); in DecodeNextHeaderTableSizeUpdate()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediasink.h39 virtual void SetMaxSize(size_t size) = 0;
Dmediarecorder.h60 virtual void SetMaxSize(size_t size);
/external/chromium_org/ui/views/controls/button/
Dlabel_button_unittest.cc72 button.SetMaxSize(gfx::Size(long_text_width, 1)); in TEST_F()
104 button.SetMaxSize(gfx::Size(large_size, 1)); in TEST_F()
160 button.SetMaxSize(gfx::Size(image_size, 1)); in TEST_F()
Dlabel_button.h70 void SetMaxSize(const gfx::Size& max_size);
/external/chromium_org/net/disk_cache/simple/
Dsimple_index_unittest.cc201 index()->SetMaxSize(100); in TEST_F()
319 index()->SetMaxSize(1000); in TEST_F()
520 index()->SetMaxSize(1000); in TEST_F()
554 index()->SetMaxSize(1000); in TEST_F()
579 index()->SetMaxSize(1000); in TEST_F()
608 index()->SetMaxSize(1000); in TEST_F()
Dsimple_index.h89 bool SetMaxSize(int max_bytes);
Dsimple_backend_impl.h69 bool SetMaxSize(int max_bytes);
Dsimple_backend_impl.cc273 bool SimpleBackendImpl::SetMaxSize(int max_bytes) { in SetMaxSize() function in disk_cache::SimpleBackendImpl
275 return index_->SetMaxSize(max_bytes); in SetMaxSize()
559 index_->SetMaxSize(result.max_size); in InitializeIndex()
/external/chromium_org/net/disk_cache/memory/
Dmem_backend_impl.cc48 cache->SetMaxSize(max_bytes); in CreateBackend()
78 bool MemBackendImpl::SetMaxSize(int max_bytes) { in SetMaxSize() function in disk_cache::MemBackendImpl
Dmem_backend_impl.h42 bool SetMaxSize(int max_bytes);
/external/chromium_org/ui/views/
Dbutton_drag_utils.cc54 button.SetMaxSize(gfx::Size(kLinkDragImageMaxWidth, 0)); in SetDragImage()
/external/chromium_org/net/data/cache_tests/bad_rankings3/
Dcontents.txt71 SetMaxSize(20 * 1024 * 1024);
/external/chromium_org/net/tools/crash_cache/
Dcrash_cache.cc145 backend->SetMaxSize(size); in CreateCache()
271 if (!cache->SetMaxSize(0x100000)) in LoadOperations()
/external/chromium_org/net/data/cache_tests/list_loop2/
Dcontents.txt141 SetMaxSize(0x3000); // 12 kB.
/external/chromium_org/net/disk_cache/blockfile/
Dbackend_impl_v3.h59 bool SetMaxSize(int max_bytes);
/external/chromium_org/net/data/cache_tests/dirty_entry4/
Dcontents.txt167 SetMaxSize(0x3000); // 12 kB.

12