/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/ |
D | SevenZNativeHeapTest.java | 43 DelegatingDeflater delegatingDeflater = new DelegatingDeflater(outputStream.deflater); in testEndDeflaterOnCloseStream() 44 outputStream.deflater = delegatingDeflater; in testEndDeflaterOnCloseStream() 161 private final Deflater deflater; field in SevenZNativeHeapTest.DelegatingDeflater 163 public DelegatingDeflater(Deflater deflater) { in DelegatingDeflater() argument 164 this.deflater = deflater; in DelegatingDeflater() 172 deflater.end(); in end() 177 deflater.setInput(b, off, len); in setInput() 182 deflater.setInput(b); in setInput() 187 deflater.setDictionary(b, off, len); in setDictionary() 192 deflater.setDictionary(b); in setDictionary() [all …]
|
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/ |
D | DeflateCompressor.java | 61 private Deflater deflater = null; field in DeflateCompressor 107 if (deflater != null && compressionLevel != this.compressionLevel) { in setCompressionLevel() 108 deflater.reset(); in setCompressionLevel() 109 deflater.setLevel(compressionLevel); in setCompressionLevel() 128 if (deflater != null && strategy != this.strategy) { in setStrategy() 129 deflater.reset(); in setStrategy() 130 deflater.setStrategy(strategy); in setStrategy() 200 Deflater result = deflater; in createOrResetDeflater() 205 deflater = result; in createOrResetDeflater() 217 if (deflater != null) { in release() [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | StreamCompressor.java | 63 StreamCompressor(final Deflater deflater) { in StreamCompressor() argument 64 this.def = deflater; in StreamCompressor() 74 static StreamCompressor create(final OutputStream os, final Deflater deflater) { in create() argument 75 return new OutputStreamCompressor(deflater, os); in create() 95 static StreamCompressor create(final DataOutput os, final Deflater deflater) { in create() argument 96 return new DataOutputCompressor(deflater, os); in create() 107 static StreamCompressor create(final SeekableByteChannel os, final Deflater deflater) { in create() argument 108 return new SeekableByteChannelCompressor(deflater, os); in create() 119 final Deflater deflater = new Deflater(compressionLevel, true); in create() local 120 return new ScatterGatherBackingStoreCompressor(deflater, bs); in create() [all …]
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | DeflaterSink.java | 39 private final Deflater deflater; field in DeflaterSink 42 public DeflaterSink(Sink sink, Deflater deflater) { in DeflaterSink() argument 43 this(Okio.buffer(sink), deflater); in DeflaterSink() 51 DeflaterSink(BufferedSink sink, Deflater deflater) { in DeflaterSink() argument 53 if (deflater == null) throw new IllegalArgumentException("inflater == null"); in DeflaterSink() 55 this.deflater = deflater; in DeflaterSink() 65 deflater.setInput(head.data, head.pos, toDeflate); in write() 95 ? deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit, Deflater.SYNC_FLUSH) in deflate() 96 : deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit); in deflate() 102 } else if (deflater.needsInput()) { in deflate() [all …]
|
D | GzipSink.java | 43 private final Deflater deflater; field in GzipSink 58 this.deflater = new Deflater(DEFAULT_COMPRESSION, true /* No wrap */); in GzipSink() 60 this.deflaterSink = new DeflaterSink(this.sink, deflater); in GzipSink() 98 deflater.end(); in close() 126 sink.writeIntLe(deflater.getTotalIn()); // Length of original data. in writeFooter()
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | DeflaterSink.java | 41 private final Deflater deflater; field in DeflaterSink 44 public DeflaterSink(Sink sink, Deflater deflater) { in DeflaterSink() argument 45 this(Okio.buffer(sink), deflater); in DeflaterSink() 53 DeflaterSink(BufferedSink sink, Deflater deflater) { in DeflaterSink() argument 55 if (deflater == null) throw new IllegalArgumentException("inflater == null"); in DeflaterSink() 57 this.deflater = deflater; in DeflaterSink() 67 deflater.setInput(head.data, head.pos, toDeflate); in write() 97 ? deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit, Deflater.SYNC_FLUSH) in deflate() 98 : deflater.deflate(s.data, s.limit, Segment.SIZE - s.limit); in deflate() 104 } else if (deflater.needsInput()) { in deflate() [all …]
|
D | GzipSink.java | 45 private final Deflater deflater; field in GzipSink 60 this.deflater = new Deflater(DEFAULT_COMPRESSION, true /* No wrap */); in GzipSink() 62 this.deflaterSink = new DeflaterSink(this.sink, deflater); in GzipSink() 100 deflater.end(); in close() 128 sink.writeIntLe(deflater.getTotalIn()); // Length of original data. in writeFooter()
|
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/ |
D | PartiallyCompressingOutputStream.java | 42 private Deflater deflater = null; field in PartiallyCompressingOutputStream 137 if (deflater == null) { in writeChunk() 138 deflater = new Deflater(parameters.level, parameters.nowrap); in writeChunk() 141 deflater.end(); in writeChunk() 142 deflater = new Deflater(parameters.level, parameters.nowrap); in writeChunk() 146 deflater.setLevel(parameters.level); in writeChunk() 147 deflater.setStrategy(parameters.strategy); in writeChunk() 148 deflaterOut = new DeflaterOutputStream(normalOut, deflater, compressionBufferSize); in writeChunk() 176 deflater.reset(); in writeChunk() 184 deflater.end(); in writeChunk() [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/ |
D | GzipCompressorOutputStream.java | 53 private final Deflater deflater; field in GzipCompressorOutputStream 83 this.deflater = new Deflater(parameters.getCompressionLevel(), true); in GzipCompressorOutputStream() 128 buffer.putInt(deflater.getTotalIn()); in writeTrailer() 155 if (deflater.finished()) { in write() 159 deflater.setInput(buffer, offset, length); in write() 161 while (!deflater.needsInput()) { in write() 170 final int length = deflater.deflate(deflateBuffer, 0, deflateBuffer.length); in deflate() 183 if (!deflater.finished()) { in finish() 184 deflater.finish(); in finish() 186 while (!deflater.finished()) { in finish() [all …]
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/ |
D | DefaultDeflateCompressionDiviner.java | 166 Deflater deflater = new Deflater(0, nowrap); in divineDeflateParameters() local 170 deflater.setStrategy(strategy); in divineDeflateParameters() 172 deflater.setLevel(level); in divineDeflateParameters() 174 deflater.reset(); in divineDeflateParameters() 176 if (matches(inflater, deflater, compressedDataInputStreamFactory, copyBuffer)) { in divineDeflateParameters() 177 end(inflater, deflater); in divineDeflateParameters() 187 end(inflater, deflater); in divineDeflateParameters() 200 private static void end(Inflater inflater, Deflater deflater) { in end() argument 202 deflater.end(); in end() 219 Deflater deflater, in matches() argument [all …]
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | DeflateUncompressorTest.java | 56 Deflater deflater = new Deflater(Deflater.DEFAULT_COMPRESSION, true); in setUp() local 57 DeflaterOutputStream deflateOut = new DeflaterOutputStream(compressedContentBuffer, deflater); in setUp() 61 deflater.end(); in setUp() 85 Deflater deflater = new Deflater(Deflater.DEFAULT_COMPRESSION, false /* nowrap */); in testNowrap() local 87 DeflaterOutputStream deflateOut = new DeflaterOutputStream(compressedContentBuffer, deflater); in testNowrap() 91 deflater.end(); in testNowrap() 161 Deflater deflater = new Deflater(Deflater.DEFAULT_COMPRESSION, false /* nowrap */); in testReusability() local 163 DeflaterOutputStream deflateOut = new DeflaterOutputStream(compressedContentBuffer, deflater); in testReusability() 167 deflater.end(); in testReusability()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate/ |
D | DeflateCompressorOutputStream.java | 34 private final Deflater deflater; field in DeflateCompressorOutputStream 53 … this.deflater = new Deflater(parameters.getCompressionLevel(), !parameters.withZlibHeader()); in DeflateCompressorOutputStream() 54 this.out = new DeflaterOutputStream(outputStream, deflater); in DeflateCompressorOutputStream() 92 deflater.end(); in close()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | Coders.java | 153 final Deflater deflater = new Deflater(level, true); in encode() local 154 … final DeflaterOutputStream deflaterOutputStream = new DeflaterOutputStream(out, deflater); in encode() 155 return new DeflateDecoderOutputStream(deflaterOutputStream, deflater); in encode() 197 Deflater deflater; field in Coders.DeflateDecoder.DeflateDecoderOutputStream 200 Deflater deflater) { in DeflateDecoderOutputStream() argument 202 this.deflater = deflater; in DeflateDecoderOutputStream() 225 deflater.end(); in close()
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | DeflaterSinkTest.java | 81 Deflater deflater = new Deflater(); in multipleSegmentsWithoutCompression() local 82 deflater.setLevel(Deflater.NO_COMPRESSION); in multipleSegmentsWithoutCompression() 83 DeflaterSink deflaterSink = new DeflaterSink(buffer, deflater); in multipleSegmentsWithoutCompression() 117 Deflater deflater = new Deflater(); in closeWithExceptionWhenWritingAndClosing() local 118 deflater.setLevel(Deflater.NO_COMPRESSION); in closeWithExceptionWhenWritingAndClosing() 119 DeflaterSink deflaterSink = new DeflaterSink(mockSink, deflater); in closeWithExceptionWhenWritingAndClosing()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | Spdy3.java | 298 Deflater deflater = new Deflater(); in Writer() local 299 deflater.setDictionary(DICTIONARY); in Writer() 301 headerBlockOut = Okio.buffer(new DeflaterSink(headerBlockBuffer, deflater)); in Writer()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
D | Spdy3.java | 300 Deflater deflater = new Deflater(); in Writer() local 301 deflater.setDictionary(DICTIONARY); in Writer() 303 headerBlockOut = Okio.buffer(new DeflaterSink(headerBlockBuffer, deflater)); in Writer()
|
/external/jline/src/src/test/resources/jline/example/ |
D | english.gz |
|
/external/grpc-grpc-java/netty/shaded/ |
D | grpc-netty-shaded-1.14.0.jar | META-INF/
META-INF/MANIFEST.MF
io/
io/grpc/
io/ ... |