Home
last modified time | relevance | path

Searched refs:DEFLATED (Results 1 – 25 of 36) sorted by relevance

12

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipMethod.java103 DEFLATED(ZipEntry.DEFLATED), enumConstant
DZipArchiveOutputStream.java121 public static final int DEFLATED = java.util.zip.ZipEntry.DEFLATED; field in ZipArchiveOutputStream
172 private int method = java.util.zip.ZipEntry.DEFLATED;
596 if (entry.entry.getMethod() == DEFLATED) { in flushDeflater()
610 if (entry.entry.getMethod() == DEFLATED) { in handleSizesAndCrc()
783 if (entry.entry.getMethod() == DEFLATED && hasCompressionLevelChanged) { in putArchiveEntry()
1097 } else if (zipMethod == DEFLATED || channel != null) { in createLocalFileHeader()
1114 } else if (zipMethod == DEFLATED || channel != null) { in createLocalFileHeader()
1500 return !phased && zipMethod == DEFLATED && channel == null; in usesDataDescriptor()
1504 return zipMethod == DEFLATED ? DEFLATE_MIN_VERSION : INITIAL_VERSION; in versionNeededToExtractMethod()
1581 || ze.getMethod() != DEFLATED in getEffectiveZip64Mode()
DZipArchiveInputStream.java329 …f (ZipUtil.canHandleEntryData(current.entry) && m != ZipMethod.STORED && m != ZipMethod.DEFLATED) { in getNextZipEntry()
457 } else if (current.entry.getMethod() == ZipArchiveOutputStream.DEFLATED) { in read()
484 } else if (current.entry.getMethod() == ZipArchiveOutputStream.DEFLATED) { in getCompressedCount()
698 final long inB = current.entry.getMethod() == ZipArchiveOutputStream.DEFLATED in closeEntry()
851 || entry.getMethod() == ZipEntry.DEFLATED in supportsDataDescriptorFor()
861 || entry.getMethod() == ZipEntry.DEFLATED in supportsCompressedSizeFor()
DStreamCompressor.java186 if (method == ZipEntry.DEFLATED) { in deflate()
204 if (method == ZipEntry.DEFLATED) { in write()
DZipUtil.java334 || entry.getMethod() == ZipEntry.DEFLATED in supportsMethodOf()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DScatterZipOutputStreamTest.java54 zab.setMethod(ZipEntry.DEFLATED); in putArchiveEntry()
59 zae.setMethod(ZipEntry.DEFLATED); in putArchiveEntry()
DZipArchiveEntryTest.java223 entry.setMethod(ZipEntry.DEFLATED); in testCompressionMethod()
224 assertEquals(ZipEntry.DEFLATED, entry.getMethod()); in testCompressionMethod()
267 archiveEntry.setMethod(ZipEntry.DEFLATED); in testCopyConstructor()
DZip64SupportIT.java153 zae.setMethod(ZipEntry.DEFLATED); in write5GBZerosFile()
858 zae.setMethod(ZipEntry.DEFLATED);
1052 zae.setMethod(ZipEntry.DEFLATED);
1111 zae.setMethod(ZipEntry.DEFLATED);
1290 zae.setMethod(ZipEntry.DEFLATED);
1325 zae.setMethod(ZipEntry.DEFLATED);
1725 zae.setMethod(ZipEntry.DEFLATED);
1893 zae.setMethod(ZipEntry.DEFLATED);
2084 zae.setMethod(ZipEntry.DEFLATED);
2254 zae.setMethod(ZipEntry.DEFLATED);
DScatterSampleTest.java46 archiveEntry.setMethod(ZipEntry.DEFLATED); in createFile()
DStreamCompressorTest.java52 sc.deflate(new ByteArrayInputStream("AAAAAABBBBBB".getBytes()), ZipEntry.DEFLATED); in deflatedEntries()
DParallelScatterZipCreatorTest.java169 za.setMethod(ZipEntry.DEFLATED); in createZipArchiveEntry()
DZipFileTest.java432 inflatedEntry.setMethod(ZipEntry.DEFLATED); in testDelayedOffsetsAndSizes()
472 inflatedEntry.setMethod(ZipEntry.DEFLATED); in testEntryAlignment()
DZipArchiveInputStreamTest.java334 e.setMethod(ZipMethod.DEFLATED.getCode()); in properlyMarksEntriesAsUnreadableIfUncompressedSizeIsUnknown()
/external/u-boot/lib/
Dgunzip.c25 #define DEFLATED 8 macro
51 if (src[2] != DEFLATED || (flags & RESERVED) != 0) { in gzip_parse_header()
153 if (src[2] != DEFLATED || (flags & RESERVED) != 0) { in gzwrite()
/external/python/cpython2/Lib/test/
Dtest_zlib.py104 self.assertRaises(ValueError, zlib.compressobj, 1, zlib.DEFLATED, 0)
107 zlib.compressobj, 1, zlib.DEFLATED, zlib.MAX_WBITS + 1)
230 method = zlib.DEFLATED
645 co = zlib.compressobj(1, zlib.DEFLATED, 15)
657 co = zlib.compressobj(1, zlib.DEFLATED, 9)
665 co = zlib.compressobj(1, zlib.DEFLATED, -15)
671 co = zlib.compressobj(1, zlib.DEFLATED, -9)
678 co = zlib.compressobj(1, zlib.DEFLATED, 16 + 15)
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/
DGzipCompressorOutputStream.java95 buffer.put((byte) Deflater.DEFLATED); // compression method (8: deflate) in writeHeader()
DGzipCompressorInputStream.java202 if (method != Deflater.DEFLATED) { in init()
/external/python/cpython2/Demo/zlib/
Dminigzip.py37 compobj = zlib.compressobj(9, zlib.DEFLATED, -zlib.MAX_WBITS,
/external/archive-patcher/sharedtest/src/main/java/com/google/archivepatcher/shared/
DUnitTestZipArchive.java171 zipOut.setMethod(ZipOutputStream.DEFLATED); in makeTestZip()
/external/python/cpython3/Lib/test/
Dtest_zlib.py106 self.assertRaises(ValueError, zlib.compressobj, 1, zlib.DEFLATED, 0)
109 zlib.compressobj, 1, zlib.DEFLATED, zlib.MAX_WBITS + 1)
249 method = zlib.DEFLATED
271 method = zlib.DEFLATED
/external/python/cpython2/Modules/
Dzlibmodule.c47 #define DEFLATED 8 macro
384 int level=Z_DEFAULT_COMPRESSION, method=DEFLATED; in PyZlib_compressobj()
1140 PyModule_AddIntConstant(m, "DEFLATED", DEFLATED); in PyInit_zlib()
/external/python/cpython3/Modules/clinic/
Dzlibmodule.c.h135 int method = DEFLATED; in zlib_compressobj()
/external/python/cpython3/Modules/
Dzlibmodule.c25 #define DEFLATED 8 macro
1361 PyModule_AddIntMacro(m, DEFLATED); in PyInit_zlib()
/external/python/cpython3/Doc/library/
Dzlib.rst64 .. function:: compressobj(level=-1, method=DEFLATED, wbits=MAX_WBITS, memLevel=DEF_MEM_LEVEL, strat…
77 :const:`DEFLATED`.
/external/python/cpython2/Lib/
Dgzip.py123 zlib.DEFLATED,

12