Home
last modified time | relevance | path

Searched refs:oldData (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/test/unittest/diffpatch/
Ddiffpatch_unittest.cpp85 UpdatePatch::MemMapInfo oldData {}; in TestApplyPatch() local
88 ret = PatchMapFile(oldName, oldData); in TestApplyPatch()
91 …_LOGI("UpdateApplyPatch::ApplyPatch patchData %zu oldData %zu ", patchData.length, oldData.length); in TestApplyPatch()
98 param.oldBuff = oldData.memory; in TestApplyPatch()
99 param.oldSize = oldData.length; in TestApplyPatch()
136 UpdatePatch::MemMapInfo oldData {}; in TestApplyBlockPatch() local
139 ret = PatchMapFile(oldName, oldData); in TestApplyBlockPatch()
142 … PATCH_LOGI("TestApplyBlockPatch patchData %zu oldData %zu ", patchData.length, oldData.length); in TestApplyBlockPatch()
144 UpdatePatch::BlockBuffer oldInfo = {oldData.memory, oldData.length}; in TestApplyBlockPatch()
/base/update/updater/services/diffpatch/patch/
Dupdate_patch.cpp199 MemMapInfo oldData {}; in ApplyPatch() local
205 ret = PatchMapFile(oldName, oldData); in ApplyPatch()
210 …PATCH_LOGI("UpdatePatch::ApplyPatch patchData %zu oldData %zu ", patchData.length, oldData.length); in ApplyPatch()
223 param.oldBuff = oldData.memory; in ApplyPatch()
224 param.oldSize = oldData.length; in ApplyPatch()
232 BlockBuffer oldInfo = {oldData.memory, oldData.length}; in ApplyPatch()
Dimage_patch.cpp101 BlockBuffer oldData = { param.oldBuff + header.srcStart, header.srcLength }; in ApplyImagePatch() local
102 ret = DecompressData(oldData, stream, true, header.expandedLen); in ApplyImagePatch()
Dblocks_patch.cpp258 std::vector<uint8_t> oldData(ctrlData.diffLength); in RestoreDiffData() local