Home
last modified time | relevance | path

Searched refs:inflate (Results 1 – 24 of 24) 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.java89 infl.inflate(outPutInf); in test_deflate$B()
133 infl.inflate(outPutInf); in test_deflate$BII()
217 infl.inflate(outPutInf); in test_finish()
416 infl.inflate(outPutInf); in test_reset()
562 infl.inflate(outPutInf); in test_setInput$B()
599 infl.inflate(outPutInf); in test_setInput$BII()
843 infl.inflate(outPutInf); in test_ConstructorIZ()
860 infl.inflate(outPutInf); in test_ConstructorIZ()
/libcore/ojluni/src/test/java/util/zip/
DDeInflate.java61 int n = inf.inflate(out2); in checkStream()
65 inf.inflate(out2) != 0) { in checkStream()
88 int n = inf.inflate(out2); in checkByteBuffer()
95 inf.inflate(result) != 0) { in checkByteBuffer()
118 inf.inflate(out2); in checkByteBufferReadonly()
160 int temp_counter = inf.inflate(tempBuffer); in check()
167 inf.inflate(out2) != 0) { in check()
222 n = inf.inflate(dstInf); in checkDict()
227 n = inf.inflate(dstInf); in checkDict()
251 n = inf.inflate(dstInf); in checkDict()
[all …]
DDeflaterDictionaryTests.java108 int resultLength = inflater.inflate(result); in testByteArray()
112 resultLength = inflater.inflate(result); in testByteArray()
156 int resultLength = inflater.inflate(result); in testHeapByteBuffer()
160 resultLength = inflater.inflate(result); in testHeapByteBuffer()
210 int resultLength = inflater.inflate(result); in testByteBufferDirect()
214 resultLength = inflater.inflate(result); in testByteBufferDirect()
/libcore/ojluni/annotations/flagged_api/java/util/zip/
DInflater.annotated.java59 public int inflate(byte[] output, int off, int len) throws java.util.zip.DataFormatException { thro… in inflate() method in Inflater
61 public int inflate(byte[] output) throws java.util.zip.DataFormatException { throw new RuntimeExcep… in inflate() method in Inflater
64 public int inflate(java.nio.ByteBuffer output) throws java.util.zip.DataFormatException { throw new… in inflate() method in Inflater
/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/lang/
DAbstractStringBuilder.java229 private void inflate() { in inflate() method in AbstractStringBuilder
234 StringLatin1.inflate(value, 0, buf, 0, count); in inflate()
499 inflate(); in setCharAt()
564 inflate(); in append()
758 inflate(); in append()
1310 inflate(); in insert()
1607 StringLatin1.inflate(value, 0, dst, dstBegin, count);
1640 inflate();
1658 inflate();
1670 inflate();
[all …]
DStringLatin1.java74 inflate(value, 0, dst, 0, value.length); in toChars()
78 public static byte[] inflate(byte[] value, int off, int len) { in inflate() method in StringLatin1
80 inflate(value, off, ret, 0, len); in inflate()
85 inflate(value, srcBegin, dst, dstBegin, srcEnd - srcBegin); in getChars()
747 public static void inflate(byte[] src, int srcOff, char[] dst, int dstOff, int len) { in inflate() method in StringLatin1
755 public static void inflate(byte[] src, int srcOff, byte[] dst, int dstOff, int len) { in inflate() method in StringLatin1
756 StringUTF16.inflate(src, srcOff, dst, dstOff, len); in inflate()
DStringUTF16.java1650 public static void inflate(byte[] src, int srcOff, byte[] dst, int dstOff, int len) {
/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/java/java/util/zip/
DInflaterOutputStream.java154 n = inf.inflate(buf, 0, buf.length); in flush()
246 n = inf.inflate(buf, 0, buf.length); in write()
DInflater.java375 public int inflate(byte[] output, int off, int len) in inflate() method in Inflater
475 public int inflate(byte[] output) throws DataFormatException { in inflate() method in Inflater
476 return inflate(output, 0, output.length); in inflate()
513 public int inflate(ByteBuffer output) throws DataFormatException { in inflate() method in Inflater
DInflaterInputStream.java204 while ((n = inf.inflate(b, off, len)) == 0) { in read()
/libcore/ojluni/src/test/java/util/zip/ZipFile/
DTestCleaner.java90 n = inf.inflate(buf2); in testDeInflater()
/libcore/ojluni/src/main/native/
DInflater.c143 ret = inflate(strm, Z_PARTIAL_FLUSH); in doInflate()
Dzip_util.c1543 switch (inflate(&strm, Z_PARTIAL_FLUSH)) { in InflateFully()
/libcore/api/
Dcurrent.txt18625 method public int inflate(byte[], int, int) throws java.util.zip.DataFormatException;
18626 method public int inflate(byte[]) throws java.util.zip.DataFormatException;
18627 …method @FlaggedApi("com.android.libcore.v_apis") public int inflate(java.nio.ByteBuffer) throws ja…