/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | InflaterTest.java | 52 Inflater inflate = new Inflater(); in test_end() local 53 inflate.setInput(byteArray); in test_end() 54 inflate.end(); in test_end() 57 inflate.reset(); in test_end() 74 Inflater inflate = new Inflater(false); in test_finished() local 77 while (!(inflate.finished())) { in test_finished() 78 if (inflate.needsInput()) { in test_finished() 79 inflate.setInput(outPutBuff1); in test_finished() 82 inflate.inflate(outPutInf); in test_finished() 86 inflate.finished()); in test_finished() [all …]
|
D | InflaterInputStreamTest.java | 89 Inflater inflate = new Inflater(); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Inflater() local 91 inflate); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Inflater() 105 Inflater inflate = new Inflater(); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI() local 107 inflate, 1); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI() 123 Inflater inflate = new Inflater(); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI_1() local 132 new InflaterInputStream(null, inflate, 1); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI_1() 139 new InflaterInputStream(infile, inflate, -1); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI_1() 144 inflate.end(); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI_1() 181 Inflater inflate = new Inflater(); in test_read() local 183 inflate); in test_read() [all …]
|
D | DeflaterTest.java | 93 infl.inflate(outPutInf); in test_deflate$B() 137 infl.inflate(outPutInf); in test_deflate$BII() 231 infl.inflate(outPutInf); in test_finish() 430 infl.inflate(outPutInf); in test_reset() 576 infl.inflate(outPutInf); in test_setInput$B() 613 infl.inflate(outPutInf); in test_setInput$BII() 857 infl.inflate(outPutInf); in test_ConstructorIZ() 874 infl.inflate(outPutInf); in test_ConstructorIZ()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | InflaterTest.java | 58 assertEquals(0, inflater.inflate(new byte[8])); in assertRoundTrip() 76 int inflatedByteCount = inflater.inflate(buf); in assertRoundTrip() 105 assertEquals(0, inflater.inflate(new byte[0], 0, 0)); in testEmptyFileAndEmptyBuffer() 144 inflater.inflate(decompressed, 0, decompressed.length); in testInflaterCounts() 153 assertEquals(1, inflater.inflate(decompressed, 0, decompressed.length)); in testInflaterCounts()
|
D | DeflaterTest.java | 62 assertEquals(0, inflater.inflate(decompressed)); in testDeflate() 68 assertEquals(0, inflater.inflate(decompressed)); in testDeflate() 77 assertEquals(0, inflater.inflate(decompressed)); in testDeflate() 86 totalInflated += inflater.inflate(decompressed, totalInflated,
|
D | DeflaterInputStreamTest.java | 47 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray()))); in testReadByteByByte() 57 public byte[] inflate(byte[] bytes) throws IOException { in inflate() method in DeflaterInputStreamTest 82 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray()))); in testReadWithBuffer()
|
D | OldAndroidDeflateTest.java | 57 int resultLength = decompresser.inflate(result); in simpleTest() 190 compCount = inflater.inflate(outBuf, outPosn, LOCAL_BUF_SIZE); in expand()
|
D | OldAndroidZipStressTest.java | 167 inflater.inflate(output); in testZipDeflateInflateStress()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | Inflater.java | 266 public int inflate(byte[] b, int off, int len) in inflate() method in Inflater 298 public int inflate(byte[] b) throws DataFormatException { in inflate() method in Inflater 299 return inflate(b, 0, b.length); in inflate()
|
D | InflaterOutputStream.java | 154 n = inf.inflate(buf, 0, buf.length); in flush() 253 n = inf.inflate(buf, 0, buf.length); in write()
|
D | InflaterInputStream.java | 171 while ((n = inf.inflate(b, off, len)) == 0) { in read()
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | Inflater.java | 74 public int inflate(byte[] b, int off, int len) throws java.util.zip.DataFormatException { in inflate() method in Inflater 78 public int inflate(byte[] b) throws java.util.zip.DataFormatException { in inflate() method in Inflater
|
/libcore/luni/src/main/native/ |
D | ZipUtilities.cpp | 46 bool inflate) { in setDictionary() argument 55 if (inflate) { in setDictionary()
|
D | ZipUtilities.h | 36 void setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, bool inflate);
|
/libcore/ojluni/src/main/native/ |
D | Inflater.c | 146 ret = inflate(strm, Z_PARTIAL_FLUSH); in Inflater_inflateBytes()
|
D | zip_util.c | 1460 switch (inflate(&strm, Z_PARTIAL_FLUSH)) { in InflateFully()
|