Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DInflaterTest.java45 Inflater inflate = new Inflater(); in test_end() local
46 inflate.setInput(byteArray); in test_end()
47 inflate.end(); in test_end()
49 inflate.reset(); in test_end()
50 inflate.setInput(byteArray); in test_end()
68 Inflater inflate = new Inflater(false); in test_finished() local
71 while (!(inflate.finished())) { in test_finished()
72 if (inflate.needsInput()) { in test_finished()
73 inflate.setInput(outPutBuff1); in test_finished()
76 inflate.inflate(outPutInf); in test_finished()
[all …]
DInflaterInputStreamTest.java87 Inflater inflate = new Inflater(); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Inflater() local
89 inflate); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Inflater()
103 Inflater inflate = new Inflater(); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI() local
105 inflate, 1); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI()
146 Inflater inflate = new Inflater(); in test_read() local
148 inflate); in test_read()
331 Inflater inflate = new Inflater(); in test_skipJ2() local
333 inflate, 10); in test_skipJ2()
DDeflaterTest.java93 infl.inflate(outPutInf); in test_deflate$B()
137 infl.inflate(outPutInf); in test_deflate$BII()
231 infl.inflate(outPutInf); in test_finish()
429 infl.inflate(outPutInf); in test_reset()
573 infl.inflate(outPutInf); in test_setInput$B()
610 infl.inflate(outPutInf); in test_setInput$BII()
851 infl.inflate(outPutInf); in test_ConstructorIZ()
868 infl.inflate(outPutInf); in test_ConstructorIZ()
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterTest.java43 assertEquals(0, inflater.inflate(decompressed)); in testDeflate()
49 assertEquals(0, inflater.inflate(decompressed)); in testDeflate()
56 assertEquals(0, inflater.inflate(decompressed)); in testDeflate()
65 totalInflated += inflater.inflate(decompressed, totalInflated,
/libcore/luni/src/main/java/java/util/zip/
DInflater.java211 public int inflate(byte[] buf) throws DataFormatException { in inflate() method in Inflater
212 return inflate(buf, 0, buf.length); in inflate()
230 public synchronized int inflate(byte[] buf, int off, int nbytes) in inflate() method in Inflater
DInflaterOutputStream.java157 while ((inflated = inf.inflate(buf)) > 0) { in write()
DInflaterInputStream.java183 int result = inf.inflate(buffer, off, nbytes); in read()
DZipInputStream.java341 read = inf.inflate(buffer, start, length); in read()
/libcore/luni/src/main/native/
Dzip.h51 void setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, bool inflate) { in setDictionary() argument
60 if (inflate) { in setDictionary()
Djava_util_zip_Inflater.cpp109 int err = inflate(&stream->stream, Z_SYNC_FLUSH); in Inflater_inflateImpl()