Home
last modified time | relevance | path

Searched refs:SBChunkData (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_util.cc48 SBChunkData::SBChunkData() { in SBChunkData() function in SBChunkData
51 SBChunkData::SBChunkData(safe_browsing::ChunkData* raw_data) in SBChunkData() function in SBChunkData
56 SBChunkData::~SBChunkData() { in ~SBChunkData()
59 bool SBChunkData::ParseFrom(const unsigned char* data, size_t length) { in ParseFrom()
91 int SBChunkData::ChunkNumber() const { in ChunkNumber()
95 bool SBChunkData::IsAdd() const { in IsAdd()
99 bool SBChunkData::IsSub() const { in IsSub()
103 int SBChunkData::AddChunkNumberAt(size_t i) const { in AddChunkNumberAt()
110 bool SBChunkData::IsPrefix() const { in IsPrefix()
114 size_t SBChunkData::PrefixCount() const { in PrefixCount()
[all …]
Dsafe_browsing_util.h54 class SBChunkData {
56 SBChunkData();
57 ~SBChunkData();
62 explicit SBChunkData(safe_browsing::ChunkData* chunk_data);
85 DISALLOW_COPY_AND_ASSIGN(SBChunkData);
Dsafe_browsing_database_unittest.cc65 SBChunkData* BuildChunk(int chunk_number, in BuildChunk()
80 return new SBChunkData(raw_data.release()); in BuildChunk()
84 SBChunkData* AddChunkPrefix(int chunk_number, SBPrefix prefix) { in AddChunkPrefix()
92 SBChunkData* AddChunkPrefixValue(int chunk_number, in AddChunkPrefixValue()
98 SBChunkData* AddChunkPrefix2Value(int chunk_number, in AddChunkPrefix2Value()
112 SBChunkData* AddChunkPrefix4Value(int chunk_number, in AddChunkPrefix4Value()
130 SBChunkData* AddChunkFullHash(int chunk_number, SBFullHash full_hash) { in AddChunkFullHash()
138 SBChunkData* AddChunkFullHashValue(int chunk_number, in AddChunkFullHashValue()
144 SBChunkData* AddChunkFullHash2Value(int chunk_number, in AddChunkFullHash2Value()
158 SBChunkData* SubChunkPrefixValue(int chunk_number, in SubChunkPrefixValue()
[all …]
Dprotocol_parser_unittest.cc39 ScopedVector<SBChunkData> chunks; in TEST()
85 ScopedVector<SBChunkData> chunks; in TEST()
126 ScopedVector<SBChunkData> chunks; in TEST()
167 ScopedVector<SBChunkData> chunks; in TEST()
189 ScopedVector<SBChunkData> chunks; in TEST()
207 ScopedVector<SBChunkData> chunks; in TEST()
229 ScopedVector<SBChunkData> chunks; in TEST()
279 ScopedVector<SBChunkData> chunks; in TEST()
567 ScopedVector<SBChunkData> chunks; in TEST()
640 ScopedVector<SBChunkData> chunks; in TEST()
Dsafe_browsing_database.h164 const std::vector<SBChunkData*>& chunks) = 0;
312 const std::vector<SBChunkData*>& chunks) OVERRIDE;
395 const SBChunkData& chunk);
398 const SBChunkData& chunk);
Dprotocol_parser.cc352 ScopedVector<SBChunkData>* chunks) { in ParseChunk()
364 scoped_ptr<SBChunkData> chunk(new SBChunkData()); in ParseChunk()
Dprotocol_parser.h47 ScopedVector<SBChunkData>* chunks);
Ddatabase_manager.h294 scoped_ptr<ScopedVector<SBChunkData> > chunks,
349 scoped_ptr<ScopedVector<SBChunkData> > chunks,
Dprotocol_manager.h446 scoped_ptr<ScopedVector<SBChunkData> > chunks,
Dprotocol_manager.cc437 scoped_ptr<ScopedVector<SBChunkData> > in HandleServiceResponse()
438 chunks(new ScopedVector<SBChunkData>); in HandleServiceResponse()
Dprotocol_manager_unittest.cc329 const ScopedVector<SBChunkData>& chunks,
332 scoped_ptr<ScopedVector<SBChunkData> > chunks, in AddChunks()
362 const ScopedVector<SBChunkData>& chunks, in HandleAddChunks()
Dsafe_browsing_database.cc814 const SBChunkData& chunk_data) { in InsertAddChunk()
845 const SBChunkData& chunk_data) { in InsertSubChunk()
880 const std::vector<SBChunkData*>& chunks) { in InsertChunks()
Ddatabase_manager.cc513 scoped_ptr<ScopedVector<SBChunkData> > chunks, in AddChunks()
852 scoped_ptr<ScopedVector<SBChunkData> > chunks, in AddDatabaseChunks()
Dsafe_browsing_service_browsertest.cc177 const std::vector<SBChunkData*>& chunks) OVERRIDE { in InsertChunks()