Home
last modified time | relevance | path

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

12

/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/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DMinimalZipEntry.java38 private final long compressedSize; field in MinimalZipEntry
86 long compressedSize, in MinimalZipEntry() argument
93 this.compressedSize = compressedSize; in MinimalZipEntry()
131 return compressedSize; in getCompressedSize()
223 result = prime * result + (int) (compressedSize ^ (compressedSize >>> 32)); in hashCode()
247 if (compressedSize != other.compressedSize) { in equals()
DMinimalZipParser.java174 long compressedSize = read32BitUnsigned(in); in parseCentralDirectoryEntry() local
189 compressedSize, in parseCentralDirectoryEntry()
/external/lz4/examples/
DframeCompress.c87 size_t const compressedSize = LZ4F_compressUpdate(ctx, in compress_file_internal() local
91 if (LZ4F_isError(compressedSize)) { in compress_file_internal()
92 printf("Compression failed: error %zu\n", compressedSize); in compress_file_internal()
96 printf("Writing %zu bytes\n", compressedSize); in compress_file_internal()
97 safe_fwrite(outBuff, 1, compressedSize, f_out); in compress_file_internal()
98 count_out += compressedSize; in compress_file_internal()
102 { size_t const compressedSize = LZ4F_compressEnd(ctx, in compress_file_internal() local
105 if (LZ4F_isError(compressedSize)) { in compress_file_internal()
106 printf("Failed to end compression: error %zu\n", compressedSize); in compress_file_internal()
110 printf("Writing %zu bytes\n", compressedSize); in compress_file_internal()
[all …]
/external/lz4/tests/
Dfuzzer.c370 int compressedSize, HCcompressedSize; in FUZ_test() local
401 compressedSize = ret; in FUZ_test()
403 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, srcSize); in FUZ_test()
436 compressedSize = ret; in FUZ_test()
438 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, srcSize); in FUZ_test()
480 compressedSize = ret; in FUZ_test()
488 …FUZ_CHECKTEST(ret!=compressedSize, "LZ4_decompress_fast failed : did not fully read compressed dat… in FUZ_test()
533 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize); in FUZ_test()
545 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize+1); in FUZ_test()
556 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize-1); in FUZ_test()
[all …]
Dfullbench.c83 int compressedSize; member
446 chunkP[i].compressedSize = 0; in fullSpeedBench()
498 …chunkP[chunkNb].compressedSize = compressionFunction(chunkP[chunkNb].origBuffer, chunkP[chunkNb].c… in fullSpeedBench()
499 if (chunkP[chunkNb].compressedSize==0) in fullSpeedBench()
509 … cSize=0; for (chunkNb=0; chunkNb<nbChunks; chunkNb++) cSize += chunkP[chunkNb].compressedSize; in fullSpeedBench()
533 chunkP[i].compressedSize = 0; in fullSpeedBench()
537 …chunkP[chunkNb].compressedSize = LZ4_compress_default(chunkP[chunkNb].origBuffer, chunkP[chunkNb].… in fullSpeedBench()
538 if (chunkP[chunkNb].compressedSize==0) in fullSpeedBench()
573 chunkP[0].compressedSize = (int)errorCode; in fullSpeedBench()
596 … chunkP[chunkNb].compressedSize, chunkP[chunkNb].origSize); in fullSpeedBench()
Dframetest.c546 size_t compressedSize = cSizeWithDict; in basicTests() local
550 compressedBuffer, &compressedSize, in basicTests()
553 if (compressedSize != cSizeWithDict) goto _output_error; in basicTests()
603 size_t compressedSize = cSizeContiguous; in basicTests() local
607 compressedBuffer, &compressedSize, in basicTests()
610 if (compressedSize != cSizeContiguous) goto _output_error; in basicTests()
639 size_t compressedSize = cSizeIndep; in basicTests() local
643 compressedBuffer, &compressedSize, in basicTests()
646 if (compressedSize != cSizeIndep) goto _output_error; in basicTests()
/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()
DLZMA2InputStream.java303 int compressedSize = in.readUnsignedShort() + 1; in decodeChunkHeader() local
316 rc.prepareInputBuffer(in, compressedSize); in decodeChunkHeader()
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java340 compressedSize = compressFromYUV(srcYUVImage.getPlanes(), in compress()
349 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress()
353 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, in compress()
358 compressedSize = compress(srcBufInt, srcX, srcY, srcWidth, srcStride, in compress()
362 compressedSize = compress(srcBufInt, srcWidth, srcStride, srcHeight, in compress()
446 compressedSize = 0; in encodeYUV()
567 return compressedSize; in getCompressedSize()
674 private int compressedSize = 0; field in TJCompressor
/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/u-boot/lib/lzma/
DLzmaTools.c51 SizeT compressedSize = (SizeT)(length - LZMA_PROPS_SIZE); in lzmaBuffToBuffDecompress() local
94 debug("LZMA: Compresed size.............. 0x%zx\n", compressedSize); in lzmaBuffToBuffDecompress()
110 inStream + LZMA_DATA_OFFSET, &compressedSize, in lzmaBuffToBuffDecompress()
/external/lz4/lib/
Dlz4.c1651 int LZ4_decompress_safe(const char* source, char* dest, int compressedSize, int maxDecompressedSize) in LZ4_decompress_safe() argument
1653 return LZ4_decompress_generic(source, dest, compressedSize, maxDecompressedSize, in LZ4_decompress_safe()
1659 int LZ4_decompress_safe_partial(const char* src, char* dst, int compressedSize, int targetOutputSiz… in LZ4_decompress_safe_partial() argument
1662 return LZ4_decompress_generic(src, dst, compressedSize, dstCapacity, in LZ4_decompress_safe_partial()
1678 int LZ4_decompress_safe_withPrefix64k(const char* source, char* dest, int compressedSize, int maxOu… in LZ4_decompress_safe_withPrefix64k() argument
1680 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, in LZ4_decompress_safe_withPrefix64k()
1694 static int LZ4_decompress_safe_withSmallPrefix(const char* source, char* dest, int compressedSize, … in LZ4_decompress_safe_withSmallPrefix() argument
1697 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, in LZ4_decompress_safe_withSmallPrefix()
1704 int compressedSize, int maxOutputSize, in LZ4_decompress_safe_forceExtDict() argument
1707 return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, in LZ4_decompress_safe_forceExtDict()
[all …]
Dlz4.h149 LZ4LIB_API int LZ4_decompress_safe (const char* src, char* dst, int compressedSize, int dstCapacity…
623 …t LZ4_decompress_safe_withPrefix64k (const char* src, char* dst, int compressedSize, int maxDstSiz…
/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/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()
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaBench.cs301 long compressedSize = compressedStream.Position; in LzmaBenchmark()
323 PrintResults(dictionarySize, decodeTime, kBufferSize, true, (ulong)compressedSize); in LzmaBenchmark()
329 totalCompressedSize += (ulong)compressedSize; in LzmaBenchmark()
DLzmaAlone.cs341 long compressedSize = inStream.Length - inStream.Position; in Main2()
342 decoder.Code(inStream, outStream, compressedSize, outSize, null); in Main2()
/external/archive-patcher/explainer/src/main/java/com/google/archivepatcher/explainer/
DPatchExplainer.java111 long compressedSize = getCompressedSize(newFile, entry.getValue(), compressor); in explainPatch() local
117 compressedSize)); in explainPatch()
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DDeltaFriendlyOldBlobSizeLimiterTest.java128 String path, long compressedSize, long uncompressedSize) { in makeFakeEntry() argument
133 compressedSize, in makeFakeEntry()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
DExhaustiveTest.java98 int compressedSize = Math.max(512, 3 * len); in myMultipassTest() local
99 byte[] compressed = new byte[compressedSize]; in myMultipassTest()

12