Searched refs:deflate (Results 1 - 25 of 25) sorted by relevance

/openjdk7/jdk/src/share/test/pack200/
H A Dpack.conf28 pack.deflate.hint=false
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DDeflaterOutputStream.java35 * the "deflate" compression format. It is also used as the basis for other
211 deflate();
226 deflate();
250 protected void deflate() throws IOException { method in class:DeflaterOutputStream
251 int len = def.deflate(buf, 0, buf.length);
275 while ((len = def.deflate(buf, 0, buf.length, Deflater.SYNC_FLUSH)) > 0)
H A DDeflater.java51 * int compressedDataLength = compresser.deflate(output);
86 * Compression method for the deflate algorithm (the only one currently
131 * @see Deflater#deflate(byte[], int, int, int)
140 * @see Deflater#deflate(byte[], int, int, int)
150 * @see Deflater#deflate(byte[], int, int, int)
341 * An invocation of this method of the form {@code deflater.deflate(b, off, len)}
343 * {@code deflater.deflate(b, off, len, Deflater.NO_FLUSH)}.
351 public int deflate(byte[] b, int off, int len) { method in class:Deflater
352 return deflate(b, off, len, NO_FLUSH);
362 * An invocation of this method of the form {@code deflater.deflate(
370 public int deflate(byte[] b) { method in class:Deflater
418 public int deflate(byte[] b, int off, int len, int flush) { method in class:Deflater
[all...]
H A DGZIPOutputStream.java160 int len = def.deflate(buf, 0, buf.length);
H A DDeflaterInputStream.java33 * Implements an input stream filter for compressing data in the "deflate"
182 // Read and compress (deflate) input data bytes
199 n = def.deflate(b, off, len);
H A DZipOutputStream.java238 deflate();
/openjdk7/jdk/test/java/util/zip/
H A DBounds.java56 (new Deflater()).deflate(b, offset, length);
H A DFlaterCriticalArray.java96 deflated = deflate(data, level);
113 abstract protected byte[] deflate(byte data[], int level) throws Throwable; method in class:FlaterCriticalArray.TestCase
129 protected byte[] deflate(byte in[], int level) throws Throwable { method in class:FlaterCriticalArray.StrideTest
138 int n = deflater.deflate(smallBuffer);
147 n = deflater.deflate(smallBuffer);
183 public byte[] deflate(byte in[], int level) throws Throwable { method in class:FlaterCriticalArray.NoStrideTest
191 while ((n = flater.deflate(smallBuffer)) > 0) {
223 public byte[] deflate(byte data[], int ignored) throws Throwable { method in class:FlaterCriticalArray.GZIPTest
H A DInflaterBufferSize.java72 private static byte[] deflate(byte[] in, int level) throws Throwable { method in class:InflaterBufferSize
80 while ((n = flater.deflate(smallBuffer)) > 0) {
128 deflated = deflate(data, level);
H A DFlaterTest.java71 rc = deflater.deflate(out);
112 + " threads to deflate/inflate: " + time + " ms.");
143 deflater.deflate(out);
H A DTotalInOut.java66 int n = deflater.deflate(tmp, 0, len);
/openjdk7/jdk/make/java/zip/
H A DFILES_c.gmk37 deflate.c \
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DUnpackerImpl.java234 boolean deflate;
236 deflate = (keepDeflateHint)
241 boolean needCRC = !deflate; // STORE mode requires CRC
254 je.setMethod(deflate ? JarEntry.DEFLATED : JarEntry.STORED);
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dcompress.c73 err = deflate(&stream, Z_FINISH);
H A Dzconf.h44 # define deflate z_deflate macro
178 /* The memory requirements for deflate are (in bytes):
H A Dzlib.h52 (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
82 around a deflate stream, which is itself documented in RFC 1951.
87 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream.
192 /* Allowed flush values; see deflate() and inflate() below for details */
227 /* The deflate compression method (the only one supported in this version) */
262 perform any compression: this will be done by deflate().
266 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
268 deflate compresses as much data as possible, and stops when the input
273 The detailed semantics are as follows. deflate performs one or both of the
279 processing will resume at this point for the next call of deflate()
[all...]
H A Dgzio.c93 z_off_t in; /* bytes into deflate or inflate */
94 z_off_t out; /* bytes out of deflate or inflate */
608 s->z_err = deflate(&(s->stream), Z_NO_FLUSH);
727 flush is as in the deflate() function.
754 s->z_err = deflate(&(s->stream), flush);
760 /* deflate has finished flushing only when it hasn't used up
H A Ddeflate.c25 /* deflate.c -- compress data using the deflation algorithm
76 #include "deflate.h"
79 " deflate 1.2.3 Copyright 1995-2005 Jean-loup Gailly ";
93 finish_started, /* finish started, need only more output at next deflate */
139 * See deflate.c for comments about the MIN_MATCH+1.
176 /* Note: the deflate() code requires max_lazy >= MIN_MATCH and max_chain >= 4
400 s->wrap = -s->wrap; /* was made negative by deflate(..., Z_FINISH); */
464 err = deflate(strm, Z_PARTIAL_FLUSH);
505 * resulting from using fixed blocks instead of stored blocks, which deflate
551 * Flush as much pending output as possible. All deflate() outpu
576 int ZEXPORT deflate (strm, flush) function
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dzip.cpp116 // Compression method 8=deflate.
178 // Compression method = deflate
274 bool deflate = (deflate_hint && len > 0); local
276 if (deflate) {
280 deflate = false;
283 clen = (int)((deflate) ? deflated.size() : len);
284 add_to_jar_directory(fname, !deflate, modtime, len, clen, crc);
285 write_jar_header( fname, !deflate, modtime, len, clen, crc);
287 if (deflate) {
372 PRINTCR((2, "Error: deflate erro
[all...]
/openjdk7/jdk/make/sun/splashscreen/
H A DFILES_c.gmk100 deflate.c \
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/
H A DPNGImageWriter.java215 deflate();
220 public void deflate() throws IOException { method in class:IDATOutputStream
221 int len = def.deflate(buf, 0, buf.length);
251 deflate();
674 private byte[] deflate(byte[] b) throws IOException { method in class:PNGImageWriter
711 cs.write(deflate(text.getBytes("UTF8")));
734 cs.write(deflate(text.getBytes("ISO-8859-1")));
/openjdk7/jdk/src/share/native/java/util/zip/
H A DDeflater.c190 res = deflate(strm, finish ? Z_FINISH : flush);
/openjdk7/jdk/make/com/sun/java/pack/
H A DMakefile64 $(ZIPOBJDIR)/deflate.$(OBJECT_SUFFIX) \
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngwutil.c440 ret = deflate(&png_ptr->zstream, Z_NO_FLUSH);
504 ret = deflate(&png_ptr->zstream, Z_FINISH);
2223 ret = deflate(&png_ptr->zstream, Z_FINISH);
2500 * with window size <= deflate window (usually 32K)
3163 ret = deflate(&png_ptr->zstream, Z_NO_FLUSH);
H A Dpngwrite.c863 ret = deflate(&png_ptr->zstream, Z_SYNC_FLUSH);

Completed in 7614 milliseconds