Home
last modified time | relevance | path

Searched refs:Deflater (Results 1 – 20 of 20) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DDeflaterTest.java24 import java.util.zip.Deflater;
36 class MyDeflater extends Deflater {
75 Deflater defl = new Deflater(); in test_deflate$B()
119 Deflater defl = new Deflater(); in test_deflate$BII()
152 defl = new Deflater(); in test_deflate$BII()
180 Deflater defl = new Deflater(); in test_end()
209 Deflater defl = new Deflater(); in test_finish()
249 Deflater defl = new Deflater(); in test_finished()
269 Deflater defl = new Deflater(); in test_getAdler()
296 Deflater defl = new Deflater(); in test_getTotalIn()
[all …]
DInflaterOutputStreamTest.java22 import java.util.zip.Deflater;
189 Deflater defaultDeflater = new Deflater(Deflater.BEST_SPEED); in test_finish()
196 Deflater bestDeflater = new Deflater(Deflater.BEST_COMPRESSION); in test_finish()
415 Deflater deflater = new Deflater(); in compressToBytes()
DInflaterTest.java26 import java.util.zip.Deflater;
147 Deflater deflate = new Deflater(1); in test_getTotalIn()
207 Deflater deflate = new Deflater(1); in test_getTotalOut()
297 Deflater defEmpty = new Deflater(3); in test_inflate$B()
788 Deflater def = new Deflater(); in test_getBytesRead()
816 Deflater def = new Deflater(); in test_getBytesWritten()
891 Deflater defDictNo = new Deflater(9); in testSetDictionary$B()
892 Deflater defDict1 = new Deflater(9); in testSetDictionary$B()
893 Deflater defDict2 = new Deflater(9); in testSetDictionary$B()
1020 Deflater defDict1 = new Deflater(9); in testSetDictionary$BII()
[all …]
DDeflaterOutputStreamTest.java26 import java.util.zip.Deflater;
46 MyDeflaterOutputStream(OutputStream out, Deflater defl) { in MyDeflaterOutputStream()
50 MyDeflaterOutputStream(OutputStream out, Deflater defl, int size) { in MyDeflaterOutputStream()
75 Deflater deflate = new Deflater(1); in setUp()
95 Deflater defl = null; in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater()
103 defl = new Deflater(); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater()
145 Deflater defl = null; in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI()
154 defl = new Deflater(); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI()
DDeflaterInputStreamTest.java25 import java.util.zip.Deflater;
382 Deflater deflater = new Deflater(); in testDeflaterInputStreamInputStreamDeflater()
408 Deflater deflater = new Deflater(); in testDeflaterInputStreamInputStreamDeflaterInt()
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterTest.java20 import java.util.zip.Deflater;
33 private Deflater deflater;
41 deflater = new Deflater(); in setUp()
54 deflateInflate(Deflater.NO_FLUSH); in testDeflate()
59 deflateInflate(Deflater.SYNC_FLUSH); in testDeflate()
65 deflateInflate(Deflater.FULL_FLUSH); in testDeflate()
74 deflateInflate(Deflater.SYNC_FLUSH); in testDeflate()
102 deflateInflate(Deflater.FULL_FLUSH);
109 assertEquals(11, deflater.deflate(compressed, 0, compressed.length, Deflater.FULL_FLUSH));
116 assertEquals(9, deflater.deflate(compressed, 0, compressed.length, Deflater.FULL_FLUSH));
DOldAndroidDeflateTest.java23 import java.util.zip.Deflater;
48 Deflater compresser = new Deflater(); in simpleTest()
80 Deflater deflater = new Deflater(Deflater.BEST_COMPRESSION, false); in bigTest()
126 private void compress(Deflater deflater, byte[] inBuf, byte[] outBuf) { in compress()
DDeflaterOutputStreamTest.java31 import java.util.zip.Deflater;
108 static class FlushingDeflater extends Deflater {
111 return super.deflate(buf, offset, byteCount, Deflater.SYNC_FLUSH); in deflate()
122 Deflater def = new FlushingDeflater(); in testSyncFlushDeflater()
DInflaterTest.java21 import java.util.zip.Deflater;
111 Deflater deflater = new Deflater(); in deflate()
DOldAndroidZipStressTest.java28 import java.util.zip.Deflater;
156 Deflater deflater = new Deflater(i); in testZipDeflateInflateStress()
/libcore/ojluni/src/main/java/java/util/zip/
DDeflaterOutputStream.java47 protected Deflater def;
80 Deflater def, in DeflaterOutputStream()
107 public DeflaterOutputStream(OutputStream out, Deflater def, int size) { in DeflaterOutputStream()
126 Deflater def, in DeflaterOutputStream()
142 public DeflaterOutputStream(OutputStream out, Deflater def) { in DeflaterOutputStream()
163 this(out, new Deflater(), 512, syncFlush); in DeflaterOutputStream()
282 while ((len = def.deflate(buf, 0, buf.length, Deflater.SYNC_FLUSH)) > 0) in flush()
DDeflaterInputStream.java47 protected final Deflater def;
78 this(in, new Deflater()); in DeflaterInputStream()
90 public DeflaterInputStream(InputStream in, Deflater defl) { in DeflaterInputStream()
104 public DeflaterInputStream(InputStream in, Deflater defl, int bufLen) { in DeflaterInputStream()
DGZIPOutputStream.java90 super(out, new Deflater(Deflater.DEFAULT_COMPRESSION, true), in GZIPOutputStream()
185 Deflater.DEFLATED, // Compression method (CM) in writeHeader()
DDeflater.java77 class Deflater { class
184 public Deflater(int level, boolean nowrap) { in Deflater() method in Deflater
197 public Deflater(int level) { in Deflater() method in Deflater
205 public Deflater() { in Deflater() method in Deflater
DZipOutputStream.java135 super(out, new Deflater(Deflater.DEFAULT_COMPRESSION, true)); in ZipOutputStream()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DDeflater.java31 public class Deflater { class
33 public Deflater(int level, boolean nowrap) { in Deflater() method in Deflater
37 public Deflater(int level) { in Deflater() method in Deflater
41 public Deflater() { in Deflater() method in Deflater
/libcore/ojluni/src/main/native/
DDeflater.c244 NATIVE_METHOD(Deflater, init, "(IIZ)J"),
245 NATIVE_METHOD(Deflater, setDictionary, "(J[BII)V"),
246 NATIVE_METHOD(Deflater, deflateBytes, "(J[BIII)I"),
247 NATIVE_METHOD(Deflater, getAdler, "(J)I"),
248 NATIVE_METHOD(Deflater, reset, "(J)V"),
249 NATIVE_METHOD(Deflater, end, "(J)V"),
DAndroid.bp31 "Deflater.c",
/libcore/api/
Dcurrent.txt16932 public class Deflater {
16933 ctor public Deflater(int, boolean);
16934 ctor public Deflater(int);
16935 ctor public Deflater();
16971 ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater);
16972 ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater, int);
16974 field protected final java.util.zip.Deflater def;
16978 ctor public DeflaterOutputStream(java.io.OutputStream, java.util.zip.Deflater, int, boolean);
16979 ctor public DeflaterOutputStream(java.io.OutputStream, java.util.zip.Deflater, int);
16980 ctor public DeflaterOutputStream(java.io.OutputStream, java.util.zip.Deflater, boolean);
[all …]
/libcore/
Dopenjdk_java_files.bp1203 "ojluni/src/main/java/java/util/zip/Deflater.java",