Home
last modified time | relevance | path

Searched refs:entryCount (Results 1 – 11 of 11) sorted by relevance

/base/update/updater/interfaces/kits/packages/
Dpackage.cpp52 upgradePackageInfo->pkgInfo.entryCount = pkgInfoExt->entryCount; in GetUpgradePkgInfo()
54 files.resize(pkgInfoExt->entryCount); in GetUpgradePkgInfo()
55 for (uint32_t i = 0; i < pkgInfoExt->entryCount; i++) { in GetUpgradePkgInfo()
84 pkgInfo->entryCount = pkgInfoExt->entryCount; in GetZipPkgInfo()
86 files.resize(pkgInfoExt->entryCount); in GetZipPkgInfo()
87 for (uint32_t i = 0; i < pkgInfo->entryCount; i++) { in GetZipPkgInfo()
104 pkgInfo->entryCount = pkgInfoExt->entryCount; in GetLz4PkgInfo()
106 files.resize(pkgInfoExt->entryCount); in GetLz4PkgInfo()
107 for (uint32_t i = 0; i < pkgInfoExt->entryCount; i++) { in GetLz4PkgInfo()
/base/update/updater/interfaces/kits/include/package/
Dpackage.h79 uint32_t entryCount = 0; member
/base/update/updater/services/include/package/
Dpkg_info_utils.h63 uint32_t entryCount = 0; member
/base/update/updater/services/package/pkg_package/
Dpkg_upgradefile.cpp96 if (pkgEntryMapId_.size() >= pkgInfo_.pkgInfo.entryCount) { in GetEntryOffset()
105 dataOffset = UPGRADE_FILE_HEADER_LEN + pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeCompInfo); in GetEntryOffset()
171 …sizeof(UpgradePkgTime) + pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeCompInfo) + UPGRADE_RESERVE_L… in CheckPackageHeader()
195 offset += pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeCompInfo); in WriteBuffer()
247 …WriteLE16(buffer.data() + offset + sizeof(uint16_t), pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeC… in SavePackage()
618 pkgInfo_.pkgInfo.entryCount++; in SaveEntry()
Dpkg_upgradefile.h103 if (header == nullptr || header->entryCount == 0) { in UpgradePkgFile()
/base/update/sys_installer/test/fuzztest/
Dsys_installer_fuzzer.cpp107 pkgInfo.entryCount = fstabFile.size(); in CreatePackageZip()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp117 pkgInfo.entryCount = fstabFile.size(); in CreatePackageZip()
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp139 pkgInfo.entryCount = testFileNames_.size() + fileNameIndex; in CreatePackageBin()
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp245 pkgInfo.entryCount = inputFile.size(); in CreatePackageBin()
/base/update/updater/test/unittest/package/
Dpackage_unittest.cpp93 pkgInfo.entryCount = testFileNames_.size(); in TestPackagePack()
Dpkg_manager_unittest.cpp103 pkgInfo.pkgInfo.entryCount = testFileNames_.size(); in GetUpgradePkgInfo()