Home
last modified time | relevance | path

Searched refs:WriteLE32 (Results 1 – 9 of 9) sorted by relevance

/base/update/updater/services/package/pkg_manager/
Dpkg_utils.h47 void WriteLE32(uint8_t *buff, uint32_t value);
Dpkg_utils.cpp232 void WriteLE32(uint8_t *buff, uint32_t value) in GetFileSize() function
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_digest.cpp71 WriteLE32(result.buffer, crc32_); in Final()
Dpkg_algo_sign.cpp105 WriteLE32(sign.data(), size); in SignBuffer()
Dpkg_algo_lz4.cpp68 WriteLE32(outBuffer.buffer, LZ4B_MAGIC_NUMBER); in PackCalculate()
93 WriteLE32(outBuffer.buffer, outSize); in PackCalculate()
349 WriteLE32(pkgHeader.buffer, LZ4S_MAGIC_NUMBER); in GetUnpackParam()
/base/update/updater/services/package/pkg_package/
Dpkg_gzipfile.cpp158 WriteLE32(buffer.buffer, context.crc); in Pack()
159 WriteLE32(buffer.buffer + sizeof(uint32_t), fileInfo_.fileInfo.unpackedSize); in Pack()
Dpkg_zipfile.cpp99 WriteLE32(buff.data() + offsetof(EndCentralDir, signature), END_CENTRAL_SIGNATURE); in SavePackage()
104 WriteLE32(buff.data() + offsetof(EndCentralDir, sizeOfCentralDir), offset - currentOffset_); in SavePackage()
105 WriteLE32(buff.data() + offsetof(EndCentralDir, offset), currentOffset_); in SavePackage()
Dpkg_upgradefile.cpp172 WriteLE32(reinterpret_cast<uint8_t *>(&header->updateFileVersion), pkgInfo_.updateFileVersion); in CheckPackageHeader()
805 WriteLE32(reinterpret_cast<uint8_t *>(&comp.size), fileInfo_.fileInfo.unpackedSize); in EncodeHeader()
807 WriteLE32(reinterpret_cast<uint8_t *>(&comp.originalSize), fileInfo_.originalSize); in EncodeHeader()
/base/update/updater/test/unittest/package/
Dpkg_manager_unittest.cpp610 WriteLE32(buff, 0); in TestReadWriteLENull()