Home
last modified time | relevance | path

Searched refs:compressedSize (Results 1 - 11 of 11) sorted by relevance

/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()
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()
141 CompressImageByContent(const std::unique_ptr<uint8_t[]> &fileData, size_t fileSize, std::unique_ptr<uint8_t[]> &compressedData, int64_t &compressedSize, std::string &imageType) CompressImageByContent() argument
/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()
[all...]
/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()
[all...]
/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
/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
/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
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dobject_info.cpp39 MEDIA_DEBUG_LOG(" protectionStatus=%{private}u, compressedSize=%{private}u, size=%{private}u", in Dump()
40 protectionStatus, compressedSize, size); in Dump()
45 MEDIA_DEBUG_LOG(" thumb={format=%{private}s(%{private}x), compressedSize=%{private}u," in Dump()
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dzip_file.cpp105 compressedSize = centralEntry.compressedSize; in ZipEntry()
619 descPos += fileStartPos_ + zipEntry.compressedSize; in CheckDataDesc()
632 compressedLocal = dataDesc.compressedSize; in CheckDataDesc()
636 compressedLocal = localHeader.compressedSize; in CheckDataDesc()
640 if ((zipEntry.crc != crcLocal) || (zipEntry.compressedSize != compressedLocal) || in CheckDataDesc()
757 length = zipEntry.compressedSize; in GetDataOffsetRelative()
798 uint32_t remainCompressedSize = zipEntry.compressedSize; in UnzipWithInflatedFromMMap()
946 uint32_t length = zipEntry.compressedSize; in ExtractToBufByName()
/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);
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dobject_info.h28 uint32_t compressedSize {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; in HWTEST_F() local
1524 bool res = imageCompress->CompressImageByContent(fileData, fileSize, compressedData, compressedSize, imageType); in HWTEST_F()
1547 int64_t compressedSize = 2; in HWTEST_F() local
1549 bool res = imageCompress->CompressImageByContent(fileData, fileSize, compressedData, compressedSize, imageType); in HWTEST_F()

Completed in 9 milliseconds