Home
last modified time | relevance | path

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

12

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArchiveOutputStreamTest.java46 aos1.putArchiveEntry(new ZipArchiveEntry("dummy")); in testFinish()
55 aos1.putArchiveEntry(new JarArchiveEntry("dummy")); in testFinish()
64 aos1.putArchiveEntry(new ArArchiveEntry("dummy", 100)); in testFinish()
73 aos1.putArchiveEntry(new CpioArchiveEntry("dummy")); in testFinish()
82 aos1.putArchiveEntry(new TarArchiveEntry("dummy")); in testFinish()
96 aos1.putArchiveEntry(new ZipArchiveEntry("dummy")); in testOptionalFinish()
103 aos1.putArchiveEntry(new JarArchiveEntry("dummy")); in testOptionalFinish()
146 aos1.putArchiveEntry(aos1.createArchiveEntry(dummy, "dummy")); in doCallSequence()
162 aos1.putArchiveEntry(aos1.createArchiveEntry(dummy, "dummy")); in doCallSequence()
202 aos1.putArchiveEntry(aos1.createArchiveEntry(dummy, "dummy")); in createArchiveWithDummyEntry()
DArTestCase.java50 os.putArchiveEntry(new ArArchiveEntry("test1.xml", file1.length())); in testArArchiveCreation()
54 os.putArchiveEntry(new ArArchiveEntry("test2.xml", file2.length())); in testArArchiveCreation()
70 os.putArchiveEntry(new ArArchiveEntry("test1.xml", file1.length())); in testArUnarchive()
74 os.putArchiveEntry(new ArArchiveEntry("test2.xml", file2.length())); in testArUnarchive()
106 os.putArchiveEntry(new ArArchiveEntry("test1.xml", file1.length())); in testArDelete()
110 os.putArchiveEntry(new ArArchiveEntry("test2.xml", file2.length())); in testArDelete()
141 aos.putArchiveEntry(entry); in testArDelete()
203 aos.putArchiveEntry(in); in XtestDirectoryEntryFromFile()
246 aos.putArchiveEntry(in); in XtestExplicitDirectoryEntry()
285 aos.putArchiveEntry(in); in testFileEntryFromFile()
[all …]
DCpioTestCase.java50 os.putArchiveEntry(new CpioArchiveEntry("test1.xml", file1.length())); in testCpioArchiveCreation()
54 os.putArchiveEntry(new CpioArchiveEntry("test2.xml", file2.length())); in testCpioArchiveCreation()
75 os.putArchiveEntry(entry); in testCpioUnarchive()
81 os.putArchiveEntry(entry); in testCpioUnarchive()
128 tos.putArchiveEntry(in); in testDirectoryEntryFromFile()
170 tos.putArchiveEntry(in); in testExplicitDirectoryEntry()
209 tos.putArchiveEntry(in); in testFileEntryFromFile()
261 tos.putArchiveEntry(in); in testExplicitFileEntry()
DTarTestCase.java54 os.putArchiveEntry(entry); in testTarArchiveCreation()
78 os.putArchiveEntry(entry); in testTarArchiveLongNameCreation()
101 os2.putArchiveEntry(entry); in testTarArchiveLongNameCreation()
150 tos.putArchiveEntry(in); in testDirectoryEntryFromFile()
191 tos.putArchiveEntry(in); in testExplicitDirectoryEntry()
230 tos.putArchiveEntry(in); in testFileEntryFromFile()
281 tos.putArchiveEntry(in); in testExplicitFileEntry()
DZipTestCase.java71 os.putArchiveEntry(new ZipArchiveEntry("testdata/test1.xml")); in testZipArchiveCreation()
75 os.putArchiveEntry(new ZipArchiveEntry("testdata/test2.xml")); in testZipArchiveCreation()
133 os.putArchiveEntry(new ZipArchiveEntry("testdata/test1.xml")); in testZipArchiveCreationInMemory()
137 os.putArchiveEntry(new ZipArchiveEntry("testdata/test2.xml")); in testZipArchiveCreationInMemory()
300 zos.putArchiveEntry(in); in testDirectoryEntryFromFile()
337 zos.putArchiveEntry(in); in testExplicitDirectoryEntry()
508 zos.putArchiveEntry(in); in createArchiveEntry()
526 zos.putArchiveEntry(in); in testFileEntryFromFile()
573 zos.putArchiveEntry(in); in testExplicitFileEntry()
DJarTestCase.java45 os.putArchiveEntry(new ZipArchiveEntry("testdata/test1.xml")); in testJarArchiveCreation()
49 os.putArchiveEntry(new ZipArchiveEntry("testdata/test2.xml")); in testJarArchiveCreation()
DSevenZTestCase.java102 outArchive.putArchiveEntry(entry); in createArchive()
107 outArchive.putArchiveEntry(entry); in createArchive()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStreamTest.java65 tarOut.putArchiveEntry(sEntry); in testCount()
88 tos.putArchiveEntry(t); in testMaxFileSizeError()
92 tos.putArchiveEntry(t); in testMaxFileSizeError()
105 tos.putArchiveEntry(t); in testBigNumberStarMode()
131 tos.putArchiveEntry(t); in testBigNumberPosixMode()
212 tos.putArchiveEntry(t); in writePaxHeader()
231 tos.putArchiveEntry(t); in testWriteLongFileNamePosixMode()
253 tos.putArchiveEntry(t); in testOldEntryStarMode()
284 tos.putArchiveEntry(t); in testOldEntryPosixMode()
317 tos.putArchiveEntry(t); in testOldEntryError()
[all …]
DTarArchiveEntryTest.java68 tout.putArchiveEntry(t); in testTarFileWithFSRoot()
72 tout.putArchiveEntry(t); in testTarFileWithFSRoot()
78 tout.putArchiveEntry(t); in testTarFileWithFSRoot()
84 tout.putArchiveEntry(t); in testTarFileWithFSRoot()
148 tos.putArchiveEntry(entry); in testExtraPaxHeaders()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DExpanderTest.java161 aos.putArchiveEntry(aos.createArchiveEntry(dir, "a")); in setup7z()
163 aos.putArchiveEntry(aos.createArchiveEntry(dir, "a/b")); in setup7z()
165 aos.putArchiveEntry(aos.createArchiveEntry(dir, "a/b/c")); in setup7z()
167 aos.putArchiveEntry(aos.createArchiveEntry(dummy, "a/b/d.txt")); in setup7z()
170 aos.putArchiveEntry(aos.createArchiveEntry(dummy, "a/b/c/e.txt")); in setup7z()
185 aos.putArchiveEntry(aos.createArchiveEntry(dir, "a")); in setupZip()
187 aos.putArchiveEntry(aos.createArchiveEntry(dir, "a/b")); in setupZip()
189 aos.putArchiveEntry(aos.createArchiveEntry(dir, "a/b/c")); in setupZip()
191 aos.putArchiveEntry(aos.createArchiveEntry(dummy, "a/b/d.txt")); in setupZip()
194 aos.putArchiveEntry(aos.createArchiveEntry(dummy, "a/b/c/e.txt")); in setupZip()
[all …]
DParameterizedExpanderTest.java79 aos.putArchiveEntry(aos.createArchiveEntry(dir, "a")); in setUp()
81 aos.putArchiveEntry(aos.createArchiveEntry(dir, "a/b")); in setUp()
83 aos.putArchiveEntry(aos.createArchiveEntry(dir, "a/b/c")); in setUp()
85 aos.putArchiveEntry(aos.createArchiveEntry(dummy, "a/b/d.txt")); in setUp()
88 aos.putArchiveEntry(aos.createArchiveEntry(dummy, "a/b/c/e.txt")); in setUp()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/
DSevenZOutputFileTest.java68 outArchive.putArchiveEntry(entry); in testDirectoriesAndEmptyFiles()
75 outArchive.putArchiveEntry(entry); in testDirectoriesAndEmptyFiles()
81 outArchive.putArchiveEntry(entry); in testDirectoriesAndEmptyFiles()
87 outArchive.putArchiveEntry(entry); in testDirectoriesAndEmptyFiles()
94 outArchive.putArchiveEntry(entry); in testDirectoriesAndEmptyFiles()
155 outArchive.putArchiveEntry(entry); in testDirectoriesOnly()
416 archive.putArchiveEntry(entry); in addDir()
437 archive.putArchiveEntry(entry); in addFile()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZip64SupportIT.java155 zos.putArchiveEntry(zae); in write5GBZerosFile()
607 zos.putArchiveEntry(zae);
800 zos.putArchiveEntry(zae);
859 zos.putArchiveEntry(zae);
1053 zos.putArchiveEntry(zae);
1112 zos.putArchiveEntry(zae);
1291 zos.putArchiveEntry(zae);
1326 zos.putArchiveEntry(zae);
1384 zos.putArchiveEntry(zae);
1558 zos.putArchiveEntry(zae);
[all …]
DDataDescriptorTest.java56 zos.putArchiveEntry(new ZipArchiveEntry("test1.txt")); in writesDataDescriptorForDeflatedEntryOnUnseekableOutput()
96 zos.putArchiveEntry(new ZipArchiveEntry("test1.txt")); in doesntWriteDataDescriptorForDeflatedEntryOnSeekableOutput()
138 zos.putArchiveEntry(new ZipArchiveEntry("test1.txt")); in doesntWriteDataDescriptorWhenAddingRawEntries()
DZipFileTest.java173 zo.putArchiveEntry(ze); in testReadingOfStoredEntry()
433 zipOutput.putArchiveEntry(inflatedEntry); in testDelayedOffsetsAndSizes()
442 zipOutput.putArchiveEntry(storedEntry); in testDelayedOffsetsAndSizes()
474 zipOutput.putArchiveEntry(inflatedEntry); in testEntryAlignment()
481 zipOutput.putArchiveEntry(storedEntry); in testEntryAlignment()
489 zipOutput.putArchiveEntry(storedEntry2); in testEntryAlignment()
496 zipOutput.putArchiveEntry(storedEntry3); in testEntryAlignment()
DUTF8ZipFilesTest.java287 zos.putArchiveEntry(ze); in createTestFile()
304 zos.putArchiveEntry(ze); in createTestFile()
322 zos.putArchiveEntry(ze); in createTestFile()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/jar/
DJarArchiveOutputStream.java58 public void putArchiveEntry(final ArchiveEntry ze) throws IOException { in putArchiveEntry() method in JarArchiveOutputStream
63 super.putArchiveEntry(ze); in putArchiveEntry()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ar/
DArArchiveOutputStreamTest.java39 os.putArchiveEntry(ae); in testLongFileNamesCauseExceptionByDefault()
53 os.putArchiveEntry(ae); in testLongFileNamesWorkUsingBSDDialect()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/jar/
DJarArchiveOutputStreamTest.java45 out.putArchiveEntry(new ZipArchiveEntry("foo/")); in testJarMarker()
47 out.putArchiveEntry(new ZipArchiveEntry("bar/")); in testJarMarker()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DIOMethodsTest.java116 aos1.putArchiveEntry(entry); in compareWrites()
118 aos2.putArchiveEntry(entry); in compareWrites()
120 aos3.putArchiveEntry(entry); in compareWrites()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DArchiver.java142 target.putArchiveEntry(e); in create()
172 target.putArchiveEntry(e); in create()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DArchiveOutputStream.java65 public abstract void putArchiveEntry(ArchiveEntry entry) throws IOException; in putArchiveEntry() method in ArchiveOutputStream
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStream.java340 public void putArchiveEntry(final ArchiveEntry archiveEntry) throws IOException { in putArchiveEntry() method in TarArchiveOutputStream
476 putArchiveEntry(pex); in writePaxHeaders()
678 putArchiveEntry(longLinkEntry); in handleLongName()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DPack200TestCase.java117 os.putArchiveEntry(new ZipArchiveEntry("testdata/test1.xml")); in jarArchiveCreation()
121 os.putArchiveEntry(new ZipArchiveEntry("testdata/test2.xml")); in jarArchiveCreation()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveOutputStreamTest.java44 os.putArchiveEntry(new CpioArchiveEntry(CpioConstants in testWriteOldBinary()

12