Searched refs:PrefixCount (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/chrome/browser/safe_browsing/ |
D | protocol_parser_unittest.cc | 48 ASSERT_EQ(6U, chunks[0]->PrefixCount()); in TEST() 136 ASSERT_EQ(6U, chunks[0]->PrefixCount()); in TEST() 149 ASSERT_EQ(2U, chunks[1]->PrefixCount()); in TEST() 238 ASSERT_EQ(2U, chunks[0]->PrefixCount()); in TEST() 576 EXPECT_EQ(0U, chunks[0]->PrefixCount()); in TEST() 610 ASSERT_EQ(2U, chunks[0]->PrefixCount()); in TEST() 619 EXPECT_EQ(0U, chunks[1]->PrefixCount()); in TEST() 626 ASSERT_EQ(1U, chunks[2]->PrefixCount()); in TEST() 649 EXPECT_EQ(0U, chunks[0]->PrefixCount()); in TEST() 695 ASSERT_EQ(2U, chunks[0]->PrefixCount()); in TEST() [all …]
|
D | safe_browsing_util.cc | 105 DCHECK((IsPrefix() && i < PrefixCount()) || in AddChunkNumberAt() 114 size_t SBChunkData::PrefixCount() const { in PrefixCount() function in SBChunkData 121 DCHECK_LT(i, PrefixCount()); in PrefixAt()
|
D | safe_browsing_util.h | 75 size_t PrefixCount() const;
|
D | safe_browsing_database.cc | 827 const size_t c = chunk_data.PrefixCount(); in InsertAddChunk() 858 const size_t c = chunk_data.PrefixCount(); in InsertSubChunk()
|