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

/external/chromium/chrome/browser/safe_browsing/
H A Dsafe_browsing_util_unittest.cc299 std::string list_name; local
301 &list_name));
303 &list_name));
304 EXPECT_EQ(list_name, std::string(safe_browsing_util::kMalwareList));
306 safe_browsing_util::GetListId(list_name));
309 &list_name));
310 EXPECT_EQ(list_name, std::string(safe_browsing_util::kPhishingList));
312 safe_browsing_util::GetListId(list_name));
315 &list_name));
316 EXPECT_EQ(list_name, st
[all...]
H A 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,
H A Dprotocol_parser.cc94 full_hash.list_name = cmd_parts[0];
99 if (safe_browsing_util::GetListId(full_hash.list_name) < 0) {
149 std::string list_name; local
178 if (command.size() != 2 || command[1] != 'd' || list_name.empty())
183 chunk_delete.list_name = list_name;
196 list_name = cmd_parts[1];
229 chunk_url.list_name = list_name;
251 bool SafeBrowsingProtocolParser::ParseChunk(const std::string& list_name, argument
329 ParseAddChunk(const std::string& list_name, const char* data, int data_len, int hash_len, std::deque<SBChunkHost>* hosts) argument
367 ParseSubChunk(const std::string& list_name, const char* data, int data_len, int hash_len, std::deque<SBChunkHost>* hosts) argument
[all...]
H A Dsafe_browsing_util.h30 std::string list_name; member in struct:ChunkUrl
109 std::string list_name; member in struct:SBFullHashResult
127 std::string list_name; member in struct:SBChunkDelete
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);
H A Dsafe_browsing_service_browsertest.cc80 virtual void InsertChunks(const std::string& list_name, argument
98 const std::string& list_name,
101 badurls_[url.spec()].list_name = list_name;
113 std::string list_name; member in struct:TestSafeBrowsingDatabase::Hits
132 if (badurls_it->second.list_name == list_name0 ||
133 badurls_it->second.list_name == list_name1) {
260 const std::string& list_name,
268 full_hash->list_name = list_name;
97 AddUrl(const GURL& url, const std::string& list_name, const std::vector<SBPrefix>& prefix_hits, const std::vector<SBFullHashResult>& full_hits) argument
259 GenUrlFullhashResult(const GURL& url, const std::string& list_name, int add_chunk_id, SBFullHashResult* full_hash) argument
272 GenDigestFullhashResult(const std::string& full_digest, const std::string& list_name, int add_chunk_id, SBFullHashResult* full_hash) argument
[all...]
H A Dsafe_browsing_util.cc450 bool IsPhishingList(const std::string& list_name) { argument
451 return list_name.compare(kPhishingList) == 0;
454 bool IsMalwareList(const std::string& list_name) { argument
455 return list_name.compare(kMalwareList) == 0;
458 bool IsBadbinurlList(const std::string& list_name) { argument
459 return list_name.compare(kBinUrlList) == 0;
462 bool IsBadbinhashList(const std::string& list_name) { argument
463 return list_name.compare(kBinHashList) == 0;
H A Dprotocol_parser_unittest.cc487 EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar");
491 EXPECT_EQ(full_hashes[1].list_name, "goog-phish-shavar");
495 EXPECT_EQ(full_hashes[2].list_name, "goog-phish-shavar");
513 EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar");
517 EXPECT_EQ(full_hashes[1].list_name, "goog-malware-shavar");
521 EXPECT_EQ(full_hashes[2].list_name, "goog-malware-shavar");
578 EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar");
593 EXPECT_EQ(full_hashes[0].list_name, "goog-phish-shavar");
597 EXPECT_EQ(full_hashes[1].list_name, "goog-malware-shavar");
H A Dsafe_browsing_service.cc805 const std::string& list_name, SBChunkList* chunks) {
808 GetDatabase()->InsertChunks(list_name, *chunks);
826 const std::string& list_name) {
827 if (safe_browsing_util::IsPhishingList(list_name)) {
831 if (safe_browsing_util::IsMalwareList(list_name)) {
835 if (safe_browsing_util::IsBadbinurlList(list_name)) {
839 if (safe_browsing_util::IsBadbinhashList(list_name)) {
843 DVLOG(1) << "Unknown safe browsing list " << list_name;
983 check->result = GetResultFromListname(full_hashes[index].list_name);
804 HandleChunkForDatabase( const std::string& list_name, SBChunkList* chunks) argument
825 GetResultFromListname( const std::string& list_name) argument
H A Dsafe_browsing_database.h116 // db.InsertChunks(list_name, chunks);
131 virtual void InsertChunks(const std::string& list_name,
219 virtual void InsertChunks(const std::string& list_name,
H A Dsafe_browsing_database.cc152 if (!safe_browsing_util::GetListName(list_bit, &result.list_name))
869 void SafeBrowsingDatabaseNew::InsertChunks(const std::string& list_name, argument
878 const int list_id = safe_browsing_util::GetListId(list_name);
879 DVLOG(2) << list_name << ": " << list_id;
904 const std::string& list_name = chunk_deletes.front().list_name; local
905 const int list_id = safe_browsing_util::GetListId(list_name);
942 const int list_id = safe_browsing_util::GetListId(iter->list_name);
H A Dsafe_browsing_test.cc57 std::string list_name; member in struct:__anon2254::PhishingUrl
86 phishing_url.list_name = record_parts[1];
H A Dsafe_browsing_service.h333 static UrlCheckResult GetResultFromListname(const std::string& list_name);
H A Dprotocol_manager.cc426 if (!parser.ParseChunk(chunk_url.list_name, data, length,
450 sb_service_->HandleChunk(chunk_url.list_name, chunks.release());
H A Dsafe_browsing_database_unittest.cc269 chunk_delete.list_name = list;
830 full_hash.list_name = safe_browsing_util::kMalwareList;
/external/webkit/Tools/Scripts/
H A 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_from_committers)
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 print_list_if_non_empty("Subcribers to %s missing from reviewers in committer.py:" % list_name, missing_from_reviewers)
112 print_list_if_non_empty("Subcribers to %s completely missing from committers.py" % list_name, missing_from_committers)
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
H A Dworker.py92 def handle_test_list(self, src, list_name, test_list):
93 if list_name == "tests_to_http_lock":
104 self._worker_connection.post_message('finished_list', list_name, num_tests, elapsed_time)
H A Dtest_runner2.py215 def handle_finished_list(self, source, list_name, num_tests, elapsed_time):
216 self._group_stats[list_name] = (num_tests, elapsed_time)
/external/linux-tools-perf/util/
H A Dsort.h130 const char *list_name, FILE *fp);
H A Dsort.c337 const char *list_name, FILE *fp)
341 fprintf(fp, "# %s: %s\n", list_name,
336 sort_entry__setup_elide(struct sort_entry *self, struct strlist *list, const char *list_name, FILE *fp) argument
H A Dsymbol.c2435 const char *list_name)
2442 pr_err("problems parsing %s list\n", list_name);
2434 setup_list(struct strlist **list, const char *list_str, const char *list_name) argument
/external/webkit/Source/JavaScriptCore/tests/mozilla/
H A 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/v8/src/
H A Dscopeinfo.cc462 static void PrintList(const char* list_name, argument
468 PrintF("\n // %s\n", list_name);

Completed in 218 milliseconds