Searched defs:deflate (Results 1 - 8 of 8) sorted by relevance

/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...]
/openjdk7/jdk/test/java/util/zip/
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 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
/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/src/share/native/java/util/zip/zlib-1.2.3/
H A Dzconf.h44 # define deflate z_deflate macro
178 /* The memory requirements for deflate are (in bytes):
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/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")));

Completed in 310 milliseconds