Searched refs:inflate (Results 1 - 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | DeflaterTest.java | 43 assertEquals(0, inflater.inflate(decompressed)); 49 assertEquals(0, inflater.inflate(decompressed)); 56 assertEquals(0, inflater.inflate(decompressed)); 65 totalInflated += inflater.inflate(decompressed, totalInflated,
|
H A D | DeflaterInputStreamTest.java | 42 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray()))); 52 public byte[] inflate(byte[] bytes) throws IOException { method in class:DeflaterInputStreamTest 76 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray())));
|
H A D | InflaterTest.java | 52 assertEquals(0, inflater.inflate(new byte[8])); 60 // We use a tiny output buffer to ensure that we call inflate multiple times, and 70 int inflatedByteCount = inflater.inflate(buf); 99 assertEquals(0, inflater.inflate(new byte[0], 0, 0));
|
H A D | OldAndroidDeflateTest.java | 37 * Simple inflate/deflate test, taken from the reference docs for the 57 int resultLength = decompresser.inflate(result); 187 // inflate to current position in output buffer 190 compCount = inflater.inflate(outBuf, outPosn, LOCAL_BUF_SIZE);
|
/libcore/luni/src/main/java/java/util/zip/ |
H A D | Inflater.java | 37 * if (inflater.inflate(decompressedBytes) != decompressedByteCount) { 47 * <p>If you don't know how big the decompressed data will be, you can call {@link #inflate} 204 public int inflate(byte[] buf) throws DataFormatException { method in class:Inflater 205 return inflate(buf, 0, buf.length); 217 public synchronized int inflate(byte[] buf, int offset, int byteCount) throws DataFormatException { method in class:Inflater 239 * dictionary. This method should be called if the first call to {@link #inflate} returns 0, 242 * inflate} again. Use {@link #getAdler} to determine which dictionary is required.
|
H A D | InflaterOutputStream.java | 149 while ((inflated = inf.inflate(buf)) > 0) {
|
H A D | InflaterInputStream.java | 157 int result = inf.inflate(buffer, offset, byteCount);
|
H A D | ZipInputStream.java | 333 read = inf.inflate(buffer, offset, byteCount);
|
/libcore/luni/src/main/native/ |
H A D | zip.h | 52 void setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, bool inflate) { argument 61 if (inflate) {
|
H A D | java_util_zip_Inflater.cpp | 36 * zconf.h says the "requirements for inflate are (in bytes) 1 << windowBits 101 int err = inflate(&stream->stream, Z_SYNC_FLUSH);
|
Completed in 80 milliseconds