Home
last modified time | relevance | path

Searched refs:DISK_CACHE (Results 1 – 25 of 26) sorted by relevance

12

/external/cronet/net/disk_cache/simple/
Dsimple_index_file_unittest.cc161 net::DISK_CACHE, in WrappedSimpleIndexFile()
221 net::DISK_CACHE, index_metadata, entries); in TEST_F()
228 net::DISK_CACHE, pickle->data_as_char(), pickle->size(), in TEST_F()
303 WrappedSimpleIndexFile::Serialize(net::DISK_CACHE, v7_metadata, entries); in TEST_F()
312 net::DISK_CACHE, pickle->data_as_char(), pickle->size(), in TEST_F()
346 WrappedSimpleIndexFile::Serialize(net::DISK_CACHE, v8_metadata, entries); in TEST_F()
354 net::DISK_CACHE, pickle->data_as_char(), pickle->size(), in TEST_F()
389 WrappedSimpleIndexFile::Serialize(net::DISK_CACHE, v8_metadata, entries); in TEST_F()
472 simple_index_file.WriteToDisk(net::DISK_CACHE, in TEST_F()
594 /*file_tracker=*/nullptr, 0, net::DISK_CACHE, in TEST_F()
[all …]
Dsimple_histogram_macros.h25 case net::DISK_CACHE: \
Dsimple_index_unittest.cc178 virtual net::CacheType CacheType() const { return net::DISK_CACHE; } in CacheType()
239 entry_metadata.Serialize(net::DISK_CACHE, &pickle); in TEST_F()
243 new_entry_metadata.Deserialize(net::DISK_CACHE, &it, true, true); in TEST_F()
252 new_entry_metadata2.Deserialize(net::DISK_CACHE, &it2, false, false); in TEST_F()
Dsimple_file_tracker_unittest.cc58 net::DISK_CACHE, cache_path_, "dummy", hash, &file_tracker_, in MakeSyncEntry()
Dsimple_backend_impl.cc173 return (type == net::DISK_CACHE || type == net::GENERATED_BYTE_CODE_CACHE || in CacheTypeToOperationsMode()
/external/cronet/net/base/
Dcache_type.h14 DISK_CACHE, // Disk is used as the backing storage. enumerator
/external/cronet/net/disk_cache/
Dcache_util.h57 net::CacheType type = net::DISK_CACHE);
Ddisk_cache_fuzzer.cc279 return net::CacheType::DISK_CACHE; in GetCacheTypeAndPrint()
289 return net::CacheType::DISK_CACHE; in GetCacheTypeAndPrint()
302 case disk_cache_fuzzer::FuzzCommands::DISK_CACHE: in GetCacheTypeAndPrint()
304 return net::CacheType::DISK_CACHE; in GetCacheTypeAndPrint()
955 if (!block_impl_ || type != net::DISK_CACHE) in RunCommands()
967 if (!block_impl_ || type != net::DISK_CACHE) in RunCommands()
Ddisk_cache_test_util.cc67 net::DISK_CACHE, nullptr); in CheckCacheIntegrity()
Dcache_util.cc180 type == net::DISK_CACHE) { in PreferredCacheSize()
Ddisk_cache_test_base.h210 net::CacheType type_ = net::DISK_CACHE;
Dbackend_unittest.cc109 net::DISK_CACHE, in CreateExistingEntryCache()
603 net::DISK_CACHE, net::CACHE_BACKEND_DEFAULT, in TEST_F()
845 net::DISK_CACHE, nullptr)); in TEST_F()
975 net::DISK_CACHE, net::CACHE_BACKEND_DEFAULT, /*file_operations=*/nullptr, in TEST_F()
1124 net::DISK_CACHE, net::CACHE_BACKEND_BLOCKFILE, in TEST_F()
2531 net::DISK_CACHE, nullptr)); in TEST_F()
2553 net::DISK_CACHE, net::CACHE_BACKEND_BLOCKFILE, in TEST_F()
2580 cache_path_, nullptr, nullptr, net::DISK_CACHE, nullptr); in TEST_F()
2616 net::DISK_CACHE, nullptr)); in TEST_F()
2643 net::DISK_CACHE, net::CACHE_BACKEND_BLOCKFILE, in TEST_F()
[all …]
Ddisk_cache_fuzzer.proto32 DISK_CACHE = 6; enumerator
Ddisk_cache_perftest.cc686 net::DISK_CACHE, in TEST()
Ddisk_cache.cc348 if (type == net::DISK_CACHE) { in CreateCacheBackendImpl()
Dentry_unittest.cc5623 virtual net::CacheType SimpleCacheType() const { return net::DISK_CACHE; } in SimpleCacheType()
/external/cronet/net/disk_cache/blockfile/
Dhistogram_macros.h99 case net::DISK_CACHE: \
Dbackend_impl.cc243 GetCacheType() != net::DISK_CACHE) { in SyncInit()
250 new_eviction_ = (GetCacheType() == net::DISK_CACHE); in SyncInit()
261 if (!(user_flags_ & kNoRandom) && GetCacheType() == net::DISK_CACHE && in SyncInit()
1500 if (GetCacheType() == net::DISK_CACHE && ShouldReportAgain()) in InitStats()
/external/cronet/net/tools/crash_cache/
Dcrash_cache.cc147 net::DISK_CACHE, /* net_log = */ nullptr); in CreateCache()
282 path, 0xf, cache_thread->task_runner().get(), net::DISK_CACHE, nullptr); in LoadOperations()
/external/cronet/net/tools/disk_cache_memory_test/
Ddisk_cache_memory_test.cc62 tokens[1] == kDiskCacheType ? net::DISK_CACHE : net::APP_CACHE, in Parse()
/external/cronet/net/tools/stress_cache/
Dstress_cache.cc318 path, mask, cache_thread.task_runner().get(), net::DISK_CACHE, nullptr); in StressTheCache()
/external/cronet/net/url_request/
Durl_request_context_builder.cc551 DISK_CACHE, backend_type, http_cache_params_.file_operations_factory, in Build()
/external/cronet/net/tools/cachetool/
Dcachetool.cc757 net::DISK_CACHE, backend_type, /*file_operations=*/nullptr, cache_path, in main()
/external/cronet/net/http/
Dmock_http_cache.cc383 : Backend(DISK_CACHE), max_file_size_(std::numeric_limits<int>::max()) {} in MockDiskCache()
Dhttp_cache_transaction.cc3878 cache_->GetCurrentBackend()->GetCacheType() != DISK_CACHE || in RecordHistograms()

12