Home
last modified time | relevance | path

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

/base/update/updater/services/diffpatch/patch/
Dblocks_patch.h30 explicit BlocksPatch(const PatchBuffer &patchInfo) : patchInfo_(patchInfo) {} in BlocksPatch() argument
53 …BlocksBufferPatch(const PatchBuffer &patchInfo, const BlockBuffer &oldInfo, std::vector<uint8_t> &… in BlocksBufferPatch() argument
54 : BlocksPatch(patchInfo), oldInfo_(oldInfo), newData_(newData) {} in BlocksBufferPatch()
68 BlocksStreamPatch(const PatchBuffer &patchInfo, in BlocksStreamPatch() argument
70 : BlocksPatch(patchInfo), stream_(stream), writer_(writer) {} in BlocksStreamPatch()
Dupdate_patch.cpp119 int32_t UpdateApplyPatch::ApplyBlockPatch(const PatchBuffer &patchInfo, in ApplyBlockPatch() argument
122 …std::unique_ptr<BlocksBufferPatch> patch = std::make_unique<BlocksBufferPatch>(patchInfo, oldInfo,… in ApplyBlockPatch()
130 int32_t UpdateApplyPatch::ApplyBlockPatch(const PatchBuffer &patchInfo, in ApplyBlockPatch() argument
148 …std::unique_ptr<BlocksStreamPatch> patch = std::make_unique<BlocksStreamPatch>(patchInfo, stream, … in ApplyBlockPatch()
161 int32_t UpdateApplyPatch::ApplyBlockPatch(const PatchBuffer &patchInfo, in ApplyBlockPatch() argument
194 std::unique_ptr<BlocksStreamPatch> patch = std::make_unique<BlocksStreamPatch>(patchInfo, in ApplyBlockPatch()
212 int32_t UpdateApplyPatch::ApplyBlockPatch(const PatchBuffer &patchInfo, in ApplyBlockPatch() argument
215 …std::unique_ptr<BlocksStreamPatch> patch = std::make_unique<BlocksStreamPatch>(patchInfo, stream, … in ApplyBlockPatch()
261 PatchBuffer patchInfo = {patchData.memory, 0, patchData.length}; in ApplyPatch() local
263 ret = ApplyBlockPatch(patchInfo, oldInfo, writer.get()); in ApplyPatch()
Dimage_patch.cpp51 PatchBuffer patchInfo = {param.patch, patchOffset, param.patchSize}; in ApplyImagePatch() local
53 int32_t ret = UpdateApplyPatch::ApplyBlockPatch(patchInfo, oldInfo, writer_); in ApplyImagePatch()
137 PatchBuffer patchInfo = {param.patch, header.patchOffset, param.patchSize}; in ApplyImagePatch() local
138 if (UpdateApplyPatch::ApplyBlockPatch(patchInfo, stream, zipWriter.get()) != 0) { in ApplyImagePatch()
/base/update/updater/services/include/patch/
Dupdate_patch.h60 static int32_t ApplyBlockPatch(const PatchBuffer &patchInfo,
62 static int32_t ApplyBlockPatch(const PatchBuffer &patchInfo,
64 static int32_t ApplyBlockPatch(const PatchBuffer &patchInfo,
66 static int32_t ApplyBlockPatch(const PatchBuffer &patchInfo,
/base/update/updater/test/unittest/diffpatch/
Ddiffpatch_unittest.cpp161 UpdatePatch::PatchBuffer patchInfo = {patchData.memory, 0, patchData.length}; in TestApplyBlockPatch() local
165 ret = UpdatePatch::UpdateApplyPatch::ApplyBlockPatch(patchInfo, oldInfo, newData); in TestApplyBlockPatch()
185 ret = UpdatePatch::UpdateApplyPatch::ApplyBlockPatch(patchInfo, oldInfo, writer.get()); in TestApplyBlockPatch()
/base/update/updater/services/applypatch/
Dblock_set.cpp412 UpdatePatch::PatchBuffer patchInfo = {patchBuff, 0, length}; in WriteDiffToBlock() local
418 …auto ret = UpdatePatch::UpdateApplyPatch::ApplyBlockPatch(patchInfo, {srcBuffer.data(), srcBuffSiz… in WriteDiffToBlock()