Home
last modified time | relevance | path

Searched refs:extraSize (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/test/unittest/package/
Dpkg_package_unittest.cpp134 uint16_t extraSize = 20; in TestBigZipEntry() local
149 centralDir->extraSize = extraSize; in TestBigZipEntry()
/base/update/updater/services/package/pkg_package/
Dpkg_zipfile.h47 uint16_t extraSize = 0; member
81 uint16_t extraSize = 0; member
Dpkg_zipfile.cpp330 centralDir->extraSize = 0; in EncodeCentralDirEntry()
368 header->extraSize = 0; in EncodeLocalFileHeader()
421 uint16_t extraSize = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, extraSize)); in DecodeCentralDirEntry() local
423 size_t currLen = sizeof(CentralDirEntry) + nameSize + extraSize + commentSize; in DecodeCentralDirEntry()
443 if (extraSize <= 0) { in DecodeCentralDirEntry()
525 uint16_t extraSize = ReadLE16(data.buffer + offsetof(LocalFileHeader, extraSize)); in DecodeLocalFileHeader() local
526 size_t currLen = sizeof(LocalFileHeader) + nameSize + extraSize; in DecodeLocalFileHeader()
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_ipc_serialization.c348 static int32_t CheckAndCalculateSize(const uint32_t inSize, const uint32_t extraSize, uint32_t *out… in CheckAndCalculateSize() argument
362 if ((((inSize + 2) / 3) * 4) > UINT32_MAX - extraSize) { // 2: fill it up to a multiple of three in CheckAndCalculateSize()
366 *outSize = (((inSize + 2) / 3) * 4) + extraSize; // 2: fill it up to a multiple of three in CheckAndCalculateSize()