Home
last modified time | relevance | path

Searched refs:GetEntryHashKey (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/net/disk_cache/simple/
Dsimple_util_unittest.cc13 using disk_cache::simple_util::GetEntryHashKey;
30 TEST_F(SimpleUtilTest, GetEntryHashKey) { in TEST_F() argument
34 GetEntryHashKey("http://www.amazon.com/")); in TEST_F()
38 EXPECT_EQ(GG_UINT64_C(0x9fe947998c2ccf47), GetEntryHashKey("www.amazon.com")); in TEST_F()
41 EXPECT_EQ(GG_UINT64_C(0x0d4b6b5eeea339da), GetEntryHashKey("")); in TEST_F()
45 …EXPECT_EQ(GG_UINT64_C(0xa68ac2ecc87dfd04), GetEntryHashKey("http://www.domain.com/uoQ76Kb2QL5hzaVO… in TEST_F()
Dsimple_util.cc59 ConvertEntryHashKeyToHexString(GetEntryHashKey(key)); in GetEntryHashKeyAsHexString()
72 uint64 GetEntryHashKey(const std::string& key) { in GetEntryHashKey() function
Dsimple_backend_impl.cc352 const uint64 entry_hash = simple_util::GetEntryHashKey(key); in OpenEntry()
382 const uint64 entry_hash = simple_util::GetEntryHashKey(key); in CreateEntry()
401 const uint64 entry_hash = simple_util::GetEntryHashKey(key); in DoomEntry()
474 index_->UseIfExists(simple_util::GetEntryHashKey(key)); in OnExternalCacheHit()
512 DCHECK_EQ(entry_hash, simple_util::GetEntryHashKey(key)); in CreateOrFindActiveEntry()
676 DCHECK_EQ(simple_entry->entry_hash(), simple_util::GetEntryHashKey(key)); in OnEntryOpenedFromKey()
Dsimple_util.h32 NET_EXPORT_PRIVATE uint64 GetEntryHashKey(const std::string& key);
Dsimple_synchronous_entry.cc116 using simple_util::GetEntryHashKey;
242 DCHECK_EQ(entry_hash, GetEntryHashKey(key)); in CreateEntry()
Dsimple_index_unittest.cc101 return disk_cache::simple_util::GetEntryHashKey( in HashesInitializer()
Dsimple_entry_impl.cc240 DCHECK_EQ(entry_hash_, simple_util::GetEntryHashKey(key_)); in CreateEntry()