Home
last modified time | relevance | path

Searched refs:inf (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/util/zip/
DInflaterInputStream.java47 protected Inflater inf; field in InflaterInputStream
96 public InflaterInputStream(InputStream in, Inflater inf, int size) { in InflaterInputStream() argument
98 if (in == null || inf == null) { in InflaterInputStream()
103 this.inf = inf; in InflaterInputStream()
113 public InflaterInputStream(InputStream in, Inflater inf) { in InflaterInputStream() argument
114 this(in, inf, 512); in InflaterInputStream()
171 while ((n = inf.inflate(b, off, len)) == 0) { in read()
172 if (inf.finished() || inf.needsDictionary()) { in read()
176 if (inf.needsInput()) { in read()
204 } else if (inf.finished()) { in available()
[all …]
DInflaterOutputStream.java46 protected final Inflater inf; field in InflaterOutputStream
115 inf = infl; in InflaterOutputStream()
148 if (!inf.finished()) { in flush()
150 while (!inf.finished() && !inf.needsInput()) { in flush()
154 n = inf.inflate(buf, 0, buf.length); in flush()
188 inf.end(); in finish()
238 if (inf.needsInput()) { in write()
246 inf.setInput(b, off, part); in write()
253 n = inf.inflate(buf, 0, buf.length); in write()
260 if (inf.finished()) { in write()
[all …]
DZipFile.java433 Inflater inf = getInflater(); in getInputStream() local
435 new ZipFileInflaterInputStream(in, inf, (int)size); in getInputStream()
437 streams.put(is, inf); in getInputStream()
451 ZipFileInflaterInputStream(ZipFileInputStream zfin, Inflater inf, in ZipFileInflaterInputStream() argument
453 super(zfin, inf, size); in ZipFileInflaterInputStream()
463 Inflater inf; in close() local
465 inf = streams.remove(this); in close()
467 if (inf != null) { in close()
468 releaseInflater(inf); in close()
485 inf.setInput(buf, 0, len); in fill()
[all …]
DZipInputStream.java123 inf.reset(); in getNextEntry()
366 int n = inf.getRemaining(); in readEnd()
372 if (inf.getBytesWritten() > ZIP64_MAGICVAL || in readEnd()
373 inf.getBytesRead() > ZIP64_MAGICVAL) { in readEnd()
404 if (e.size != inf.getBytesWritten()) { in readEnd()
407 " but got " + inf.getBytesWritten() + " bytes)"); in readEnd()
409 if (e.csize != inf.getBytesRead()) { in readEnd()
412 " but got " + inf.getBytesRead() + " bytes)"); in readEnd()
DGZIPInputStream.java85 inf.end(); in GZIPInputStream()
222 int n = inf.getRemaining(); in readTrailer()
233 (readUInt(in) != (inf.getBytesWritten() & 0xffffffffL))) in readTrailer()
247 inf.reset(); in readTrailer()
249 inf.setInput(buf, len - n + m, n - m); in readTrailer()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterTest.java572 Inflater inf = new Inflater(); in test_needsDictionary() local
573 assertFalse(inf.needsDictionary()); in test_needsDictionary()
574 assertEquals(0, inf.getTotalIn()); in test_needsDictionary()
575 assertEquals(0, inf.getTotalOut()); in test_needsDictionary()
576 assertEquals(0, inf.getBytesRead()); in test_needsDictionary()
577 assertEquals(0, inf.getBytesWritten()); in test_needsDictionary()
578 assertEquals(1, inf.getAdler()); in test_needsDictionary()
579 inf.end(); in test_needsDictionary()
789 Inflater inf = new Inflater(); in test_getBytesRead() local
802 inf.setInput(output); in test_getBytesRead()
[all …]
DInflaterInputStreamTest.java493 Inflater inf = new Inflater(); in testInflaterInputStreamWithExternalInflater_3ArgConstructor() local
495 InflaterInputStream iis = new InflaterInputStream(base, inf, 512); in testInflaterInputStreamWithExternalInflater_3ArgConstructor()
498 inf.reset(); in testInflaterInputStreamWithExternalInflater_3ArgConstructor()
508 Inflater inf = new Inflater(); in testInflaterInputStreamWithExternalInflater_2ArgConstructor() local
509 InflaterInputStream iis = new InflaterInputStream(base, inf); in testInflaterInputStreamWithExternalInflater_2ArgConstructor()
512 inf.reset(); in testInflaterInputStreamWithExternalInflater_2ArgConstructor()
DDeflaterTest.java1069 Deflater inf = new Deflater(); in test_needsDictionary() local
1070 assertEquals(0, inf.getTotalIn()); in test_needsDictionary()
1071 assertEquals(0, inf.getTotalOut()); in test_needsDictionary()
1072 assertEquals(0, inf.getBytesRead()); in test_needsDictionary()
1073 assertEquals(0, inf.getBytesWritten()); in test_needsDictionary()
1074 inf.end(); in test_needsDictionary()
/libcore/ojluni/src/main/java/java/net/
DMulticastSocket.java467 public void setInterface(InetAddress inf) throws SocketException { in setInterface() argument
471 checkAddress(inf, "setInterface"); in setInterface()
473 getImpl().setOption(SocketOptions.IP_MULTICAST_IF, inf); in setInterface()
474 infAddress = inf; in setInterface()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipFile.java82 private void releaseInflater(java.util.zip.Inflater inf) { in releaseInflater() argument
264 java.util.zip.Inflater inf, in ZipFileInflaterInputStream() argument
/libcore/api/
Dcurrent.txt17036 field protected java.util.zip.Inflater inf;
17046 field protected final java.util.zip.Inflater inf;