disk_cache 19 android_webview/browser/net_disk_cache_remover.cc using disk_cache::Backend; disk_cache 57 base/threading/thread_restrictions.h namespace disk_cache { disk_cache 212 base/threading/thread_restrictions.h friend class disk_cache::BackendImpl; // http://crbug.com/74623 disk_cache 213 base/threading/thread_restrictions.h friend class disk_cache::InFlightIO; // http://crbug.com/74623 disk_cache 35 chrome/browser/browsing_data/browsing_data_remover.h namespace disk_cache { disk_cache 371 chrome/browser/browsing_data/browsing_data_remover.h disk_cache::Backend* cache_; disk_cache 74 chrome/browser/chrome_net_benchmarking_message_filter.cc disk_cache::Backend* backend = request_context_->GetURLRequestContext()-> disk_cache 64 chrome/browser/safe_browsing/malware_details_unittest.cc void WriteHeaders(disk_cache::Entry* entry, const std::string& headers) { disk_cache 83 chrome/browser/safe_browsing/malware_details_unittest.cc void WriteData(disk_cache::Entry* entry, const std::string& data) { disk_cache 96 chrome/browser/safe_browsing/malware_details_unittest.cc void WriteToEntry(disk_cache::Backend* cache, const std::string& key, disk_cache 99 chrome/browser/safe_browsing/malware_details_unittest.cc disk_cache::Entry* entry; disk_cache 114 chrome/browser/safe_browsing/malware_details_unittest.cc disk_cache::Backend* cache; disk_cache 164 chrome/browser/ui/webui/net_internals/net_internals_ui.cc disk_cache::Backend* GetDiskCacheBackend(net::URLRequestContext* context) { disk_cache 1296 chrome/browser/ui/webui/net_internals/net_internals_ui.cc disk_cache::Backend* disk_cache = GetDiskCacheBackend(GetMainContext()); disk_cache 1298 chrome/browser/ui/webui/net_internals/net_internals_ui.cc if (disk_cache) { disk_cache 1301 chrome/browser/ui/webui/net_internals/net_internals_ui.cc disk_cache->GetStats(&stats); disk_cache 25 components/nacl/browser/pnacl_translation_cache.cc void CloseDiskCacheEntry(disk_cache::Entry* entry) { entry->Close(); } disk_cache 101 components/nacl/browser/pnacl_translation_cache.cc disk_cache::Entry* entry_; disk_cache 337 components/nacl/browser/pnacl_translation_cache.cc int rv = disk_cache::CreateCacheBackend( disk_cache 20 components/nacl/browser/pnacl_translation_cache.h namespace disk_cache { disk_cache 87 components/nacl/browser/pnacl_translation_cache.h disk_cache::Backend* backend() { return disk_cache_.get(); } disk_cache 96 components/nacl/browser/pnacl_translation_cache.h scoped_ptr<disk_cache::Backend> disk_cache_; disk_cache 123 content/browser/appcache/chrome_appcache_service_unittest.cc storage->disk_cache(); disk_cache 22 content/browser/gpu/shader_disk_cache.cc void EntryCloser(disk_cache::Entry* entry) { disk_cache 61 content/browser/gpu/shader_disk_cache.cc disk_cache::Entry* entry_; disk_cache 101 content/browser/gpu/shader_disk_cache.cc disk_cache::Entry* entry_; disk_cache 525 content/browser/gpu/shader_disk_cache.cc int rv = disk_cache::CreateCacheBackend( disk_cache 78 content/browser/gpu/shader_disk_cache.h disk_cache::Backend* backend() { return backend_.get(); } disk_cache 90 content/browser/gpu/shader_disk_cache.h scoped_ptr<disk_cache::Backend> backend_; disk_cache 104 content/renderer/browser_render_view_browsertest.cc void BackendClearCache(scoped_ptr<disk_cache::Backend*> backend, disk_cache 121 content/renderer/browser_render_view_browsertest.cc scoped_ptr<disk_cache::Backend*> backend(new disk_cache::Backend*); disk_cache 123 content/renderer/browser_render_view_browsertest.cc disk_cache::Backend** backend_ptr = backend.get(); disk_cache 47 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> CreateExistingEntryCache( disk_cache 52 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> cache(new disk_cache::BackendImpl( disk_cache 56 net/disk_cache/backend_unittest.cc return scoped_ptr<disk_cache::BackendImpl>(); disk_cache 58 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 61 net/disk_cache/backend_unittest.cc return scoped_ptr<disk_cache::BackendImpl>(); disk_cache 138 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 152 net/disk_cache/backend_unittest.cc rv = static_cast<disk_cache::EntryImpl*>(entry)->WriteDataImpl( disk_cache 167 net/disk_cache/backend_unittest.cc static_cast<disk_cache::EntryImpl*>(entry)->Release(); disk_cache 182 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry0 = NULL; disk_cache 183 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry1 = NULL; disk_cache 184 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 221 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry3 = NULL; disk_cache 222 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry4 = NULL; disk_cache 245 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 263 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 280 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1 = NULL, *entry2 = NULL; disk_cache 300 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry3 = NULL; disk_cache 352 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 423 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::Backend> cache; disk_cache 424 net/disk_cache/backend_unittest.cc cache = disk_cache::MemBackendImpl::CreateBackend(0, NULL); disk_cache 430 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, disk_cache 443 net/disk_cache/backend_unittest.cc rv = disk_cache::CreateCacheBackend(net::MEMORY_CACHE, disk_cache 467 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> cache(new disk_cache::BackendImpl( disk_cache 488 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 502 net/disk_cache/backend_unittest.cc uint32 flags = disk_cache::kNoBuffering; disk_cache 504 net/disk_cache/backend_unittest.cc flags |= disk_cache::kNoRandom; disk_cache 560 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::Backend> extra_cache; disk_cache 561 net/disk_cache/backend_unittest.cc int rv = disk_cache::CreateCacheBackend( disk_cache 572 net/disk_cache/backend_unittest.cc CreateBackend(disk_cache::kNoBuffering, NULL); disk_cache 599 net/disk_cache/backend_unittest.cc uint32 flags = disk_cache::kNoBuffering; disk_cache 601 net/disk_cache/backend_unittest.cc flags |= disk_cache::kNoRandom; disk_cache 605 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 642 net/disk_cache/backend_unittest.cc disk_cache::BackendFlags flags = disk_cache 643 net/disk_cache/backend_unittest.cc fast ? disk_cache::kNone : disk_cache::kNoRandom; disk_cache 646 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 684 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::Backend> backend; disk_cache 686 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, disk_cache 708 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 741 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry2; disk_cache 777 net/disk_cache/backend_unittest.cc disk_cache::Entry* entries[100]; disk_cache 787 net/disk_cache/backend_unittest.cc disk_cache::Entry* temp = entries[source1]; disk_cache 793 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 847 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 877 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 908 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 944 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 988 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 1047 net/disk_cache/backend_unittest.cc disk_cache::Entry* entries[kNumEntries]; disk_cache 1057 net/disk_cache/backend_unittest.cc disk_cache::Entry* temp = entries[source1]; disk_cache 1072 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 1077 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 1116 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 1170 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 1230 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 1237 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 1300 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 1371 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 1406 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry, *entry1, *entry2; disk_cache 1460 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 1466 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 1517 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry; disk_cache 1595 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry; disk_cache 1696 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry1; disk_cache 1826 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> cache(new disk_cache::BackendImpl( disk_cache 1852 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> cache = disk_cache 1863 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::Backend> base_cache; disk_cache 1865 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, disk_cache 1892 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> cache = disk_cache 1900 net/disk_cache/backend_unittest.cc cache.reset(new disk_cache::BackendImpl( disk_cache 1906 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 1928 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> cache = disk_cache 1941 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> cache(new disk_cache::BackendImpl( disk_cache 1947 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 1970 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, disk_cache 1993 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 2018 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2089 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2111 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2122 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2144 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2150 net/disk_cache/backend_unittest.cc disk_cache::EntryImpl* entry_impl = disk_cache 2151 net/disk_cache/backend_unittest.cc static_cast<disk_cache::EntryImpl*>(entry); disk_cache 2188 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2194 net/disk_cache/backend_unittest.cc disk_cache::EntryImpl* entry_impl = disk_cache 2195 net/disk_cache/backend_unittest.cc static_cast<disk_cache::EntryImpl*>(entry); disk_cache 2235 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2241 net/disk_cache/backend_unittest.cc disk_cache::EntryImpl* entry_impl = disk_cache 2242 net/disk_cache/backend_unittest.cc static_cast<disk_cache::EntryImpl*>(entry); disk_cache 2300 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2309 net/disk_cache/backend_unittest.cc disk_cache::EntryImpl* entry_impl = disk_cache 2310 net/disk_cache/backend_unittest.cc static_cast<disk_cache::EntryImpl*>(entry); disk_cache 2363 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2375 net/disk_cache/backend_unittest.cc disk_cache::EntryImpl* entry_impl = disk_cache 2376 net/disk_cache/backend_unittest.cc static_cast<disk_cache::EntryImpl*>(entry); disk_cache 2433 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2439 net/disk_cache/backend_unittest.cc disk_cache::EntryImpl* entry_impl = disk_cache 2440 net/disk_cache/backend_unittest.cc static_cast<disk_cache::EntryImpl*>(entry); disk_cache 2469 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 2489 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2534 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 2585 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2633 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 2667 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2, *entry3, *entry4; disk_cache 2733 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> cache; disk_cache 2734 net/disk_cache/backend_unittest.cc cache.reset(new disk_cache::BackendImpl( disk_cache 2748 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::BackendImpl> cache; disk_cache 2749 net/disk_cache/backend_unittest.cc cache.reset(new disk_cache::BackendImpl( disk_cache 2762 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2767 net/disk_cache/backend_unittest.cc disk_cache::StatsItems stats; disk_cache 2771 net/disk_cache/backend_unittest.cc disk_cache::StatsItems::value_type hits("Create hit", "0x1"); disk_cache 2791 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 2807 net/disk_cache/backend_unittest.cc disk_cache::Entry *entry3, *entry4; disk_cache 2863 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2900 net/disk_cache/backend_unittest.cc scoped_ptr<disk_cache::Backend> cache[kNumberOfCaches]; disk_cache 2903 net/disk_cache/backend_unittest.cc disk_cache::CreateCacheBackend(net::DISK_CACHE, disk_cache 2913 net/disk_cache/backend_unittest.cc rv = disk_cache::CreateCacheBackend(net::MEDIA_CACHE, disk_cache 2927 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 2937 net/disk_cache/backend_unittest.cc using disk_cache::kDefaultCacheSize; disk_cache 2942 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size - 1)); disk_cache 2944 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size)); disk_cache 2946 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 10 / 8 - 1)); disk_cache 2950 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 10 / 8)); disk_cache 2952 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 10 - 1)); disk_cache 2956 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 10)); disk_cache 2958 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 25 - 1)); disk_cache 2962 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 25)); disk_cache 2964 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 100 - 1)); disk_cache 2966 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 100)); disk_cache 2968 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 250 - 1)); disk_cache 2973 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(large_size * 250)); disk_cache 2975 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(largest_size * 100 - 1)); disk_cache 2979 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(largest_size * 100)); disk_cache 2981 net/disk_cache/backend_unittest.cc disk_cache::PreferredCacheSize(largest_size * 10000)); disk_cache 2988 net/disk_cache/backend_unittest.cc disk_cache::BackendImpl* backend_ = cache_impl_; // Needed be the macro. disk_cache 3000 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 3061 net/disk_cache/backend_unittest.cc disk_cache::Addr address(0x80000001); disk_cache 3065 net/disk_cache/backend_unittest.cc scoped_refptr<disk_cache::File> file(new disk_cache::File(false)); disk_cache 3093 net/disk_cache/backend_unittest.cc EXPECT_TRUE(disk_cache::DeleteCacheFile(name)); disk_cache 3099 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 3122 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 3143 net/disk_cache/backend_unittest.cc cache_.reset(new disk_cache::TracingCacheBackend(cache_.Pass())); disk_cache 3151 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3158 net/disk_cache/backend_unittest.cc disk_cache::Entry* same_entry = NULL; disk_cache 3273 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3289 net/disk_cache/backend_unittest.cc disk_cache::simple_util::GetFilenameFromKeyAndFileIndex(key, 0)); disk_cache 3291 net/disk_cache/backend_unittest.cc EXPECT_TRUE(disk_cache::DeleteCacheFile(to_delete_file)); disk_cache 3297 net/disk_cache/backend_unittest.cc for (int i = 1; i < disk_cache::kSimpleEntryFileCount; ++i) { disk_cache 3299 net/disk_cache/backend_unittest.cc disk_cache::simple_util::GetFilenameFromKeyAndFileIndex(key, i))); disk_cache 3309 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3312 net/disk_cache/backend_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3326 net/disk_cache/backend_unittest.cc disk_cache::simple_util::GetFilenameFromKeyAndFileIndex(key, 0)); disk_cache 3328 net/disk_cache/backend_unittest.cc disk_cache::SimpleFileHeader header; disk_cache 3342 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 3355 net/disk_cache/backend_unittest.cc disk_cache::SimpleBackendImpl* simple_cache = disk_cache 3356 net/disk_cache/backend_unittest.cc new disk_cache::SimpleBackendImpl(cache_path_, disk_cache 3374 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry; disk_cache 3387 net/disk_cache/backend_unittest.cc disk_cache::BackendImpl* cache = new disk_cache::BackendImpl( disk_cache 3423 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry_opened_before; disk_cache 3430 net/disk_cache/backend_unittest.cc disk_cache::Entry* entry_opened_middle; disk_cache 3481 net/disk_cache/backend_unittest.cc disk_cache::Entry* corrupted_entry; disk_cache 3493 net/disk_cache/backend_unittest.cc EXPECT_TRUE(disk_cache::simple_util::CreateCorruptFileForTests( disk_cache 14 net/disk_cache/blockfile/addr.h namespace disk_cache { disk_cache 72 net/disk_cache/blockfile/backend_impl.cc size_t table_size = sizeof(disk_cache::CacheAddr) * table_len; disk_cache 73 net/disk_cache/blockfile/backend_impl.cc return sizeof(disk_cache::IndexHeader) + table_size; disk_cache 80 net/disk_cache/blockfile/backend_impl.cc bool InitExperiment(disk_cache::IndexHeader* header, bool cache_created) { disk_cache 81 net/disk_cache/blockfile/backend_impl.cc if (header->experiment == disk_cache::EXPERIMENT_OLD_FILE1 || disk_cache 82 net/disk_cache/blockfile/backend_impl.cc header->experiment == disk_cache::EXPERIMENT_OLD_FILE2) { disk_cache 90 net/disk_cache/blockfile/backend_impl.cc header->experiment = disk_cache::EXPERIMENT_SIMPLE_CONTROL; disk_cache 93 net/disk_cache/blockfile/backend_impl.cc return header->experiment == disk_cache::EXPERIMENT_SIMPLE_CONTROL; disk_cache 96 net/disk_cache/blockfile/backend_impl.cc header->experiment = disk_cache::NO_EXPERIMENT; disk_cache 101 net/disk_cache/blockfile/backend_impl.cc void FinalCleanupCallback(disk_cache::BackendImpl* backend) { disk_cache 1243 net/disk_cache/blockfile/backend_impl.cc bool BackendImpl::CreateBackingStore(disk_cache::File* file) { disk_cache 1276 net/disk_cache/blockfile/backend_impl.cc scoped_refptr<disk_cache::File> file(new disk_cache::File(base_file.Pass())); disk_cache 26 net/disk_cache/blockfile/backend_impl.h namespace disk_cache { disk_cache 284 net/disk_cache/blockfile/backend_impl.h bool CreateBackingStore(disk_cache::File* file); disk_cache 26 net/disk_cache/blockfile/backend_impl_v3.h namespace disk_cache { disk_cache 60 net/disk_cache/blockfile/backend_worker_v3.cc size_t table_size = sizeof(disk_cache::CacheAddr) * table_len; disk_cache 61 net/disk_cache/blockfile/backend_worker_v3.cc return sizeof(disk_cache::IndexHeader) + table_size; disk_cache 68 net/disk_cache/blockfile/backend_worker_v3.cc bool InitExperiment(disk_cache::IndexHeader* header, bool cache_created) { disk_cache 69 net/disk_cache/blockfile/backend_worker_v3.cc if (header->experiment == disk_cache::EXPERIMENT_OLD_FILE1 || disk_cache 70 net/disk_cache/blockfile/backend_worker_v3.cc header->experiment == disk_cache::EXPERIMENT_OLD_FILE2) { disk_cache 78 net/disk_cache/blockfile/backend_worker_v3.cc header->experiment = disk_cache::EXPERIMENT_SIMPLE_CONTROL; disk_cache 80 net/disk_cache/blockfile/backend_worker_v3.cc } else if (header->experiment != disk_cache::EXPERIMENT_SIMPLE_CONTROL) { disk_cache 85 net/disk_cache/blockfile/backend_worker_v3.cc header->experiment = disk_cache::NO_EXPERIMENT; disk_cache 289 net/disk_cache/blockfile/backend_worker_v3.cc bool BackendImpl::CreateBackingStore(disk_cache::File* file) { disk_cache 317 net/disk_cache/blockfile/backend_worker_v3.cc scoped_refptr<disk_cache::File> file(new disk_cache::File( disk_cache 16 net/disk_cache/blockfile/backend_worker_v3.h namespace disk_cache { disk_cache 35 net/disk_cache/blockfile/backend_worker_v3.h bool CreateBackingStore(disk_cache::File* file); disk_cache 11 net/disk_cache/blockfile/bitmap.h namespace disk_cache { disk_cache 10 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map32(32, false); disk_cache 13 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map64(64, false); disk_cache 19 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map; disk_cache 26 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap bitmap(80, true); disk_cache 59 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map(kSize, true); disk_cache 72 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map(kSize1, true); disk_cache 96 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap bitmap(kMapSize * 8, false); disk_cache 108 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap bitmap2(reinterpret_cast<uint32*>(local_map), disk_cache 125 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map(kMapSize * 8, true); disk_cache 138 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map(100, true); disk_cache 181 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map(500, true); disk_cache 196 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map(256, true); disk_cache 208 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map(100, true); disk_cache 222 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap map(100, false); disk_cache 236 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap bitmap(64, true); disk_cache 274 net/disk_cache/blockfile/bitmap_unittest.cc disk_cache::Bitmap bitmap(500, true); disk_cache 15 net/disk_cache/blockfile/block_bitmaps_v3.h namespace disk_cache { disk_cache 13 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc disk_cache::BlockBitmaps block_bitmaps; disk_cache 14 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc disk_cache::BlockFilesBitmaps bitmaps; disk_cache 17 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc disk_cache::BlockFileHeader headers[kNumHeaders]; disk_cache 20 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc headers[i].magic = disk_cache::kBlockMagic; disk_cache 21 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc headers[i].version = disk_cache::kBlockCurrentVersion; disk_cache 25 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc bitmaps.push_back(disk_cache::BlockHeader(&headers[i])); disk_cache 32 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc disk_cache::Addr address[kSize]; disk_cache 36 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc ASSERT_TRUE(block_bitmaps.CreateBlock(disk_cache::BLOCK_1K, block_size, disk_cache 38 net/disk_cache/blockfile/block_bitmaps_v3_unittest.cc EXPECT_EQ(disk_cache::BLOCK_1K, address[i].file_type()); disk_cache 84 net/disk_cache/blockfile/block_files.cc disk_cache::FileLock lock(header_); disk_cache 136 net/disk_cache/blockfile/block_files.cc disk_cache::FileLock lock(header_); disk_cache 24 net/disk_cache/blockfile/block_files.h namespace disk_cache { disk_cache 42 net/disk_cache/blockfile/disk_cache_perftest.cc bool TimeWrite(int num_entries, disk_cache::Backend* cache, disk_cache 64 net/disk_cache/blockfile/disk_cache_perftest.cc disk_cache::Entry* cache_entry; disk_cache 94 net/disk_cache/blockfile/disk_cache_perftest.cc bool TimeRead(int num_entries, disk_cache::Backend* cache, disk_cache 113 net/disk_cache/blockfile/disk_cache_perftest.cc disk_cache::Entry* cache_entry; disk_cache 168 net/disk_cache/blockfile/disk_cache_perftest.cc scoped_ptr<disk_cache::Backend> cache; disk_cache 169 net/disk_cache/blockfile/disk_cache_perftest.cc int rv = disk_cache::CreateCacheBackend( disk_cache 197 net/disk_cache/blockfile/disk_cache_perftest.cc rv = disk_cache::CreateCacheBackend( disk_cache 217 net/disk_cache/blockfile/disk_cache_perftest.cc disk_cache::BlockFiles files(cache_path_); disk_cache 224 net/disk_cache/blockfile/disk_cache_perftest.cc disk_cache::Addr* address = new disk_cache::Addr[kNumEntries]; disk_cache 230 net/disk_cache/blockfile/disk_cache_perftest.cc EXPECT_TRUE(files.CreateBlock(disk_cache::RANKINGS, BlockSize(), disk_cache 243 net/disk_cache/blockfile/disk_cache_perftest.cc EXPECT_TRUE(files.CreateBlock(disk_cache::RANKINGS, BlockSize(), disk_cache 52 net/disk_cache/blockfile/disk_format.h namespace disk_cache { disk_cache 26 net/disk_cache/blockfile/disk_format_base.h namespace disk_cache { disk_cache 51 net/disk_cache/blockfile/disk_format_v3.h namespace disk_cache { disk_cache 35 net/disk_cache/blockfile/entry_impl.cc class SyncCallback: public disk_cache::FileIOCallback { disk_cache 39 net/disk_cache/blockfile/entry_impl.cc SyncCallback(disk_cache::EntryImpl* entry, net::IOBuffer* buffer, disk_cache 53 net/disk_cache/blockfile/entry_impl.cc disk_cache::EntryImpl* entry_; disk_cache 68 net/disk_cache/blockfile/entry_impl.cc disk_cache::CreateNetLogReadWriteCompleteCallback(bytes_copied)); disk_cache 70 net/disk_cache/blockfile/entry_impl.cc entry_->ReportIOTime(disk_cache::EntryImpl::kAsyncIO, start_); disk_cache 15 net/disk_cache/blockfile/entry_impl.h namespace disk_cache { disk_cache 16 net/disk_cache/blockfile/entry_impl_v3.h namespace disk_cache { disk_cache 10 net/disk_cache/blockfile/errors.h namespace disk_cache { disk_cache 12 net/disk_cache/blockfile/eviction.h namespace disk_cache { disk_cache 13 net/disk_cache/blockfile/eviction_v3.h namespace disk_cache { disk_cache 9 net/disk_cache/blockfile/experiments.h namespace disk_cache { disk_cache 18 net/disk_cache/blockfile/file.h namespace disk_cache { disk_cache 10 net/disk_cache/blockfile/file_block.h namespace disk_cache { disk_cache 19 net/disk_cache/blockfile/file_ios.cc class FileBackgroundIO : public disk_cache::BackgroundIO { disk_cache 26 net/disk_cache/blockfile/file_ios.cc FileBackgroundIO(disk_cache::File* file, const void* buf, size_t buf_len, disk_cache 27 net/disk_cache/blockfile/file_ios.cc size_t offset, disk_cache::FileIOCallback* callback, disk_cache 28 net/disk_cache/blockfile/file_ios.cc disk_cache::InFlightIO* controller) disk_cache 29 net/disk_cache/blockfile/file_ios.cc : disk_cache::BackgroundIO(controller), callback_(callback), file_(file), disk_cache 33 net/disk_cache/blockfile/file_ios.cc disk_cache::FileIOCallback* callback() { disk_cache 37 net/disk_cache/blockfile/file_ios.cc disk_cache::File* file() { disk_cache 52 net/disk_cache/blockfile/file_ios.cc disk_cache::FileIOCallback* callback_; disk_cache 54 net/disk_cache/blockfile/file_ios.cc disk_cache::File* file_; disk_cache 64 net/disk_cache/blockfile/file_ios.cc class FileInFlightIO : public disk_cache::InFlightIO { disk_cache 72 net/disk_cache/blockfile/file_ios.cc void PostRead(disk_cache::File* file, void* buf, size_t buf_len, disk_cache 73 net/disk_cache/blockfile/file_ios.cc size_t offset, disk_cache::FileIOCallback* callback); disk_cache 74 net/disk_cache/blockfile/file_ios.cc void PostWrite(disk_cache::File* file, const void* buf, size_t buf_len, disk_cache 75 net/disk_cache/blockfile/file_ios.cc size_t offset, disk_cache::FileIOCallback* callback); disk_cache 82 net/disk_cache/blockfile/file_ios.cc virtual void OnOperationComplete(disk_cache::BackgroundIO* operation, disk_cache 111 net/disk_cache/blockfile/file_ios.cc void FileInFlightIO::PostRead(disk_cache::File *file, void* buf, size_t buf_len, disk_cache 112 net/disk_cache/blockfile/file_ios.cc size_t offset, disk_cache::FileIOCallback *callback) { disk_cache 122 net/disk_cache/blockfile/file_ios.cc void FileInFlightIO::PostWrite(disk_cache::File* file, const void* buf, disk_cache 124 net/disk_cache/blockfile/file_ios.cc disk_cache::FileIOCallback* callback) { disk_cache 135 net/disk_cache/blockfile/file_ios.cc void FileInFlightIO::OnOperationComplete(disk_cache::BackgroundIO* operation, disk_cache 139 net/disk_cache/blockfile/file_ios.cc disk_cache::FileIOCallback* callback = op->callback(); disk_cache 13 net/disk_cache/blockfile/file_lock.h namespace disk_cache { disk_cache 17 net/disk_cache/blockfile/file_win.cc MyOverlapped(disk_cache::File* file, size_t offset, disk_cache 18 net/disk_cache/blockfile/file_win.cc disk_cache::FileIOCallback* callback); disk_cache 25 net/disk_cache/blockfile/file_win.cc scoped_refptr<disk_cache::File> file_; disk_cache 26 net/disk_cache/blockfile/file_win.cc disk_cache::FileIOCallback* callback_; disk_cache 59 net/disk_cache/blockfile/file_win.cc MyOverlapped::MyOverlapped(disk_cache::File* file, size_t offset, disk_cache 60 net/disk_cache/blockfile/file_win.cc disk_cache::FileIOCallback* callback) { disk_cache 17 net/disk_cache/blockfile/in_flight_backend_io.h namespace disk_cache { disk_cache 14 net/disk_cache/blockfile/in_flight_io.h namespace disk_cache { disk_cache 18 net/disk_cache/blockfile/index_table_v3.cc using disk_cache::CellInfo; disk_cache 19 net/disk_cache/blockfile/index_table_v3.cc using disk_cache::CellList; disk_cache 20 net/disk_cache/blockfile/index_table_v3.cc using disk_cache::IndexCell; disk_cache 21 net/disk_cache/blockfile/index_table_v3.cc using disk_cache::IndexIterator; disk_cache 58 net/disk_cache/blockfile/index_table_v3.cc const int kEntriesFile = disk_cache::BLOCK_ENTRIES - 1; disk_cache 59 net/disk_cache/blockfile/index_table_v3.cc const int kEvictedEntriesFile = disk_cache::BLOCK_EVICTED - 1; disk_cache 138 net/disk_cache/blockfile/index_table_v3.cc void SetCellState(IndexCell* cell, disk_cache::EntryState state) { disk_cache 143 net/disk_cache/blockfile/index_table_v3.cc void SetCellGroup(IndexCell* cell, disk_cache::EntryGroup group) { disk_cache 172 net/disk_cache/blockfile/index_table_v3.cc if (GetCellState(cell) > disk_cache::ENTRY_USED || disk_cache 173 net/disk_cache/blockfile/index_table_v3.cc GetCellGroup(cell) == disk_cache::ENTRY_RESERVED || disk_cache 174 net/disk_cache/blockfile/index_table_v3.cc GetCellGroup(cell) > disk_cache::ENTRY_EVICTED) { disk_cache 189 net/disk_cache/blockfile/index_table_v3.cc bool IsValidAddress(disk_cache::Addr address) { disk_cache 191 net/disk_cache/blockfile/index_table_v3.cc (address.file_type() != disk_cache::BLOCK_EVICTED && disk_cache 192 net/disk_cache/blockfile/index_table_v3.cc address.file_type() != disk_cache::BLOCK_ENTRIES)) { disk_cache 200 net/disk_cache/blockfile/index_table_v3.cc disk_cache::EntryState state = disk_cache 201 net/disk_cache/blockfile/index_table_v3.cc static_cast<disk_cache::EntryState>(GetCellState(cell)); disk_cache 202 net/disk_cache/blockfile/index_table_v3.cc DCHECK_NE(state, disk_cache::ENTRY_FREE); disk_cache 203 net/disk_cache/blockfile/index_table_v3.cc return state != disk_cache::ENTRY_DELETED && disk_cache 204 net/disk_cache/blockfile/index_table_v3.cc state != disk_cache::ENTRY_FIXING; disk_cache 208 net/disk_cache/blockfile/index_table_v3.cc disk_cache::IndexBucket* table, disk_cache 209 net/disk_cache/blockfile/index_table_v3.cc disk_cache::IndexBucket** bucket) { disk_cache 213 net/disk_cache/blockfile/index_table_v3.cc int bucket_num = (*bucket)->next / disk_cache::kCellsPerBucket; disk_cache 231 net/disk_cache/blockfile/index_table_v3.cc void UpdateIterator(const disk_cache::EntryCell& cell, disk_cache 36 net/disk_cache/blockfile/index_table_v3.h namespace disk_cache { disk_cache 12 net/disk_cache/blockfile/index_table_v3_unittest.cc using disk_cache::EntryCell; disk_cache 13 net/disk_cache/blockfile/index_table_v3_unittest.cc using disk_cache::IndexCell; disk_cache 14 net/disk_cache/blockfile/index_table_v3_unittest.cc using disk_cache::IndexTable; disk_cache 15 net/disk_cache/blockfile/index_table_v3_unittest.cc using disk_cache::IndexTableInitData; disk_cache 21 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr; disk_cache 30 net/disk_cache/blockfile/index_table_v3_unittest.cc class MockIndexBackend : public disk_cache::IndexTableBackend { disk_cache 63 net/disk_cache/blockfile/index_table_v3_unittest.cc scoped_ptr<disk_cache::IndexBucket[]> main_table_; disk_cache 64 net/disk_cache/blockfile/index_table_v3_unittest.cc scoped_ptr<disk_cache::IndexBucket[]> extra_table_; disk_cache 74 net/disk_cache/blockfile/index_table_v3_unittest.cc main_table_.reset(new disk_cache::IndexBucket[num_entries]); disk_cache 75 net/disk_cache/blockfile/index_table_v3_unittest.cc extra_table_.reset(new disk_cache::IndexBucket[num_entries / 2]); disk_cache 82 net/disk_cache/blockfile/index_table_v3_unittest.cc size_t required_size = sizeof(disk_cache::IndexHeaderV3) + num_bitmap_bytes_; disk_cache 86 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::IndexHeaderV3* header = disk_cache 87 net/disk_cache/blockfile/index_table_v3_unittest.cc reinterpret_cast<disk_cache::IndexHeaderV3*>(main_bitmap_.get()); disk_cache 89 net/disk_cache/blockfile/index_table_v3_unittest.cc header->magic = disk_cache::kIndexMagicV3; disk_cache 90 net/disk_cache/blockfile/index_table_v3_unittest.cc header->version = disk_cache::kVersion3; disk_cache 100 net/disk_cache/blockfile/index_table_v3_unittest.cc header->flags = disk_cache::SMALL_CACHE; disk_cache 105 net/disk_cache/blockfile/index_table_v3_unittest.cc reinterpret_cast<disk_cache::IndexBitmap*>(main_bitmap_.get()); disk_cache 110 net/disk_cache/blockfile/index_table_v3_unittest.cc result->backup_header.reset(new disk_cache::IndexHeaderV3); disk_cache 120 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::IndexBitmap* this_bitmap = disk_cache 121 net/disk_cache/blockfile/index_table_v3_unittest.cc reinterpret_cast<disk_cache::IndexBitmap*>(main_bitmap_.get()); disk_cache 122 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::IndexBitmap* other_bitmap = disk_cache 123 net/disk_cache/blockfile/index_table_v3_unittest.cc reinterpret_cast<disk_cache::IndexBitmap*>(other.main_bitmap_.get()); disk_cache 133 net/disk_cache/blockfile/index_table_v3_unittest.cc main_table_buckets * sizeof(disk_cache::IndexBucket)); disk_cache 135 net/disk_cache/blockfile/index_table_v3_unittest.cc extra_table_buckets * sizeof(disk_cache::IndexBucket)); disk_cache 150 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, 0x4531); disk_cache 155 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntryState state = disk_cache::ENTRY_MODIFIED; disk_cache 156 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntryGroup group = disk_cache::ENTRY_HIGH_USE; disk_cache 162 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(disk_cache::ENTRY_NO_USE, entry.GetGroup()); disk_cache 163 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(disk_cache::ENTRY_NEW, entry.GetState()); disk_cache 198 net/disk_cache/blockfile/index_table_v3_unittest.cc state = disk_cache::ENTRY_USED; disk_cache 199 net/disk_cache/blockfile/index_table_v3_unittest.cc group = disk_cache::ENTRY_EVICTED; disk_cache 200 net/disk_cache/blockfile/index_table_v3_unittest.cc addr = disk_cache::Addr(disk_cache::BLOCK_EVICTED, 1, 6, 0x18a5); disk_cache 275 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellList entries; disk_cache 279 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, i * 13 + 1); disk_cache 283 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; disk_cache 291 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr = entries[i].address; disk_cache 293 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(hash); disk_cache 306 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, addr, disk_cache::ENTRY_DELETED); disk_cache 313 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr = entries[i].address; disk_cache 315 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(hash); disk_cache 336 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellList entries; disk_cache 340 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, i * 13 + 1); disk_cache 344 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; disk_cache 348 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(hash); disk_cache 358 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[0].address, disk_cache::ENTRY_DELETED); disk_cache 359 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[1].address, disk_cache::ENTRY_DELETED); disk_cache 360 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[2].address, disk_cache::ENTRY_USED); disk_cache 361 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[3].address, disk_cache::ENTRY_USED); disk_cache 362 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[4].address, disk_cache::ENTRY_USED); disk_cache 368 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[3].address, disk_cache::ENTRY_OPEN); disk_cache 369 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[4].address, disk_cache::ENTRY_OPEN); disk_cache 375 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[4].address, disk_cache::ENTRY_MODIFIED); disk_cache 381 net/disk_cache/blockfile/index_table_v3_unittest.cc index.SetSate(hash, entries[1].address, disk_cache::ENTRY_FREE); disk_cache 401 net/disk_cache/blockfile/index_table_v3_unittest.cc entry.SetGroup(disk_cache::ENTRY_EVICTED); disk_cache 409 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr2(disk_cache::BLOCK_EVICTED, 1, 6, 6); // Any address. disk_cache 412 net/disk_cache/blockfile/index_table_v3_unittest.cc EXPECT_EQ(disk_cache::ENTRY_EVICTED, entry.GetGroup()); disk_cache 474 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellList entries; disk_cache 478 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, i * 13 + 1); disk_cache 480 net/disk_cache/blockfile/index_table_v3_unittest.cc addr = disk_cache::Addr(disk_cache::BLOCK_EVICTED, 1, 6, i * 13 + 1); disk_cache 485 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; disk_cache 491 net/disk_cache/blockfile/index_table_v3_unittest.cc entry.SetGroup(disk_cache::ENTRY_HIGH_USE); disk_cache 494 net/disk_cache/blockfile/index_table_v3_unittest.cc entry.SetGroup(disk_cache::ENTRY_LOW_USE); disk_cache 507 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::IndexIterator no_use, low_use, high_use; disk_cache 521 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::IndexIterator iterator; disk_cache 580 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellList entries; disk_cache 596 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, entry_id * 17 + 1); disk_cache 600 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; disk_cache 609 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(entries[i].hash); disk_cache 620 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellList entries; disk_cache 630 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, i * 7 + 1); disk_cache 634 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; disk_cache 650 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, i * 7 + 1); disk_cache 654 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::CellInfo info = { hash, addr }; disk_cache 661 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::EntrySet found_entries = index.LookupEntries(entries[i].hash); disk_cache 681 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, i + 1); disk_cache 699 net/disk_cache/blockfile/index_table_v3_unittest.cc disk_cache::Addr addr(disk_cache::BLOCK_ENTRIES, 1, 5, 6); disk_cache 704 net/disk_cache/blockfile/index_table_v3_unittest.cc int expected = (1024 + 512) / 8 + sizeof(disk_cache::IndexHeaderV3); disk_cache 18 net/disk_cache/blockfile/mapped_file.h namespace disk_cache { disk_cache 17 net/disk_cache/blockfile/mapped_file_unittest.cc class FileCallbackTest: public disk_cache::FileIOCallback { disk_cache 43 net/disk_cache/blockfile/mapped_file_unittest.cc class TestFileBlock : public disk_cache::FileBlock { disk_cache 63 net/disk_cache/blockfile/mapped_file_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); disk_cache 78 net/disk_cache/blockfile/mapped_file_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); disk_cache 112 net/disk_cache/blockfile/mapped_file_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); disk_cache 44 net/disk_cache/blockfile/rankings.cc Transaction(volatile disk_cache::LruData* data, disk_cache::Addr addr, disk_cache 48 net/disk_cache/blockfile/rankings.cc volatile disk_cache::LruData* data_; disk_cache 52 net/disk_cache/blockfile/rankings.cc Transaction::Transaction(volatile disk_cache::LruData* data, disk_cache 53 net/disk_cache/blockfile/rankings.cc disk_cache::Addr addr, Operation op, int list) disk_cache 92 net/disk_cache/blockfile/rankings.cc if (disk_cache::NO_CRASH == disk_cache::g_rankings_crash) disk_cache 96 net/disk_cache/blockfile/rankings.cc switch (disk_cache::g_rankings_crash) { disk_cache 97 net/disk_cache/blockfile/rankings.cc case disk_cache::INSERT_ONE_1: disk_cache 98 net/disk_cache/blockfile/rankings.cc case disk_cache::INSERT_LOAD_1: disk_cache 105 net/disk_cache/blockfile/rankings.cc if (disk_cache::INSERT_EMPTY_1 == disk_cache::g_rankings_crash) disk_cache 109 net/disk_cache/blockfile/rankings.cc switch (disk_cache::g_rankings_crash) { disk_cache 110 net/disk_cache/blockfile/rankings.cc case disk_cache::INSERT_EMPTY_2: disk_cache 111 net/disk_cache/blockfile/rankings.cc case disk_cache::INSERT_ONE_2: disk_cache 112 net/disk_cache/blockfile/rankings.cc case disk_cache::INSERT_LOAD_2: disk_cache 119 net/disk_cache/blockfile/rankings.cc switch (disk_cache::g_rankings_crash) { disk_cache 120 net/disk_cache/blockfile/rankings.cc case disk_cache::INSERT_EMPTY_3: disk_cache 121 net/disk_cache/blockfile/rankings.cc case disk_cache::INSERT_ONE_3: disk_cache 128 net/disk_cache/blockfile/rankings.cc switch (disk_cache::g_rankings_crash) { disk_cache 129 net/disk_cache/blockfile/rankings.cc case disk_cache::REMOVE_ONE_1: disk_cache 130 net/disk_cache/blockfile/rankings.cc case disk_cache::REMOVE_HEAD_1: disk_cache 131 net/disk_cache/blockfile/rankings.cc case disk_cache::REMOVE_TAIL_1: disk_cache 132 net/disk_cache/blockfile/rankings.cc case disk_cache::REMOVE_LOAD_1: disk_cache 139 net/disk_cache/blockfile/rankings.cc if (disk_cache::REMOVE_ONE_2 == disk_cache::g_rankings_crash) disk_cache 143 net/disk_cache/blockfile/rankings.cc if (disk_cache::REMOVE_ONE_3 == disk_cache::g_rankings_crash) disk_cache 147 net/disk_cache/blockfile/rankings.cc if (disk_cache::REMOVE_HEAD_2 == disk_cache::g_rankings_crash) disk_cache 151 net/disk_cache/blockfile/rankings.cc if (disk_cache::REMOVE_TAIL_2 == disk_cache::g_rankings_crash) disk_cache 155 net/disk_cache/blockfile/rankings.cc if (disk_cache::REMOVE_TAIL_3 == disk_cache::g_rankings_crash) disk_cache 159 net/disk_cache/blockfile/rankings.cc switch (disk_cache::g_rankings_crash) { disk_cache 160 net/disk_cache/blockfile/rankings.cc case disk_cache::REMOVE_ONE_4: disk_cache 161 net/disk_cache/blockfile/rankings.cc case disk_cache::REMOVE_LOAD_2: disk_cache 162 net/disk_cache/blockfile/rankings.cc case disk_cache::REMOVE_HEAD_3: disk_cache 169 net/disk_cache/blockfile/rankings.cc switch (disk_cache::g_rankings_crash) { disk_cache 170 net/disk_cache/blockfile/rankings.cc case disk_cache::REMOVE_HEAD_4: disk_cache 171 net/disk_cache/blockfile/rankings.cc case disk_cache::REMOVE_LOAD_3: disk_cache 185 net/disk_cache/blockfile/rankings.cc void UpdateTimes(disk_cache::CacheRankingsBlock* node, bool modified) { disk_cache 17 net/disk_cache/blockfile/rankings.h namespace disk_cache { disk_cache 54 net/disk_cache/blockfile/sparse_control.cc public disk_cache::FileIOCallback { disk_cache 56 net/disk_cache/blockfile/sparse_control.cc ChildrenDeleter(disk_cache::BackendImpl* backend, const std::string& name) disk_cache 64 net/disk_cache/blockfile/sparse_control.cc void ReadData(disk_cache::Addr address, int len); disk_cache 72 net/disk_cache/blockfile/sparse_control.cc base::WeakPtr<disk_cache::BackendImpl> backend_; disk_cache 74 net/disk_cache/blockfile/sparse_control.cc disk_cache::Bitmap children_map_; disk_cache 88 net/disk_cache/blockfile/sparse_control.cc if (len < static_cast<int>(sizeof(disk_cache::SparseData))) disk_cache 93 net/disk_cache/blockfile/sparse_control.cc disk_cache::SparseData* data = disk_cache 94 net/disk_cache/blockfile/sparse_control.cc reinterpret_cast<disk_cache::SparseData*>(buffer); disk_cache 97 net/disk_cache/blockfile/sparse_control.cc int num_bits = (len - sizeof(disk_cache::SparseHeader)) * 8; disk_cache 105 net/disk_cache/blockfile/sparse_control.cc void ChildrenDeleter::ReadData(disk_cache::Addr address, int len) { disk_cache 110 net/disk_cache/blockfile/sparse_control.cc disk_cache::File* file(backend_->File(address)); disk_cache 115 net/disk_cache/blockfile/sparse_control.cc disk_cache::kBlockHeaderSize; disk_cache 145 net/disk_cache/blockfile/sparse_control.cc disk_cache::SparseControl::SparseOperation operation) { disk_cache 147 net/disk_cache/blockfile/sparse_control.cc case disk_cache::SparseControl::kReadOperation: disk_cache 149 net/disk_cache/blockfile/sparse_control.cc case disk_cache::SparseControl::kWriteOperation: disk_cache 151 net/disk_cache/blockfile/sparse_control.cc case disk_cache::SparseControl::kGetRangeOperation: disk_cache 162 net/disk_cache/blockfile/sparse_control.cc disk_cache::SparseControl::SparseOperation operation, disk_cache 167 net/disk_cache/blockfile/sparse_control.cc case disk_cache::SparseControl::kReadOperation: disk_cache 170 net/disk_cache/blockfile/sparse_control.cc case disk_cache::SparseControl::kWriteOperation: disk_cache 173 net/disk_cache/blockfile/sparse_control.cc case disk_cache::SparseControl::kGetRangeOperation: disk_cache 22 net/disk_cache/blockfile/sparse_control.h namespace disk_cache { disk_cache 54 net/disk_cache/blockfile/sparse_control_v3.cc public disk_cache::FileIOCallback { disk_cache 56 net/disk_cache/blockfile/sparse_control_v3.cc ChildrenDeleter(disk_cache::BackendImpl* backend, const std::string& name) disk_cache 64 net/disk_cache/blockfile/sparse_control_v3.cc void ReadData(disk_cache::Addr address, int len); disk_cache 72 net/disk_cache/blockfile/sparse_control_v3.cc base::WeakPtr<disk_cache::BackendImpl> backend_; disk_cache 74 net/disk_cache/blockfile/sparse_control_v3.cc disk_cache::Bitmap children_map_; disk_cache 88 net/disk_cache/blockfile/sparse_control_v3.cc if (len < static_cast<int>(sizeof(disk_cache::SparseData))) disk_cache 93 net/disk_cache/blockfile/sparse_control_v3.cc disk_cache::SparseData* data = disk_cache 94 net/disk_cache/blockfile/sparse_control_v3.cc reinterpret_cast<disk_cache::SparseData*>(buffer); disk_cache 97 net/disk_cache/blockfile/sparse_control_v3.cc int num_bits = (len - sizeof(disk_cache::SparseHeader)) * 8; disk_cache 105 net/disk_cache/blockfile/sparse_control_v3.cc void ChildrenDeleter::ReadData(disk_cache::Addr address, int len) { disk_cache 110 net/disk_cache/blockfile/sparse_control_v3.cc disk_cache::File* file(backend_->File(address)); disk_cache 115 net/disk_cache/blockfile/sparse_control_v3.cc disk_cache::kBlockHeaderSize; disk_cache 147 net/disk_cache/blockfile/sparse_control_v3.cc disk_cache::SparseControl::SparseOperation operation) { disk_cache 149 net/disk_cache/blockfile/sparse_control_v3.cc case disk_cache::SparseControl::kReadOperation: disk_cache 151 net/disk_cache/blockfile/sparse_control_v3.cc case disk_cache::SparseControl::kWriteOperation: disk_cache 153 net/disk_cache/blockfile/sparse_control_v3.cc case disk_cache::SparseControl::kGetRangeOperation: disk_cache 164 net/disk_cache/blockfile/sparse_control_v3.cc disk_cache::SparseControl::SparseOperation operation, disk_cache 169 net/disk_cache/blockfile/sparse_control_v3.cc case disk_cache::SparseControl::kReadOperation: disk_cache 172 net/disk_cache/blockfile/sparse_control_v3.cc case disk_cache::SparseControl::kWriteOperation: disk_cache 175 net/disk_cache/blockfile/sparse_control_v3.cc case disk_cache::SparseControl::kGetRangeOperation: disk_cache 22 net/disk_cache/blockfile/sparse_control_v3.h namespace disk_cache { disk_cache 20 net/disk_cache/blockfile/stats.cc int data_sizes[disk_cache::Stats::kDataSizesLength]; disk_cache 21 net/disk_cache/blockfile/stats.cc int64 counters[disk_cache::Stats::MAX_COUNTER]; disk_cache 66 net/disk_cache/blockfile/stats.cc COMPILE_ASSERT(arraysize(kCounterNames) == disk_cache::Stats::MAX_COUNTER, disk_cache 19 net/disk_cache/blockfile/stats.h namespace disk_cache { disk_cache 45 net/disk_cache/blockfile/stats_histogram.cc Sample maximum = disk_cache::Stats::kDataSizesLength - 1; disk_cache 46 net/disk_cache/blockfile/stats_histogram.cc size_t bucket_count = disk_cache::Stats::kDataSizesLength; disk_cache 19 net/disk_cache/blockfile/stats_histogram.h namespace disk_cache { disk_cache 14 net/disk_cache/blockfile/storage_block-inl.h namespace disk_cache { disk_cache 13 net/disk_cache/blockfile/storage_block.h namespace disk_cache { disk_cache 13 net/disk_cache/blockfile/storage_block_unittest.cc typedef disk_cache::StorageBlock<disk_cache::EntryStore> CacheEntryBlock; disk_cache 17 net/disk_cache/blockfile/storage_block_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); disk_cache 21 net/disk_cache/blockfile/storage_block_unittest.cc CacheEntryBlock entry1(file.get(), disk_cache::Addr(0xa0010001)); disk_cache 22 net/disk_cache/blockfile/storage_block_unittest.cc memset(entry1.Data(), 0, sizeof(disk_cache::EntryStore)); disk_cache 37 net/disk_cache/blockfile/storage_block_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); disk_cache 41 net/disk_cache/blockfile/storage_block_unittest.cc CacheEntryBlock entry1(file.get(), disk_cache::Addr(0xa0010001)); disk_cache 44 net/disk_cache/blockfile/storage_block_unittest.cc CacheEntryBlock entry2(file.get(), disk_cache::Addr(0xa0010002)); disk_cache 57 net/disk_cache/blockfile/storage_block_unittest.cc scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile); disk_cache 62 net/disk_cache/blockfile/storage_block_unittest.cc new CacheEntryBlock(file.get(), disk_cache::Addr(0xa0010003)); disk_cache 69 net/disk_cache/blockfile/storage_block_unittest.cc CacheEntryBlock entry2(file.get(), disk_cache::Addr(0xa0010003)); disk_cache 116 net/disk_cache/blockfile/stress_cache.cc disk_cache::BackendImpl* cache = disk_cache 117 net/disk_cache/blockfile/stress_cache.cc new disk_cache::BackendImpl(path, mask, disk_cache 121 net/disk_cache/blockfile/stress_cache.cc cache->SetFlags(disk_cache::kNoLoadProtection); disk_cache 145 net/disk_cache/blockfile/stress_cache.cc disk_cache::Entry* entries[kNumEntries] = {0}; disk_cache 247 net/disk_cache/blockfile/stress_cache.cc disk_cache::Trace("%s", message); disk_cache 10 net/disk_cache/blockfile/stress_support.h namespace disk_cache { disk_cache 16 net/disk_cache/blockfile/trace.h namespace disk_cache { disk_cache 30 net/disk_cache/cache_creator.cc scoped_ptr<disk_cache::Backend>* backend, disk_cache 51 net/disk_cache/cache_creator.cc scoped_ptr<disk_cache::Backend>* backend_; disk_cache 53 net/disk_cache/cache_creator.cc scoped_ptr<disk_cache::Backend> created_cache_; disk_cache 63 net/disk_cache/cache_creator.cc scoped_ptr<disk_cache::Backend>* backend, disk_cache 90 net/disk_cache/cache_creator.cc disk_cache::SimpleBackendImpl* simple_cache = disk_cache 91 net/disk_cache/cache_creator.cc new disk_cache::SimpleBackendImpl(path_, max_bytes_, type_, disk_cache 102 net/disk_cache/cache_creator.cc disk_cache::BackendImpl* new_cache = disk_cache 103 net/disk_cache/cache_creator.cc new disk_cache::BackendImpl(path_, thread_.get(), net_log_); disk_cache 122 net/disk_cache/cache_creator.cc new disk_cache::TracingCacheBackend(created_cache_.Pass())); disk_cache 142 net/disk_cache/cache_creator.cc if (!disk_cache::DelayedCacheCleanup(path_)) disk_cache 164 net/disk_cache/cache_creator.cc *backend = disk_cache::MemBackendImpl::CreateBackend(max_bytes, net_log); disk_cache 35 net/disk_cache/cache_util.cc disk_cache::DeleteCache(to_delete, true); disk_cache 53 net/disk_cache/cache_util.cc using disk_cache::kDefaultCacheSize; disk_cache 131 net/disk_cache/cache_util.cc if (!disk_cache::MoveCache(full_path, to_delete)) { disk_cache 16 net/disk_cache/cache_util.h namespace disk_cache { disk_cache 55 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(disk_cache::MoveCache(cache_dir_, dest_dir_)); disk_cache 71 net/disk_cache/cache_util_unittest.cc disk_cache::DeleteCache(cache_dir_, false); disk_cache 80 net/disk_cache/cache_util_unittest.cc disk_cache::DeleteCache(cache_dir_, true); disk_cache 89 net/disk_cache/cache_util_unittest.cc EXPECT_TRUE(disk_cache::DeleteCacheFile(file1_)); disk_cache 30 net/disk_cache/disk_cache.h namespace disk_cache { disk_cache 95 net/disk_cache/disk_cache_test_base.cc CreateBackend(disk_cache::kNoRandom, &cache_thread_); disk_cache 116 net/disk_cache/disk_cache_test_base.cc disk_cache::Entry** entry) { disk_cache 123 net/disk_cache/disk_cache_test_base.cc disk_cache::Entry** entry) { disk_cache 155 net/disk_cache/disk_cache_test_base.cc disk_cache::Entry** next_entry) { disk_cache 181 net/disk_cache/disk_cache_test_base.cc int DiskCacheTestWithCache::ReadData(disk_cache::Entry* entry, int index, disk_cache 188 net/disk_cache/disk_cache_test_base.cc int DiskCacheTestWithCache::WriteData(disk_cache::Entry* entry, int index, disk_cache 196 net/disk_cache/disk_cache_test_base.cc int DiskCacheTestWithCache::ReadSparseData(disk_cache::Entry* entry, disk_cache 204 net/disk_cache/disk_cache_test_base.cc int DiskCacheTestWithCache::WriteSparseData(disk_cache::Entry* entry, disk_cache 213 net/disk_cache/disk_cache_test_base.cc RunTaskForTest(base::Bind(&disk_cache::BackendImpl::TrimForTest, disk_cache 219 net/disk_cache/disk_cache_test_base.cc RunTaskForTest(base::Bind(&disk_cache::BackendImpl::TrimDeletedListForTest, disk_cache 244 net/disk_cache/disk_cache_test_base.cc disk_cache::SimpleBackendImpl::FlushWorkerPoolForTesting(); disk_cache 254 net/disk_cache/disk_cache_test_base.cc disk_cache::SimpleBackendImpl::FlushWorkerPoolForTesting(); disk_cache 259 net/disk_cache/disk_cache_test_base.cc mem_cache_ = new disk_cache::MemBackendImpl(NULL); disk_cache 279 net/disk_cache/disk_cache_test_base.cc CreateBackend(disk_cache::kNoRandom, &cache_thread_); disk_cache 291 net/disk_cache/disk_cache_test_base.cc scoped_ptr<disk_cache::SimpleBackendImpl> simple_backend( disk_cache 292 net/disk_cache/disk_cache_test_base.cc new disk_cache::SimpleBackendImpl( disk_cache 297 net/disk_cache/disk_cache_test_base.cc cache_ = simple_backend.PassAs<disk_cache::Backend>(); disk_cache 308 net/disk_cache/disk_cache_test_base.cc cache_impl_ = new disk_cache::BackendImpl(cache_path_, mask_, runner, NULL); disk_cache 310 net/disk_cache/disk_cache_test_base.cc cache_impl_ = new disk_cache::BackendImpl(cache_path_, runner, NULL); disk_cache 23 net/disk_cache/disk_cache_test_base.h namespace disk_cache { disk_cache 113 net/disk_cache/disk_cache_test_base.h int OpenEntry(const std::string& key, disk_cache::Entry** entry); disk_cache 114 net/disk_cache/disk_cache_test_base.h int CreateEntry(const std::string& key, disk_cache::Entry** entry); disk_cache 120 net/disk_cache/disk_cache_test_base.h int OpenNextEntry(void** iter, disk_cache::Entry** next_entry); disk_cache 123 net/disk_cache/disk_cache_test_base.h int ReadData(disk_cache::Entry* entry, int index, int offset, disk_cache 125 net/disk_cache/disk_cache_test_base.h int WriteData(disk_cache::Entry* entry, int index, int offset, disk_cache 127 net/disk_cache/disk_cache_test_base.h int ReadSparseData(disk_cache::Entry* entry, int64 offset, net::IOBuffer* buf, disk_cache 129 net/disk_cache/disk_cache_test_base.h int WriteSparseData(disk_cache::Entry* entry, int64 offset, disk_cache 149 net/disk_cache/disk_cache_test_base.h scoped_ptr<disk_cache::Backend> cache_; disk_cache 150 net/disk_cache/disk_cache_test_base.h disk_cache::BackendImpl* cache_impl_; disk_cache 151 net/disk_cache/disk_cache_test_base.h disk_cache::SimpleBackendImpl* simple_cache_impl_; disk_cache 152 net/disk_cache/disk_cache_test_base.h disk_cache::MemBackendImpl* mem_cache_; disk_cache 58 net/disk_cache/disk_cache_test_util.cc disk_cache::DeleteCache(path, false); disk_cache 64 net/disk_cache/disk_cache_test_util.cc scoped_ptr<disk_cache::BackendImpl> cache(new disk_cache::BackendImpl( disk_cache 70 net/disk_cache/disk_cache_test_util.cc cache->SetFlags(disk_cache::kNoRandom); disk_cache 31 net/disk_cache/entry_unittest.cc using disk_cache::ScopedEntryPtr; disk_cache 36 net/disk_cache/entry_unittest.cc void InternalSyncIOBackground(disk_cache::Entry* entry); disk_cache 37 net/disk_cache/entry_unittest.cc void ExternalSyncIOBackground(disk_cache::Entry* entry); disk_cache 73 net/disk_cache/entry_unittest.cc void DiskCacheEntryTest::InternalSyncIOBackground(disk_cache::Entry* entry) { disk_cache 140 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 168 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 369 net/disk_cache/entry_unittest.cc void DiskCacheEntryTest::ExternalSyncIOBackground(disk_cache::Entry* entry) { disk_cache 423 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 444 net/disk_cache/entry_unittest.cc cache_impl_->SetFlags(disk_cache::kNoBuffering); disk_cache 455 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 604 net/disk_cache/entry_unittest.cc cache_impl_->SetFlags(disk_cache::kNoBuffering); disk_cache 616 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 633 net/disk_cache/entry_unittest.cc cache_impl_->SetFlags(disk_cache::kNoBuffering); disk_cache 644 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 710 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 764 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 826 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 901 net/disk_cache/entry_unittest.cc cache_impl_->SetFlags(disk_cache::kNoBuffering); disk_cache 913 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 983 net/disk_cache/entry_unittest.cc cache_impl_->SetFlags(disk_cache::kNoBuffering); disk_cache 995 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1038 net/disk_cache/entry_unittest.cc cache_impl_->SetFlags(disk_cache::kNoBuffering); disk_cache 1052 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1133 net/disk_cache/entry_unittest.cc cache_impl_->SetFlags(disk_cache::kNoBuffering); disk_cache 1140 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1164 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1263 net/disk_cache/entry_unittest.cc cache_impl_->SetFlags(disk_cache::kNoBuffering); disk_cache 1271 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1323 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1399 net/disk_cache/entry_unittest.cc cache_impl_->SetFlags(disk_cache::kNoBuffering); disk_cache 1412 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1448 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1482 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry1; disk_cache 1483 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2; disk_cache 1525 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1568 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1579 net/disk_cache/entry_unittest.cc disk_cache::Addr address(0x80000001); disk_cache 1604 net/disk_cache/entry_unittest.cc disk_cache::Entry* parent_entry; disk_cache 1621 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 1626 net/disk_cache/entry_unittest.cc disk_cache::MemEntryImpl* mem_entry = disk_cache 1627 net/disk_cache/entry_unittest.cc reinterpret_cast<disk_cache::MemEntryImpl*>(entry); disk_cache 1628 net/disk_cache/entry_unittest.cc EXPECT_EQ(disk_cache::MemEntryImpl::kParentEntry, mem_entry->type()); disk_cache 1635 net/disk_cache/entry_unittest.cc void VerifySparseIO(disk_cache::Entry* entry, int64 offset, disk_cache 1654 net/disk_cache/entry_unittest.cc void VerifyContentSparseIO(disk_cache::Entry* entry, int64 offset, char* buffer, disk_cache 1667 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1707 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1739 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1804 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1859 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1888 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 1948 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry1; disk_cache 1964 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2; disk_cache 1992 net/disk_cache/entry_unittest.cc disk_cache::Entry *entry1, *entry2; disk_cache 2061 net/disk_cache/entry_unittest.cc explicit SparseTestCompletionCallback(scoped_ptr<disk_cache::Backend> cache) disk_cache 2071 net/disk_cache/entry_unittest.cc scoped_ptr<disk_cache::Backend> cache_; disk_cache 2081 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 2099 net/disk_cache/entry_unittest.cc disk_cache::Backend* cache = cache_.get(); disk_cache 2108 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 2206 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 2257 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 2314 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 2317 net/disk_cache/entry_unittest.cc disk_cache::EntryImpl* entry_impl = disk_cache 2318 net/disk_cache/entry_unittest.cc static_cast<disk_cache::EntryImpl*>(entry); disk_cache 2319 net/disk_cache/entry_unittest.cc disk_cache::EntryStore* store = entry_impl->entry()->Data(); disk_cache 2354 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2375 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2384 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2393 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2402 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2418 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2428 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2437 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2446 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2460 net/disk_cache/entry_unittest.cc for (int i = 1; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 2483 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount - 1; ++i) { disk_cache 2493 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2511 net/disk_cache/entry_unittest.cc disk_cache::simple_util::GetFilenameFromKeyAndFileIndex(key, 0)); disk_cache 2518 net/disk_cache/entry_unittest.cc sizeof(disk_cache::SimpleFileHeader) + key.size() + kDataSize - 2; disk_cache 2533 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2555 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2583 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2585 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 2598 net/disk_cache/entry_unittest.cc int kTruncationBytes = -implicit_cast<int>(sizeof(disk_cache::SimpleFileEOF)); disk_cache 2600 net/disk_cache/entry_unittest.cc disk_cache::simple_util::GetFilenameFromKeyAndFileIndex(key, 0)); disk_cache 2602 net/disk_cache/entry_unittest.cc disk_cache::simple_util::GetFileSizeFromKeyAndDataSize(key, disk_cache 2615 net/disk_cache/entry_unittest.cc disk_cache::Entry* const null_entry = NULL; disk_cache 2617 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2642 net/disk_cache/entry_unittest.cc disk_cache::Entry* const null_entry = NULL; disk_cache 2652 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2677 net/disk_cache/entry_unittest.cc disk_cache::Entry* const null_entry = NULL; disk_cache 2680 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2726 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 2746 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2808 net/disk_cache/entry_unittest.cc static_cast<disk_cache::SimpleEntryImpl*>(entry)->HasOneRef()); disk_cache 2816 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 2823 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2831 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 2846 net/disk_cache/entry_unittest.cc static_cast<disk_cache::SimpleEntryImpl*>(entry)->HasOneRef()); disk_cache 2854 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 2857 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2864 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 2875 net/disk_cache/entry_unittest.cc static_cast<disk_cache::SimpleEntryImpl*>(entry2)->HasOneRef()); disk_cache 2883 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 2890 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2910 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 2916 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry3 = NULL; disk_cache 2940 net/disk_cache/entry_unittest.cc static_cast<disk_cache::SimpleEntryImpl*>(entry2)->HasOneRef()); disk_cache 2949 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 2956 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 2975 net/disk_cache/entry_unittest.cc static_cast<disk_cache::SimpleEntryImpl*>(entry)->HasOneRef()); disk_cache 2983 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 2991 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3022 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3056 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3063 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3082 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryFileCount; ++i) { disk_cache 3084 net/disk_cache/entry_unittest.cc disk_cache::simple_util::GetFilenameFromKeyAndFileIndex(key, i)); disk_cache 3097 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3102 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry1 = NULL; disk_cache 3113 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 3126 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3130 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry1 = NULL; disk_cache 3137 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 3143 net/disk_cache/entry_unittest.cc disk_cache::SimpleEntryImpl* simple_entry1 = disk_cache 3144 net/disk_cache/entry_unittest.cc static_cast<disk_cache::SimpleEntryImpl*>(entry1); disk_cache 3149 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry3 = NULL; disk_cache 3161 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3165 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry1 = NULL; disk_cache 3172 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 3191 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3192 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 3194 net/disk_cache/entry_unittest.cc EXPECT_TRUE(disk_cache::simple_util::CreateCorruptFileForTests( disk_cache 3203 net/disk_cache/entry_unittest.cc static_cast<disk_cache::SimpleEntryImpl*>(entry)->HasOneRef()); disk_cache 3221 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 3267 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3326 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3374 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry1; disk_cache 3376 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2; disk_cache 3401 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3406 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 3433 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3439 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 3460 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3467 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3475 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry2 = NULL; disk_cache 3497 net/disk_cache/entry_unittest.cc static_cast<disk_cache::SimpleEntryImpl*>(entry)->HasOneRef()); disk_cache 3510 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3521 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3524 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 3546 net/disk_cache/entry_unittest.cc EXPECT_TRUE(static_cast<disk_cache::SimpleEntryImpl*>(entry)->HasOneRef()); disk_cache 3556 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3586 net/disk_cache/entry_unittest.cc disk_cache::simple_util::GetFilenameFromKeyAndFileIndex(key, 0)); disk_cache 3591 net/disk_cache/entry_unittest.cc int data_size[disk_cache::kSimpleEntryStreamCount] = {kSize, stream1_size, 0}; disk_cache 3593 net/disk_cache/entry_unittest.cc disk_cache::SimpleEntryStat entry_stat( disk_cache 3596 net/disk_cache/entry_unittest.cc disk_cache::SimpleFileEOF eof_record; disk_cache 3600 net/disk_cache/entry_unittest.cc EXPECT_EQ(disk_cache::kSimpleFinalMagicNumber, eof_record.final_magic_number); disk_cache 3601 net/disk_cache/entry_unittest.cc EXPECT_TRUE((eof_record.flags & disk_cache::SimpleFileEOF::FLAG_HAS_CRC32) == disk_cache 3602 net/disk_cache/entry_unittest.cc disk_cache::SimpleFileEOF::FLAG_HAS_CRC32); disk_cache 3631 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3641 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3646 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 3674 net/disk_cache/entry_unittest.cc disk_cache::simple_util::GetFileIndexFromStreamIndex(2); disk_cache 3676 net/disk_cache/entry_unittest.cc disk_cache::simple_util::GetFilenameFromKeyAndFileIndex( disk_cache 3695 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 3719 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 3745 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 3779 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 3814 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 3833 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3843 net/disk_cache/entry_unittest.cc for (int i = 0; i < disk_cache::kSimpleEntryStreamCount; ++i) { disk_cache 3845 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry = NULL; disk_cache 3928 net/disk_cache/entry_unittest.cc disk_cache::Entry* null = NULL; disk_cache 3929 net/disk_cache/entry_unittest.cc disk_cache::Entry* entry; disk_cache 19 net/disk_cache/memory/mem_backend_impl.h namespace disk_cache { disk_cache 49 net/disk_cache/memory/mem_entry_impl.cc const disk_cache::MemEntryImpl* parent, disk_cache 14 net/disk_cache/memory/mem_entry_impl.h namespace disk_cache { disk_cache 12 net/disk_cache/memory/mem_rankings.h namespace disk_cache { disk_cache 17 net/disk_cache/net_log_parameters.cc const disk_cache::Entry* entry, disk_cache 14 net/disk_cache/net_log_parameters.h namespace disk_cache { disk_cache 131 net/disk_cache/simple/simple_backend_impl.cc return disk_cache::UpgradeSimpleCacheOnDisk(path); disk_cache 498 net/disk_cache/simple/simple_backend_impl.cc disk_cache::simple_util::GetMTime(path, &result.cache_dir_mtime); disk_cache 502 net/disk_cache/simple/simple_backend_impl.cc result.max_size = disk_cache::PreferredCacheSize(available); disk_cache 31 net/disk_cache/simple/simple_backend_impl.h namespace disk_cache { disk_cache 8 net/disk_cache/simple/simple_backend_version.h namespace disk_cache { disk_cache 17 net/disk_cache/simple/simple_entry_format.h namespace disk_cache { disk_cache 12 net/disk_cache/simple/simple_entry_format_history.h namespace disk_cache { disk_cache 32 net/disk_cache/simple/simple_entry_impl.h namespace disk_cache { disk_cache 16 net/disk_cache/simple/simple_entry_operation.h namespace disk_cache { disk_cache 53 net/disk_cache/simple/simple_index.cc typedef disk_cache::SimpleIndex SimpleIndex; disk_cache 54 net/disk_cache/simple/simple_index.cc typedef disk_cache::SimpleIndex::EntrySet EntrySet; disk_cache 382 net/disk_cache/simple/simple_index.cc const disk_cache::EntryMetadata& entry_metadata, disk_cache 34 net/disk_cache/simple/simple_index.h namespace disk_cache { disk_cache 13 net/disk_cache/simple/simple_index_delegate.h namespace disk_cache { disk_cache 28 net/disk_cache/simple/simple_index_file.h namespace disk_cache { disk_cache 30 net/disk_cache/simple/simple_index_file_unittest.cc using disk_cache::SimpleIndexFile; disk_cache 31 net/disk_cache/simple/simple_index_file_unittest.cc using disk_cache::SimpleIndex; disk_cache 43 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_EQ(disk_cache::kSimpleIndexMagicNumber, index_metadata.magic_number_); disk_cache 44 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_EQ(disk_cache::kSimpleVersion, index_metadata.version_); disk_cache 275 net/disk_cache/simple/simple_index_file_unittest.cc disk_cache::FakeIndexData file_contents; disk_cache 276 net/disk_cache/simple/simple_index_file_unittest.cc file_contents.initial_magic_number = disk_cache::kSimpleInitialMagicNumber; disk_cache 294 net/disk_cache/simple/simple_index_file_unittest.cc ASSERT_TRUE(disk_cache::UpgradeSimpleCacheOnDisk(cache_path)); disk_cache 300 net/disk_cache/simple/simple_index_file_unittest.cc disk_cache::SimpleBackendImpl* simple_cache = disk_cache 301 net/disk_cache/simple/simple_index_file_unittest.cc new disk_cache::SimpleBackendImpl(cache_path, disk_cache 101 net/disk_cache/simple/simple_index_unittest.cc return disk_cache::simple_util::GetEntryHashKey( disk_cache 201 net/disk_cache/simple/simple_index_unittest.cc typedef disk_cache::SimpleIndex::EntrySet EntrySet; disk_cache 19 net/disk_cache/simple/simple_net_log_parameters.cc const disk_cache::SimpleEntryImpl* entry, disk_cache 28 net/disk_cache/simple/simple_net_log_parameters.cc const disk_cache::SimpleEntryImpl* entry, disk_cache 12 net/disk_cache/simple/simple_net_log_parameters.h namespace disk_cache { disk_cache 108 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_GT(disk_cache::kSimpleEntryFileCount, file_index); disk_cache 109 net/disk_cache/simple/simple_synchronous_entry.cc return file_index == disk_cache::simple_util::GetFileIndexFromStreamIndex(2); disk_cache 28 net/disk_cache/simple/simple_synchronous_entry.h namespace disk_cache { disk_cache 17 net/disk_cache/simple/simple_test_util.cc disk_cache::simple_util::GetFilenameFromKeyAndFileIndex(key, 0)); disk_cache 17 net/disk_cache/simple/simple_test_util.h namespace disk_cache { disk_cache 19 net/disk_cache/simple/simple_util.h namespace disk_cache { disk_cache 10 net/disk_cache/simple/simple_util_unittest.cc using disk_cache::simple_util::ConvertEntryHashKeyToHexString; disk_cache 11 net/disk_cache/simple/simple_util_unittest.cc using disk_cache::simple_util::GetEntryHashKeyAsHexString; disk_cache 12 net/disk_cache/simple/simple_util_unittest.cc using disk_cache::simple_util::GetEntryHashKeyFromHexString; disk_cache 13 net/disk_cache/simple/simple_util_unittest.cc using disk_cache::simple_util::GetEntryHashKey; disk_cache 14 net/disk_cache/simple/simple_util_unittest.cc using disk_cache::simple_util::GetFileSizeFromKeyAndDataSize; disk_cache 15 net/disk_cache/simple/simple_util_unittest.cc using disk_cache::simple_util::GetDataSizeFromKeyAndFileSize; disk_cache 37 net/disk_cache/simple/simple_version_upgrade.cc disk_cache::FakeIndexData file_contents; disk_cache 39 net/disk_cache/simple/simple_version_upgrade.cc disk_cache::simplecache_v5::kSimpleInitialMagicNumber; disk_cache 40 net/disk_cache/simple/simple_version_upgrade.cc file_contents.version = disk_cache::kSimpleVersion; disk_cache 152 net/disk_cache/simple/simple_version_upgrade.cc disk_cache::simplecache_v5::kSimpleInitialMagicNumber) { disk_cache 19 net/disk_cache/simple/simple_version_upgrade.h namespace disk_cache { disk_cache 35 net/disk_cache/simple/simple_version_upgrade_unittest.cc disk_cache::FakeIndexData data; disk_cache 51 net/disk_cache/simple/simple_version_upgrade_unittest.cc disk_cache::FakeIndexData data; disk_cache 60 net/disk_cache/simple/simple_version_upgrade_unittest.cc EXPECT_FALSE(disk_cache::UpgradeSimpleCacheOnDisk(cache_dir.path())); disk_cache 76 net/disk_cache/simple/simple_version_upgrade_unittest.cc ASSERT_TRUE(disk_cache::UpgradeSimpleCacheOnDisk(cache_path)); disk_cache 82 net/disk_cache/simple/simple_version_upgrade_unittest.cc const disk_cache::FakeIndexData* fake_index_header; disk_cache 84 net/disk_cache/simple/simple_version_upgrade_unittest.cc fake_index_header = reinterpret_cast<const disk_cache::FakeIndexData*>( disk_cache 86 net/disk_cache/simple/simple_version_upgrade_unittest.cc EXPECT_EQ(disk_cache::kSimpleVersion, fake_index_header->version); disk_cache 119 net/disk_cache/simple/simple_version_upgrade_unittest.cc ASSERT_TRUE(disk_cache::UpgradeIndexV5V6(cache_path)); disk_cache 15 net/disk_cache/tracing/tracing_cache_backend.h namespace disk_cache { disk_cache 42 net/http/disk_cache_based_quic_server_info.cc disk_cache::Backend* backend; disk_cache 43 net/http/disk_cache_based_quic_server_info.cc disk_cache::Entry* entry; disk_cache 96 net/http/disk_cache_based_quic_server_info.h disk_cache::Backend* backend_; disk_cache 97 net/http/disk_cache_based_quic_server_info.h disk_cache::Entry* entry_; disk_cache 114 net/http/disk_cache_based_quic_server_info_unittest.cc cache.disk_cache()->set_double_create_check(false); disk_cache 78 net/http/http_cache.cc NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, disk_cache 81 net/http/http_cache.cc return disk_cache::CreateCacheBackend(type_, disk_cache 94 net/http/http_cache.cc HttpCache::ActiveEntry::ActiveEntry(disk_cache::Entry* entry) disk_cache 116 net/http/http_cache.cc disk_cache::Entry* disk_entry; disk_cache 117 net/http/http_cache.cc scoped_ptr<disk_cache::Backend> backend; disk_cache 143 net/http/http_cache.cc const net::CompletionCallback& cb, disk_cache::Backend** backend) disk_cache 162 net/http/http_cache.cc bool DoCallback(int result, disk_cache::Backend* backend) { disk_cache 184 net/http/http_cache.cc disk_cache::Backend** backend_; disk_cache 368 net/http/http_cache.cc int HttpCache::GetBackend(disk_cache::Backend** backend, disk_cache 380 net/http/http_cache.cc disk_cache::Backend* HttpCache::GetCurrentBackend() const { disk_cache 480 net/http/http_cache.cc int HttpCache::CreateBackend(disk_cache::Backend** backend, disk_cache 665 net/http/http_cache.cc disk_cache::Entry* disk_entry) { disk_cache 39 net/http/http_cache.h namespace disk_cache { disk_cache 92 net/http/http_cache.h scoped_ptr<disk_cache::Backend>* backend, disk_cache 112 net/http/http_cache.h scoped_ptr<disk_cache::Backend>* backend, disk_cache 152 net/http/http_cache.h int GetBackend(disk_cache::Backend** backend, disk_cache 156 net/http/http_cache.h disk_cache::Backend* GetCurrentBackend() const; disk_cache 231 net/http/http_cache.h explicit ActiveEntry(disk_cache::Entry* entry); disk_cache 234 net/http/http_cache.h disk_cache::Entry* disk_entry; disk_cache 251 net/http/http_cache.h int CreateBackend(disk_cache::Backend** backend, disk_cache 289 net/http/http_cache.h ActiveEntry* ActivateEntry(disk_cache::Entry* disk_entry); disk_cache 396 net/http/http_cache.h scoped_ptr<disk_cache::Backend> disk_cache_; disk_cache 446 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 552 net/http/http_cache_unittest.cc disk_cache::Backend* backend; disk_cache 569 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 570 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 577 net/http/http_cache_unittest.cc cache.disk_cache()->set_fail_requests(); disk_cache 607 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 608 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 651 net/http/http_cache_unittest.cc cache.disk_cache()->set_soft_failures(true); disk_cache 657 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 658 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 664 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 665 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 684 net/http/http_cache_unittest.cc cache.disk_cache()->set_soft_failures(true); disk_cache 687 net/http/http_cache_unittest.cc disk_cache::Entry* en; disk_cache 695 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 696 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 702 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 703 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 714 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 715 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 717 net/http/http_cache_unittest.cc cache.disk_cache()->set_soft_failures(true); disk_cache 729 net/http/http_cache_unittest.cc cache.disk_cache()->set_soft_failures(false); disk_cache 732 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 733 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 738 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 739 net/http/http_cache_unittest.cc EXPECT_EQ(3, cache.disk_cache()->create_count()); disk_cache 809 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 810 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 835 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 836 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 852 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 853 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 866 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 867 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 887 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 888 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 914 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 915 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 933 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 964 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1003 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1032 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1066 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1067 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1081 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1134 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1135 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 1152 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1153 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 1169 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1170 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 1194 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 1195 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1216 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 1217 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1243 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 1244 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1264 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 1265 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1302 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1303 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1322 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1323 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1367 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1368 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1407 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1408 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1496 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1497 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1511 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1512 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 1543 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1544 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1566 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1567 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 1600 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1601 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1624 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1625 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 1649 net/http/http_cache_unittest.cc cache.disk_cache()->ReleaseAll(); disk_cache 1653 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1681 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1682 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 1694 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1695 net/http/http_cache_unittest.cc EXPECT_EQ(5, cache.disk_cache()->create_count()); disk_cache 1757 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache->disk_cache()->open_count()); disk_cache 1758 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache->disk_cache()->create_count()); disk_cache 1806 net/http/http_cache_unittest.cc EXPECT_EQ(3, cache.disk_cache()->create_count()); disk_cache 1864 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1891 net/http/http_cache_unittest.cc scoped_ptr<disk_cache::Backend>* backend = factory->backend(); disk_cache 1907 net/http/http_cache_unittest.cc disk_cache::Backend* backend; disk_cache 1948 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1949 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1959 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 1960 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1985 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 1986 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 1998 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 1999 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2075 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2076 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2109 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2110 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2142 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2143 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2167 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2168 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2176 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2177 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2190 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2191 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2200 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2201 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 2225 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2226 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2235 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2236 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2244 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2245 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 2296 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2297 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2312 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2313 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2331 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2332 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2350 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 2351 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2484 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2485 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 2528 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2529 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 2687 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2688 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2699 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2700 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2711 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2712 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 2734 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2735 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 2757 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2758 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2765 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2766 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2789 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2790 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 2808 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2809 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2817 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2818 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 2833 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2834 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2848 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2849 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 2854 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2855 net/http/http_cache_unittest.cc EXPECT_EQ(3, cache.disk_cache()->create_count()); disk_cache 2872 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2873 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2887 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2888 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2893 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2894 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 2932 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2933 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 2947 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2948 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 2953 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 2954 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 2976 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2977 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 2991 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 2992 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3005 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3006 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3011 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3012 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 3027 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3028 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3042 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3043 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3048 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3049 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 3065 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3066 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3080 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3081 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3086 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 3087 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3109 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3110 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 3124 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3125 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3138 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3139 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3144 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3145 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 3159 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3160 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3168 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3169 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3175 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3176 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 3191 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3192 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3200 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3201 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3208 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 3209 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3251 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3252 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 3259 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3260 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 3267 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3268 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 3283 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3284 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 3293 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3294 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 3302 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3303 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 3318 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3319 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3325 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3326 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 3341 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3342 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3361 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3362 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3370 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3371 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 3391 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3392 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3401 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3402 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3420 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3421 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3429 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3430 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3443 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 3444 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3460 net/http/http_cache_unittest.cc EXPECT_EQ(3, cache.disk_cache()->open_count()); disk_cache 3461 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3472 net/http/http_cache_unittest.cc cache.disk_cache()->set_fail_sparse_requests(); disk_cache 3480 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3481 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3484 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 3486 net/http/http_cache_unittest.cc int rv = cache.disk_cache()->OpenEntry(transaction.url, disk_cache 3490 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3500 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 3501 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 3506 net/http/http_cache_unittest.cc disk_cache::Entry* entry2; disk_cache 3507 net/http/http_cache_unittest.cc rv = cache.disk_cache()->OpenEntry(transaction2.url, disk_cache 3516 net/http/http_cache_unittest.cc cache.disk_cache()->set_fail_sparse_requests(); disk_cache 3524 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3525 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3530 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 3532 net/http/http_cache_unittest.cc int rv = cache.disk_cache()->OpenEntry(transaction.url, disk_cache 3554 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3555 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3562 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3563 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3575 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3576 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3592 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 3593 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3617 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3618 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3629 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3630 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3641 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3642 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3666 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3667 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3674 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3675 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3692 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3693 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3704 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3705 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3722 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3723 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3734 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3735 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3740 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3741 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 3759 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3760 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3765 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3766 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3786 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3787 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3799 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3800 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3825 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3826 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3838 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3839 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3864 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3865 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3868 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 3888 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3889 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3903 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3904 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3939 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3940 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3954 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 3955 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3976 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 3977 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 3997 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 3998 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4003 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 4013 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 4049 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4050 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 4061 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 4091 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4092 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 4102 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 4136 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4137 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 4152 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4153 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4168 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4169 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4180 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 4190 net/http/http_cache_unittest.cc EXPECT_EQ(3, cache.disk_cache()->open_count()); disk_cache 4201 net/http/http_cache_unittest.cc EXPECT_EQ(4, cache.disk_cache()->open_count()); disk_cache 4202 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4205 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 4224 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4225 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4243 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4244 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4262 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4263 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4273 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4274 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4277 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 4278 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4299 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4300 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4313 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 4338 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4339 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4359 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4360 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4383 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4384 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4419 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4420 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4442 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4443 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4446 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 4470 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4471 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4474 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 4497 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4498 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4510 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4511 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4514 net/http/http_cache_unittest.cc disk_cache::Entry* en; disk_cache 4552 net/http/http_cache_unittest.cc disk_cache::Entry* en; disk_cache 4590 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4591 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->create_count()); disk_cache 4617 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4618 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4643 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4644 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4657 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4658 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4672 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4673 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4695 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4696 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4705 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 4769 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4770 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4779 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4780 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 4799 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4800 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4815 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4816 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 4842 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4843 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4858 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4859 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 4886 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 4887 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4915 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 4954 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 4995 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 4996 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 4999 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5048 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5049 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5052 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5109 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5110 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 5144 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5145 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5148 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5184 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5185 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5233 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5262 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5263 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5266 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5315 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5316 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5319 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5350 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5351 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 5448 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 5449 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5482 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5483 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5498 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 5499 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5505 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5506 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5508 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5525 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 5526 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5533 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5534 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5536 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5551 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 5552 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5558 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 5559 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 5561 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5577 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 5578 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5586 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5587 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5589 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5605 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 5606 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5615 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5616 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5618 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 5675 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 5676 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5790 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 5791 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5824 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 5825 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5862 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->open_count()); disk_cache 5863 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5876 net/http/http_cache_unittest.cc EXPECT_EQ(3, cache.disk_cache()->open_count()); disk_cache 5877 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5888 net/http/http_cache_unittest.cc EXPECT_EQ(4, cache.disk_cache()->open_count()); disk_cache 5889 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5921 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5922 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5952 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->open_count()); disk_cache 5953 net/http/http_cache_unittest.cc EXPECT_EQ(1, cache.disk_cache()->create_count()); disk_cache 5989 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 5990 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 6030 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 6031 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 6065 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 6066 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 6105 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 6155 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 6184 net/http/http_cache_unittest.cc EXPECT_EQ(0, cache.disk_cache()->open_count()); disk_cache 6185 net/http/http_cache_unittest.cc EXPECT_EQ(2, cache.disk_cache()->create_count()); disk_cache 6203 net/http/http_cache_unittest.cc disk_cache::Entry* entry; disk_cache 356 net/http/mock_http_cache.cc int MockDiskCache::OpenEntry(const std::string& key, disk_cache::Entry** entry, disk_cache 388 net/http/mock_http_cache.cc disk_cache::Entry** entry, disk_cache 460 net/http/mock_http_cache.cc int MockDiskCache::OpenNextEntry(void** iter, disk_cache::Entry** next_entry, disk_cache 491 net/http/mock_http_cache.cc scoped_ptr<disk_cache::Backend>* backend, disk_cache 509 net/http/mock_http_cache.cc disk_cache::Backend* backend; disk_cache 519 net/http/mock_http_cache.cc bool MockHttpCache::ReadResponseInfo(disk_cache::Entry* disk_entry, disk_cache 536 net/http/mock_http_cache.cc disk_cache::Entry* disk_entry, const net::HttpResponseInfo* response_info, disk_cache 553 net/http/mock_http_cache.cc disk_cache::Entry** entry) { disk_cache 555 net/http/mock_http_cache.cc int rv = disk_cache()->OpenEntry(key, entry, cb.callback()); disk_cache 560 net/http/mock_http_cache.cc disk_cache::Entry** entry, disk_cache 563 net/http/mock_http_cache.cc int rv = disk_cache()->CreateEntry(key, entry, cb.callback()); disk_cache 583 net/http/mock_http_cache.cc disk_cache::Entry** entry, disk_cache 591 net/http/mock_http_cache.cc net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, disk_cache 609 net/http/mock_http_cache.cc net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, disk_cache 21 net/http/mock_http_cache.h class MockDiskEntry : public disk_cache::Entry, disk_cache 96 net/http/mock_http_cache.h class MockDiskCache : public disk_cache::Backend { disk_cache 103 net/http/mock_http_cache.h virtual int OpenEntry(const std::string& key, disk_cache::Entry** entry, disk_cache 105 net/http/mock_http_cache.h virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry, disk_cache 117 net/http/mock_http_cache.h virtual int OpenNextEntry(void** iter, disk_cache::Entry** next_entry, disk_cache 161 net/http/mock_http_cache.h scoped_ptr<disk_cache::Backend>* backend, disk_cache 175 net/http/mock_http_cache.h MockDiskCache* disk_cache(); disk_cache 181 net/http/mock_http_cache.h static bool ReadResponseInfo(disk_cache::Entry* disk_entry, disk_cache 186 net/http/mock_http_cache.h static bool WriteResponseInfo(disk_cache::Entry* disk_entry, disk_cache 192 net/http/mock_http_cache.h bool OpenBackendEntry(const std::string& key, disk_cache::Entry** entry); disk_cache 195 net/http/mock_http_cache.h bool CreateBackendEntry(const std::string& key, disk_cache::Entry** entry, disk_cache 211 net/http/mock_http_cache.h virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry, disk_cache 218 net/http/mock_http_cache.h scoped_ptr<disk_cache::Backend>* backend, disk_cache 229 net/http/mock_http_cache.h scoped_ptr<disk_cache::Backend>* backend, disk_cache 236 net/http/mock_http_cache.h scoped_ptr<disk_cache::Backend>* backend() { return backend_; } disk_cache 244 net/http/mock_http_cache.h scoped_ptr<disk_cache::Backend>* backend_; disk_cache 42 net/http/partial_data.cc int GetAvailableRange(disk_cache::Entry* entry, int64 offset, int len, disk_cache 78 net/http/partial_data.cc int PartialData::Core::GetAvailableRange(disk_cache::Entry* entry, int64 offset, disk_cache 159 net/http/partial_data.cc int PartialData::ShouldValidateCache(disk_cache::Entry* entry, disk_cache 198 net/http/partial_data.cc void PartialData::PrepareCacheValidation(disk_cache::Entry* entry, disk_cache 244 net/http/partial_data.cc disk_cache::Entry* entry, disk_cache 414 net/http/partial_data.cc disk_cache::Entry* entry, IOBuffer* data, int data_len, disk_cache 435 net/http/partial_data.cc disk_cache::Entry* entry, IOBuffer* data, int data_len, disk_cache 13 net/http/partial_data.h namespace disk_cache { disk_cache 56 net/http/partial_data.h int ShouldValidateCache(disk_cache::Entry* entry, disk_cache 61 net/http/partial_data.h void PrepareCacheValidation(disk_cache::Entry* entry, disk_cache 75 net/http/partial_data.h disk_cache::Entry* entry, bool truncated); disk_cache 99 net/http/partial_data.h int CacheRead(disk_cache::Entry* entry, IOBuffer* data, int data_len, disk_cache 104 net/http/partial_data.h int CacheWrite(disk_cache::Entry* entry, IOBuffer* data, int data_len, disk_cache 43 net/tools/crash_cache/crash_cache.cc using disk_cache::RankCrashes; disk_cache 73 net/tools/crash_cache/crash_cache.cc for (int i = disk_cache::NO_CRASH + 1; i < disk_cache::MAX_CRASH; i++) { disk_cache 118 net/tools/crash_cache/crash_cache.cc COMPILE_ASSERT(arraysize(folders) == disk_cache::MAX_CRASH, sync_folders); disk_cache 119 net/tools/crash_cache/crash_cache.cc DCHECK(action > disk_cache::NO_CRASH && action < disk_cache::MAX_CRASH); disk_cache 130 net/tools/crash_cache/crash_cache.cc void FlushQueue(disk_cache::Backend* cache) { disk_cache 133 net/tools/crash_cache/crash_cache.cc reinterpret_cast<disk_cache::BackendImpl*>(cache)->FlushQueueForTest( disk_cache 140 net/tools/crash_cache/crash_cache.cc disk_cache::Backend** cache, disk_cache 143 net/tools/crash_cache/crash_cache.cc disk_cache::BackendImpl* backend = new disk_cache::BackendImpl( disk_cache 147 net/tools/crash_cache/crash_cache.cc backend->SetFlags(disk_cache::kNoRandom); disk_cache 157 net/tools/crash_cache/crash_cache.cc disk_cache::Backend* cache; disk_cache 163 net/tools/crash_cache/crash_cache.cc if (action <= disk_cache::INSERT_EMPTY_3) { disk_cache 165 net/tools/crash_cache/crash_cache.cc disk_cache::g_rankings_crash = action; disk_cache 168 net/tools/crash_cache/crash_cache.cc disk_cache::Entry* entry; disk_cache 176 net/tools/crash_cache/crash_cache.cc DCHECK(action <= disk_cache::INSERT_ONE_3); disk_cache 177 net/tools/crash_cache/crash_cache.cc disk_cache::g_rankings_crash = action; disk_cache 190 net/tools/crash_cache/crash_cache.cc DCHECK(action >= disk_cache::REMOVE_ONE_1); disk_cache 191 net/tools/crash_cache/crash_cache.cc DCHECK(action <= disk_cache::REMOVE_TAIL_3); disk_cache 194 net/tools/crash_cache/crash_cache.cc disk_cache::Backend* cache; disk_cache 198 net/tools/crash_cache/crash_cache.cc disk_cache::Entry* entry; disk_cache 206 net/tools/crash_cache/crash_cache.cc if (action >= disk_cache::REMOVE_TAIL_1) { disk_cache 219 net/tools/crash_cache/crash_cache.cc disk_cache::g_rankings_crash = action; disk_cache 229 net/tools/crash_cache/crash_cache.cc DCHECK(action >= disk_cache::REMOVE_HEAD_1); disk_cache 230 net/tools/crash_cache/crash_cache.cc DCHECK(action <= disk_cache::REMOVE_HEAD_4); disk_cache 233 net/tools/crash_cache/crash_cache.cc disk_cache::Backend* cache; disk_cache 237 net/tools/crash_cache/crash_cache.cc disk_cache::Entry* entry; disk_cache 255 net/tools/crash_cache/crash_cache.cc disk_cache::g_rankings_crash = action; disk_cache 266 net/tools/crash_cache/crash_cache.cc DCHECK(action >= disk_cache::INSERT_LOAD_1); disk_cache 269 net/tools/crash_cache/crash_cache.cc disk_cache::BackendImpl* cache = new disk_cache::BackendImpl( disk_cache 275 net/tools/crash_cache/crash_cache.cc cache->SetFlags(disk_cache::kNoRandom); disk_cache 284 net/tools/crash_cache/crash_cache.cc disk_cache::Entry* entry; disk_cache 292 net/tools/crash_cache/crash_cache.cc if (50 == i && action >= disk_cache::REMOVE_LOAD_1) { disk_cache 301 net/tools/crash_cache/crash_cache.cc if (action <= disk_cache::INSERT_LOAD_2) { disk_cache 302 net/tools/crash_cache/crash_cache.cc disk_cache::g_rankings_crash = action; disk_cache 313 net/tools/crash_cache/crash_cache.cc disk_cache::g_rankings_crash = action; disk_cache 337 net/tools/crash_cache/crash_cache.cc if (action <= disk_cache::INSERT_ONE_3) disk_cache 340 net/tools/crash_cache/crash_cache.cc if (action <= disk_cache::INSERT_LOAD_2) disk_cache 343 net/tools/crash_cache/crash_cache.cc if (action <= disk_cache::REMOVE_ONE_4) disk_cache 346 net/tools/crash_cache/crash_cache.cc if (action <= disk_cache::REMOVE_HEAD_4) disk_cache 349 net/tools/crash_cache/crash_cache.cc if (action <= disk_cache::REMOVE_TAIL_3) disk_cache 352 net/tools/crash_cache/crash_cache.cc if (action <= disk_cache::REMOVE_LOAD_3) disk_cache 369 net/tools/crash_cache/crash_cache.cc if (action <= disk_cache::NO_CRASH || action >= disk_cache::MAX_CRASH) { disk_cache 300 net/tools/disk_cache_memory_test/disk_cache_memory_test.cc return !disk_cache::Main(argc, argv); disk_cache 17 net/tools/dump_cache/cache_dumper.cc CacheDumper::CacheDumper(disk_cache::Backend* cache) disk_cache 22 net/tools/dump_cache/cache_dumper.cc disk_cache::Entry** entry, disk_cache 27 net/tools/dump_cache/cache_dumper.cc int CacheDumper::WriteEntry(disk_cache::Entry* entry, int index, int offset, disk_cache 33 net/tools/dump_cache/cache_dumper.cc void CacheDumper::CloseEntry(disk_cache::Entry* entry, base::Time last_used, disk_cache 36 net/tools/dump_cache/cache_dumper.cc static_cast<disk_cache::EntryImpl*>(entry)->SetTimes(last_used, disk_cache 78 net/tools/dump_cache/cache_dumper.cc disk_cache::Entry** entry, disk_cache 156 net/tools/dump_cache/cache_dumper.cc int DiskDumper::WriteEntry(disk_cache::Entry* entry, int index, int offset, disk_cache 216 net/tools/dump_cache/cache_dumper.cc void DiskDumper::CloseEntry(disk_cache::Entry* entry, base::Time last_used, disk_cache 31 net/tools/dump_cache/cache_dumper.h disk_cache::Entry** entry, disk_cache 36 net/tools/dump_cache/cache_dumper.h virtual int WriteEntry(disk_cache::Entry* entry, int stream, int offset, disk_cache 41 net/tools/dump_cache/cache_dumper.h virtual void CloseEntry(disk_cache::Entry* entry, base::Time last_used, disk_cache 48 net/tools/dump_cache/cache_dumper.h explicit CacheDumper(disk_cache::Backend* cache); disk_cache 50 net/tools/dump_cache/cache_dumper.h virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry, disk_cache 52 net/tools/dump_cache/cache_dumper.h virtual int WriteEntry(disk_cache::Entry* entry, int stream, int offset, disk_cache 55 net/tools/dump_cache/cache_dumper.h virtual void CloseEntry(disk_cache::Entry* entry, base::Time last_used, disk_cache 59 net/tools/dump_cache/cache_dumper.h disk_cache::Backend* cache_; disk_cache 67 net/tools/dump_cache/cache_dumper.h virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry, disk_cache 69 net/tools/dump_cache/cache_dumper.h virtual int WriteEntry(disk_cache::Entry* entry, int stream, int offset, disk_cache 72 net/tools/dump_cache/cache_dumper.h virtual void CloseEntry(disk_cache::Entry* entry, base::Time last_used, disk_cache 132 net/tools/dump_cache/dump_cache.cc if (version != disk_cache::kCurrentVersion >> 16) { disk_cache 49 net/tools/dump_cache/dump_files.cc disk_cache::IndexHeader header; disk_cache 57 net/tools/dump_cache/dump_files.cc void DumpStats(const base::FilePath& path, disk_cache::CacheAddr addr) { disk_cache 61 net/tools/dump_cache/dump_files.cc disk_cache::BlockFiles block_files(path); disk_cache 67 net/tools/dump_cache/dump_files.cc disk_cache::Addr address(addr); disk_cache 68 net/tools/dump_cache/dump_files.cc disk_cache::MappedFile* file = block_files.GetFile(address); disk_cache 72 net/tools/dump_cache/dump_files.cc size_t length = (2 + disk_cache::Stats::kDataSizesLength) * sizeof(int32) + disk_cache 73 net/tools/dump_cache/dump_files.cc disk_cache::Stats::MAX_COUNTER * sizeof(int64); disk_cache 76 net/tools/dump_cache/dump_files.cc disk_cache::kBlockHeaderSize; disk_cache 84 net/tools/dump_cache/dump_files.cc for (int i = 0; i < disk_cache::Stats::kDataSizesLength; i++) disk_cache 88 net/tools/dump_cache/dump_files.cc buffer.get() + 2 + disk_cache::Stats::kDataSizesLength); disk_cache 89 net/tools/dump_cache/dump_files.cc for (int i = 0; i < disk_cache::Stats::MAX_COUNTER; i++) disk_cache 96 net/tools/dump_cache/dump_files.cc disk_cache::CacheAddr* stats_addr) { disk_cache 97 net/tools/dump_cache/dump_files.cc disk_cache::IndexHeader header; disk_cache 127 net/tools/dump_cache/dump_files.cc disk_cache::BlockFileHeader header; disk_cache 166 net/tools/dump_cache/dump_files.cc bool GetEntry(disk_cache::EntryStore* entry); disk_cache 169 net/tools/dump_cache/dump_files.cc bool LoadEntry(disk_cache::CacheAddr addr, disk_cache::EntryStore* entry); disk_cache 170 net/tools/dump_cache/dump_files.cc bool LoadRankings(disk_cache::CacheAddr addr, disk_cache 171 net/tools/dump_cache/dump_files.cc disk_cache::RankingsNode* rankings); disk_cache 175 net/tools/dump_cache/dump_files.cc disk_cache::BlockFiles block_files_; disk_cache 176 net/tools/dump_cache/dump_files.cc scoped_refptr<disk_cache::MappedFile> index_file_; disk_cache 177 net/tools/dump_cache/dump_files.cc disk_cache::Index* index_; disk_cache 179 net/tools/dump_cache/dump_files.cc disk_cache::CacheAddr next_addr_; disk_cache 180 net/tools/dump_cache/dump_files.cc std::set<disk_cache::CacheAddr> dumped_entries_; disk_cache 191 net/tools/dump_cache/dump_files.cc index_file_ = new disk_cache::MappedFile; disk_cache 192 net/tools/dump_cache/dump_files.cc index_ = reinterpret_cast<disk_cache::Index*>( disk_cache 202 net/tools/dump_cache/dump_files.cc bool CacheDumper::GetEntry(disk_cache::EntryStore* entry) { disk_cache 232 net/tools/dump_cache/dump_files.cc bool CacheDumper::LoadEntry(disk_cache::CacheAddr addr, disk_cache 233 net/tools/dump_cache/dump_files.cc disk_cache::EntryStore* entry) { disk_cache 234 net/tools/dump_cache/dump_files.cc disk_cache::Addr address(addr); disk_cache 235 net/tools/dump_cache/dump_files.cc disk_cache::MappedFile* file = block_files_.GetFile(address); disk_cache 239 net/tools/dump_cache/dump_files.cc disk_cache::StorageBlock<disk_cache::EntryStore> entry_block(file, address); disk_cache 257 net/tools/dump_cache/dump_files.cc bool CacheDumper::LoadRankings(disk_cache::CacheAddr addr, disk_cache 258 net/tools/dump_cache/dump_files.cc disk_cache::RankingsNode* rankings) { disk_cache 259 net/tools/dump_cache/dump_files.cc disk_cache::Addr address(addr); disk_cache 260 net/tools/dump_cache/dump_files.cc disk_cache::MappedFile* file = block_files_.GetFile(address); disk_cache 264 net/tools/dump_cache/dump_files.cc disk_cache::StorageBlock<disk_cache::RankingsNode> rank_block(file, address); disk_cache 273 net/tools/dump_cache/dump_files.cc void DumpEntry(const disk_cache::EntryStore& entry) { disk_cache 297 net/tools/dump_cache/dump_files.cc void DumpRankings(const disk_cache::RankingsNode& rankings) { disk_cache 339 net/tools/dump_cache/dump_files.cc disk_cache::CacheAddr stats_addr = 0; disk_cache 362 net/tools/dump_cache/dump_files.cc disk_cache::EntryStore entry; disk_cache 365 net/tools/dump_cache/dump_files.cc disk_cache::RankingsNode rankings; disk_cache 125 net/tools/dump_cache/simple_cache_dumper.cc return disk_cache::CreateCacheBackend( disk_cache 141 net/tools/dump_cache/simple_cache_dumper.cc reinterpret_cast<disk_cache::BackendImpl*>(cache_.get())->SetUpgradeMode(); disk_cache 142 net/tools/dump_cache/simple_cache_dumper.cc reinterpret_cast<disk_cache::BackendImpl*>(cache_.get())->SetFlags( disk_cache 143 net/tools/dump_cache/simple_cache_dumper.cc disk_cache::kNoRandom); disk_cache 15 net/tools/dump_cache/simple_cache_dumper.h namespace disk_cache { disk_cache 79 net/tools/dump_cache/simple_cache_dumper.h scoped_ptr<disk_cache::Backend> cache_; disk_cache 83 net/tools/dump_cache/simple_cache_dumper.h disk_cache::Entry* src_entry_; disk_cache 84 net/tools/dump_cache/simple_cache_dumper.h disk_cache::Entry* dst_entry_; disk_cache 133 net/tools/dump_cache/upgrade_win.cc disk_cache::EntryImpl* entry_; disk_cache 267 net/tools/dump_cache/upgrade_win.cc scoped_ptr<disk_cache::Backend> cache_; disk_cache 322 net/tools/dump_cache/upgrade_win.cc scoped_ptr<disk_cache::Backend> cache; disk_cache 324 net/tools/dump_cache/upgrade_win.cc int rv = disk_cache::CreateCacheBackend(net::DISK_CACHE, disk_cache 394 net/tools/dump_cache/upgrade_win.cc key, reinterpret_cast<disk_cache::Entry**>(&entry_), disk_cache 592 net/tools/dump_cache/upgrade_win.cc scoped_ptr<disk_cache::BackendImpl> cache_; disk_cache 597 net/tools/dump_cache/upgrade_win.cc scoped_ptr<disk_cache::Backend> cache; disk_cache 599 net/tools/dump_cache/upgrade_win.cc int rv = disk_cache::CreateCacheBackend(net::DISK_CACHE, disk_cache 608 net/tools/dump_cache/upgrade_win.cc cache_.reset(reinterpret_cast<disk_cache::BackendImpl*>(cache.release())); disk_cache 729 net/tools/dump_cache/upgrade_win.cc &iterator_, reinterpret_cast<disk_cache::Entry**>(&entry_), disk_cache 734 net/tools/dump_cache/upgrade_win.cc reinterpret_cast<disk_cache::Entry**>(&entry_), disk_cache 32 net/url_request/view_cache_helper.cc std::string FormatEntryInfo(disk_cache::Entry* entry, disk_cache 15 net/url_request/view_cache_helper.h namespace disk_cache { disk_cache 103 net/url_request/view_cache_helper.h disk_cache::Backend* disk_cache_; disk_cache 104 net/url_request/view_cache_helper.h disk_cache::Entry* entry_; disk_cache 25 net/url_request/view_cache_helper_unittest.cc disk_cache::Backend* GetBackend(); disk_cache 37 net/url_request/view_cache_helper_unittest.cc void WriteHeaders(disk_cache::Entry* entry, int flags, disk_cache 57 net/url_request/view_cache_helper_unittest.cc void WriteData(disk_cache::Entry* entry, int index, const std::string& data) { disk_cache 70 net/url_request/view_cache_helper_unittest.cc void WriteToEntry(disk_cache::Backend* cache, const std::string& key, disk_cache 74 net/url_request/view_cache_helper_unittest.cc disk_cache::Entry* entry; disk_cache 91 net/url_request/view_cache_helper_unittest.cc disk_cache::Backend* cache; disk_cache 187 net/url_request/view_cache_helper_unittest.cc disk_cache::Backend* cache; disk_cache 194 net/url_request/view_cache_helper_unittest.cc disk_cache::Entry* entry; disk_cache 37 webkit/browser/appcache/appcache_disk_cache.cc scoped_ptr<disk_cache::Backend> backend_ptr_; // Accessed directly. disk_cache 52 webkit/browser/appcache/appcache_disk_cache.cc EntryImpl(disk_cache::Entry* disk_cache_entry, disk_cache 104 webkit/browser/appcache/appcache_disk_cache.cc disk_cache::Entry* disk_cache_entry_; disk_cache 120 webkit/browser/appcache/appcache_disk_cache.cc int rv = owner_->disk_cache()->CreateEntry( disk_cache 128 webkit/browser/appcache/appcache_disk_cache.cc int rv = owner_->disk_cache()->OpenEntry( disk_cache 135 webkit/browser/appcache/appcache_disk_cache.cc int rv = owner_->disk_cache()->DoomEntry( disk_cache 169 webkit/browser/appcache/appcache_disk_cache.cc disk_cache::Entry* entry_ptr_; disk_cache 303 webkit/browser/appcache/appcache_disk_cache.cc int rv = disk_cache::CreateCacheBackend( disk_cache 83 webkit/browser/appcache/appcache_disk_cache.h disk_cache::Backend* disk_cache() { return disk_cache_.get(); } disk_cache 99 webkit/browser/appcache/appcache_disk_cache.h scoped_ptr<disk_cache::Backend> disk_cache_; disk_cache 58 webkit/browser/appcache/appcache_disk_cache_unittest.cc scoped_ptr<AppCacheDiskCache> disk_cache(new AppCacheDiskCache); disk_cache 59 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(disk_cache->is_disabled()); disk_cache 60 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->InitWithDiskBackend( disk_cache 63 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->CreateEntry(1, &entry, completion_callback_); disk_cache 64 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->OpenEntry(2, &entry, completion_callback_); disk_cache 65 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->DoomEntry(3, completion_callback_); disk_cache 68 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(disk_cache->is_disabled()); disk_cache 69 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->Disable(); disk_cache 70 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_TRUE(disk_cache->is_disabled()); disk_cache 90 webkit/browser/appcache/appcache_disk_cache_unittest.cc scoped_ptr<AppCacheDiskCache> disk_cache(new AppCacheDiskCache); disk_cache 91 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(disk_cache->is_disabled()); disk_cache 92 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->InitWithDiskBackend( disk_cache 100 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->Disable(); disk_cache 114 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->CreateEntry(1, &entry, completion_callback_)); disk_cache 116 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->OpenEntry(2, &entry, completion_callback_)); disk_cache 118 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->DoomEntry(3, completion_callback_)); disk_cache 126 webkit/browser/appcache/appcache_disk_cache_unittest.cc scoped_ptr<AppCacheDiskCache> disk_cache(new AppCacheDiskCache); disk_cache 127 webkit/browser/appcache/appcache_disk_cache_unittest.cc EXPECT_FALSE(disk_cache->is_disabled()); disk_cache 128 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->InitWithDiskBackend( disk_cache 146 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->CreateEntry(1, &entry1, completion_callback_); disk_cache 147 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->CreateEntry(2, &entry2, completion_callback_); disk_cache 165 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache->Disable(); disk_cache 174 webkit/browser/appcache/appcache_disk_cache_unittest.cc disk_cache.reset(NULL); disk_cache 79 webkit/browser/appcache/appcache_response.cc int64 response_id, int64 group_id, AppCacheDiskCacheInterface* disk_cache) disk_cache 82 webkit/browser/appcache/appcache_response.cc disk_cache_(disk_cache), disk_cache 140 webkit/browser/appcache/appcache_response.cc int64 response_id, int64 group_id, AppCacheDiskCacheInterface* disk_cache) disk_cache 141 webkit/browser/appcache/appcache_response.cc : AppCacheResponseIO(response_id, group_id, disk_cache), disk_cache 285 webkit/browser/appcache/appcache_response.cc int64 response_id, int64 group_id, AppCacheDiskCacheInterface* disk_cache) disk_cache 286 webkit/browser/appcache/appcache_response.cc : AppCacheResponseIO(response_id, group_id, disk_cache), disk_cache 106 webkit/browser/appcache/appcache_response.h AppCacheDiskCacheInterface* disk_cache); disk_cache 178 webkit/browser/appcache/appcache_response.h AppCacheDiskCacheInterface* disk_cache); disk_cache 243 webkit/browser/appcache/appcache_response.h AppCacheDiskCacheInterface* disk_cache); disk_cache 1631 webkit/browser/appcache/appcache_storage_impl.cc return new AppCacheResponseReader(response_id, group_id, disk_cache()); disk_cache 1636 webkit/browser/appcache/appcache_storage_impl.cc return new AppCacheResponseWriter(NewResponseId(), group_id, disk_cache()); disk_cache 1700 webkit/browser/appcache/appcache_storage_impl.cc if (!disk_cache()) { disk_cache 135 webkit/browser/appcache/appcache_storage_impl.h WEBKIT_STORAGE_BROWSER_EXPORT AppCacheDiskCache* disk_cache(); disk_cache 160 webkit/browser/appcache/mock_appcache_storage.cc return new AppCacheResponseReader(response_id, group_id, disk_cache()); disk_cache 165 webkit/browser/appcache/mock_appcache_storage.cc return new AppCacheResponseWriter(NewResponseId(), group_id, disk_cache()); disk_cache 114 webkit/browser/appcache/mock_appcache_storage.h AppCacheDiskCache* disk_cache() {