OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sub_prefixes
(Results
1 - 2
of
2
) sorted by null
/external/chromium/chrome/browser/safe_browsing/
safe_browsing_store_unittest.cc
117
std::vector<SBSubPrefix>
sub_prefixes
;
local
121
SBProcessSubs(&add_prefixes, &
sub_prefixes
, &add_hashes, &sub_hashes,
124
EXPECT_TRUE(
sub_prefixes
.empty());
148
std::vector<SBSubPrefix>
sub_prefixes
;
local
156
sub_prefixes
.push_back(SBSubPrefix(kSubChunk1, kAddChunk1, kHash1.prefix));
166
sub_prefixes
.push_back(SBSubPrefix(kSubChunk1, kAddChunk1, kHash3.prefix));
169
SBProcessSubs(&add_prefixes, &
sub_prefixes
, &add_hashes, &sub_hashes,
180
EXPECT_EQ(1U,
sub_prefixes
.size());
181
EXPECT_EQ(kSubChunk1,
sub_prefixes
[0].chunk_id);
182
EXPECT_EQ(kAddChunk1,
sub_prefixes
[0].add_chunk_id)
211
std::vector<SBSubPrefix>
sub_prefixes
;
local
[
all
...]
safe_browsing_store_file.cc
485
std::vector<SBSubPrefix>
sub_prefixes
;
local
515
!ReadToVector(&
sub_prefixes
, header.sub_prefix_count,
585
!ReadToVector(&
sub_prefixes
, header.sub_prefix_count,
603
SBProcessSubs(&add_prefixes, &
sub_prefixes
,
625
header.sub_prefix_count =
sub_prefixes
.size();
635
!WriteVector(
sub_prefixes
, new_file_.get(), &context) ||
662
UMA_HISTOGRAM_COUNTS("SB2.SubPrefixes",
sub_prefixes
.size());
Completed in 431 milliseconds