HomeSort by relevance Sort by last modified time
    Searched refs:ImageChunk (Results 1 - 2 of 2) sorted by null

  /bootable/recovery/applypatch/
imgdiff.cpp 164 class ImageChunk {
171 ImageChunk(int type, size_t start, const std::vector<uint8_t>* file_content, size_t raw_data_len)
202 void SetSourceInfo(const ImageChunk& other);
207 bool operator==(const ImageChunk& other) const;
208 bool operator!=(const ImageChunk& other) const {
233 bool IsAdjacentNormal(const ImageChunk& other) const;
234 void MergeAdjacentNormal(const ImageChunk& other);
257 const uint8_t* ImageChunk::GetRawData() const {
262 const uint8_t * ImageChunk::DataForPatch() const {
269 size_t ImageChunk::DataLengthForPatch() const
    [all...]
  /external/avb/
avbtool 423 class ImageChunk(object):
443 """Initializes an ImageChunk object.
555 if chunk_hdr_sz != struct.calcsize(ImageChunk.FORMAT):
572 header_bin = self._image.read(struct.calcsize(ImageChunk.FORMAT))
573 (chunk_type, _, chunk_sz, total_sz) = struct.unpack(ImageChunk.FORMAT,
575 data_sz = total_sz - struct.calcsize(ImageChunk.FORMAT)
577 if chunk_type == ImageChunk.TYPE_RAW:
582 self._chunks.append(ImageChunk(ImageChunk.TYPE_RAW,
590 elif chunk_type == ImageChunk.TYPE_FILL
    [all...]

Completed in 1055 milliseconds