Home
last modified time | relevance | path

Searched refs:prefix_set (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dprefix_set_unittest.cc44 static void CheckPrefixes(safe_browsing::PrefixSet* prefix_set, in CheckPrefixes() argument
50 prefix_set->GetPrefixes(&prefixes_copy); in CheckPrefixes()
55 EXPECT_TRUE(prefix_set->Exists(prefixes[i])); in CheckPrefixes()
59 EXPECT_FALSE(prefix_set->Exists(left_sibling)); in CheckPrefixes()
63 EXPECT_FALSE(prefix_set->Exists(right_sibling)); in CheckPrefixes()
76 safe_browsing::PrefixSet prefix_set(shared_prefixes_); in GetPrefixSetFile() local
77 if (!prefix_set.WriteFile(filename)) in GetPrefixSetFile()
154 safe_browsing::PrefixSet prefix_set(shared_prefixes_); in TEST_F() local
155 CheckPrefixes(&prefix_set, shared_prefixes_); in TEST_F()
161 safe_browsing::PrefixSet prefix_set(empty); in TEST_F() local
[all …]
Dsafe_browsing_database.cc274 prefix_set(new safe_browsing::PrefixSet(prefixes)); in PrefixSetFromAddPrefixes() local
277 prefix_set->GetPrefixes(&restored); in PrefixSetFromAddPrefixes()
282 return prefix_set.release(); in PrefixSetFromAddPrefixes()
305 if (!prefix_set->CheckChecksum()) in PrefixSetFromAddPrefixes()
328 if (prefix_set->IsDeltaAt(i)) { in PrefixSetFromAddPrefixes()
335 prefix_set->DeltaAt(i), 1, 0xFFFF, 50); in PrefixSetFromAddPrefixes()
384 return prefix_set.release(); in PrefixSetFromAddPrefixes()
1136 prefix_set(PrefixSetFromAddPrefixes(add_prefixes)); in UpdateBrowseStore() local
1155 prefix_set_.swap(prefix_set); in UpdateBrowseStore()
/external/oprofile/libregex/tests/
Dmangled-name.in173 prefix_set<int, less<int>, allocator<int> >
174 prefix_set<int, less<int>, allocator<int>>
176 prefix_set<int, less<int>, allocator<int> >
177 prefix_set<int, less<int>, allocator<int>>