Searched refs:TarConstants (Results 1 – 11 of 11) sorted by relevance
88 this(is, TarConstants.DEFAULT_BLKSIZE, TarConstants.DEFAULT_RCDSIZE); in TarArchiveInputStream()98 this(is, TarConstants.DEFAULT_BLKSIZE, TarConstants.DEFAULT_RCDSIZE, in TarArchiveInputStream()108 this(is, blockSize, TarConstants.DEFAULT_RCDSIZE); in TarArchiveInputStream()120 this(is, blockSize, TarConstants.DEFAULT_RCDSIZE, encoding); in TarArchiveInputStream()681 if (length < TarConstants.VERSION_OFFSET+TarConstants.VERSIONLEN) { in matches()685 if (ArchiveUtils.matchAsciiBuffer(TarConstants.MAGIC_POSIX, in matches()686 signature, TarConstants.MAGIC_OFFSET, TarConstants.MAGICLEN) in matches()688 ArchiveUtils.matchAsciiBuffer(TarConstants.VERSION_POSIX, in matches()689 signature, TarConstants.VERSION_OFFSET, TarConstants.VERSIONLEN) in matches()693 if (ArchiveUtils.matchAsciiBuffer(TarConstants.MAGIC_GNU, in matches()[all …]
359 TarConstants.LF_GNUTYPE_LONGNAME, "file name"); in putArchiveEntry()364 TarConstants.LF_GNUTYPE_LONGLINK, "link name"); in putArchiveEntry()467 if (name.length() >= TarConstants.NAMELEN) { in writePaxHeaders()468 name = name.substring(0, TarConstants.NAMELEN - 1); in writePaxHeaders()471 TarConstants.LF_PAX_EXTENDED_HEADER_LC); in writePaxHeaders()584 TarConstants.MAXSIZE); in addPaxHeadersForBigNumbers()586 TarConstants.MAXID); in addPaxHeadersForBigNumbers()589 TarConstants.MAXSIZE); in addPaxHeadersForBigNumbers()591 TarConstants.MAXID); in addPaxHeadersForBigNumbers()594 entry.getDevMajor(), TarConstants.MAXID); in addPaxHeadersForBigNumbers()[all …]
21 import static org.apache.commons.compress.archivers.tar.TarConstants.CHKSUMLEN;22 import static org.apache.commons.compress.archivers.tar.TarConstants.CHKSUM_OFFSET;475 …final long maxAsOctalChar = length == TarConstants.UIDLEN ? TarConstants.MAXID : TarConstants.MAXS… in formatLongOctalOrBinaryBytes()
43 public class TarArchiveSparseEntry implements TarConstants {
28 public interface TarConstants { interface
146 public class TarArchiveEntry implements ArchiveEntry, TarConstants {
110 data[TarConstants.NAMELEN in testBigNumberStarMode()111 + TarConstants.MODELEN in testBigNumberStarMode()112 + TarConstants.UIDLEN in testBigNumberStarMode()113 + TarConstants.GIDLEN] & 0x80); in testBigNumberStarMode()137 1024 + TarConstants.NAMELEN in testBigNumberPosixMode()138 + TarConstants.MODELEN in testBigNumberPosixMode()139 + TarConstants.UIDLEN in testBigNumberPosixMode()140 + TarConstants.GIDLEN, 12, in testBigNumberPosixMode()158 new String(data, TarConstants.NAMELEN in testWriteSimplePaxHeaders()159 + TarConstants.MODELEN in testWriteSimplePaxHeaders()[all …]
125 checkRoundTripOctal(value, TarConstants.SIZELEN); in checkRoundTripOctal()133 checkRoundTripOctal(TarConstants.MAXSIZE); in testRoundTripOctal()136 checkRoundTripOctal(0, TarConstants.UIDLEN); in testRoundTripOctal()137 checkRoundTripOctal(1, TarConstants.UIDLEN); in testRoundTripOctal()138 checkRoundTripOctal(TarConstants.MAXID, 8); in testRoundTripOctal()164 checkRoundTripOctalOrBinary(TarConstants.MAXSIZE, length); // will need binary format in testRoundTripOctalOrBinary()
41 public class TarArchiveEntryTest implements TarConstants {
META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...