Home | History | Annotate | Download | only in safe_browsing

Lines Matching refs:prefix_hits

122 // Find the entries in |full_hashes| with prefix in |prefix_hits|, and
128 // For efficiency reasons the code walks |prefix_hits| and
130 void GetCachedFullHashesForBrowse(const std::vector<SBPrefix>& prefix_hits,
137 std::vector<SBPrefix>::const_iterator piter = prefix_hits.begin();
140 while (piter != prefix_hits.end() && hiter != full_hashes.end()) {
582 std::vector<SBPrefix>* prefix_hits,
587 prefix_hits->clear();
614 prefix_hits->push_back(full_hashes[i].prefix);
643 if (miss_count == prefix_hits->size())
649 std::sort(prefix_hits->begin(), prefix_hits->end());
651 GetCachedFullHashesForBrowse(*prefix_hits, full_browse_hashes_,
653 GetCachedFullHashesForBrowse(*prefix_hits, pending_browse_hashes_,
661 std::vector<SBPrefix>* prefix_hits) {
662 prefix_hits->clear();
671 prefix_hits->push_back(prefix);
675 return !prefix_hits->empty();
680 std::vector<SBPrefix>* prefix_hits) {
691 prefix_hits);
703 std::vector<SBPrefix> prefix_hits;
706 &prefix_hits);