Home
last modified time | relevance | path

Searched refs:ChunkData (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_util.cc51 SBChunkData::SBChunkData(safe_browsing::ChunkData* raw_data) in SBChunkData()
60 scoped_ptr<safe_browsing::ChunkData> chunk(new safe_browsing::ChunkData()); in ParseFrom()
64 if (chunk->chunk_type() != safe_browsing::ChunkData::ADD && in ParseFrom()
65 chunk->chunk_type() != safe_browsing::ChunkData::SUB) { in ParseFrom()
70 if (chunk->prefix_type() == safe_browsing::ChunkData::PREFIX_4B) { in ParseFrom()
72 } else if (chunk->prefix_type() == safe_browsing::ChunkData::FULL_32B) { in ParseFrom()
82 if (chunk->chunk_type() == safe_browsing::ChunkData::SUB && in ParseFrom()
96 return chunk_data_->chunk_type() == safe_browsing::ChunkData::ADD; in IsAdd()
100 return chunk_data_->chunk_type() == safe_browsing::ChunkData::SUB; in IsSub()
111 return chunk_data_->prefix_type() == safe_browsing::ChunkData::PREFIX_4B; in IsPrefix()
[all …]
Dsafe_browsing_util.h22 class ChunkData; variable
62 explicit SBChunkData(safe_browsing::ChunkData* chunk_data);
83 scoped_ptr<safe_browsing::ChunkData> chunk_data_;
Dsafe_browsing_database_unittest.cc66 safe_browsing::ChunkData::ChunkType chunk_type, in BuildChunk()
67 safe_browsing::ChunkData::PrefixType prefix_type, in BuildChunk()
70 scoped_ptr<safe_browsing::ChunkData> raw_data(new safe_browsing::ChunkData); in BuildChunk()
85 return BuildChunk(chunk_number, safe_browsing::ChunkData::ADD, in AddChunkPrefix()
86 safe_browsing::ChunkData::PREFIX_4B, in AddChunkPrefix()
105 return BuildChunk(chunk_number, safe_browsing::ChunkData::ADD, in AddChunkPrefix2Value()
106 safe_browsing::ChunkData::PREFIX_4B, in AddChunkPrefix2Value()
123 return BuildChunk(chunk_number, safe_browsing::ChunkData::ADD, in AddChunkPrefix4Value()
124 safe_browsing::ChunkData::PREFIX_4B, in AddChunkPrefix4Value()
131 return BuildChunk(chunk_number, safe_browsing::ChunkData::ADD, in AddChunkFullHash()
[all …]
Dchunk.proto16 message ChunkData { message
/external/chromium_org/third_party/libwebp/demux/
Ddemux.c41 } ChunkData; typedef
53 ChunkData img_components_[2]; // 0=VP8{,L} 1=ALPH
58 ChunkData data_;
649 const ChunkData* const image = f->img_components_; in IsValidExtendedFormat()
650 const ChunkData* const alpha = f->img_components_ + 1; in IsValidExtendedFormat()
823 const ChunkData* const image = frame->img_components_; in GetFramePayload()
824 const ChunkData* const alpha = frame->img_components_ + 1; in GetFramePayload()
/external/webp/src/demux/
Ddemux.c41 } ChunkData; typedef
53 ChunkData img_components_[2]; // 0=VP8{,L} 1=ALPH
58 ChunkData data_;
649 const ChunkData* const image = f->img_components_; in IsValidExtendedFormat()
650 const ChunkData* const alpha = f->img_components_ + 1; in IsValidExtendedFormat()
823 const ChunkData* const image = frame->img_components_; in GetFramePayload()
824 const ChunkData* const alpha = frame->img_components_ + 1; in GetFramePayload()