Home
last modified time | relevance | path

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

/base/update/updater/services/package/pkg_package/
Dpkg_zipfile.cpp100 endDir.signature = ReadLE32(buffer.buffer + offsetof(EndCentralDir, signature)); in LoadPackage()
105 endDir.sizeOfCentralDir = ReadLE32(buffer.buffer + offsetof(EndCentralDir, sizeOfCentralDir)); in LoadPackage()
106 endDir.offset = ReadLE32(buffer.buffer + offsetof(EndCentralDir, offset)); in LoadPackage()
122 … uint32_t signature = ReadLE32(buffer.buffer + offsetof(Zip64EndCentralDirLocator, signature)); in LoadPackage()
128 signature = ReadLE32(buffer.buffer + offsetof(Zip64EndCentralDirRecord, signature)); in LoadPackage()
163 magic = ReadLE32(buffer.buffer); in LoadPackage()
378 uint32_t signature = ReadLE32(buffer.buffer + offsetof(CentralDirEntry, signature)); in DecodeCentralDirEntry()
398 crc32_ = ReadLE32(buffer.buffer + offsetof(CentralDirEntry, crc)); in DecodeCentralDirEntry()
399 …fileInfo_.fileInfo.packedSize = ReadLE32(buffer.buffer + offsetof(CentralDirEntry, compressedSize)… in DecodeCentralDirEntry()
400 …fileInfo_.fileInfo.unpackedSize = ReadLE32(buffer.buffer + offsetof(CentralDirEntry, uncompressedS… in DecodeCentralDirEntry()
[all …]
Dpkg_lz4file.cpp99 uint32_t magicNumber = ReadLE32(buffer.buffer); in DecodeHeader()
157 uint32_t magicNumber = ReadLE32(buffer.buffer); in LoadPackage()
Dpkg_gzipfile.cpp173 crc32_ = ReadLE32(buffer.buffer); in Unpack()
174 fileInfo_.fileInfo.unpackedSize = ReadLE32(buffer.buffer + sizeof(uint32_t)); in Unpack()
245 fileInfo_.fileInfo.unpackedSize = ReadLE32(buffer.buffer + sizeof(uint32_t)); in DecodeHeader()
Dpkg_upgradefile.cpp323 …pkgInfo_.updateFileVersion = ReadLE32(buffer.buffer + currLen + offsetof(UpgradePkgHeader, updateF… in ReadUpgradePkgHeader()
433 fileInfo_.fileInfo.packedSize = ReadLE32(buffer.buffer + offsetof(UpgradeCompInfo, size)); in DecodeHeader()
435 fileInfo_.originalSize = ReadLE32(buffer.buffer + offsetof(UpgradeCompInfo, originalSize)); in DecodeHeader()
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.cpp127 uint32_t ReadLE32(const uint8_t *buff) in ReadLE32() function
144 uint32_t low = ReadLE32(buff); in ReadLE64()
145 uint32_t high = ReadLE32(buff + sizeof(uint32_t)); in ReadLE64()
Dpkg_utils.h42 uint32_t ReadLE32(const uint8_t *buff);
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_sign.cpp173 int dataLen = ReadLE32(signature.data()); in VerifyBuffer()
Dpkg_algo_lz4.cpp135 uint32_t blockSize = ReadLE32(inBuffer.buffer); in Unpack()