Home
last modified time | relevance | path

Searched refs:CpioArchiveEntry (Results 1 – 11 of 11) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DCpioTestCase.java32 import org.apache.commons.compress.archivers.cpio.CpioArchiveEntry;
50 os.putArchiveEntry(new CpioArchiveEntry("test1.xml", file1.length())); in testCpioArchiveCreation()
54 os.putArchiveEntry(new CpioArchiveEntry("test2.xml", file2.length())); in testCpioArchiveCreation()
73 CpioArchiveEntry entry = new CpioArchiveEntry("test1.xml", file1Length); in testCpioUnarchive()
79 entry = new CpioArchiveEntry("test2.xml", file2Length); in testCpioUnarchive()
127 final CpioArchiveEntry in = new CpioArchiveEntry(tmp[0], "foo"); in testDirectoryEntryFromFile()
133 final CpioArchiveEntry out = tis.getNextCPIOEntry(); in testDirectoryEntryFromFile()
167 final CpioArchiveEntry in = new CpioArchiveEntry("foo/"); in testExplicitDirectoryEntry()
175 final CpioArchiveEntry out = tis.getNextCPIOEntry(); in testExplicitDirectoryEntry()
208 final CpioArchiveEntry in = new CpioArchiveEntry(tmp[1], "foo"); in testFileEntryFromFile()
[all …]
DArchiveOutputStreamTest.java32 import org.apache.commons.compress.archivers.cpio.CpioArchiveEntry;
73 aos1.putArchiveEntry(new CpioArchiveEntry("dummy")); in testFinish()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveEntry.java147 public class CpioArchiveEntry implements CpioConstants, ArchiveEntry { class
205 public CpioArchiveEntry(final short format) { in CpioArchiveEntry() method in CpioArchiveEntry
236 public CpioArchiveEntry(final String name) { in CpioArchiveEntry() method in CpioArchiveEntry
258 public CpioArchiveEntry(final short format, final String name) { in CpioArchiveEntry() method in CpioArchiveEntry
272 public CpioArchiveEntry(final String name, final long size) { in CpioArchiveEntry() method in CpioArchiveEntry
297 public CpioArchiveEntry(final short format, final String name, in CpioArchiveEntry() method in CpioArchiveEntry
313 public CpioArchiveEntry(final File inputFile, final String entryName) { in CpioArchiveEntry() method in CpioArchiveEntry
338 public CpioArchiveEntry(final short format, final File inputFile, in CpioArchiveEntry() method in CpioArchiveEntry
926 final CpioArchiveEntry other = (CpioArchiveEntry) obj; in equals()
DCpioArchiveInputStream.java72 private CpioArchiveEntry entry;
232 public CpioArchiveEntry getNextCPIOEntry() throws IOException { in getNextCPIOEntry()
366 private CpioArchiveEntry readNewEntry(final boolean hasCrc) in readNewEntry()
368 CpioArchiveEntry ret; in readNewEntry()
370 ret = new CpioArchiveEntry(FORMAT_NEW_CRC); in readNewEntry()
372 ret = new CpioArchiveEntry(FORMAT_NEW); in readNewEntry()
403 private CpioArchiveEntry readOldAsciiEntry() throws IOException { in readOldAsciiEntry()
404 final CpioArchiveEntry ret = new CpioArchiveEntry(FORMAT_OLD_ASCII); in readOldAsciiEntry()
430 private CpioArchiveEntry readOldBinaryEntry(final boolean swapHalfWord) in readOldBinaryEntry()
432 final CpioArchiveEntry ret = new CpioArchiveEntry(FORMAT_OLD_BINARY); in readOldBinaryEntry()
DCpioArchiveOutputStream.java68 private CpioArchiveEntry entry;
80 private final HashMap<String, CpioArchiveEntry> names =
226 final CpioArchiveEntry e = (CpioArchiveEntry) entry; in putArchiveEntry()
249 private void writeHeader(final CpioArchiveEntry e) throws IOException { in writeHeader()
276 private void writeNewEntry(final CpioArchiveEntry entry) throws IOException { in writeNewEntry()
310 private void writeOldAsciiEntry(final CpioArchiveEntry entry) in writeOldAsciiEntry()
341 private void writeOldBinaryEntry(final CpioArchiveEntry entry, in writeOldBinaryEntry()
466 this.entry = new CpioArchiveEntry(this.entryFormat); in finish()
577 return new CpioArchiveEntry(inputFile, entryName); in createArchiveEntry()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveInputStreamTest.java41 CpioArchiveEntry entry; in testCpioUnarchive()
44 while ((entry = (CpioArchiveEntry) in.getNextEntry()) != null) { in testCpioUnarchive()
59 CpioArchiveEntry entry= null; in testCpioUnarchiveCreatedByRedlineRpm()
62 while ((entry = (CpioArchiveEntry) in.getNextEntry()) != null) { in testCpioUnarchiveCreatedByRedlineRpm()
75 CpioArchiveEntry entry= null; in testCpioUnarchiveMultibyteCharName()
78 while ((entry = (CpioArchiveEntry) in.getNextEntry()) != null) { in testCpioUnarchiveMultibyteCharName()
DCpioArchiveTest.java56 CpioArchiveEntry entry = new CpioArchiveEntry(format, "T\u00e4st.txt", 4); in utf18RoundtripTest()
67 CpioArchiveEntry entry = (CpioArchiveEntry) in.getNextEntry(); in utf18RoundtripTest()
DCpioArchiveOutputStreamTest.java44 os.putArchiveEntry(new CpioArchiveEntry(CpioConstants in testWriteOldBinary()
61 final CpioArchiveEntry e = ((CpioArchiveInputStream) in) in testWriteOldBinary()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DIOMethodsTest.java33 import org.apache.commons.compress.archivers.cpio.CpioArchiveEntry;
63 final ArchiveEntry entry = new CpioArchiveEntry("dummy", bytesToTest); in testWriteCpio()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/
DChangeSetTestCase.java39 import org.apache.commons.compress.archivers.cpio.CpioArchiveEntry;
659 final ArchiveEntry entry = new CpioArchiveEntry("blub/test.txt"); in testAddDeleteAdd()
710 final ArchiveEntry entry = new CpioArchiveEntry("bla/test.txt"); in testDeleteAddDelete()
/external/apache-commons-compress/
DRELEASE-NOTES.txt199 o Fixed class names of CpioArchiveEntry and