Home
last modified time | relevance | path

Searched refs:diffLength (Results 1 - 3 of 3) sorted by relevance

/base/update/updater/services/diffpatch/patch/
H A Dblocks_patch.cpp77 if (newOffset_ + ctrlData.diffLength > newSize_) { in ApplyPatch()
78 PATCH_LOGE("Failed to check new offset %ld %zu", ctrlData.diffLength, newOffset_); in ApplyPatch()
87 oldOffset_ += ctrlData.diffLength; in ApplyPatch()
88 newOffset_ += ctrlData.diffLength; in ApplyPatch()
90 PATCH_LOGE("Failed to check new offset %ld %zu", ctrlData.diffLength, newOffset_); in ApplyPatch()
167 PATCH_LOGE("Failed to read diffLength"); in ReadControlData()
170 ctrlData.diffLength = ReadLE64(info.buffer); in ReadControlData()
200 if (ctrlData.diffLength <= 0) { in RestoreDiffData()
203 BlockBuffer diffData = {newData_.data() + newOffset_, static_cast<size_t>(ctrlData.diffLength)}; in RestoreDiffData()
210 for (int64_t i = 0; i < ctrlData.diffLength; in RestoreDiffData()
[all...]
/base/update/updater/services/diffpatch/diff/
H A Dblocks_diff.cpp368 ctrlData.diffLength = lenFront; in GetCtrlDatas()
399 WriteLE64(srcData, controlDatas[i].diffLength); in WriteControlData()
445 if (controlDatas[i].diffLength <= 0) { in WriteDiffData()
450 while (offset < controlDatas[i].diffLength) { in WriteDiffData()
452 cpyLen = (offset + cpyLen > controlDatas[i].diffLength) ? (controlDatas[i].diffLength - offset) : cpyLen; in WriteDiffData()
/base/update/updater/services/diffpatch/
H A Ddiffpatch.h142 int64_t diffLength; member

Completed in 3 milliseconds