Home
last modified time | relevance | path

Searched refs:extraSize (Results 1 - 5 of 5) sorted by relevance

/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_zip_helper.cpp40 uint16_t extraSize = 0; member
55 uint16_t extraSize = 0; member
187 uint16_t extraSize = ReadLE16(localHeaderBuf + offsetof(LocalFileHeader, extraSize)); in GetFileEntryOffset() local
188 offset = localHeaderOffset + sizeof(LocalFileHeader) + nameSize + extraSize; in GetFileEntryOffset()
/base/update/updater/services/package/pkg_package/
H A Dpkg_zipfile.h47 uint16_t extraSize = 0; member
81 uint16_t extraSize = 0; member
154 size_t currLen, uint16_t nameSize, uint16_t extraSize);
H A Dpkg_zipfile.cpp393 centralDir->extraSize = 0; in EncodeCentralDirEntry()
431 header->extraSize = 0; in EncodeLocalFileHeader()
463 size_t currLen, uint16_t nameSize, uint16_t extraSize) in DoDecodeCentralDirEntry()
475 if (extraSize <= 0) { in DoDecodeCentralDirEntry()
526 uint16_t extraSize = ReadLE16(buffer.buffer + offsetof(CentralDirEntry, extraSize)); in DecodeCentralDirEntry() local
528 size_t currLen = sizeof(CentralDirEntry) + nameSize + extraSize + commentSize; in DecodeCentralDirEntry()
544 return DoDecodeCentralDirEntry(buffer, decodeLen, currLen, nameSize, extraSize); in DecodeCentralDirEntry()
604 uint16_t extraSize = ReadLE16(data.buffer + offsetof(LocalFileHeader, extraSize)); in DecodeLocalFileHeader() local
462 DoDecodeCentralDirEntry(PkgBuffer &buffer, size_t &decodeLen, size_t currLen, uint16_t nameSize, uint16_t extraSize) DoDecodeCentralDirEntry() argument
[all...]
/base/update/updater/test/unittest/package/
H A Dpkg_package_unittest.cpp131 uint16_t extraSize = 20; in TestBigZipEntry() local
146 centralDir->extraSize = extraSize; in TestBigZipEntry()
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
H A Dhks_client_ipc_serialization.c394 static int32_t CheckAndCalculateSize(const uint32_t inSize, const uint32_t extraSize, uint32_t *outSize) in CheckAndCalculateSize() argument
408 if ((((inSize + 2) / 3) * 4) > UINT32_MAX - extraSize) { // 2: fill it up to a multiple of three in CheckAndCalculateSize()
412 *outSize = (((inSize + 2) / 3) * 4) + extraSize; // 2: fill it up to a multiple of three in CheckAndCalculateSize()

Completed in 5 milliseconds