Home | History | Annotate | Download | only in safe_browsing

Lines Matching refs:add_prefixes

115   std::vector<SBAddPrefix> add_prefixes;
121 SBProcessSubs(&add_prefixes, &sub_prefixes, &add_hashes, &sub_hashes,
123 EXPECT_TRUE(add_prefixes.empty());
146 std::vector<SBAddPrefix> add_prefixes;
153 add_prefixes.push_back(SBAddPrefix(kAddChunk1, kHash1.prefix));
162 add_prefixes.push_back(SBAddPrefix(kAddChunk1, kHash2.prefix));
169 SBProcessSubs(&add_prefixes, &sub_prefixes, &add_hashes, &sub_hashes,
172 EXPECT_EQ(1U, add_prefixes.size());
173 EXPECT_EQ(kAddChunk1, add_prefixes[0].chunk_id);
174 EXPECT_EQ(kHash2.prefix, add_prefixes[0].prefix);
209 std::vector<SBAddPrefix> add_prefixes;
216 add_prefixes.push_back(SBAddPrefix(kAddChunk1, kHash1.prefix));
225 add_prefixes.push_back(SBAddPrefix(kAddChunk1, kHash2.prefix));
234 SBProcessSubs(&add_prefixes, &sub_prefixes, &add_hashes, &sub_hashes,
237 EXPECT_TRUE(add_prefixes.empty());
252 SBProcessSubs(&add_prefixes, &sub_prefixes, &add_hashes, &sub_hashes,
255 EXPECT_TRUE(add_prefixes.empty());