Home
last modified time | relevance | path

Searched refs:ReadLE16 (Results 1 – 8 of 8) sorted by relevance

/base/update/updater/services/package/pkg_verify/
Dzip_pkg_parse.cpp109 signFooter.signDataStart = ReadLE16(footer); in ParsePkgFooter()
111 signFooter.signDataFlag = ReadLE16(footer + offset); in ParsePkgFooter()
113 signFooter.signDataSize = ReadLE16(footer + offset); in ParsePkgFooter()
161 uint16_t tempLen = ReadLE16(zipSignCommentAddr); in CheckZipEocd()
Dpkcs7_signed_data.cpp205 size_t algoId = static_cast<size_t>(ReadLE16(digestBlock.data() + offset)); in GetDigestFromContentInfo()
207 size_t digestLen = static_cast<size_t>(ReadLE16(digestBlock.data() + offset)); in GetDigestFromContentInfo()
/base/update/updater/services/package/pkg_package/
Dpkg_zipfile.cpp123 endDir.numDisk = ReadLE16(buffer.buffer + offsetof(EndCentralDir, numDisk)); in LoadPackage()
124 …endDir.startDiskOfCentralDir = ReadLE16(buffer.buffer + offsetof(EndCentralDir, startDiskOfCentra… in LoadPackage()
125 …endDir.totalEntriesInThisDisk = ReadLE16(buffer.buffer + offsetof(EndCentralDir, totalEntriesInTh… in LoadPackage()
126 endDir.totalEntries = ReadLE16(buffer.buffer + offsetof(EndCentralDir, totalEntries)); in LoadPackage()
129 endDir.commentLen = ReadLE16(buffer.buffer + offsetof(EndCentralDir, commentLen)); in LoadPackage()
420 uint16_t nameSize = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, nameSize)); in DecodeCentralDirEntry()
421 uint16_t extraSize = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, extraSize)); in DecodeCentralDirEntry()
422 uint16_t commentSize = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, commentSize)); in DecodeCentralDirEntry()
433 …fileInfo_.method = static_cast<int32_t>(ReadLE16(buffer.buffer + offsetof(CentralDirEntry, compres… in DecodeCentralDirEntry()
434 uint16_t modifiedTime = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, modifiedTime)); in DecodeCentralDirEntry()
[all …]
Dpkg_upgradefile.cpp265 tlv.type = ReadLE16(buffer.buffer); in ReadComponents()
266 tlv.length = ReadLE16(buffer.buffer + sizeof(uint16_t)); in ReadComponents()
325 tlv.type = ReadLE16(buffer.buffer); in ReadUpgradePkgHeader()
326 tlv.length = ReadLE16(buffer.buffer + sizeof(uint16_t)); in ReadUpgradePkgHeader()
356 tlv.type = ReadLE16(buffer.buffer + currLen); in ReadUpgradePkgHeader()
357 tlv.length = ReadLE16(buffer.buffer + currLen + sizeof(uint16_t)); in ReadUpgradePkgHeader()
472 fileInfo_.id = ReadLE16(buffer.buffer + offsetof(UpgradeCompInfo, id)); in DecodeHeader()
Dpkg_gzipfile.cpp200 uint16_t extLen = ReadLE16(buffer.buffer + offset); in DecodeHeaderCalOffset()
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.h47 uint16_t ReadLE16(const uint8_t *buff);
Dpkg_utils.cpp227 uint16_t ReadLE16(const uint8_t *buff) in GetFileSize() function
/base/update/updater/test/unittest/package/
Dpkg_manager_unittest.cpp456 uint16_t extLen = ReadLE16(buffer + offset); in TestDecompressGzipInitFile()
575 uint16_t ret16 = ReadLE16(buff); in TestReadWriteLENull()