/external/chromium/chrome/browser/safe_browsing/ |
D | safe_browsing_util_unittest.cc | 299 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 …]
|
D | protocol_parser.cc | 94 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 …]
|
D | safe_browsing_util.h | 30 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);
|
D | safe_browsing_service_browsertest.cc | 80 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 …]
|
D | protocol_parser.h | 78 bool ParseChunk(const std::string& list_name, 106 bool ParseAddChunk(const std::string& list_name, 111 bool ParseSubChunk(const std::string& list_name,
|
D | safe_browsing_util.cc | 450 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()
|
D | protocol_parser_unittest.cc | 487 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()
|
D | safe_browsing_service.cc | 805 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()
|
D | safe_browsing_database.h | 131 virtual void InsertChunks(const std::string& list_name, 219 virtual void InsertChunks(const std::string& list_name,
|
D | safe_browsing_database.cc | 152 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()
|
D | safe_browsing_test.cc | 57 std::string list_name; member 86 phishing_url.list_name = record_parts[1]; in ParsePhishingUrls()
|
D | safe_browsing_service.h | 333 static UrlCheckResult GetResultFromListname(const std::string& list_name);
|
D | protocol_manager.cc | 426 if (!parser.ParseChunk(chunk_url.list_name, data, length, in HandleServiceResponse() 450 sb_service_->HandleChunk(chunk_url.list_name, chunks.release()); in HandleServiceResponse()
|
D | safe_browsing_database_unittest.cc | 269 chunk_delete.list_name = list; in DelChunk() 830 full_hash.list_name = safe_browsing_util::kMalwareList; in PopulateDatabaseForCacheTest()
|
/external/webkit/Tools/Scripts/ |
D | validate-committer-lists | 93 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/ |
D | worker.py | 92 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)
|
D | test_runner2.py | 215 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/ |
D | jsDriver.pl | 276 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/ |
D | sort.h | 130 const char *list_name, FILE *fp);
|
D | sort.c | 337 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()
|
D | symbol.c | 2435 const char *list_name) in setup_list() argument 2442 pr_err("problems parsing %s list\n", list_name); in setup_list()
|
/external/v8/src/ |
D | scopeinfo.cc | 462 static void PrintList(const char* list_name, in PrintList() argument 468 PrintF("\n // %s\n", list_name); in PrintList()
|