Home
last modified time | relevance | path

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

/base/update/updater/services/package/pkg_verify/
Dzip_pkg_parse.cpp135 signFooter.signDataStart = ReadLE16(footer); in ParsePkgFooter()
137 signFooter.signDataFlag = ReadLE16(footer + offset); in ParsePkgFooter()
139 signFooter.signDataSize = ReadLE16(footer + offset); in ParsePkgFooter()
191 uint16_t tempLen = ReadLE16(zipSignCommentAddr); in CheckZipEocd()
Dpkcs7_signed_data.cpp247 size_t algoId = static_cast<size_t>(ReadLE16(digestBlock.data() + offset)); in GetDigestFromContentInfo()
249 size_t digestLen = static_cast<size_t>(ReadLE16(digestBlock.data() + offset)); in GetDigestFromContentInfo()
/base/update/sys_installer/services/module_update/util/src/
Dmodule_utils.cpp153 uint16_t ReadLE16(const uint8_t *buff) in ReadLE16() function
170 uint16_t low = ReadLE16(buff); in ReadLE32()
171 uint16_t high = ReadLE16(buff + sizeof(uint16_t)); in ReadLE32()
Dmodule_zip_helper.cpp186 uint16_t nameSize = ReadLE16(localHeaderBuf + offsetof(LocalFileHeader, nameSize)); in GetFileEntryOffset()
187 uint16_t extraSize = ReadLE16(localHeaderBuf + offsetof(LocalFileHeader, extraSize)); in GetFileEntryOffset()
/base/update/updater/services/package/pkg_package/
Dpkg_zipfile.cpp124 endDir.numDisk = ReadLE16(buffer.buffer + offsetof(EndCentralDir, numDisk)); in LoadPackage()
125 …endDir.startDiskOfCentralDir = ReadLE16(buffer.buffer + offsetof(EndCentralDir, startDiskOfCentra… in LoadPackage()
126 …endDir.totalEntriesInThisDisk = ReadLE16(buffer.buffer + offsetof(EndCentralDir, totalEntriesInTh… in LoadPackage()
127 endDir.totalEntries = ReadLE16(buffer.buffer + offsetof(EndCentralDir, totalEntries)); in LoadPackage()
130 endDir.commentLen = ReadLE16(buffer.buffer + offsetof(EndCentralDir, commentLen)); in LoadPackage()
463 …fileInfo_.method = static_cast<int32_t>(ReadLE16(buffer.buffer + offsetof(CentralDirEntry, compres… in DoDecodeCentralDirEntry()
464 uint16_t modifiedTime = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, modifiedTime)); in DoDecodeCentralDirEntry()
465 uint16_t modifiedDate = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, modifiedDate)); in DoDecodeCentralDirEntry()
477 uint16_t headerId = ReadLE16(extraData); in DoDecodeCentralDirEntry()
523 uint16_t nameSize = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, nameSize)); in DecodeCentralDirEntry()
[all …]
Dpkg_upgradefile.cpp276 uint16_t dataType = ReadLE16(buffer.buffer); in ReadSignData()
318 uint16_t type = ReadLE16(buffer.buffer); in ReadImgHashTLV()
639 tlv.type = ReadLE16(buffer.buffer); in ReadComponents()
640 tlv.length = ReadLE16(buffer.buffer + sizeof(uint16_t)); in ReadComponents()
678 tlv.type = ReadLE16(buffer.buffer); in ParsePkgHeaderToTlv()
679 tlv.length = ReadLE16(buffer.buffer + sizeof(uint16_t)); in ParsePkgHeaderToTlv()
748 tlv.type = ReadLE16(buffer.buffer + currLen); in ReadUpgradePkgHeader()
749 tlv.length = ReadLE16(buffer.buffer + currLen + sizeof(uint16_t)); in ReadUpgradePkgHeader()
890 fileInfo_.id = ReadLE16(buffer.buffer + offsetof(UpgradeCompInfo, id)); in DecodeHeader()
Dpkg_gzipfile.cpp240 uint16_t extLen = ReadLE16(buffer.buffer + offset); in DecodeHeaderCalOffset()
/base/update/sys_installer/services/module_update/util/include/
Dmodule_utils.h35 uint16_t ReadLE16(const uint8_t *buff);
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.h48 uint16_t ReadLE16(const uint8_t *buff);
Dpkg_utils.cpp248 uint16_t ReadLE16(const uint8_t *buff) in GetFileSize() function
/base/update/updater/test/unittest/package/
Dpkg_manager_unittest.cpp470 uint16_t extLen = ReadLE16(buffer + offset); in TestDecompressGzipInitFile()
608 uint16_t ret16 = ReadLE16(buff); in TestReadWriteLENull()