Home
last modified time | relevance | path

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

123

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZip64ExtendedInformationExtraField.java52 private ZipEightByteInteger size, compressedSize, relativeHeaderOffset; field in Zip64ExtendedInformationExtraField
82 final ZipEightByteInteger compressedSize) { in Zip64ExtendedInformationExtraField() argument
83 this(size, compressedSize, null, null); in Zip64ExtendedInformationExtraField()
97 final ZipEightByteInteger compressedSize, in Zip64ExtendedInformationExtraField() argument
101 this.compressedSize = compressedSize; in Zip64ExtendedInformationExtraField()
119 + (compressedSize != null ? DWORD : 0) in getCentralDirectoryLength()
126 if (size != null || compressedSize != null) { in getLocalFileDataData()
127 if (size == null || compressedSize == null) { in getLocalFileDataData()
167 compressedSize = new ZipEightByteInteger(buffer, offset); in parseFromLocalFileData()
201 compressedSize = new ZipEightByteInteger(buffer, offset); in parseFromCentralDirectoryData()
[all …]
DScatterZipOutputStream.java56 final long compressedSize; field in ScatterZipOutputStream.CompressedEntry
59 …chiveEntryRequest zipArchiveEntryRequest, final long crc, final long compressedSize, final long si… in CompressedEntry() argument
62 this.compressedSize = compressedSize; in CompressedEntry()
74 entry.setCompressedSize(compressedSize); in transferToArchiveEntry()
113 compressedEntry.compressedSize)) { in writeTo() argument
/external/zstd/lib/legacy/
Dzstd_legacy.h123 const void* src, size_t compressedSize, in ZSTD_decompressLegacy() argument
126 U32 const version = ZSTD_isLegacy(src, compressedSize); in ZSTD_decompressLegacy()
132 return ZSTDv01_decompress(dst, dstCapacity, src, compressedSize); in ZSTD_decompressLegacy()
136 return ZSTDv02_decompress(dst, dstCapacity, src, compressedSize); in ZSTD_decompressLegacy()
140 return ZSTDv03_decompress(dst, dstCapacity, src, compressedSize); in ZSTD_decompressLegacy()
144 return ZSTDv04_decompress(dst, dstCapacity, src, compressedSize); in ZSTD_decompressLegacy()
151 … result = ZSTDv05_decompress_usingDict(zd, dst, dstCapacity, src, compressedSize, dict, dictSize); in ZSTD_decompressLegacy()
161 … result = ZSTDv06_decompress_usingDict(zd, dst, dstCapacity, src, compressedSize, dict, dictSize); in ZSTD_decompressLegacy()
171 … result = ZSTDv07_decompress_usingDict(zd, dst, dstCapacity, src, compressedSize, dict, dictSize); in ZSTD_decompressLegacy()
190 &frameSizeInfo.compressedSize, in ZSTD_findFrameSizeInfoLegacy()
[all …]
Dzstd_v02.h36 const void* src, size_t compressedSize);
66 const void* src, size_t compressedSize);
Dzstd_v03.h36 const void* src, size_t compressedSize);
66 const void* src, size_t compressedSize);
Dzstd_v01.h36 const void* src, size_t compressedSize);
66 const void* src, size_t compressedSize);
Dzstd_v04.h36 const void* src, size_t compressedSize);
66 const void* src, size_t compressedSize);
/external/lz4/examples/
DframeCompress.c88 size_t const compressedSize = LZ4F_compressUpdate(ctx, in compress_file_internal() local
92 if (LZ4F_isError(compressedSize)) { in compress_file_internal()
93 printf("Compression failed: error %u \n", (unsigned)compressedSize); in compress_file_internal()
97 printf("Writing %u bytes\n", (unsigned)compressedSize); in compress_file_internal()
98 safe_fwrite(outBuff, 1, compressedSize, f_out); in compress_file_internal()
99 count_out += compressedSize; in compress_file_internal()
103 { size_t const compressedSize = LZ4F_compressEnd(ctx, in compress_file_internal() local
106 if (LZ4F_isError(compressedSize)) { in compress_file_internal()
107 printf("Failed to end compression: error %u \n", (unsigned)compressedSize); in compress_file_internal()
111 printf("Writing %u bytes \n", (unsigned)compressedSize); in compress_file_internal()
[all …]
/external/lz4/tests/
Dfuzzer.c383 int compressedSize, HCcompressedSize; in FUZ_test() local
488compressedSize = LZ4_compress_default(block, compressedBuffer, blockSize, (int)compressedBufferSiz… in FUZ_test()
489 FUZ_CHECKTEST(compressedSize<=0, "LZ4_compress_default() failed"); in FUZ_test()
494 { char* const cBuffer_exact = (char*)malloc((size_t)compressedSize); in FUZ_test()
496 assert(compressedSize <= (int)compressedBufferSize); in FUZ_test()
497 memcpy(cBuffer_exact, compressedBuffer, compressedSize); in FUZ_test()
503 …FUZ_CHECKTEST(r!=compressedSize, "LZ4_decompress_fast failed : did not fully read compressed data"… in FUZ_test()
526 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize); in FUZ_test()
539 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize+1); in FUZ_test()
551 … { int const r = LZ4_decompress_safe(cBuffer_exact, decodedBuffer, compressedSize, blockSize-1); in FUZ_test()
[all …]
Dfullbench.c84 int compressedSize; member
491 chunkP[i].compressedSize = 0; in fullSpeedBench()
543 …chunkP[chunkNb].compressedSize = compressionFunction(chunkP[chunkNb].origBuffer, chunkP[chunkNb].c… in fullSpeedBench()
544 if (chunkP[chunkNb].compressedSize==0) { in fullSpeedBench()
555 …ze=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += (size_t)chunkP[chunkNb].compressedSize; in fullSpeedBench()
585 chunkP[i].compressedSize = 0; in fullSpeedBench()
589 …chunkP[chunkNb].compressedSize = LZ4_compress_default(chunkP[chunkNb].origBuffer, chunkP[chunkNb].… in fullSpeedBench()
590 if (chunkP[chunkNb].compressedSize==0) { in fullSpeedBench()
624 chunkP[0].compressedSize = (int)fcsize; in fullSpeedBench()
651 … chunkP[chunkNb].compressedSize, chunkP[chunkNb].origSize); in fullSpeedBench()
/external/lz4/ossfuzz/
Dcompress_fuzzer.c38 int compressedSize = size; in LLVMFuzzerTestOneInput() local
40 &compressedSize, dstCapacity); in LLVMFuzzerTestOneInput()
43 FUZZ_ASSERT_MSG(rtSize == compressedSize, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput()
44 FUZZ_ASSERT_MSG(!memcmp(data, rt, compressedSize), "Corruption!"); in LLVMFuzzerTestOneInput()
Dcompress_hc_fuzzer.c42 int compressedSize = size; in LLVMFuzzerTestOneInput() local
44 dst, &compressedSize, in LLVMFuzzerTestOneInput()
48 FUZZ_ASSERT_MSG(rtSize == compressedSize, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput()
49 FUZZ_ASSERT_MSG(!memcmp(data, rt, compressedSize), "Corruption!"); in LLVMFuzzerTestOneInput()
/external/xz-java/src/org/tukaani/xz/
DLZMA2OutputStream.java118 int compressedSize = rc.finish(); in writeChunk() local
121 assert compressedSize > 0 : compressedSize; in writeChunk()
126 if (compressedSize + 2 < uncompressedSize) { in writeChunk()
127 writeLZMA(uncompressedSize, compressedSize); in writeChunk()
140 private void writeLZMA(int uncompressedSize, int compressedSize) in writeLZMA() argument
160 outData.writeShort(compressedSize - 1); in writeLZMA()
DBlockInputStream.java220 long compressedSize = inCounted.getSize(); in read() local
221 if (compressedSize < 0 in read()
222 || compressedSize > compressedSizeLimit in read()
251 long compressedSize = inCounted.getSize(); in validate() local
256 && compressedSizeInHeader != compressedSize) in validate()
262 while ((compressedSize++ & 3) != 0) in validate()
DBlockOutputStream.java119 long compressedSize = outCounted.getSize(); in validate() local
123 if (compressedSize < 0 || compressedSize > compressedSizeLimit in validate()
/external/zstd/tests/fuzz/
Ddictionary_loader.c41 size_t const compressedSize = ZSTD_compress2( in compress() local
44 return compressedSize; in compress()
48 void const* compressed, size_t compressedSize, in decompress() argument
62 dctx, result, resultCapacity, compressed, compressedSize); in decompress()
/external/zstd/examples/
Dstreaming_memory_usage.c87 size_t compressedSize; in main() local
95 compressedSize = outBuff.pos; in main()
108 { ZSTD_inBuffer inBuff = { compressedData, compressedSize, 0 }; in main()
119 …_t const dstreamEstimatedSize = ZSTD_estimateDStreamSize_fromFrame(compressedData, compressedSize); in main()
/external/lzma/Java/SevenZip/
DLzmaBench.java339 int compressedSize = 0; in LzmaBenchmark() local
350 compressedSize = compressedStream.size(); in LzmaBenchmark()
351 inputCompressedStream = new MyInputStream(compressedBuffer, compressedSize); in LzmaBenchmark()
353 else if (compressedSize != compressedStream.size()) in LzmaBenchmark()
376 PrintResults(dictionarySize, decodeTime, kBufferSize, true, compressedSize); in LzmaBenchmark()
382 totalCompressedSize += compressedSize; in LzmaBenchmark()
/external/lz4/lib/
Dlz4.h164 LZ4LIB_API int LZ4_decompress_safe (const char* src, char* dst, int compressedSize, int dstCapacity…
531 #define LZ4_DECOMPRESS_INPLACE_MARGIN(compressedSize) (((compressedSize) >> 8) + 32) argument
712 …t LZ4_decompress_safe_withPrefix64k (const char* src, char* dst, int compressedSize, int maxDstSiz…
Dlz4.c621 int compressedSize, int maxOutputSize,
2074 int LZ4_decompress_safe(const char* source, char* dest, int compressedSize, int maxDecompressedSize) in LZ4_decompress_safe() argument
2076 return LZ4_decompress_generic(source, dest, compressedSize, maxDecompressedSize, in LZ4_decompress_safe()
2082 int LZ4_decompress_safe_partial(const char* src, char* dst, int compressedSize, int targetOutputSiz… in LZ4_decompress_safe_partial() argument
2085 return LZ4_decompress_generic(src, dst, compressedSize, dstCapacity, in LZ4_decompress_safe_partial()
2101 int LZ4_decompress_safe_withPrefix64k(const char* source, char* dest, int compressedSize, int maxOu… in LZ4_decompress_safe_withPrefix64k() argument
2103 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, in LZ4_decompress_safe_withPrefix64k()
2117 static int LZ4_decompress_safe_withSmallPrefix(const char* source, char* dest, int compressedSize, … in LZ4_decompress_safe_withSmallPrefix() argument
2120 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, in LZ4_decompress_safe_withSmallPrefix()
2127 int compressedSize, int maxOutputSize, in LZ4_decompress_safe_forceExtDict() argument
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZArchiveEntry.java49 private long size, compressedSize; field in SevenZArchiveEntry
432 return compressedSize; in getCompressedSize()
441 this.compressedSize = size; in setCompressedSize()
/external/dng_sdk/source/
Ddng_preview.cpp416 uint32 compressedSize = fCompressedData->LogicalSize (); in SpoolAdobeThumbnail() local
422 stream.Put_uint32 (compressedSize + 28); in SpoolAdobeThumbnail()
431 stream.Put_uint32 (compressedSize); in SpoolAdobeThumbnail()
436 compressedSize); in SpoolAdobeThumbnail()
438 if (compressedSize & 1) in SpoolAdobeThumbnail()
/external/angle/src/libANGLE/
DBlobCache.cpp70 const size_t compressedSize, in DecompressBlobCacheData() argument
75 zlib_internal::GetGzipUncompressedSize(compressedData, compressedSize); in DecompressBlobCacheData()
86 uncompressedData->data(), &destLen, compressedData, static_cast<uLong>(compressedSize)); in DecompressBlobCacheData()
/external/zstd/lib/dictBuilder/
Dcover.c850 best->compressedSize = (size_t)-1; in COVER_best_init()
904 size_t compressedSize = selection.totalCompressedSize; in COVER_best_finish() local
915 if (compressedSize < best->compressedSize) { in COVER_best_finish()
923 best->compressedSize = ERROR(GENERIC); in COVER_best_finish()
935 best->compressedSize = compressedSize; in COVER_best_finish()
1233 if (ZSTD_isError(best.compressedSize)) { in ZDICT_optimizeTrainFromBuffer_cover()
1234 const size_t compressedSize = best.compressedSize; in ZDICT_optimizeTrainFromBuffer_cover() local
1237 return compressedSize; in ZDICT_optimizeTrainFromBuffer_cover()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/arj/
DLocalFileHeader.java31 long compressedSize; field in LocalFileHeader
93 builder.append(compressedSize); in toString()

123