Searched refs:ReadLE16 (Results 1 – 8 of 8) sorted by relevance
/base/update/updater/services/package/pkg_verify/ |
D | zip_pkg_parse.cpp | 109 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()
|
D | pkcs7_signed_data.cpp | 205 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/ |
D | pkg_zipfile.cpp | 123 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 …]
|
D | pkg_upgradefile.cpp | 265 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()
|
D | pkg_gzipfile.cpp | 200 uint16_t extLen = ReadLE16(buffer.buffer + offset); in DecodeHeaderCalOffset()
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_utils.h | 47 uint16_t ReadLE16(const uint8_t *buff);
|
D | pkg_utils.cpp | 227 uint16_t ReadLE16(const uint8_t *buff) in GetFileSize() function
|
/base/update/updater/test/unittest/package/ |
D | pkg_manager_unittest.cpp | 456 uint16_t extLen = ReadLE16(buffer + offset); in TestDecompressGzipInitFile() 575 uint16_t ret16 = ReadLE16(buff); in TestReadWriteLENull()
|