Searched refs:BlocksDiff (Results 1 - 4 of 4) sorted by relevance
/base/update/updater/services/diffpatch/diff/ |
H A D | blocks_diff.h | 47 class BlocksDiff {
class 49 BlocksDiff() = default;
50 virtual ~BlocksDiff() {}
in ~BlocksDiff() 88 class BlocksStreamDiff : public BlocksDiff {
90 BlocksStreamDiff(std::fstream &stream, size_t offset) : BlocksDiff(), stream_(stream), offset_(offset) {}
in BlocksStreamDiff() 101 class BlocksBufferDiff : public BlocksDiff {
104 : BlocksDiff(), patchData_(patchData), offset_(offset) {}
in BlocksBufferDiff()
|
H A D | blocks_diff.cpp | 62 int32_t BlocksDiff::MakePatch(const std::string &oldFileName, const std::string &newFileName,
in MakePatch() 65 PATCH_LOGI("BlocksDiff::MakePatch %s ", patchFileName.c_str());
in MakePatch() 82 std::unique_ptr<BlocksDiff> blockdiff = std::make_unique<BlocksStreamDiff>(patchFile, 0);
in MakePatch() 91 PATCH_LOGI("BlocksDiff::MakePatch success %zu", patchSize);
in MakePatch() 95 int32_t BlocksDiff::MakePatch(const BlockBuffer &newInfo,
in MakePatch() 101 std::unique_ptr<BlocksDiff> blockdiff = std::make_unique<BlocksBufferDiff>(patchData, offset);
in MakePatch() 112 PATCH_LOGI("BlocksDiff::MakePatch success %zu", patchSize);
in MakePatch() 116 int32_t BlocksDiff::MakePatch(const BlockBuffer &newInfo,
in MakePatch() 119 std::unique_ptr<BlocksDiff> blockdiff = std::make_unique<BlocksStreamDiff>(
in MakePatch() 126 PATCH_LOGI("BlocksDiff in MakePatch() [all...] |
H A D | update_diff.cpp | 140 return BlocksDiff::MakePatch(oldFileName, newFileName, patchFileName);
in MakePatch()
|
H A D | image_diff.cpp | 159 int32_t ret = BlocksDiff::MakePatch(newInfo, oldInfo, patchData, 0, patchSize);
in MakeBlockPatch() 168 int32_t ret = BlocksDiff::MakePatch(newInfo, oldInfo, blockPatchFile, patchSize);
in MakeBlockPatch()
|
Completed in 4 milliseconds