Searched refs:ReadLE16 (Results 1 – 11 of 11) sorted by relevance
/base/update/updater/services/package/pkg_verify/ |
D | zip_pkg_parse.cpp | 135 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()
|
D | pkcs7_signed_data.cpp | 247 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/ |
D | module_utils.cpp | 153 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()
|
D | module_zip_helper.cpp | 186 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/ |
D | pkg_zipfile.cpp | 124 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 …]
|
D | pkg_upgradefile.cpp | 276 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()
|
D | pkg_gzipfile.cpp | 240 uint16_t extLen = ReadLE16(buffer.buffer + offset); in DecodeHeaderCalOffset()
|
/base/update/sys_installer/services/module_update/util/include/ |
D | module_utils.h | 35 uint16_t ReadLE16(const uint8_t *buff);
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_utils.h | 48 uint16_t ReadLE16(const uint8_t *buff);
|
D | pkg_utils.cpp | 248 uint16_t ReadLE16(const uint8_t *buff) in GetFileSize() function
|
/base/update/updater/test/unittest/package/ |
D | pkg_manager_unittest.cpp | 470 uint16_t extLen = ReadLE16(buffer + offset); in TestDecompressGzipInitFile() 608 uint16_t ret16 = ReadLE16(buff); in TestReadWriteLENull()
|