/external/xz-java/src/org/tukaani/xz/ |
D | ResettableArrayCache.java | 22 private final ArrayCache arrayCache; field in ResettableArrayCache 31 public ResettableArrayCache(ArrayCache arrayCache) { in ResettableArrayCache() argument 32 this.arrayCache = arrayCache; in ResettableArrayCache() 37 if (arrayCache == ArrayCache.getDummyCache()) { in ResettableArrayCache() 47 byte[] array = arrayCache.getByteArray(size, fillWithZeros); in getByteArray() 68 arrayCache.putArray(array); in putArray() 73 int[] array = arrayCache.getIntArray(size, fillWithZeros); in getIntArray() 92 arrayCache.putArray(array); in putArray() 107 arrayCache.putArray(byteArrays.get(i)); in reset() 114 arrayCache.putArray(intArrays.get(i)); in reset()
|
D | LZMAInputStream.java | 50 private ArrayCache arrayCache; field in LZMAInputStream 217 public LZMAInputStream(InputStream in, ArrayCache arrayCache) in LZMAInputStream() argument 219 this(in, -1, arrayCache); in LZMAInputStream() 295 ArrayCache arrayCache) throws IOException { in LZMAInputStream() argument 319 initialize(in, uncompSize, propsByte, dictSize, null, arrayCache); in LZMAInputStream() 455 ArrayCache arrayCache) in LZMAInputStream() argument 458 arrayCache); in LZMAInputStream() 544 ArrayCache arrayCache) in LZMAInputStream() argument 547 arrayCache); in LZMAInputStream() 552 ArrayCache arrayCache) in initialize() argument [all …]
|
D | XZInputStream.java | 64 private final ArrayCache arrayCache; field in XZInputStream 134 public XZInputStream(InputStream in, ArrayCache arrayCache) in XZInputStream() argument 136 this(in, -1, arrayCache); in XZInputStream() 207 ArrayCache arrayCache) throws IOException { in XZInputStream() argument 208 this(in, memoryLimit, true, arrayCache); in XZInputStream() 306 ArrayCache arrayCache) throws IOException { in XZInputStream() argument 307 this.arrayCache = arrayCache; in XZInputStream() 312 arrayCache); in XZInputStream() 447 arrayCache); in prepareNextStream()
|
D | SingleXZInputStream.java | 44 private final ArrayCache arrayCache; field in SingleXZInputStream 127 public SingleXZInputStream(InputStream in, ArrayCache arrayCache) in SingleXZInputStream() argument 129 this(in, -1, arrayCache); in SingleXZInputStream() 203 ArrayCache arrayCache) throws IOException { in SingleXZInputStream() argument 204 this(in, memoryLimit, true, arrayCache); in SingleXZInputStream() 305 boolean verifyCheck, ArrayCache arrayCache) in SingleXZInputStream() argument 307 this(in, memoryLimit, verifyCheck, readStreamHeader(in), arrayCache); in SingleXZInputStream() 311 byte[] streamHeader, ArrayCache arrayCache) in SingleXZInputStream() argument 313 this.arrayCache = arrayCache; in SingleXZInputStream() 422 arrayCache); in read()
|
D | LZMAOutputStream.java | 27 private final ArrayCache arrayCache; field in LZMAOutputStream 46 ArrayCache arrayCache) in LZMAOutputStream() argument 59 this.arrayCache = arrayCache; in LZMAOutputStream() 70 arrayCache); in LZMAOutputStream() 156 long inputSize, ArrayCache arrayCache) in LZMAOutputStream() argument 158 this(out, options, true, inputSize == -1, inputSize, arrayCache); in LZMAOutputStream() 208 boolean useEndMarker, ArrayCache arrayCache) in LZMAOutputStream() argument 210 this(out, options, false, useEndMarker, -1, arrayCache); in LZMAOutputStream() 303 lzma.putArraysToCache(arrayCache); in finish()
|
D | XZOutputStream.java | 55 private final ArrayCache arrayCache; field in XZOutputStream 121 ArrayCache arrayCache) in XZOutputStream() argument 123 this(out, filterOptions, XZ.CHECK_CRC64, arrayCache); in XZOutputStream() 177 int checkType, ArrayCache arrayCache) in XZOutputStream() argument 180 arrayCache); in XZOutputStream() 226 ArrayCache arrayCache) in XZOutputStream() argument 228 this(out, filterOptions, XZ.CHECK_CRC64, arrayCache); in XZOutputStream() 277 int checkType, ArrayCache arrayCache) in XZOutputStream() argument 279 this.arrayCache = arrayCache; in XZOutputStream() 398 arrayCache); in write()
|
D | LZMA2InputStream.java | 46 private final ArrayCache arrayCache; field in LZMA2InputStream 164 ArrayCache arrayCache) { in LZMA2InputStream() argument 170 this.arrayCache = arrayCache; in LZMA2InputStream() 172 this.rc = new RangeDecoderFromBuffer(COMPRESSED_SIZE_MAX, arrayCache); in LZMA2InputStream() 173 this.lz = new LZDecoder(getDictSize(dictSize), presetDict, arrayCache); in LZMA2InputStream() 375 lz.putArraysToCache(arrayCache); in putArraysToCache() 378 rc.putArraysToCache(arrayCache); in putArraysToCache()
|
D | UncompressedLZMA2OutputStream.java | 16 private final ArrayCache arrayCache; field in UncompressedLZMA2OutputStream 36 ArrayCache arrayCache) { in UncompressedLZMA2OutputStream() argument 46 this.arrayCache = arrayCache; in UncompressedLZMA2OutputStream() 47 uncompBuf = arrayCache.getByteArray( in UncompressedLZMA2OutputStream() 109 arrayCache.putArray(uncompBuf); in writeEndMarker()
|
D | LZMA2OutputStream.java | 22 private final ArrayCache arrayCache; field in LZMA2OutputStream 57 ArrayCache arrayCache) { in LZMA2OutputStream() argument 61 this.arrayCache = arrayCache; in LZMA2OutputStream() 64 rc = new RangeEncoderToBuffer(COMPRESSED_SIZE_MAX, arrayCache); in LZMA2OutputStream() 73 this.arrayCache); in LZMA2OutputStream() 207 lzma.putArraysToCache(arrayCache); in writeEndMarker() 210 rc.putArraysToCache(arrayCache); in writeEndMarker()
|
D | ArrayCache.java | 104 public static void setDefaultCache(ArrayCache arrayCache) { in setDefaultCache() argument 105 if (arrayCache == null) in setDefaultCache() 109 defaultCache = arrayCache; in setDefaultCache()
|
D | SeekableXZInputStream.java | 80 private final ArrayCache arrayCache; field in SeekableXZInputStream 250 public SeekableXZInputStream(SeekableInputStream in, ArrayCache arrayCache) in SeekableXZInputStream() argument 252 this(in, -1, arrayCache); in SeekableXZInputStream() 335 ArrayCache arrayCache) in SeekableXZInputStream() argument 337 this(in, memoryLimit, true, arrayCache); in SeekableXZInputStream() 448 boolean verifyCheck, ArrayCache arrayCache) in SeekableXZInputStream() argument 450 this.arrayCache = arrayCache; in SeekableXZInputStream() 1139 arrayCache);
|
D | LZMA2Options.java | 533 ArrayCache arrayCache) { in getOutputStream() argument 535 return new UncompressedLZMA2OutputStream(out, arrayCache); in getOutputStream() 537 return new LZMA2OutputStream(out, this, arrayCache); in getOutputStream() 566 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) in getInputStream() argument 568 return new LZMA2InputStream(in, dictSize, presetDict, arrayCache); in getInputStream()
|
D | DeltaEncoder.java | 34 ArrayCache arrayCache) { in getOutputStream() argument 35 return options.getOutputStream(out, arrayCache); in getOutputStream()
|
D | LZMA2Decoder.java | 32 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) { in getInputStream() argument 33 return new LZMA2InputStream(in, dictSize, null, arrayCache); in getInputStream()
|
D | X86Options.java | 26 ArrayCache arrayCache) { in getOutputStream() argument 30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) { in getInputStream() argument
|
D | ARMThumbOptions.java | 26 ArrayCache arrayCache) { in getOutputStream() argument 30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) { in getInputStream() argument
|
D | IA64Options.java | 26 ArrayCache arrayCache) { in getOutputStream() argument 30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) { in getInputStream() argument
|
D | ARMOptions.java | 26 ArrayCache arrayCache) { in getOutputStream() argument 30 public InputStream getInputStream(InputStream in, ArrayCache arrayCache) { in getInputStream() argument
|
/external/xz-java/src/org/tukaani/xz/lz/ |
D | Hash234.java | 53 Hash234(int dictSize, ArrayCache arrayCache) { in Hash234() argument 54 hash2Table = arrayCache.getIntArray(HASH_2_SIZE, true); in Hash234() 55 hash3Table = arrayCache.getIntArray(HASH_3_SIZE, true); in Hash234() 58 hash4Table = arrayCache.getIntArray(hash4Size, true); in Hash234() 62 void putArraysToCache(ArrayCache arrayCache) { in putArraysToCache() argument 63 arrayCache.putArray(hash4Table); in putArraysToCache() 64 arrayCache.putArray(hash3Table); in putArraysToCache() 65 arrayCache.putArray(hash2Table); in putArraysToCache()
|
D | HC4.java | 38 ArrayCache arrayCache) { in HC4() argument 40 arrayCache); in HC4() 42 hash = new Hash234(dictSize, arrayCache); in HC4() 46 chain = arrayCache.getIntArray(cyclicSize, false); in HC4() 60 public void putArraysToCache(ArrayCache arrayCache) { in putArraysToCache() argument 61 arrayCache.putArray(chain); in putArraysToCache() 62 hash.putArraysToCache(arrayCache); in putArraysToCache() 63 super.putArraysToCache(arrayCache); in putArraysToCache()
|
D | BT4.java | 31 ArrayCache arrayCache) { in BT4() argument 33 arrayCache); in BT4() 38 hash = new Hash234(dictSize, arrayCache); in BT4() 39 tree = arrayCache.getIntArray(cyclicSize * 2, false); in BT4() 49 public void putArraysToCache(ArrayCache arrayCache) { in putArraysToCache() argument 50 arrayCache.putArray(tree); in putArraysToCache() 51 hash.putArraysToCache(arrayCache); in putArraysToCache() 52 super.putArraysToCache(arrayCache); in putArraysToCache()
|
D | LZEncoder.java | 123 ArrayCache arrayCache) { in getInstance() argument 127 niceLen, matchLenMax, depthLimit, arrayCache); in getInstance() 131 niceLen, matchLenMax, depthLimit, arrayCache); in getInstance() 141 int niceLen, int matchLenMax, ArrayCache arrayCache) { in LZEncoder() argument 144 buf = arrayCache.getByteArray(bufSize, false); in LZEncoder() 153 public void putArraysToCache(ArrayCache arrayCache) { in putArraysToCache() argument 154 arrayCache.putArray(buf); in putArraysToCache()
|
D | LZDecoder.java | 28 public LZDecoder(int dictSize, byte[] presetDict, ArrayCache arrayCache) { in LZDecoder() argument 30 buf = arrayCache.getByteArray(bufSize, false); in LZDecoder() 40 public void putArraysToCache(ArrayCache arrayCache) { in putArraysToCache() argument 41 arrayCache.putArray(buf); in putArraysToCache()
|
/external/xz-java/src/org/tukaani/xz/rangecoder/ |
D | RangeEncoderToBuffer.java | 21 public RangeEncoderToBuffer(int bufSize, ArrayCache arrayCache) { in RangeEncoderToBuffer() argument 22 buf = arrayCache.getByteArray(bufSize, false); in RangeEncoderToBuffer() 26 public void putArraysToCache(ArrayCache arrayCache) { in putArraysToCache() argument 27 arrayCache.putArray(buf); in putArraysToCache()
|
D | RangeDecoderFromBuffer.java | 24 public RangeDecoderFromBuffer(int inputSizeMax, ArrayCache arrayCache) { in RangeDecoderFromBuffer() argument 27 buf = arrayCache.getByteArray(inputSizeMax - INIT_SIZE, false); in RangeDecoderFromBuffer() 31 public void putArraysToCache(ArrayCache arrayCache) { in putArraysToCache() argument 32 arrayCache.putArray(buf); in putArraysToCache()
|