Home
last modified time | relevance | path

Searched refs:UpgradePkgHeader (Results 1 – 2 of 2) sorted by relevance

/base/update/updater/services/package/pkg_package/
Dpkg_upgradefile.cpp42 constexpr int32_t UPGRADE_FILE_HEADER_LEN = 3 * sizeof(PkgTlv) + sizeof(UpgradePkgHeader) + sizeof(…
129 WriteLE16(buffer.data() + sizeof(uint16_t), sizeof(UpgradePkgHeader)); in SavePackage()
131 UpgradePkgHeader *header = reinterpret_cast<UpgradePkgHeader *>(buffer.data() + offset); in SavePackage()
132 …ader->pkgInfoLength = sizeof(PkgTlv) + sizeof(PkgTlv) + sizeof(PkgTlv) + sizeof(UpgradePkgHeader) + in SavePackage()
141 offset += sizeof(UpgradePkgHeader); in SavePackage()
333 UpgradePkgHeader *header = reinterpret_cast<UpgradePkgHeader *>(buffer.buffer + currLen); in ReadUpgradePkgHeader()
334 …pkgInfo_.updateFileVersion = ReadLE32(buffer.buffer + currLen + offsetof(UpgradePkgHeader, updateF… in ReadUpgradePkgHeader()
Dpkg_upgradefile.h30 struct __attribute__((packed)) UpgradePkgHeader { struct