Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_database_unittest.cc33 SBFullHash Sha256Hash(const std::string& str) { in Sha256Hash() function
77 host.entry->SetFullHashAt(0, Sha256Hash(url)); in InsertAddChunkHostFullHashes()
110 host.entry->SetFullHashAt(0, Sha256Hash(url1)); in InsertAddChunkHost2FullHashes()
111 host.entry->SetFullHashAt(1, Sha256Hash(url2)); in InsertAddChunkHost2FullHashes()
179 host.entry->SetFullHashAt(0, Sha256Hash(url1)); in InsertSubChunkHost2FullHashes()
181 host.entry->SetFullHashAt(1, Sha256Hash(url2)); in InsertSubChunkHost2FullHashes()
198 host.entry->SetFullHashAt(0, Sha256Hash(url)); in InsertSubChunkHostFullHash()
829 full_hash.hash = Sha256Hash("www.evil.com/phishing.html"); in PopulateDatabaseForCacheTest()
836 full_hash.hash = Sha256Hash("www.evil.com/malware.html"); in PopulateDatabaseForCacheTest()
858 Sha256Hash("www.evil.com/phishing.html"))); in TEST_F()
[all …]