Searched refs:patchInfo (Results 1 – 6 of 6) sorted by relevance
/base/update/updater/services/diffpatch/patch/ |
D | blocks_patch.h | 30 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()
|
D | update_patch.cpp | 119 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()
|
D | image_patch.cpp | 51 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/ |
D | update_patch.h | 60 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/ |
D | diffpatch_unittest.cpp | 161 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/ |
D | block_set.cpp | 412 UpdatePatch::PatchBuffer patchInfo = {patchBuff, 0, length}; in WriteDiffToBlock() local 418 …auto ret = UpdatePatch::UpdateApplyPatch::ApplyBlockPatch(patchInfo, {srcBuffer.data(), srcBuffSiz… in WriteDiffToBlock()
|