Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_database.cc138 std::vector<SBAddFullHash>::const_iterator hiter = full_hashes.begin(); in GetCachedFullHashesForBrowse() local
140 while (piter != prefix_hits.end() && hiter != full_hashes.end()) { in GetCachedFullHashesForBrowse()
141 if (*piter < hiter->full_hash.prefix) { in GetCachedFullHashesForBrowse()
143 } else if (hiter->full_hash.prefix < *piter) { in GetCachedFullHashesForBrowse()
144 ++hiter; in GetCachedFullHashesForBrowse()
147 expire_time.ToTimeT() < hiter->received) { in GetCachedFullHashesForBrowse()
149 const int list_bit = GetListIdBit(hiter->chunk_id); in GetCachedFullHashesForBrowse()
154 result.add_chunk_id = DecodeChunkId(hiter->chunk_id); in GetCachedFullHashesForBrowse()
155 result.hash = hiter->full_hash; in GetCachedFullHashesForBrowse()
160 ++hiter; in GetCachedFullHashesForBrowse()
[all …]
Dsafe_browsing_util.cc51 for (std::deque<SBChunkHost>::iterator hiter = citer->hosts.begin(); in clear() local
52 hiter != citer->hosts.end(); ++hiter) { in clear()
53 if (hiter->entry) { in clear()
54 hiter->entry->Destroy(); in clear()
55 hiter->entry = NULL; in clear()