OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SBAddPrefix
(Results
1 - 12
of
12
) sorted by null
/external/chromium/chrome/browser/safe_browsing/
safe_browsing_store_unittest.cc
14
EXPECT_TRUE(SBAddPrefixLess(
SBAddPrefix
(10, 1),
SBAddPrefix
(11, 1)));
15
EXPECT_FALSE(SBAddPrefixLess(
SBAddPrefix
(11, 1),
SBAddPrefix
(10, 1)));
16
EXPECT_TRUE(SBAddPrefixLess(
SBAddPrefix
(10, 1),
SBAddPrefix
(10, 2)));
17
EXPECT_FALSE(SBAddPrefixLess(
SBAddPrefix
(10, 2),
SBAddPrefix
(10, 1)));
20
EXPECT_FALSE(SBAddPrefixLess(
SBAddPrefix
(10, 1),
SBAddPrefix
(10, 1)))
[
all
...]
safe_browsing_store.h
25
// List of
SBAddPrefix
(chunk_id and SBPrefix).
26
// List of SBSubPrefix (chunk_id and the target
SBAddPrefix
).
27
// List of SBAddFullHash (
SBAddPrefix
, time received and an SBFullHash).
28
// List of SBSubFullHash (chunk_id, target
SBAddPrefix
, and an SBFullHash).
44
struct
SBAddPrefix
{
48
SBAddPrefix
(int32 id, SBPrefix p) : chunk_id(id), prefix(p) {}
49
SBAddPrefix
() : chunk_id(), prefix() {}
142
void SBProcessSubs(std::vector<
SBAddPrefix
>* add_prefixes,
151
void SBCheckPrefixMisses(const std::vector<
SBAddPrefix
>& add_prefixes,
178
virtual bool GetAddPrefixes(std::vector<
SBAddPrefix
>* add_prefixes) = 0
[
all
...]
safe_browsing_store.cc
68
// |removes| should be ordered by
SBAddPrefix
component.
70
void RemoveMatchingPrefixes(const std::vector<
SBAddPrefix
>& removes,
80
std::vector<
SBAddPrefix
>::const_iterator remove_iter = removes.begin();
134
void SBCheckPrefixMisses(const std::vector<
SBAddPrefix
>& add_prefixes,
167
void SBProcessSubs(std::vector<
SBAddPrefix
>* add_prefixes,
178
// Sort the inputs by the
SBAddPrefix
bits.
180
SBAddPrefixLess<
SBAddPrefix
,
SBAddPrefix
>);
189
std::vector<
SBAddPrefix
> removed_adds;
191
SBAddPrefixLess<
SBAddPrefix
,SBSubPrefix>
[
all
...]
safe_browsing_store_file.h
120
virtual bool GetAddPrefixes(std::vector<
SBAddPrefix
>* add_prefixes);
140
std::vector<
SBAddPrefix
>* add_prefixes_result,
164
std::vector<
SBAddPrefix
>* add_prefixes_result,
224
std::vector<
SBAddPrefix
>().swap(add_prefixes_);
243
std::vector<
SBAddPrefix
> add_prefixes_;
safe_browsing_store_file.cc
170
expected_size += header.add_prefix_count * sizeof(
SBAddPrefix
);
283
add_prefixes_.push_back(
SBAddPrefix
(chunk_id, prefix));
288
std::vector<
SBAddPrefix
>* add_prefixes) {
323
header.add_prefix_count * sizeof(
SBAddPrefix
) +
477
std::vector<
SBAddPrefix
>* add_prefixes_result,
484
std::vector<
SBAddPrefix
> add_prefixes;
569
expected_size += header.add_prefix_count * sizeof(
SBAddPrefix
);
674
std::vector<
SBAddPrefix
>* add_prefixes_result,
safe_browsing_store_file_unittest.cc
102
std::vector<
SBAddPrefix
> orig_prefixes;
124
std::vector<
SBAddPrefix
> add_prefixes;
safe_browsing_store_unittest_helper.cc
48
std::vector<
SBAddPrefix
> add_prefixes_result;
93
std::vector<
SBAddPrefix
> add_prefixes_result;
166
std::vector<
SBAddPrefix
> add_prefixes_result;
270
std::vector<
SBAddPrefix
> add_prefixes_result;
340
std::vector<
SBAddPrefix
> add_prefixes_result;
safe_browsing_database.cc
259
const std::vector<
SBAddPrefix
>& add_prefixes) {
664
std::vector<
SBAddPrefix
> add_prefixes;
[
all
...]
/external/chromium_org/chrome/browser/safe_browsing/
safe_browsing_store_unittest.cc
14
EXPECT_TRUE(SBAddPrefixLess(
SBAddPrefix
(10, 1),
SBAddPrefix
(11, 1)));
15
EXPECT_FALSE(SBAddPrefixLess(
SBAddPrefix
(11, 1),
SBAddPrefix
(10, 1)));
16
EXPECT_TRUE(SBAddPrefixLess(
SBAddPrefix
(10, 1),
SBAddPrefix
(10, 2)));
17
EXPECT_FALSE(SBAddPrefixLess(
SBAddPrefix
(10, 2),
SBAddPrefix
(10, 1)));
20
EXPECT_FALSE(SBAddPrefixLess(
SBAddPrefix
(10, 1),
SBAddPrefix
(10, 1)))
[
all
...]
safe_browsing_store.cc
68
// |removes| should be ordered by
SBAddPrefix
component.
136
// Sort the inputs by the
SBAddPrefix
bits.
138
SBAddPrefixLess<
SBAddPrefix
,
SBAddPrefix
>);
149
SBAddPrefixLess<
SBAddPrefix
,SBSubPrefix>,
150
SBAddPrefixLess<SBSubPrefix,
SBAddPrefix
>,
safe_browsing_store.h
25
// List of
SBAddPrefix
(chunk_id and SBPrefix).
26
// List of SBSubPrefix (chunk_id and the target
SBAddPrefix
).
27
// List of SBAddFullHash (
SBAddPrefix
, time received and an SBFullHash).
28
// List of SBSubFullHash (chunk_id, target
SBAddPrefix
, and an SBFullHash).
44
struct
SBAddPrefix
{
48
SBAddPrefix
(int32 id, SBPrefix p) : chunk_id(id), prefix(p) {}
49
SBAddPrefix
() : chunk_id(), prefix() {}
55
typedef std::deque<
SBAddPrefix
> SBAddPrefixes;
safe_browsing_store_file.cc
144
expected_size += header.add_prefix_count * sizeof(
SBAddPrefix
);
288
add_prefixes_.push_back(
SBAddPrefix
(chunk_id, prefix));
327
header.add_prefix_count * sizeof(
SBAddPrefix
) +
573
expected_size += header.add_prefix_count * sizeof(
SBAddPrefix
);
Completed in 1210 milliseconds