Home
last modified time | relevance | path

Searched refs:compressedSize (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/
H A Dimage_compress.cpp142 std::unique_ptr<uint8_t[]> &compressedData, int64_t &compressedSize, std::string &imageType) in CompressImageByContent() argument
185 imagePacker.FinalizePacking(compressedSize); in CompressImageByContent()
186 compressedData = std::make_unique<uint8_t[]>(compressedSize); in CompressImageByContent()
187 APP_LOGD("compressedSize is %{public}d", static_cast<int32_t>(compressedSize)); in CompressImageByContent()
189 if (memcpy_s(result, compressedSize, resultBuffer, compressedSize) != EOK) { in CompressImageByContent()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dzip_file.cpp44 compressedSize = centralEntry.compressedSize; in ZipEntry()
301 descPos += fileStartPos_ + zipEntry.compressedSize; in CheckDataDesc()
319 compressedLocal = dataDesc.compressedSize; in CheckDataDesc()
323 compressedLocal = localHeader.compressedSize; in CheckDataDesc()
327 if ((zipEntry.crc != crcLocal) || (zipEntry.compressedSize != compressedLocal) || in CheckDataDesc()
399 if (startOffset + zipEntry.compressedSize > fileLength_) { in SeekToEntryStart()
402 zipEntry.compressedSize, in SeekToEntryStart()
425 uint32_t remainSize = zipEntry.compressedSize; in UnzipWithStore()
507 uint32_t remainCompressedSize = zipEntry.compressedSize; in UnzipWithInflated()
578 length = zipEntry.compressedSize; in GetDataOffsetRelative()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dzip_file.cpp54 compressedSize = centralEntry.compressedSize; in ZipEntry()
282 ZIPPOS_ADD_AND_CHECK_OVERFLOW(descPos, zipEntry.compressedSize, descPos); in CheckDataDesc()
302 compressedLocal = dataDesc.compressedSize; in CheckDataDesc()
306 compressedLocal = localHeader.compressedSize; in CheckDataDesc()
311 (zipEntry.compressedSize != compressedLocal) || in CheckDataDesc()
387 ZIPPOS_ADD_AND_CHECK_OVERFLOW(startOffset, zipEntry.compressedSize, zipEntryPos); in SeekToEntryStart()
390 … "(%{public}ud) > fileLength(%{public}llu)", startOffset, zipEntry.compressedSize, fileLength_); in SeekToEntryStart()
408 uint32_t remainSize = zipEntry.compressedSize; in UnzipWithStore()
491 uint32_t remainCompressedSize = zipEntry.compressedSize; in UnzipWithInflated()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dzip_file.h53 uint32_t compressedSize = 0; member
87 uint32_t compressedSize = 0; member
133 uint32_t compressedSize = 0; member
144 uint32_t compressedSize = 0; member
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dzip_file.h56 uint32_t compressedSize = 0; member
90 uint32_t compressedSize = 0; member
122 uint32_t compressedSize = 0; member
133 uint32_t compressedSize = 0; member
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dzip_file.h58 uint32_t compressedSize = 0; member
92 uint32_t compressedSize = 0; member
138 uint32_t compressedSize = 0; member
149 uint32_t compressedSize = 0; member
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dzip_file.cpp105 compressedSize = centralEntry.compressedSize; in ZipEntry()
629 descPos += fileStartPos_ + zipEntry.compressedSize; in CheckDataDesc()
642 compressedLocal = dataDesc.compressedSize; in CheckDataDesc()
646 compressedLocal = localHeader.compressedSize; in CheckDataDesc()
650 if ((zipEntry.crc != crcLocal) || (zipEntry.compressedSize != compressedLocal) || in CheckDataDesc()
719 uint32_t remainSize = zipEntry.compressedSize; in UnzipWithStore()
798 uint32_t remainCompressedSize = zipEntry.compressedSize; in UnzipWithInflated()
873 length = zipEntry.compressedSize; in GetDataOffsetRelative()
941 uint32_t remainCompressedSize = zipEntry.compressedSize; in UnzipWithInflatedFromMMap()
1082 uint32_t length = zipEntry.compressedSize; in ExtractToBufByName()
/ohos5.0/base/update/updater/services/package/pkg_package/
H A Dpkg_zipfile.h44 uint32_t compressedSize = 0; member
78 uint32_t compressedSize = 0; member
103 uint32_t compressedSize = 0; member
H A Dpkg_zipfile.cpp390 centralDir->compressedSize = fileInfo_.fileInfo.packedSize; in EncodeCentralDirEntry()
428 header->compressedSize = fileInfo_.fileInfo.packedSize; in EncodeLocalFileHeader()
434 header->compressedSize = 0u; in EncodeLocalFileHeader()
449 dataDesc.compressedSize = fileInfo_.fileInfo.packedSize; in EncodeDataDescriptor()
470 …ileInfo_.fileInfo.packedSize = ReadLE32(buffer.buffer + offsetof(CentralDirEntry, compressedSize)); in DoDecodeCentralDirEntry()
552 uint32_t packedSize = ReadLE32(data.buffer + offsetof(LocalFileHeader, compressedSize)); in DecodeLocalFileHeaderCheck()
573 packedSize = ReadLE32(data.buffer + offsetof(DataDescriptor, compressedSize)); in DecodeLocalFileHeaderCheck()
/ohos5.0/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_zip_helper.cpp37 uint32_t compressedSize = 0; member
52 uint32_t compressedSize = 0; member
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dobject_info.cpp40 protectionStatus, compressedSize, size); in Dump()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dobject_info.h28 uint32_t compressedSize {0};
/ohos5.0/foundation/bundlemanager/distributed_bundle_framework/services/dbms/include/
H A Dimage_compress.h41 … std::unique_ptr<uint8_t[]> &compressedData, int64_t &compressedSize, std::string &imageType);
/ohos5.0/foundation/bundlemanager/distributed_bundle_framework/services/dbms/test/unittest/dbms_services_kit_test/
H A Ddbms_services_kit_test.cpp1522 int64_t compressedSize = 2; variable
1524 …ageCompress->CompressImageByContent(fileData, fileSize, compressedData, compressedSize, imageType);
1547 int64_t compressedSize = 2; variable
1549 …ageCompress->CompressImageByContent(fileData, fileSize, compressedData, compressedSize, imageType);
/ohos5.0/base/update/updater/test/unittest/package/
H A Dpkg_package_unittest.cpp143 centralDir->compressedSize = UINT_MAX; in TestBigZipEntry()
/ohos5.0/docs/zh-cn/application-dev/tools/
H A Dunpacking-tool.md222 | compressedSize | long | 标识HAP包压缩后的大小,单位字节 …
/ohos5.0/docs/en/application-dev/tools/
H A Dunpacking-tool.md222 | compressedSize | long | Size of the compressed HAP…