HomeSort by relevance Sort by last modified time
    Searched refs:full_hashes (Results 1 - 13 of 13) sorted by null

  /external/chromium/chrome/browser/safe_browsing/
safe_browsing_database_unittest.cc 496 std::vector<SBFullHashResult> full_hashes; local
502 &full_hashes, now));
509 &full_hashes, now));
514 &full_hashes, now));
519 &full_hashes, now));
524 &full_hashes, now));
529 &full_hashes, now));
534 &full_hashes, now));
539 &full_hashes, now));
545 &full_hashes, now))
778 std::vector<SBFullHashResult> full_hashes; local
852 std::vector<SBFullHashResult> full_hashes; local
1398 std::vector<SBFullHashResult> full_hashes; local
    [all...]
protocol_parser_unittest.cc 474 std::vector<SBFullHashResult> full_hashes; local
480 &full_hashes));
483 EXPECT_EQ(full_hashes.size(), 3U);
484 EXPECT_EQ(memcmp(&full_hashes[0].hash,
487 EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar");
488 EXPECT_EQ(memcmp(&full_hashes[1].hash,
491 EXPECT_EQ(full_hashes[1].list_name, "goog-phish-shavar");
492 EXPECT_EQ(memcmp(&full_hashes[2].hash,
495 EXPECT_EQ(full_hashes[2].list_name, "goog-phish-shavar");
506 &full_hashes));
547 std::vector<SBFullHashResult> full_hashes; local
567 std::vector<SBFullHashResult> full_hashes; local
    [all...]
safe_browsing_database.cc 78 std::vector<SBFullHash>* full_hashes) {
95 full_hashes->push_back(full_hash);
105 full_hashes->push_back(full_hash);
114 std::vector<SBFullHash> full_hashes; local
116 BrowseFullHashesToCheck(urls[i], false, &full_hashes);
118 for (size_t i = 0; i < full_hashes.size(); ++i)
119 prefixes->push_back(full_hashes[i].prefix);
122 // Find the entries in |full_hashes| with prefix in |prefix_hits|, and
129 // |full_hashes| in parallel, so they must be sorted by prefix.
131 const std::vector<SBAddFullHash>& full_hashes,
539 std::vector<SBAddFullHash> full_hashes; local
590 std::vector<SBFullHash> full_hashes; local
1050 std::vector<SBAddFullHash> full_hashes; local
    [all...]
safe_browsing_store.cc 67 // Remove items in |removes| from |full_hashes|. |full_hashes| and
71 std::vector<T>* full_hashes) {
77 typename std::vector<T>::iterator out = full_hashes->begin();
79 typename std::vector<T>::iterator hash_iter = full_hashes->begin();
82 while (hash_iter != full_hashes->end() && remove_iter != removes.end()) {
97 } while (hash_iter != full_hashes->end() &&
104 full_hashes->erase(out, hash_iter);
protocol_parser.h 92 std::vector<SBFullHashResult>* full_hashes);
safe_browsing_service.cc 65 // |true| if there were any prefix hits in |full_hashes|.
69 const std::vector<SBFullHashResult>& full_hashes) {
71 if (full_hashes.empty()) {
380 const std::vector<SBFullHashResult>& full_hashes,
397 OnHandleGetHashResults(check, full_hashes); // 'check' is deleted here.
401 database_->CacheHashResults(prefixes, full_hashes);
    [all...]
safe_browsing_service.h 195 const std::vector<SBFullHashResult>& full_hashes,
353 const std::vector<SBFullHashResult>& full_hashes);
357 const std::vector<SBFullHashResult>& full_hashes);
359 // Run one check against |full_hashes|. Returns |true| if the check
360 // finds a match in |full_hashes|.
362 const std::vector<SBFullHashResult>& full_hashes);
safe_browsing_util_unittest.cc 289 std::vector<SBFullHashResult> full_hashes; local
290 full_hashes.push_back(full_hash);
292 EXPECT_EQ(safe_browsing_util::GetUrlHashIndex(url, full_hashes), 0);
295 EXPECT_EQ(safe_browsing_util::GetUrlHashIndex(url, full_hashes), -1);
protocol_manager.cc 164 std::vector<SBFullHashResult> full_hashes; local
165 sb_service_->HandleGetHashResults(check, full_hashes, false);
234 std::vector<SBFullHashResult> full_hashes; local
252 &full_hashes);
257 full_hashes.clear();
273 // Call back the SafeBrowsingService with full_hashes, even if there was a
274 // parse error or an error response code (in which case full_hashes will be
276 sb_service_->HandleGetHashResults(check, full_hashes, can_cache);
safe_browsing_util.cc 419 const std::vector<SBFullHashResult>& full_hashes) {
420 for (size_t i = 0; i < full_hashes.size(); ++i) {
421 if (hash == full_hashes[i].hash)
428 const std::vector<SBFullHashResult>& full_hashes) {
429 if (full_hashes.empty())
442 int index = GetHashIndex(key, full_hashes);
safe_browsing_util.h 300 const std::vector<SBFullHashResult>& full_hashes);
306 const std::vector<SBFullHashResult>& full_hashes);
protocol_parser.cc 56 std::vector<SBFullHashResult>* full_hashes) {
57 full_hashes->clear();
108 full_hashes->push_back(full_hash);
safe_browsing_database.h 246 void LoadCsdWhitelist(const std::vector<SBAddFullHash>& full_hashes);

Completed in 180 milliseconds