Searched refs:ImageDiff (Results 1 – 3 of 3) sorted by relevance
/base/update/updater/services/diffpatch/diff/ |
D | image_diff.h | 36 class ImageDiff { 38 ImageDiff() = delete; 39 …ImageDiff(size_t limit, UpdateDiff::ImageParserPtr newParser, UpdateDiff::ImageParserPtr oldParser) in ImageDiff() function 41 virtual ~ImageDiff() in ~ImageDiff() 64 class CompressedImageDiff : public ImageDiff { 68 : ImageDiff(limit, newParser, oldParser), type_(type) {} in CompressedImageDiff()
|
D | update_diff.cpp | 154 std::unique_ptr<ImageDiff> imageDiff = nullptr; in MakePatch() 157 imageDiff.reset(new ImageDiff(limit_, newParser_.get(), oldParser_.get())); in MakePatch() 176 imageDiff.reset(new ImageDiff(limit_, newParser_.get(), oldParser_.get())); in MakePatch()
|
D | image_diff.cpp | 51 int32_t ImageDiff::MakePatch(const std::string &patchName) in MakePatch() 88 int32_t ImageDiff::SplitImage(const PatchBuffer &oldInfo, const PatchBuffer &newInfo) in SplitImage() 113 int32_t ImageDiff::WriteHeader(std::ofstream &patchFile, in WriteHeader() 154 int32_t ImageDiff::MakeBlockPatch(ImageBlock &block, std::fstream &blockPatchFile, in MakeBlockPatch() 179 int32_t ImageDiff::WritePatch(std::ofstream &patchFile, std::fstream &blockPatchFile) in WritePatch() 208 int32_t ImageDiff::DiffImage(const std::string &patchName) in DiffImage() 291 return ImageDiff::MakePatch(patchName); in MakePatch() 418 ret = ImageDiff::WriteHeader(patchFile, blockPatchFile, dataOffset, block); in WriteHeader() 512 ret = ImageDiff::WriteHeader(patchFile, blockPatchFile, dataOffset, block); in WriteHeader()
|