Home
last modified time | relevance | path

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

12

/external/cronet/net/third_party/quiche/src/quiche/spdy/core/hpack/
Dhpack_header_table_test.cc255 table_.SetMaxSize(max_size); in TEST_F()
260 table_.SetMaxSize(max_size); in TEST_F()
286 table_.SetMaxSize(entry1->Size() + entry2->Size() + entry3_size); in TEST_F()
291 table_.SetMaxSize(entry1->Size() + entry2->Size()); in TEST_F()
324 TEST_F(HpackHeaderTableTest, SetMaxSize) { in TEST_F() argument
333 table_.SetMaxSize(table_.size() + 1); in TEST_F()
336 table_.SetMaxSize(table_.size()); in TEST_F()
340 table_.SetMaxSize(table_.size() - 1); in TEST_F()
Dhpack_header_table.cc60 void HpackHeaderTable::SetMaxSize(size_t max_size) { in SetMaxSize() function in spdy::HpackHeaderTable
72 SetMaxSize(settings_size_bound_); in SetSettingsHeaderTableSize()
Dhpack_encoder_test.cc155 peer_.table()->SetMaxSize(peer_.table()->size()); in SetUp()
319 peer_.table()->SetMaxSize(4096); in TEST_P()
367 peer_.table()->SetMaxSize(1); // Also evicts all fixtures. in TEST_P()
403 peer_.table()->SetMaxSize(1); // Also evicts all fixtures. in TEST_P()
Dhpack_header_table.h79 void SetMaxSize(size_t max_size);
/external/cronet/net/disk_cache/
Dbackend_unittest.cc857 SetMaxSize(kLimit); in TEST_F()
1136 SetMaxSize(cache_size); in BackendSetSize()
1156 SetMaxSize(cache_size * 2); in BackendSetSize()
1161 SetMaxSize(cache_size * 10); in BackendSetSize()
1167 SetMaxSize(cache_size); in BackendSetSize()
1241 SetMaxSize(0x100000); in TEST_F()
1249 SetMaxSize(0x100000); in TEST_F()
1254 SetMaxSize(0x100000); in TEST_F()
1263 SetMaxSize(0x100000); in TEST_F()
1271 SetMaxSize(0x100000); in TEST_F()
[all …]
Ddisk_cache_test_base.cc116 void DiskCacheTestWithCache::SetMaxSize(int64_t size, bool should_succeed) { in SetMaxSize() function in DiskCacheTestWithCache
119 EXPECT_EQ(should_succeed, simple_cache_impl_->SetMaxSize(size)); in SetMaxSize()
122 EXPECT_EQ(should_succeed, cache_impl_->SetMaxSize(size)); in SetMaxSize()
125 EXPECT_EQ(should_succeed, mem_cache_->SetMaxSize(size)); in SetMaxSize()
371 EXPECT_TRUE(mem_cache_->SetMaxSize(size_)); in InitMemoryCache()
432 EXPECT_TRUE(cache_impl_->SetMaxSize(size_)); in CreateBackend()
Ddisk_cache_fuzzer.proto38 optional SetMaxSize set_max_size = 3;
45 SetMaxSize set_max_size = 87;
83 message SetMaxSize { message
Ddisk_cache_fuzzer.cc191 void HandleSetMaxSize(const disk_cache_fuzzer::SetMaxSize&);
1133 const disk_cache_fuzzer::SetMaxSize& sms) { in HandleSetMaxSize()
1142 CHECK_EQ(true, simple_cache_impl_->SetMaxSize(max_size_)); in HandleSetMaxSize()
1145 CHECK_EQ(true, block_impl_->SetMaxSize(max_size_)); in HandleSetMaxSize()
1148 CHECK_EQ(true, mem_cache_->SetMaxSize(max_size_)); in HandleSetMaxSize()
Ddisk_cache_perftest.cc485 SetMaxSize(500 * 1024 * 1024); in CacheBackendPerformance()
690 index.SetMaxSize(kEntries * 2); in TEST()
699 index.SetMaxSize(kEntries); in TEST()
Ddisk_cache_test_util.cc69 cache->SetMaxSize(max_size); in CheckCacheIntegrity()
Ddisk_cache_test_base.h102 void SetMaxSize(int64_t size, bool should_succeed = true);
/external/cronet/net/disk_cache/simple/
Dsimple_index_unittest.cc260 index()->SetMaxSize(100 * kSizeResolution); in TEST_F()
379 index()->SetMaxSize(1000); in TEST_F()
547 index()->SetMaxSize(1000); in TEST_F()
578 index()->SetMaxSize(50000); in TEST_F()
607 index()->SetMaxSize(50000); in TEST_F()
637 index()->SetMaxSize(50000); in TEST_F()
667 index()->SetMaxSize(1000); in TEST_F()
705 index()->SetMaxSize(1000); in TEST_F()
732 index()->SetMaxSize(1000); in TEST_F()
755 index()->SetMaxSize(1000); in TEST_F()
Dsimple_index.h144 void SetMaxSize(uint64_t max_bytes);
Dsimple_backend_impl.h87 bool SetMaxSize(int64_t max_bytes);
/external/cronet/testing/libfuzzer/fuzzers/
Dconvert_woff2ttf_fuzzer.cc14 out.SetMaxSize(30 * 1024 * 1024); in LLVMFuzzerTestOneInput()
/external/cronet/net/data/cache_tests/good_2_1/
Dcontents.txt10 SetMaxSize(16*1024);
/external/cronet/net/data/cache_tests/good_2_0/
Dcontents.txt10 SetMaxSize(16*1024);
/external/cronet/net/disk_cache/memory/
Dmem_backend_impl.cc68 if (cache->SetMaxSize(max_bytes) && cache->Init()) in CreateBackend()
97 bool MemBackendImpl::SetMaxSize(int64_t max_bytes) { in SetMaxSize() function in disk_cache::MemBackendImpl
Dmem_backend_impl.h60 bool SetMaxSize(int64_t max_bytes);
/external/cronet/net/data/cache_tests/bad_rankings3/
Dcontents.txt71 SetMaxSize(20 * 1024 * 1024);
/external/cronet/net/tools/crash_cache/
Dcrash_cache.cc148 backend->SetMaxSize(size); in CreateCache()
283 if (!cache->SetMaxSize(0x100000)) in LoadOperations()
/external/cronet/net/data/cache_tests/list_loop2/
Dcontents.txt141 SetMaxSize(0x3000); // 12 kB.
/external/cronet/net/data/cache_tests/dirty_entry5/
Dcontents.txt139 SetMaxSize(0x3000); // 12 kB.
/external/cronet/net/data/cache_tests/dirty_entry4/
Dcontents.txt167 SetMaxSize(0x3000); // 12 kB.
/external/cronet/net/data/cache_tests/dirty_entry3/
Dcontents.txt167 SetMaxSize(0x3000); // 12 kB.

12