Searched refs:CHUNK_NORMAL (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/applypatch/include/applypatch/ |
D | imgdiff.h | 23 #define CHUNK_NORMAL 0 macro
|
/bootable/recovery/applypatch/ |
D | imgdiff.cpp | 315 type_ = CHUNK_NORMAL; in ChangeDeflateChunkToNormal() 321 if (type_ != CHUNK_NORMAL || other.type_ != CHUNK_NORMAL) { in IsAdjacentNormal() 470 return target_len < patch_size || (tgt.GetType() == CHUNK_NORMAL && target_len <= 160); in RawDataIsSmaller() 486 case CHUNK_NORMAL: in GetHeaderSize() 502 case CHUNK_NORMAL: in WriteHeaderToFd() 725 chunks_.emplace_back(CHUNK_NORMAL, entries_end, &file_content_, in InitializeChunks() 765 chunks_.emplace_back(CHUNK_NORMAL, pos, &file_content_, raw_data_len); in InitializeChunks() 790 chunks_.emplace_back(CHUNK_NORMAL, entry->offset + limit_ * count, &file_content_, length, in AddZipEntryToChunks() 815 chunks_.emplace_back(CHUNK_NORMAL, entry->offset, &file_content_, compressed_len, entry_name); in AddZipEntryToChunks() 856 return ImageChunk(CHUNK_NORMAL, 0, &file_content_, file_content_.size()); in PseudoSource() [all …]
|
D | imgpatch.cpp | 168 if (type == CHUNK_NORMAL) { in ApplyImagePatch()
|
/bootable/recovery/tests/unit/host/ |
D | imgdiff_test.cpp | 58 if (type == CHUNK_NORMAL) { in verify_patch_header() 734 chunks.emplace_back(CHUNK_NORMAL, start, &content, length, std::get<0>(t)); in ConstructImageChunks()
|