Home
last modified time | relevance | path

Searched refs:inflate (Results 1 – 16 of 16) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterTest.java52 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 …]
DInflaterInputStreamTest.java89 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 …]
DDeflaterTest.java93 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/
DInflaterTest.java58 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()
DDeflaterTest.java62 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,
DDeflaterInputStreamTest.java47 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()
DOldAndroidDeflateTest.java57 int resultLength = decompresser.inflate(result); in simpleTest()
190 compCount = inflater.inflate(outBuf, outPosn, LOCAL_BUF_SIZE); in expand()
DOldAndroidZipStressTest.java167 inflater.inflate(output); in testZipDeflateInflateStress()
/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java266 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()
DInflaterOutputStream.java154 n = inf.inflate(buf, 0, buf.length); in flush()
253 n = inf.inflate(buf, 0, buf.length); in write()
DInflaterInputStream.java171 while ((n = inf.inflate(b, off, len)) == 0) { in read()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DInflater.java74 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/
DZipUtilities.cpp46 bool inflate) { in setDictionary() argument
55 if (inflate) { in setDictionary()
DZipUtilities.h36 void setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, bool inflate);
/libcore/ojluni/src/main/native/
DInflater.c146 ret = inflate(strm, Z_PARTIAL_FLUSH); in Inflater_inflateBytes()
Dzip_util.c1460 switch (inflate(&strm, Z_PARTIAL_FLUSH)) { in InflateFully()