Home
last modified time | relevance | path

Searched refs:ZipArchiveOutputStream (Results 1 – 21 of 21) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DZipTestCase.java44 import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
132 try (ZipArchiveOutputStream os = new ZipArchiveOutputStream(channel)) { in testZipArchiveCreationInMemory()
292 ZipArchiveOutputStream zos = null; in testDirectoryEntryFromFile()
297 zos = new ZipArchiveOutputStream(archive); in testDirectoryEntryFromFile()
328 ZipArchiveOutputStream zos = null; in testExplicitDirectoryEntry()
333 zos = new ZipArchiveOutputStream(archive); in testExplicitDirectoryEntry()
376 try (final ZipArchiveOutputStream zos = new ZipArchiveOutputStream(a1)) { in testCopyRawEntriesFromFile()
382 try (final ZipArchiveOutputStream zos1 = new ZipArchiveOutputStream(a2)) { in testCopyRawEntriesFromFile()
389 try (final ZipArchiveOutputStream zos2 = new ZipArchiveOutputStream(fileResult)) { in testCopyRawEntriesFromFile()
406 try (final ZipArchiveOutputStream zos1 = new ZipArchiveOutputStream(reference)) { in testCopyRawZip64EntryFromFile()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DDataDescriptorTest.java55 try (ZipArchiveOutputStream zos = new ZipArchiveOutputStream(o)) { in writesDataDescriptorForDeflatedEntryOnUnseekableOutput()
95 try (ZipArchiveOutputStream zos = new ZipArchiveOutputStream(f)) { in doesntWriteDataDescriptorForDeflatedEntryOnSeekableOutput()
137 try (ZipArchiveOutputStream zos = new ZipArchiveOutputStream(init)) { in doesntWriteDataDescriptorWhenAddingRawEntries()
151 ZipArchiveOutputStream zos = new ZipArchiveOutputStream(o)) { in doesntWriteDataDescriptorWhenAddingRawEntries()
DZip64SupportIT.java147 final ZipArchiveOutputStream zos = new ZipArchiveOutputStream(f); in write5GBZerosFile()
208 public void test(final File f, final ZipArchiveOutputStream zos) in write100KFiles()
323 public void test(final File f, final ZipArchiveOutputStream zos)
352 final ZipArchiveOutputStream zos)
376 public void test(final File f, final ZipArchiveOutputStream zos)
512 public void test(final File f, final ZipArchiveOutputStream zos)
545 final ZipArchiveOutputStream zos)
595 public void test(final File f, final ZipArchiveOutputStream zos)
789 public void test(final File f, final ZipArchiveOutputStream zos)
848 final ZipArchiveOutputStream zos)
[all …]
DParallelScatterZipCreatorTest.java60 final ZipArchiveOutputStream zos = new ZipArchiveOutputStream(result); in concurrent()
76 final ZipArchiveOutputStream zos = new ZipArchiveOutputStream(result); in callableApi()
DScatterSampleTest.java55 final ZipArchiveOutputStream zipArchiveOutputStream = new ZipArchiveOutputStream(result); in createFile()
DZipFileTest.java168 final ZipArchiveOutputStream zo = new ZipArchiveOutputStream(o); in testReadingOfStoredEntry()
430 try (ZipArchiveOutputStream zipOutput = new ZipArchiveOutputStream(zipContent)) { in testDelayedOffsetsAndSizes()
470 try (ZipArchiveOutputStream zipOutput = new ZipArchiveOutputStream(zipContent)) { in testEntryAlignment()
568 try (ZipArchiveOutputStream zipOutput = new ZipArchiveOutputStream(zipContent)) { in testEntryAlignmentExceed()
DScatterZipOutputStreamTest.java64 final ZipArchiveOutputStream outputStream = new ZipArchiveOutputStream(target); in putArchiveEntry()
DUTF8ZipFilesTest.java263 ZipArchiveOutputStream zos = null; in createTestFile()
265 zos = new ZipArchiveOutputStream(file); in createTestFile()
269 ZipArchiveOutputStream in createTestFile()
271 : ZipArchiveOutputStream in createTestFile()
DScatterSample.java42 public void writeTo(final ZipArchiveOutputStream zipArchiveOutputStream) in writeTo()
DZipArchiveEntryTest.java213 final ZipArchiveOutputStream zos = in testCompressionMethod()
214 new ZipArchiveOutputStream(new ByteArrayOutputStream()); in testCompressionMethod()
DX5455_ExtendedTimestampTest.java427 ZipArchiveOutputStream os = null; in testWriteReadRoundtrip()
429 os = new ZipArchiveOutputStream(out); in testWriteReadRoundtrip()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveInputStream.java99 private final ByteBuffer buf = ByteBuffer.allocate(ZipArchiveOutputStream.BUFFER_SIZE);
455 if (current.entry.getMethod() == ZipArchiveOutputStream.STORED) { in read()
457 } else if (current.entry.getMethod() == ZipArchiveOutputStream.DEFLATED) { in read()
482 if (current.entry.getMethod() == ZipArchiveOutputStream.STORED) { in getCompressedCount()
484 } else if (current.entry.getMethod() == ZipArchiveOutputStream.DEFLATED) { in getCompressedCount()
646 if (length < ZipArchiveOutputStream.LFH_SIG.length) { in matches()
650 return checksig(signature, ZipArchiveOutputStream.LFH_SIG) // normal file in matches()
651 || checksig(signature, ZipArchiveOutputStream.EOCD_SIG) // empty zip in matches()
652 || checksig(signature, ZipArchiveOutputStream.DD_SIG) // split zip in matches()
698 final long inB = current.entry.getMethod() == ZipArchiveOutputStream.DEFLATED in closeEntry()
[all …]
DZipFile.java457 …public void copyRawEntries(final ZipArchiveOutputStream target, final ZipArchiveEntryPredicate pre… in copyRawEntries()
603 ZipLong.getValue(ZipArchiveOutputStream.CFH_SIG);
891 found = Arrays.equals(ZipArchiveOutputStream.ZIP64_EOCD_LOC_SIG,
923 if (!Arrays.equals(wordBuf, ZipArchiveOutputStream.ZIP64_EOCD_SIG)) {
956 ZipArchiveOutputStream.EOCD_SIG);
1089 return Arrays.equals(wordBuf, ZipArchiveOutputStream.LFH_SIG);
DScatterZipOutputStream.java108 public void writeTo(final ZipArchiveOutputStream target) throws IOException { in writeTo()
DParallelScatterZipCreator.java239 public void writeTo(final ZipArchiveOutputStream targetStream)
DZipArchiveOutputStream.java83 public class ZipArchiveOutputStream extends ArchiveOutputStream { class
273 public ZipArchiveOutputStream(final OutputStream out) { in ZipArchiveOutputStream() method in ZipArchiveOutputStream
286 public ZipArchiveOutputStream(final File file) throws IOException { in ZipArchiveOutputStream() method in ZipArchiveOutputStream
321 public ZipArchiveOutputStream(SeekableByteChannel channel) throws IOException { in ZipArchiveOutputStream() method in ZipArchiveOutputStream
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/jar/
DJarArchiveOutputStream.java27 import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
36 public class JarArchiveOutputStream extends ZipArchiveOutputStream {
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DArchiver.java37 import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
116 create(new ZipArchiveOutputStream(target), directory); in create()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DArchiveStreamFactory.java47 import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
426 final ZipArchiveOutputStream zip = new ZipArchiveOutputStream(out);
/external/apache-commons-compress/
DRELEASE-NOTES.txt289 ZipArchiveOutputStream can now work on non-file resources if
495 and createCentralFileHeader in ZipArchiveOutputStream.
498 o New methods in ZipArchiveOutputStream and ZipFile allows
951 o ZipArchiveInputStream and ZipArchiveOutputStream could leak
/external/apache-commons-compress/src/changes/
Drelease-notes.vm551 o ZipArchiveInputStream and ZipArchiveOutputStream could leak