Home
last modified time | relevance | path

Searched refs:WriteLE16 (Results 1 – 6 of 6) sorted by relevance

/base/update/updater/services/package/pkg_manager/
Dpkg_utils.h45 void WriteLE16(uint8_t *buff, uint16_t value);
Dpkg_utils.cpp171 void WriteLE16(uint8_t *buff, uint16_t value) in WriteLE16() function
/base/update/updater/services/package/pkg_package/
Dpkg_upgradefile.cpp123 WriteLE16(buffer.data(), GetPackageTlvType()); // Type is 1 for package header in TLV format in SavePackage()
124 WriteLE16(buffer.data() + sizeof(uint16_t), sizeof(UpgradePkgHeader)); in SavePackage()
138 WriteLE16(buffer.data() + offset, 0x02); // Type is 2 for time in TLV format in SavePackage()
139 WriteLE16(buffer.data() + offset + sizeof(uint16_t), sizeof(UpgradePkgTime)); in SavePackage()
148 WriteLE16(buffer.data() + offset, 0x05); // Type is 5 for component in TLV format in SavePackage()
149WriteLE16(buffer.data() + offset + sizeof(uint16_t), pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeC… in SavePackage()
379 WriteLE16(reinterpret_cast<uint8_t *>(&comp.id), fileInfo_.id); in EncodeHeader()
Dpkg_zipfile.cpp79 WriteLE16(buff.data() + offsetof(EndCentralDir, numDisk), 0); in SavePackage()
80 WriteLE16(buff.data() + offsetof(EndCentralDir, startDiskOfCentralDir), 0); in SavePackage()
81 WriteLE16(buff.data() + offsetof(EndCentralDir, totalEntriesInThisDisk), pkgEntryMapId_.size()); in SavePackage()
82 WriteLE16(buff.data() + offsetof(EndCentralDir, totalEntries), pkgEntryMapId_.size()); in SavePackage()
85 WriteLE16(buff.data() + offsetof(EndCentralDir, commentLen), 0); in SavePackage()
Dpkg_gzipfile.cpp80 WriteLE16(buffer.buffer + offset, EXTRA_FIELD_LEN); in EncodeHeader()
/base/update/updater/test/unittest/package/
Dpkg_package_unittest.cpp152 WriteLE16(buff.data() + sizeof(CentralDirEntry) + name.length(), 1); in TestBigZipEntry()
153WriteLE16(buff.data() + sizeof(CentralDirEntry) + name.length() + offsetHalfWord, offset4Words); in TestBigZipEntry()