Searched refs:localHeader (Results 1 – 6 of 6) sorted by relevance
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
D | zip_file.cpp | 267 bool ZipFile::CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const in CheckDataDesc() 273 if (localHeader.flags & FLAG_DATA_DESC) { // use data desc in CheckDataDesc() 276 size_t localHeaderSize = GetLocalHeaderSize(localHeader.nameSize, localHeader.extraSize); in CheckDataDesc() 305 crcLocal = localHeader.crc; in CheckDataDesc() 306 compressedLocal = localHeader.compressedSize; in CheckDataDesc() 307 uncompressedLocal = localHeader.uncompressedSize; in CheckDataDesc() 322 LocalHeader localHeader = {}; in CheckCoherencyLocalHeader() local 333 if (fread(&localHeader, sizeof(LocalHeader), FILE_READ_COUNT, file_) != FILE_READ_COUNT) { in CheckCoherencyLocalHeader() 338 if ((localHeader.signature != LOCAL_HEADER_SIGNATURE) || in CheckCoherencyLocalHeader() 339 (zipEntry.compressionMethod != localHeader.compressionMethod)) { in CheckCoherencyLocalHeader() [all …]
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
D | zip_file.cpp | 295 bool ZipFile::CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const in CheckDataDesc() 301 if (localHeader.flags & FLAG_DATA_DESC) { // use data desc in CheckDataDesc() 303 …o descPos = zipEntry.localHeaderOffset + GetLocalHeaderSize(localHeader.nameSize, localHeader.extr… in CheckDataDesc() 325 crcLocal = localHeader.crc; in CheckDataDesc() 326 compressedLocal = localHeader.compressedSize; in CheckDataDesc() 327 uncompressedLocal = localHeader.uncompressedSize; in CheckDataDesc() 341 LocalHeader localHeader = {0}; in CheckCoherencyLocalHeader() local 353 if (fread(&localHeader, sizeof(LocalHeader), FILE_READ_COUNT, file_) != FILE_READ_COUNT) { in CheckCoherencyLocalHeader() 358 if ((localHeader.signature != LOCAL_HEADER_SIGNATURE) || in CheckCoherencyLocalHeader() 359 (zipEntry.compressionMethod != localHeader.compressionMethod)) { in CheckCoherencyLocalHeader() [all …]
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
D | zip_file.cpp | 389 bool ZipFile::CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const in CheckDataDesc() 395 if (localHeader.flags & FLAG_DATA_DESC) { // use data desc in CheckDataDesc() 397 …o descPos = zipEntry.localHeaderOffset + GetLocalHeaderSize(localHeader.nameSize, localHeader.extr… in CheckDataDesc() 414 crcLocal = localHeader.crc; in CheckDataDesc() 415 compressedLocal = localHeader.compressedSize; in CheckDataDesc() 416 uncompressedLocal = localHeader.uncompressedSize; in CheckDataDesc() 445 LocalHeader localHeader = {0}; in CheckCoherencyLocalHeader() local 446 if (memcpy_s(&localHeader, sizeof(LocalHeader), buff.data(), sizeof(LocalHeader)) != EOK) { in CheckCoherencyLocalHeader() 450 if ((localHeader.signature != LOCAL_HEADER_SIGNATURE) || in CheckCoherencyLocalHeader() 451 (zipEntry.compressionMethod != localHeader.compressionMethod)) { in CheckCoherencyLocalHeader() [all …]
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
D | zip_file.h | 161 bool CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
D | zip_file.h | 247 bool CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const;
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
D | zip_file.h | 272 bool CheckDataDesc(const ZipEntry &zipEntry, const LocalHeader &localHeader) const;
|