Searched refs:inf (Results 1 - 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/util/zip/
H A DInflaterInputStream.java47 protected Inflater inf; field in class:InflaterInputStream
79 * @param inf the decompressor ("inflater")
83 public InflaterInputStream(InputStream in, Inflater inf, int size) { argument
85 if (in == null || inf == null) {
90 this.inf = inf;
98 * @param inf the decompressor ("inflater")
100 public InflaterInputStream(InputStream in, Inflater inf) { argument
101 this(in, inf, 512);
152 while ((n = inf
[all...]
H A DInflaterOutputStream.java46 protected final Inflater inf; field in class:InflaterOutputStream
115 inf = infl;
148 if (!inf.finished()) {
150 while (!inf.finished() && !inf.needsInput()) {
154 n = inf.inflate(buf, 0, buf.length);
188 inf.end();
238 if (inf.needsInput()) {
246 inf.setInput(b, off, part);
253 n = inf
[all...]
H A DZipFile.java386 Inflater inf = getInflater();
388 new ZipFileInflaterInputStream(in, inf, (int)size);
390 streams.put(is, inf);
404 ZipFileInflaterInputStream(ZipFileInputStream zfin, Inflater inf, argument
406 super(zfin, inf, size);
416 Inflater inf;
418 inf = streams.remove(this);
420 if (inf != null) {
421 releaseInflater(inf);
438 inf
473 releaseInflater(Inflater inf) argument
[all...]
H A DGZIPInputStream.java211 int n = inf.getRemaining();
219 (readUInt(in) != (inf.getBytesWritten() & 0xffffffffL)))
223 // the leftover in the "inf" is > 26 bytes:
233 inf.reset();
235 inf.setInput(buf, len - n + m, n - m);
H A DZipInputStream.java120 inf.reset();
373 int n = inf.getRemaining();
379 if (inf.getBytesWritten() > ZIP64_MAGICVAL ||
380 inf.getBytesRead() > ZIP64_MAGICVAL) {
411 if (e.size != inf.getBytesWritten()) {
414 " but got " + inf.getBytesWritten() + " bytes)");
416 if (e.csize != inf.getBytesRead()) {
419 " but got " + inf.getBytesRead() + " bytes)");
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DAuthCacheImpl.java64 AuthenticationInfo inf = (AuthenticationInfo)iter.next();
65 if (inf.path == null || inf.path.startsWith (skey)) {
87 AuthenticationInfo inf = (AuthenticationInfo)iter.next();
88 if (skey.startsWith (inf.path)) {
89 return inf;
106 AuthenticationInfo inf = (AuthenticationInfo)iter.next();
107 if (entry.equals(inf)) {
/libcore/ojluni/src/main/native/
H A DInet4AddressImpl.c200 struct sockaddr_in inf; local
207 memset((char *) &inf, 0, sizeof(inf));
233 inf.sin_addr.s_addr = addr;
234 inf.sin_family = AF_INET;
235 inf.sin_port = 0;
236 netif = &inf;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DInflaterTest.java552 Inflater inf = new Inflater();
553 assertFalse(inf.needsDictionary());
554 assertEquals(0, inf.getTotalIn());
555 assertEquals(0, inf.getTotalOut());
556 assertEquals(0, inf.getBytesRead());
557 assertEquals(0, inf.getBytesWritten());
558 assertEquals(1, inf.getAdler());
764 Inflater inf = new Inflater();
777 inf.setInput(output);
778 int compressedDataLength = inf
[all...]
H A DInflaterInputStreamTest.java484 Inflater inf = new Inflater();
486 InflaterInputStream iis = new InflaterInputStream(base, inf, 512);
489 inf.reset();
495 inf = new Inflater();
496 iis = new InflaterInputStream(base, inf);
499 inf.reset();
H A DDeflaterTest.java1059 Deflater inf = new Deflater();
1060 assertEquals(0, inf.getTotalIn());
1061 assertEquals(0, inf.getTotalOut());
1062 assertEquals(0, inf.getBytesRead());
1063 assertEquals(0, inf.getBytesWritten());
/libcore/ojluni/src/main/java/java/net/
H A DMulticastSocket.java456 * @param inf the InetAddress
461 public void setInterface(InetAddress inf) throws SocketException { argument
465 checkAddress(inf, "setInterface");
467 getImpl().setOption(SocketOptions.IP_MULTICAST_IF, inf);
468 infAddress = inf;
H A DInet6AddressImpl.java219 private native boolean isReachable0(byte[] addr, int scope, int timeout, byte[] inf, int ttl, int if_scope) throws IOException; argument

Completed in 143 milliseconds