Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_util_unittest.cc299 std::string list_name; in TEST() local
301 &list_name)); in TEST()
303 &list_name)); in TEST()
304 EXPECT_EQ(list_name, std::string(safe_browsing_util::kMalwareList)); in TEST()
306 safe_browsing_util::GetListId(list_name)); in TEST()
309 &list_name)); in TEST()
310 EXPECT_EQ(list_name, std::string(safe_browsing_util::kPhishingList)); in TEST()
312 safe_browsing_util::GetListId(list_name)); in TEST()
315 &list_name)); in TEST()
316 EXPECT_EQ(list_name, std::string(safe_browsing_util::kBinUrlList)); in TEST()
[all …]
Dprotocol_parser.cc94 full_hash.list_name = cmd_parts[0]; in ParseGetHash()
99 if (safe_browsing_util::GetListId(full_hash.list_name) < 0) { in ParseGetHash()
149 std::string list_name; in ParseUpdate() local
178 if (command.size() != 2 || command[1] != 'd' || list_name.empty()) in ParseUpdate()
183 chunk_delete.list_name = list_name; in ParseUpdate()
196 list_name = cmd_parts[1]; in ParseUpdate()
229 chunk_url.list_name = list_name; in ParseUpdate()
251 bool SafeBrowsingProtocolParser::ParseChunk(const std::string& list_name, in ParseChunk() argument
306 if (!ParseAddChunk(list_name, chunk_data, chunk_len, hash_len, in ParseChunk()
311 if (!ParseSubChunk(list_name, chunk_data, chunk_len, hash_len, in ParseChunk()
[all …]
Dsafe_browsing_util.h30 std::string list_name; member
109 std::string list_name; member
127 std::string list_name; member
308 bool IsPhishingList(const std::string& list_name);
309 bool IsMalwareList(const std::string& list_name);
310 bool IsBadbinurlList(const std::string& list_name);
311 bool IsBadbinhashList(const std::string& list_name);
Dsafe_browsing_service_browsertest.cc80 virtual void InsertChunks(const std::string& list_name, in InsertChunks() argument
98 const std::string& list_name, in AddUrl() argument
101 badurls_[url.spec()].list_name = list_name; in AddUrl()
113 std::string list_name; member
132 if (badurls_it->second.list_name == list_name0 || in ContainsUrl()
133 badurls_it->second.list_name == list_name1) { in ContainsUrl()
260 const std::string& list_name, in GenUrlFullhashResult() argument
268 full_hash->list_name = list_name; in GenUrlFullhashResult()
273 const std::string& list_name, in GenDigestFullhashResult() argument
277 full_hash->list_name = list_name; in GenDigestFullhashResult()
[all …]
Dprotocol_parser.h78 bool ParseChunk(const std::string& list_name,
106 bool ParseAddChunk(const std::string& list_name,
111 bool ParseSubChunk(const std::string& list_name,
Dsafe_browsing_util.cc450 bool IsPhishingList(const std::string& list_name) { in IsPhishingList() argument
451 return list_name.compare(kPhishingList) == 0; in IsPhishingList()
454 bool IsMalwareList(const std::string& list_name) { in IsMalwareList() argument
455 return list_name.compare(kMalwareList) == 0; in IsMalwareList()
458 bool IsBadbinurlList(const std::string& list_name) { in IsBadbinurlList() argument
459 return list_name.compare(kBinUrlList) == 0; in IsBadbinurlList()
462 bool IsBadbinhashList(const std::string& list_name) { in IsBadbinhashList() argument
463 return list_name.compare(kBinHashList) == 0; in IsBadbinhashList()
Dprotocol_parser_unittest.cc487 EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar"); in TEST()
491 EXPECT_EQ(full_hashes[1].list_name, "goog-phish-shavar"); in TEST()
495 EXPECT_EQ(full_hashes[2].list_name, "goog-phish-shavar"); in TEST()
513 EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar"); in TEST()
517 EXPECT_EQ(full_hashes[1].list_name, "goog-malware-shavar"); in TEST()
521 EXPECT_EQ(full_hashes[2].list_name, "goog-malware-shavar"); in TEST()
578 EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar"); in TEST()
593 EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar"); in TEST()
597 EXPECT_EQ(full_hashes[1].list_name, "goog-malware-shavar"); in TEST()
Dsafe_browsing_service.cc805 const std::string& list_name, SBChunkList* chunks) { in HandleChunkForDatabase() argument
808 GetDatabase()->InsertChunks(list_name, *chunks); in HandleChunkForDatabase()
826 const std::string& list_name) { in GetResultFromListname() argument
827 if (safe_browsing_util::IsPhishingList(list_name)) { in GetResultFromListname()
831 if (safe_browsing_util::IsMalwareList(list_name)) { in GetResultFromListname()
835 if (safe_browsing_util::IsBadbinurlList(list_name)) { in GetResultFromListname()
839 if (safe_browsing_util::IsBadbinhashList(list_name)) { in GetResultFromListname()
843 DVLOG(1) << "Unknown safe browsing list " << list_name; in GetResultFromListname()
983 check->result = GetResultFromListname(full_hashes[index].list_name); in HandleOneCheck()
Dsafe_browsing_database.h131 virtual void InsertChunks(const std::string& list_name,
219 virtual void InsertChunks(const std::string& list_name,
Dsafe_browsing_database.cc152 if (!safe_browsing_util::GetListName(list_bit, &result.list_name)) in GetCachedFullHashesForBrowse()
869 void SafeBrowsingDatabaseNew::InsertChunks(const std::string& list_name, in InsertChunks() argument
878 const int list_id = safe_browsing_util::GetListId(list_name); in InsertChunks()
879 DVLOG(2) << list_name << ": " << list_id; in InsertChunks()
904 const std::string& list_name = chunk_deletes.front().list_name; in DeleteChunks() local
905 const int list_id = safe_browsing_util::GetListId(list_name); in DeleteChunks()
942 const int list_id = safe_browsing_util::GetListId(iter->list_name); in CacheHashResults()
Dsafe_browsing_test.cc57 std::string list_name; member
86 phishing_url.list_name = record_parts[1]; in ParsePhishingUrls()
Dsafe_browsing_service.h333 static UrlCheckResult GetResultFromListname(const std::string& list_name);
Dprotocol_manager.cc426 if (!parser.ParseChunk(chunk_url.list_name, data, length, in HandleServiceResponse()
450 sb_service_->HandleChunk(chunk_url.list_name, chunks.release()); in HandleServiceResponse()
Dsafe_browsing_database_unittest.cc269 chunk_delete.list_name = list; in DelChunk()
830 full_hash.list_name = safe_browsing_util::kMalwareList; in PopulateDatabaseForCacheTest()
/external/webkit/Tools/Scripts/
Dvalidate-committer-lists93 list_name = "webkit-committers@lists.webkit.org"
96 … print_list_if_non_empty("Committers missing from %s:" % list_name, missing_from_mailing_list)
99 …print_list_if_non_empty("Subcribers to %s missing from committer.py:" % list_name, users_missing_f…
103 list_name = "webkit-reviewers@lists.webkit.org"
106 print_list_if_non_empty("Reviewers missing from %s:" % list_name, missing_from_mailing_list)
109 …_non_empty("Subcribers to %s missing from reviewers in committer.py:" % list_name, missing_from_re…
112 …if_non_empty("Subcribers to %s completely missing from committers.py" % list_name, missing_from_co…
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dworker.py92 def handle_test_list(self, src, list_name, test_list): argument
93 if list_name == "tests_to_http_lock":
104 self._worker_connection.post_message('finished_list', list_name, num_tests, elapsed_time)
Dtest_runner2.py215 def handle_finished_list(self, source, list_name, num_tests, elapsed_time): argument
216 self._group_stats[list_name] = (num_tests, elapsed_time)
/external/webkit/Source/JavaScriptCore/tests/mozilla/
DjsDriver.pl276 my ($list_name, $neglist_name);
283 $list_name = "All tests";
285 $list_name = join (", ", @opt_test_list_files);
287 $list_name = "($#opt_test_list_files test files specified)";
309 "Test List: $list_name<br>\n" .
345 "# Original test base was: $list_name.\n" .
/external/linux-tools-perf/util/
Dsort.h130 const char *list_name, FILE *fp);
Dsort.c337 const char *list_name, FILE *fp) in sort_entry__setup_elide() argument
341 fprintf(fp, "# %s: %s\n", list_name, in sort_entry__setup_elide()
Dsymbol.c2435 const char *list_name) in setup_list() argument
2442 pr_err("problems parsing %s list\n", list_name); in setup_list()
/external/v8/src/
Dscopeinfo.cc462 static void PrintList(const char* list_name, in PrintList() argument
468 PrintF("\n // %s\n", list_name); in PrintList()