Searched refs:oldData (Results 1 – 4 of 4) sorted by relevance
/base/update/updater/test/unittest/diffpatch/ |
D | diffpatch_unittest.cpp | 85 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/ |
D | update_patch.cpp | 199 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()
|
D | image_patch.cpp | 101 BlockBuffer oldData = { param.oldBuff + header.srcStart, header.srcLength }; in ApplyImagePatch() local 102 ret = DecompressData(oldData, stream, true, header.expandedLen); in ApplyImagePatch()
|
D | blocks_patch.cpp | 258 std::vector<uint8_t> oldData(ctrlData.diffLength); in RestoreDiffData() local
|