/external/chromium/chrome/browser/safe_browsing/ |
protocol_parser.cc | 336 int prefix_count; local 343 prefix_count = remaining / hash_len; 346 chunk_host.entry = SBEntry::Create(type, prefix_count); 348 if (!ReadPrefixes(&chunk_data, &remaining, chunk_host.entry, prefix_count)) 354 ReadHostAndPrefixCount(&chunk_data, &remaining, &host, &prefix_count); 357 chunk_host.entry = SBEntry::Create(type, prefix_count); 360 prefix_count)) 374 int prefix_count; local 384 prefix_count = remaining / (sizeof(int32) + hash_len); 385 chunk_host.entry = SBEntry::Create(type, prefix_count); [all...] |
safe_browsing_util.h | 153 static SBEntry* Create(Type type, int prefix_count); 162 int prefix_count() const { return data_.prefix_count; } function in class:SBEntry 219 // For subs: if prefix_count is 0 then this is the add chunk that this sub 224 int prefix_count; member in struct:SBEntry::Data 235 static int Size(Type type, int prefix_count); 242 void set_prefix_count(int count) { data_.prefix_count = count; }
|
protocol_parser_unittest.cc | 36 EXPECT_EQ(entry->prefix_count(), 0); 42 EXPECT_EQ(entry->prefix_count(), 3); 51 EXPECT_EQ(entry->prefix_count(), 2); 89 EXPECT_EQ(entry->prefix_count(), 2); 120 EXPECT_EQ(entry->prefix_count(), 0); 126 EXPECT_EQ(entry->prefix_count(), 3); 135 EXPECT_EQ(entry->prefix_count(), 2); 147 EXPECT_EQ(entry->prefix_count(), 2); 181 EXPECT_EQ(host0.entry->prefix_count(), 255); 185 EXPECT_EQ(host1.entry->prefix_count(), 5) [all...] |
safe_browsing_util.cc | 75 SBEntry* SBEntry::Create(Type type, int prefix_count) { 76 int size = Size(type, prefix_count); 80 rv->set_prefix_count(prefix_count); 106 return Size(type(), prefix_count()); 110 int SBEntry::Size(Type type, int prefix_count) { 111 return sizeof(Data) + prefix_count * PrefixSize(type);
|
filter_false_positive_perftest.cc | 230 int prefix_count = 0; local 252 prefix_count += GeneratePrefixHits(url, bloom_filter, &prefixes); 278 << ", prefix compares: " << prefix_count
|
safe_browsing_database.cc | 738 const int count = entry->prefix_count(); 808 const int count = entry->prefix_count(); [all...] |
/external/bison/lib/ |
vasnprintf.c | 4629 unsigned int prefix_count; local 5255 size_t prefix_count; local [all...] |
/external/e2fsprogs/intl/ |
vasnprintf.c | 267 unsigned int prefix_count; local 566 prefix_count = 0; 571 prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; 577 prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; 599 switch (prefix_count) \ 619 switch (prefix_count) \
|