Searched refs:WriteLE16 (Results 1 – 6 of 6) sorted by relevance
/base/update/updater/services/package/pkg_manager/ |
D | pkg_utils.h | 45 void WriteLE16(uint8_t *buff, uint16_t value);
|
D | pkg_utils.cpp | 171 void WriteLE16(uint8_t *buff, uint16_t value) in WriteLE16() function
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_upgradefile.cpp | 123 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() 149 …WriteLE16(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()
|
D | pkg_zipfile.cpp | 79 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()
|
D | pkg_gzipfile.cpp | 80 WriteLE16(buffer.buffer + offset, EXTRA_FIELD_LEN); in EncodeHeader()
|
/base/update/updater/test/unittest/package/ |
D | pkg_package_unittest.cpp | 152 WriteLE16(buff.data() + sizeof(CentralDirEntry) + name.length(), 1); in TestBigZipEntry() 153 … WriteLE16(buff.data() + sizeof(CentralDirEntry) + name.length() + offsetHalfWord, offset4Words); in TestBigZipEntry()
|