Home
last modified time | relevance | path

Searched refs:UseIfExists (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/disk_cache/simple/
Dsimple_index_unittest.cc275 TEST_F(SimpleIndexTest, UseIfExists) { in TEST_F() argument
284 EXPECT_TRUE(index()->UseIfExists(kHash1)); in TEST_F()
287 EXPECT_TRUE(index()->UseIfExists(kHash1)); in TEST_F()
292 EXPECT_TRUE(index()->UseIfExists(kHash1)); in TEST_F()
296 EXPECT_TRUE(index()->UseIfExists(kHash1)); in TEST_F()
301 EXPECT_FALSE(index()->UseIfExists(kHash1)); in TEST_F()
304 EXPECT_TRUE(index()->UseIfExists(kHash1)); in TEST_F()
309 EXPECT_TRUE(index()->UseIfExists(kHash1)); in TEST_F()
313 EXPECT_FALSE(index()->UseIfExists(kHash1)); in TEST_F()
565 index()->UseIfExists(kHash1); in TEST_F()
Dsimple_index.h100 bool UseIfExists(uint64 entry_hash);
Dsimple_index.cc275 bool SimpleIndex::UseIfExists(uint64 entry_hash) { in UseIfExists() function in disk_cache::SimpleIndex
Dsimple_entry_impl.cc860 backend_->index()->UseIfExists(entry_hash_); in ReadDataInternal()
943 backend_->index()->UseIfExists(entry_hash_); in WriteDataInternal()
Dsimple_backend_impl.cc553 index_->UseIfExists(simple_util::GetEntryHashKey(key)); in OnExternalCacheHit()