Searched refs:SBChunkData (Results 1 – 14 of 14) sorted by relevance
/external/chromium_org/chrome/browser/safe_browsing/ |
D | safe_browsing_util.cc | 48 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 …]
|
D | safe_browsing_util.h | 54 class SBChunkData { 56 SBChunkData(); 57 ~SBChunkData(); 62 explicit SBChunkData(safe_browsing::ChunkData* chunk_data); 85 DISALLOW_COPY_AND_ASSIGN(SBChunkData);
|
D | safe_browsing_database_unittest.cc | 65 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 …]
|
D | protocol_parser_unittest.cc | 39 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()
|
D | safe_browsing_database.h | 164 const std::vector<SBChunkData*>& chunks) = 0; 312 const std::vector<SBChunkData*>& chunks) OVERRIDE; 395 const SBChunkData& chunk); 398 const SBChunkData& chunk);
|
D | protocol_parser.cc | 352 ScopedVector<SBChunkData>* chunks) { in ParseChunk() 364 scoped_ptr<SBChunkData> chunk(new SBChunkData()); in ParseChunk()
|
D | protocol_parser.h | 47 ScopedVector<SBChunkData>* chunks);
|
D | database_manager.h | 294 scoped_ptr<ScopedVector<SBChunkData> > chunks, 349 scoped_ptr<ScopedVector<SBChunkData> > chunks,
|
D | protocol_manager.h | 446 scoped_ptr<ScopedVector<SBChunkData> > chunks,
|
D | protocol_manager.cc | 437 scoped_ptr<ScopedVector<SBChunkData> > in HandleServiceResponse() 438 chunks(new ScopedVector<SBChunkData>); in HandleServiceResponse()
|
D | protocol_manager_unittest.cc | 329 const ScopedVector<SBChunkData>& chunks, 332 scoped_ptr<ScopedVector<SBChunkData> > chunks, in AddChunks() 362 const ScopedVector<SBChunkData>& chunks, in HandleAddChunks()
|
D | safe_browsing_database.cc | 814 const SBChunkData& chunk_data) { in InsertAddChunk() 845 const SBChunkData& chunk_data) { in InsertSubChunk() 880 const std::vector<SBChunkData*>& chunks) { in InsertChunks()
|
D | database_manager.cc | 513 scoped_ptr<ScopedVector<SBChunkData> > chunks, in AddChunks() 852 scoped_ptr<ScopedVector<SBChunkData> > chunks, in AddDatabaseChunks()
|
D | safe_browsing_service_browsertest.cc | 177 const std::vector<SBChunkData*>& chunks) OVERRIDE { in InsertChunks()
|