Home
last modified time | relevance | path

Searched refs:PrefixSet (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dprefix_set_unittest.cc44 static void CheckPrefixes(safe_browsing::PrefixSet* prefix_set, in CheckPrefixes()
76 safe_browsing::PrefixSet prefix_set(shared_prefixes_); in GetPrefixSetFile()
154 safe_browsing::PrefixSet prefix_set(shared_prefixes_); in TEST_F()
161 safe_browsing::PrefixSet prefix_set(empty); in TEST_F()
170 safe_browsing::PrefixSet prefix_set(prefixes); in TEST_F()
199 safe_browsing::PrefixSet prefix_set(prefixes); in TEST_F()
224 safe_browsing::PrefixSet prefix_set(prefixes); in TEST_F()
281 safe_browsing::PrefixSet prefix_set(prefixes); in TEST_F()
313 scoped_ptr<safe_browsing::PrefixSet> in TEST_F()
314 prefix_set(safe_browsing::PrefixSet::LoadFile(filename)); in TEST_F()
[all …]
Dprefix_set.cc42 PrefixSet::PrefixSet(const std::vector<SBPrefix>& sorted_prefixes) { in PrefixSet() function in safe_browsing::PrefixSet
99 PrefixSet::PrefixSet(std::vector<std::pair<SBPrefix,size_t> > *index, in PrefixSet() function in safe_browsing::PrefixSet
106 PrefixSet::~PrefixSet() {} in ~PrefixSet()
108 bool PrefixSet::Exists(SBPrefix prefix) const { in Exists()
141 void PrefixSet::GetPrefixes(std::vector<SBPrefix>* prefixes) const { in GetPrefixes()
158 PrefixSet* PrefixSet::LoadFile(const FilePath& filter_name) { in LoadFile()
222 return new PrefixSet(&index, &deltas); in LoadFile()
225 bool PrefixSet::WriteFile(const FilePath& filter_name) const { in WriteFile()
280 size_t PrefixSet::IndexBinFor(size_t target_index) const { in IndexBinFor()
305 size_t PrefixSet::GetSize() const { in GetSize()
[all …]
Dprefix_set.h61 class PrefixSet {
63 explicit PrefixSet(const std::vector<SBPrefix>& sorted_prefixes);
64 ~PrefixSet();
70 static PrefixSet* LoadFile(const FilePath& filter_name);
105 PrefixSet(std::vector<std::pair<SBPrefix,size_t> > *index,
124 DISALLOW_COPY_AND_ASSIGN(PrefixSet);
Dsafe_browsing_database.h24 class PrefixSet; variable
346 scoped_ptr<safe_browsing::PrefixSet> prefix_set_;
Dsafe_browsing_database.cc258 safe_browsing::PrefixSet* PrefixSetFromAddPrefixes( in PrefixSetFromAddPrefixes()
273 scoped_ptr<safe_browsing::PrefixSet> in PrefixSetFromAddPrefixes()
274 prefix_set(new safe_browsing::PrefixSet(prefixes)); in PrefixSetFromAddPrefixes()
570 prefix_set_.reset(new safe_browsing::PrefixSet(std::vector<SBPrefix>())); in ResetDatabase()
1135 scoped_ptr<safe_browsing::PrefixSet> in UpdateBrowseStore()