Home
last modified time | relevance | path

Searched refs:uncompressedSize (Results 1 – 25 of 26) sorted by relevance

12

/external/xz-java/src/org/tukaani/xz/
DLZMA2OutputStream.java119 int uncompressedSize = lzma.getUncompressedSize(); in writeChunk() local
122 assert uncompressedSize > 0 : uncompressedSize; in writeChunk()
126 if (compressedSize + 2 < uncompressedSize) { in writeChunk()
127 writeLZMA(uncompressedSize, compressedSize); in writeChunk()
130 uncompressedSize = lzma.getUncompressedSize(); in writeChunk()
131 assert uncompressedSize > 0 : uncompressedSize; in writeChunk()
132 writeUncompressed(uncompressedSize); in writeChunk()
135 pendingSize -= uncompressedSize; in writeChunk()
140 private void writeLZMA(int uncompressedSize, int compressedSize) in writeLZMA() argument
156 control |= (uncompressedSize - 1) >>> 16; in writeLZMA()
[all …]
DLZMA2InputStream.java53 private int uncompressedSize = 0; field in LZMA2InputStream
246 if (uncompressedSize == 0) { in read()
252 int copySizeMax = Math.min(uncompressedSize, len); in read()
265 uncompressedSize -= copiedSize; in read()
267 if (uncompressedSize == 0) in read()
300 uncompressedSize = (control & 0x1F) << 16; in decodeChunkHeader()
301 uncompressedSize += in.readUnsignedShort() + 1; in decodeChunkHeader()
323 uncompressedSize = in.readUnsignedShort() + 1; in decodeChunkHeader()
369 return isLZMAChunk ? uncompressedSize in available()
370 : Math.min(uncompressedSize, in.available()); in available()
DBlockInputStream.java31 private long uncompressedSize = 0; field in BlockInputStream
217 uncompressedSize += ret; in read()
223 || uncompressedSize < 0 in read()
225 && uncompressedSize > uncompressedSizeInHeader)) in read()
235 if (ret < len || uncompressedSize == uncompressedSizeInHeader) { in read()
258 && uncompressedSizeInHeader != uncompressedSize)) in validate()
303 return uncompressedSize; in getUncompressedSize()
DSeekableXZInputStream.java116 private long uncompressedSize = 0; field in SeekableXZInputStream
559 uncompressedSize += index.getUncompressedSize(); in SeekableXZInputStream()
560 if (uncompressedSize < 0) in SeekableXZInputStream()
682 return queriedBlockInfo.uncompressedSize; in getBlockSize()
932 return uncompressedSize; in length()
1019 if (seekPos >= uncompressedSize) { in seek()
1077 if (pos < 0 || pos >= uncompressedSize) in locateBlockByPos()
1093 assert info.uncompressedSize > 0; in locateBlockByPos()
1095 assert pos < info.uncompressedOffset + info.uncompressedSize; in locateBlockByPos()
1138 curBlockInfo.unpaddedSize, curBlockInfo.uncompressedSize,
DBlockOutputStream.java26 private long uncompressedSize = 0; field in BlockOutputStream
96 uncompressedSize += len; in write()
124 || uncompressedSize < 0) in validate()
133 return uncompressedSize; in getUncompressedSize()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/snappy/
DSnappyCompressorOutputStream.java71 …public SnappyCompressorOutputStream(final OutputStream os, final long uncompressedSize) throws IOE… in SnappyCompressorOutputStream() argument
72 this(os, uncompressedSize, SnappyCompressorInputStream.DEFAULT_BLOCK_SIZE); in SnappyCompressorOutputStream()
83 …public SnappyCompressorOutputStream(final OutputStream os, final long uncompressedSize, final int … in SnappyCompressorOutputStream() argument
85 this(os, uncompressedSize, createParameterBuilder(blockSize).build()); in SnappyCompressorOutputStream()
98 …public SnappyCompressorOutputStream(final OutputStream os, final long uncompressedSize, Parameters… in SnappyCompressorOutputStream() argument
117 writeUncompressedSize(uncompressedSize); in SnappyCompressorOutputStream()
152 private void writeUncompressedSize(long uncompressedSize) throws IOException { in writeUncompressedSize() argument
155 int currentByte = (int) (uncompressedSize & 0x7F); in writeUncompressedSize()
156 more = uncompressedSize > currentByte; in writeUncompressedSize()
161 uncompressedSize >>= 7; in writeUncompressedSize()
/external/xz-java/src/org/tukaani/xz/index/
DIndexHash.java35 public void add(long unpaddedSize, long uncompressedSize) in add() argument
37 super.add(unpaddedSize, uncompressedSize); in add()
41 buf.putLong(uncompressedSize); in add()
66 long uncompressedSize = DecoderUtil.decodeVLI(inChecked); in validate() local
69 stored.add(unpaddedSize, uncompressedSize); in validate()
DIndexDecoder.java91 long uncompressedSize = DecoderUtil.decodeVLI(inChecked); in IndexDecoder() local
102 uncompressed[record] = uncompressedSum + uncompressedSize; in IndexDecoder()
104 super.add(unpaddedSize, uncompressedSize); in IndexDecoder()
108 if (largestBlockSize < uncompressedSize) in IndexDecoder()
109 largestBlockSize = uncompressedSize; in IndexDecoder()
217 info.uncompressedSize = uncompressed[pos] - info.uncompressedOffset;
DIndexBase.java44 void add(long unpaddedSize, long uncompressedSize) throws XZIOException { in add() argument
46 uncompressedSum += uncompressedSize; in add()
48 + Util.getVLISize(uncompressedSize); in add()
DIndexEncoder.java28 public void add(long unpaddedSize, long uncompressedSize) in add() argument
30 super.add(unpaddedSize, uncompressedSize); in add()
31 records.add(new IndexRecord(unpaddedSize, uncompressedSize)); in add()
DBlockInfo.java19 public long uncompressedSize = -1; field in BlockInfo
/external/llvm-project/lldb/source/Host/common/
DLZMA.cpp110 uint64_t uncompressedSize = lzma_index_uncompressed_size(xzindex);
115 return uncompressedSize;
120 llvm::Expected<uint64_t> uncompressedSize = getUncompressedSize(InputBuffer);
122 if (auto err = uncompressedSize.takeError())
125 Uncompressed.resize(*uncompressedSize);
/external/angle/src/libANGLE/
DBlobCache.cpp41 uLong uncompressedSize = static_cast<uLong>(cacheSize); in CompressBlobCacheData() local
42 uLong expectedCompressedSize = zlib_internal::GzipExpectedCompressedSize(uncompressedSize); in CompressBlobCacheData()
52 cacheData, uncompressedSize, nullptr, nullptr); in CompressBlobCacheData()
74 uint32_t uncompressedSize = in DecompressBlobCacheData() local
78 if (!uncompressedData->resize(uncompressedSize)) in DecompressBlobCacheData()
84 uLong destLen = uncompressedSize; in DecompressBlobCacheData()
/external/angle/util/
Dframe_capture_test_utils.h35 uint32_t uncompressedSize = in DecompressBinaryData() local
38 std::unique_ptr<uint8_t[]> uncompressedData(new uint8_t[uncompressedSize]); in DecompressBinaryData()
39 uLong destLen = uncompressedSize; in DecompressBinaryData()
/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoder.java68 private int uncompressedSize = 0; field in LZMAEncoder
204 uncompressedSize += readAhead + 1; in reset()
209 return uncompressedSize; in getUncompressedSize()
213 uncompressedSize = 0; in resetUncompressedSize()
250 while (uncompressedSize <= LZMA2_UNCOMPRESSED_LIMIT in encodeForLZMA2()
276 ++uncompressedSize; in encodeInit()
277 assert uncompressedSize == 1; in encodeInit() local
314 uncompressedSize += len; in encodeSymbol()
/external/dng_sdk/source/
Ddng_read_image.cpp2227 uint32 uncompressedSize = ComputeBufferSize (pixelType, tileArea.Size(), in ReadTile() local
2233 uint32 bufferSize = uncompressedSize; in ReadTile()
2304 uncompressedSize)) in ReadTile()
2319 uncompressedSize)) in ReadTile()
2329 uLongf dstLen = uncompressedSize; in ReadTile()
2359 if (dstLen != uncompressedSize) in ReadTile()
2771 uint32 uncompressedSize) in dng_read_tiles_task() argument
2787 , fUncompressedSize (uncompressedSize) in dng_read_tiles_task()
3035 uint32 uncompressedSize = 0; in Read() local
3054 uncompressedSize = SafeUint32Mult (subTileLength, bytesPerRow); in Read()
[all …]
Ddng_jpeg_image.cpp102 uint32 uncompressedSize = SafeUint32Mult ( in Process() local
105 uncompressedBuffer.Reset (fHost.Allocate (uncompressedSize)); in Process()
Ddng_image_writer.cpp2682 uint32 uncompressedSize) in CompressedBufferSize() argument
2693 return SafeUint32Add (SafeUint32Mult (uncompressedSize, 2), 1024); in CompressedBufferSize()
2702 return SafeUint32Add (SafeUint32Add (uncompressedSize, in CompressedBufferSize()
2703 uncompressedSize >> 8), 64); in CompressedBufferSize()
2716 return SafeUint32Mult (uncompressedSize, 2); in CompressedBufferSize()
4356 uint32 uncompressedSize) in dng_write_tiles_task() argument
4368 , fUncompressedSize (uncompressedSize) in dng_write_tiles_task()
4630 uint32 uncompressedSize = SafeUint32Mult(subTileLength, tileRowBytes); in WriteImage() local
4634 uint32 compressedSize = CompressedBufferSize (ifd, uncompressedSize); in WriteImage()
4667 uncompressedSize); in WriteImage()
[all …]
Ddng_image_writer.h1207 uint32 uncompressedSize);
/external/llvm-project/lld/ELF/
DInputSection.cpp141 if (uncompressedSize >= 0) in getSize()
142 return uncompressedSize; in getSize()
147 size_t size = uncompressedSize; in uncompress()
159 uncompressedSize = -1; in uncompress()
230 uncompressedSize = read64be(rawData.data()); in parseCompressedHeader()
255 uncompressedSize = hdr->ch_size; in parseCompressedHeader()
273 uncompressedSize = hdr->ch_size; in parseCompressedHeader()
1249 if (uncompressedSize >= 0) { in writeTo()
1250 size_t size = uncompressedSize; in writeTo()
DInputSection.h156 if (uncompressedSize >= 0) in data()
250 mutable int64_t uncompressedSize = -1; variable
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DZipExtractorTask.java157 long uncompressedSize = getOriginalSize(zip); in unzip() local
159 publishProgress(0, (int) uncompressedSize); in unzip()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_internal_shaders_autogen.cpp370 uLong uncompressedSize = zlib_internal::GetGzipUncompressedSize(compressedShaderCode.code, in GetShader() local
372 std::vector<uint32_t> shaderCode((uncompressedSize + 3) / 4, 0); in GetShader()
376 reinterpret_cast<uint8_t *>(shaderCode.data()), &uncompressedSize, in GetShader()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DMessageDeframerTest.java515 TestBaseStreamTracer tracer, long uncompressedSize) {
520 assertEquals(uncompressedSize, tracer.getInboundUncompressedSize());
/external/lzma/DOC/
Dlzma.txt118 2) Check that output(destLen) = uncompressedSize, if you know real uncompressedSize.

12