Home
last modified time | relevance | path

Searched refs:TarArchiveInputStream (Results 1 – 17 of 17) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveInputStreamTest.java54 final TarArchiveInputStream tais = new TarArchiveInputStream(is); in readSimplePaxHeader()
66 final TarArchiveInputStream tais = new TarArchiveInputStream(is); in secondEntryWinsWhenPaxHeaderContainsDuplicateKey()
78 final TarArchiveInputStream tais = new TarArchiveInputStream(is); in paxHeaderEntryWithEmptyValueRemovesKey()
89 final TarArchiveInputStream tais = new TarArchiveInputStream(is); in readPaxHeaderWithEmbeddedNewline()
104 final TarArchiveInputStream tais = new TarArchiveInputStream(is); in readNonAsciiPaxHeader()
114 TarArchiveInputStream in = null; in workaroundForBrokenTimeHeader()
116 … in = new TarArchiveInputStream(new FileInputStream(getFile("simple-aix-native-tar.tar"))); in workaroundForBrokenTimeHeader()
142 TarArchiveInputStream in = null; in datePriorToEpoch()
144 in = new TarArchiveInputStream(new FileInputStream(getFile(archive))); in datePriorToEpoch()
161 try (TarArchiveInputStream tar = getTestStream("/COMPRESS-197.tar")) { in testCompress197()
[all …]
DTarArchiveOutputStreamTest.java114 final TarArchiveInputStream tin = in testBigNumberStarMode()
115 new TarArchiveInputStream(new ByteArrayInputStream(data)); in testBigNumberStarMode()
142 final TarArchiveInputStream tin = in testBigNumberPosixMode()
143 new TarArchiveInputStream(new ByteArrayInputStream(data)); in testBigNumberPosixMode()
237 final TarArchiveInputStream tin = in testWriteLongFileNamePosixMode()
238 new TarArchiveInputStream(new ByteArrayInputStream(data)); in testWriteLongFileNamePosixMode()
263 final TarArchiveInputStream tin = in testOldEntryStarMode()
264 new TarArchiveInputStream(new ByteArrayInputStream(data)); in testOldEntryStarMode()
296 final TarArchiveInputStream tin = in testOldEntryPosixMode()
297 new TarArchiveInputStream(new ByteArrayInputStream(data)); in testOldEntryPosixMode()
[all …]
DSparseFilesTest.java34 TarArchiveInputStream tin = null; in testOldGNU()
36 tin = new TarArchiveInputStream(new FileInputStream(file)); in testOldGNU()
53 TarArchiveInputStream tin = null; in testPaxGNU()
55 tin = new TarArchiveInputStream(new FileInputStream(file)); in testPaxGNU()
66 …private void assertPaxGNUEntry(final TarArchiveInputStream tin, final String suffix) throws Throwa… in assertPaxGNUEntry()
DBigFilesIT.java48 TarArchiveInputStream tin = null; in readFileHeadersOfArchiveBiggerThan8GByte()
54 tin = new TarArchiveInputStream(gzin); in readFileHeadersOfArchiveBiggerThan8GByte()
74 TarArchiveInputStream tin = null; in readFileBiggerThan8GByte()
79 tin = new TarArchiveInputStream(gzin); in readFileBiggerThan8GByte()
DTarLister.java47 TarArchiveInputStream ais; in main()
49 ais = new TarArchiveInputStream(fis, args[1]); in main()
51 ais = new TarArchiveInputStream(fis); in main()
DTarArchiveEntryTest.java64 TarArchiveInputStream tin = null; in testTarFileWithFSRoot()
90 tin = new TarArchiveInputStream(new FileInputStream(f)); in testTarFileWithFSRoot()
155TarArchiveInputStream tis = new TarArchiveInputStream(new ByteArrayInputStream(bos.toByteArray())); in testExtraPaxHeaders()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DChainingTestCase.java27 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
38 …final TarArchiveInputStream is = new TarArchiveInputStream(new GzipCompressorInputStream(new FileI… in testTarGzip()
48 …final TarArchiveInputStream is = new TarArchiveInputStream(new BZip2CompressorInputStream(new File… in testTarBzip2()
DDetectArchiverTestCase.java33 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
55 assertTrue(tar instanceof TarArchiveInputStream); in testCOMPRESS117()
62 assertTrue(tar instanceof TarArchiveInputStream); in testCOMPRESS335()
74 assertTrue(tar instanceof TarArchiveInputStream); in testDetection()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DTarTestCase.java32 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
129 final ArchiveInputStream in = new TarArchiveInputStream(is, in testCOMPRESS114()
143 TarArchiveInputStream tis = null; in testDirectoryEntryFromFile()
154 tis = new TarArchiveInputStream(new FileInputStream(archive)); in testDirectoryEntryFromFile()
183 TarArchiveInputStream tis = null; in testExplicitDirectoryEntry()
195 tis = new TarArchiveInputStream(new FileInputStream(archive)); in testExplicitDirectoryEntry()
223 TarArchiveInputStream tis = null; in testFileEntryFromFile()
241 tis = new TarArchiveInputStream(new FileInputStream(archive)); in testFileEntryFromFile()
272 TarArchiveInputStream tis = null; in testExplicitFileEntry()
292 tis = new TarArchiveInputStream(new FileInputStream(archive)); in testExplicitFileEntry()
DLongSymLinkTest.java39 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
129 assertTrue(ais instanceof TarArchiveInputStream); in testArchive()
DLongPathTest.java39 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
130 assertTrue(ais instanceof TarArchiveInputStream); in testArchive()
DArchiveStreamFactoryTest.java40 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
209 private static final String TAR_DEFAULT = getField(new TarArchiveInputStream(null),"encoding");
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveInputStream.java47 public class TarArchiveInputStream extends ArchiveInputStream { class
87 public TarArchiveInputStream(final InputStream is) { in TarArchiveInputStream() method in TarArchiveInputStream
97 public TarArchiveInputStream(final InputStream is, final String encoding) { in TarArchiveInputStream() method in TarArchiveInputStream
107 public TarArchiveInputStream(final InputStream is, final int blockSize) { in TarArchiveInputStream() method in TarArchiveInputStream
118 public TarArchiveInputStream(final InputStream is, final int blockSize, in TarArchiveInputStream() method in TarArchiveInputStream
129 public TarArchiveInputStream(final InputStream is, final int blockSize, final int recordSize) { in TarArchiveInputStream() method in TarArchiveInputStream
141 public TarArchiveInputStream(final InputStream is, final int blockSize, final int recordSize, in TarArchiveInputStream() method in TarArchiveInputStream
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DArchiveStreamFactory.java44 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
360 return new TarArchiveInputStream(in, actualEncoding);
362 return new TarArchiveInputStream(in);
541 if (TarArchiveInputStream.matches(tarHeader, signatureLength)) {
547 TarArchiveInputStream tais = null;
549 tais = new TarArchiveInputStream(new ByteArrayInputStream(tarHeader));
/external/apache-commons-compress/src/changes/
Drelease-notes.vm210 o COMPRESS-278: TarArchiveInputStream failed to read archives with empty
212 o COMPRESS-279: TarArchiveInputStream now again throws an exception when it
215 o COMPRESS-280: Adapted TarArchiveInputStream#skip to the modified
256 o TarArchiveInputStream will now read archives created by tar
300 o TarArchiveInputStream could fail to read an archive completely.
317 members in TarArchiveInputStream and TarArchiveOutputStream. This change will
360 o Readabilty patch to TarArchiveInputStream. Issue:
362 o Performance improvements to TarArchiveInputStream, in
402 o TarArchiveInputStream ignored the encoding for GNU long name
405 o TarArchiveInputStream could leave the second EOF record inside the
[all …]
/external/apache-commons-compress/
DRELEASE-NOTES.txt355 o TarArchiveInputStream failed to parse PAX headers that included
358 o TarArchiveInputStream failed to parse PAX headers whose tar entry
390 o TarArchiveInputStream now supports reading global PAX headers.
504 o TarArchiveInputStream can now read entries with group or
525 * TarArchiveInputStream
610 o COMPRESS-278: TarArchiveInputStream failed to read archives with empty
612 o COMPRESS-279: TarArchiveInputStream now again throws an exception when it
615 o COMPRESS-280: Adapted TarArchiveInputStream#skip to the modified
656 o TarArchiveInputStream will now read archives created by tar
700 o TarArchiveInputStream could fail to read an archive completely.
[all …]
/external/kotlinx.coroutines/integration-testing/src/npmTest/kotlin/
DNpmPublicationValidator.kt58 TarArchiveInputStream(GZIPInputStream(FileInputStream(NPM_ARTIFACT))).use { tais -> in <lambda>()