Home
last modified time | relevance | path

Searched refs:patch (Results 1 – 25 of 27) sorted by relevance

12

/base/update/updater/services/diffpatch/
Ddiff_main.cpp22 std::string patch; member
43 diffParams.patch = optarg; in main()
59 if (diffParams.source != "" && diffParams.destination != "" && diffParams.patch != "") { in main()
65 diffParams.patch); in main()
70 diffParams.patch); in main()
DBUILD.gn42 "./patch/blocks_patch.cpp",
43 "./patch/image_patch.cpp",
44 "./patch/update_patch.cpp",
52 "${updater_path}/services/include/patch",
57 "${updater_path}/services/diffpatch/patch",
/base/update/updater/services/diffpatch/patch/
Dimage_patch.cpp39 size_t srcStart = static_cast<size_t>(ReadLE<int64_t>(param.patch + offset)); in ApplyImagePatch()
41 size_t srcLen = static_cast<size_t>(ReadLE<int64_t>(param.patch + offset)); in ApplyImagePatch()
43 size_t patchOffset = static_cast<size_t>(ReadLE<int64_t>(param.patch + offset)); in ApplyImagePatch()
51 PatchBuffer patchInfo = {param.patch, patchOffset, param.patchSize}; in ApplyImagePatch()
69 size_t dataLen = static_cast<size_t>(ReadLE<uint32_t>(param.patch + offset)); in ApplyImagePatch()
76 BlockBuffer data = {param.patch + offset, dataLen}; in ApplyImagePatch()
137 PatchBuffer patchInfo = {param.patch, header.patchOffset, param.patchSize}; in ApplyImagePatch()
216 header.srcStart = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset)); in ReadHeader()
218 header.srcLength = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset)); in ReadHeader()
220 header.patchOffset = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset)); in ReadHeader()
[all …]
Dupdate_patch.cpp62 if (memcmp(param.patch, PKGDIFF_MAGIC, std::char_traits<char>::length(PKGDIFF_MAGIC)) != 0) { in PreCheck()
76 int32_t numChunks = ImagePatch::ReadLE<int32_t>(param.patch + offset); in ApplyImagePatch()
86 int32_t type = ImagePatch::ReadLE<int32_t>(param.patch + offset); in ApplyImagePatch()
122 …std::unique_ptr<BlocksBufferPatch> patch = std::make_unique<BlocksBufferPatch>(patchInfo, oldInfo,… in ApplyBlockPatch() local
123 if (patch == nullptr) { in ApplyBlockPatch()
127 return patch->ApplyPatch(); in ApplyBlockPatch()
148 …std::unique_ptr<BlocksStreamPatch> patch = std::make_unique<BlocksStreamPatch>(patchInfo, stream, … in ApplyBlockPatch() local
149 if (patch == nullptr) { in ApplyBlockPatch()
155 ret = patch->ApplyPatch(); in ApplyBlockPatch()
194 std::unique_ptr<BlocksStreamPatch> patch = std::make_unique<BlocksStreamPatch>(patchInfo, in ApplyBlockPatch() local
[all …]
DBUILD.gn29 "${updater_path}/services/include/patch",
33 "${updater_path}/services/diffpatch/patch",
49 "${updater_path}/services/diffpatch/patch/blocks_patch.cpp",
50 "${updater_path}/services/diffpatch/patch/image_patch.cpp",
51 "${updater_path}/services/diffpatch/patch/update_patch.cpp",
/base/update/updater/interfaces/kits/diff_patch/
DBUILD.gn25 "${updater_path}/services/include/patch",
29 deps = [ "${updater_path}/services/diffpatch/patch:libpatch" ]
43 "${updater_path}/services/include/patch",
50 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/packaging_tools/
DREADME_zh.md35 ├── patch_package_process.py # 差分镜像处理,Block差分获取patch差异
58 - bsdiff可执行程序,差分计算,比较生成patch
60 - imgdiff可执行程序,差分计算,针对zip、gz、lz4类型的文件,对比生成patch
DREADME.md28 ├── patch_package_process.py # Differential image processing for obtaining patch difference thro…
46 - bsdiff executable program, which performs differential calculation to generate the patch package
48 …which performs differential calculation on the zip, gz, and lz4 files to generate the patch package
/base/update/updater/test/unittest/
DBUILD.gn75 "${updater_path}/services/diffpatch/patch/blocks_patch.cpp",
76 "${updater_path}/services/diffpatch/patch/image_patch.cpp",
77 "${updater_path}/services/diffpatch/patch/update_patch.cpp",
121 "${updater_path}/services/include/patch",
138 "${updater_path}/services/diffpatch/patch",
171 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp159 static int StartUpdaterProcFun(const std::string &patch) in StartUpdaterProcFun() argument
166 pkgManager->LoadPackage(patch, GetTestCertName(), components); in StartUpdaterProcFun()
168 upParams.updatePackage.push_back(patch); in StartUpdaterProcFun()
DBUILD.gn56 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/services/applypatch/
DBUILD.gn47 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/services/diffpatch/diff/
DBUILD.gn29 "${updater_path}/services/include/patch",
/base/update/updater/test/fuzztest/dopartitions_fuzzer/
DBUILD.gn41 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/services/include/patch/
Dupdate_patch.h27 uint8_t* patch; member
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
DBUILD.gn52 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/test/unittest/service_test/
DBUILD.gn56 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/test/unittest/updater_binary/
DBUILD.gn61 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/services/updater_binary/
DBUILD.gn60 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/test/fuzztest/updaterfactoryreset_fuzzer/
DBUILD.gn55 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/test/unittest/flashd_test/
DBUILD.gn87 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/services/
DBUILD.gn39 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/services/flashd/
DBUILD.gn181 "${updater_path}/services/diffpatch/patch:libpatch",
/base/update/updater/test/unittest/diffpatch/
Ddiffpatch_unittest.cpp102 param.patch = patchData.memory; in TestApplyPatch()
/base/startup/init/
DREADME.md183 …11"><a name="p1858112368211"></a><a name="p1858112368211"></a>Example: loadcfg /patch/fstab.cfg</p>
185patch/fstab.cfg</strong> supported currently) is 50 KB. Each line in the <strong id="b148531229105…

12