Home
last modified time | relevance | path

Searched refs:PrefixAt (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
Dprotocol_parser_unittest.cc49 EXPECT_EQ(0x31313131U, chunks[0]->PrefixAt(0)); // 1111 in TEST()
50 EXPECT_EQ(0x32323232U, chunks[0]->PrefixAt(1)); // 2222 in TEST()
51 EXPECT_EQ(0x33333333U, chunks[0]->PrefixAt(2)); // 3333 in TEST()
52 EXPECT_EQ(0x34343434U, chunks[0]->PrefixAt(3)); // 4444 in TEST()
53 EXPECT_EQ(0x38383838U, chunks[0]->PrefixAt(4)); // 8888 in TEST()
54 EXPECT_EQ(0x39393939U, chunks[0]->PrefixAt(5)); // 9999 in TEST()
137 EXPECT_EQ(0x31313131U, chunks[0]->PrefixAt(0)); // 1111 in TEST()
138 EXPECT_EQ(0x32323232U, chunks[0]->PrefixAt(1)); // 2222 in TEST()
139 EXPECT_EQ(0x33333333U, chunks[0]->PrefixAt(2)); // 3333 in TEST()
140 EXPECT_EQ(0x34343434U, chunks[0]->PrefixAt(3)); // 4444 in TEST()
[all …]
Dsafe_browsing_util.h76 SBPrefix PrefixAt(size_t i) const;
Dsafe_browsing_util.cc119 SBPrefix SBChunkData::PrefixAt(size_t i) const { in PrefixAt() function in SBChunkData
Dsafe_browsing_database.cc830 store->WriteAddPrefix(encoded_chunk_id, chunk_data.PrefixAt(i)); in InsertAddChunk()
864 chunk_data.PrefixAt(i)); in InsertSubChunk()