Searched refs:parsedLen (Results 1 – 2 of 2) sorted by relevance
/base/update/updater/services/package/pkg_package/ |
D | pkg_upgradefile.cpp | 191 size_t parsedLen = 0; in LoadPackage() local 192 int32_t ret = ReadUpgradePkgHeader(buffer, parsedLen, algorithm); in LoadPackage() 195 ret = ReadComponents(buffer, parsedLen, algorithm, fileNames); in LoadPackage() 197 PKG_CHECK(parsedLen + UPGRADE_RESERVE_LEN + GetUpgradeSignatureLen() < fileLen, in LoadPackage() 202 …ret = pkgStream_->Read(buffer, parsedLen, GetUpgradeSignatureLen() + UPGRADE_RESERVE_LEN, readByte… in LoadPackage() 218 parsedLen += UPGRADE_RESERVE_LEN + GetUpgradeSignatureLen(); in LoadPackage() 221 return Verify(parsedLen, algorithm, verifier, signData); in LoadPackage() 257 int32_t UpgradePkgFile::ReadComponents(const PkgBuffer &buffer, size_t &parsedLen, in ReadComponents() argument 262 int32_t ret = pkgStream_->Read(buffer, parsedLen, buffer.length, readLen); in ReadComponents() 270 parsedLen += sizeof(PkgTlv); in ReadComponents() [all …]
|
D | pkg_upgradefile.h | 111 int32_t ReadComponents(const PkgBuffer &buffer, size_t &parsedLen,
|