Searched refs:srcStart (Results 1 – 4 of 4) sorted by relevance
/base/update/updater/services/diffpatch/patch/ |
D | image_patch.cpp | 39 size_t srcStart = static_cast<size_t>(ReadLE<int64_t>(param.patch + offset)); in ApplyImagePatch() local 45 …PATCH_LOGI("ApplyImagePatch srcStart %zu srcLen %zu patchOffset: %zu", srcStart, srcLen, patchOffs… in ApplyImagePatch() 46 if (srcStart + srcLen > param.oldSize) { in ApplyImagePatch() 52 BlockBuffer oldInfo = {param.oldBuff + srcStart, srcLen}; in ApplyImagePatch() 96 … header.srcStart, header.srcLength, header.patchOffset, header.expandedLen, header.targetSize); in ApplyImagePatch() 97 …PATCH_CHECK(header.srcStart + header.srcLength <= param.oldSize, return -1, "Failed to check patch… in ApplyImagePatch() 101 BlockBuffer oldData = { param.oldBuff + header.srcStart, header.srcLength }; in ApplyImagePatch() 172 header.srcStart = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset)); in ReadHeader() 225 header.srcStart = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset)); in ReadHeader()
|
/base/update/updater/services/diffpatch/ |
D | diffpatch.h | 150 size_t srcStart = 0; member
|
/base/update/updater/test/unittest/test_data/diffpatch/ |
D | PatchGztest_new.gz |
|
D | PatchGztest_old.gz |
|