/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
D | ZipTestCase.java | 44 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/ |
D | DataDescriptorTest.java | 55 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()
|
D | Zip64SupportIT.java | 147 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 …]
|
D | ParallelScatterZipCreatorTest.java | 60 final ZipArchiveOutputStream zos = new ZipArchiveOutputStream(result); in concurrent() 76 final ZipArchiveOutputStream zos = new ZipArchiveOutputStream(result); in callableApi()
|
D | ScatterSampleTest.java | 55 final ZipArchiveOutputStream zipArchiveOutputStream = new ZipArchiveOutputStream(result); in createFile()
|
D | ZipFileTest.java | 168 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()
|
D | ScatterZipOutputStreamTest.java | 64 final ZipArchiveOutputStream outputStream = new ZipArchiveOutputStream(target); in putArchiveEntry()
|
D | UTF8ZipFilesTest.java | 263 ZipArchiveOutputStream zos = null; in createTestFile() 265 zos = new ZipArchiveOutputStream(file); in createTestFile() 269 ZipArchiveOutputStream in createTestFile() 271 : ZipArchiveOutputStream in createTestFile()
|
D | ScatterSample.java | 42 public void writeTo(final ZipArchiveOutputStream zipArchiveOutputStream) in writeTo()
|
D | ZipArchiveEntryTest.java | 213 final ZipArchiveOutputStream zos = in testCompressionMethod() 214 new ZipArchiveOutputStream(new ByteArrayOutputStream()); in testCompressionMethod()
|
D | X5455_ExtendedTimestampTest.java | 427 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/ |
D | ZipArchiveInputStream.java | 99 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 …]
|
D | ZipFile.java | 457 …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);
|
D | ScatterZipOutputStream.java | 108 public void writeTo(final ZipArchiveOutputStream target) throws IOException { in writeTo()
|
D | ParallelScatterZipCreator.java | 239 public void writeTo(final ZipArchiveOutputStream targetStream)
|
D | ZipArchiveOutputStream.java | 83 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/ |
D | JarArchiveOutputStream.java | 27 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/ |
D | Archiver.java | 37 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/ |
D | ArchiveStreamFactory.java | 47 import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream; 426 final ZipArchiveOutputStream zip = new ZipArchiveOutputStream(out);
|
/external/apache-commons-compress/ |
D | RELEASE-NOTES.txt | 289 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/ |
D | release-notes.vm | 551 o ZipArchiveInputStream and ZipArchiveOutputStream could leak
|