/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/ |
TarArchiveSparseEntry.java | 19 package org.apache.commons.compress.archivers.tar; 24 * This class represents a sparse entry in a Tar archive. 51 * @param headerBuf The header bytes from a tar archive entry.
|
TarUtils.java | 19 package org.apache.commons.compress.archivers.tar; 21 import static org.apache.commons.compress.archivers.tar.TarConstants.CHKSUMLEN; 22 import static org.apache.commons.compress.archivers.tar.TarConstants.CHKSUM_OFFSET; 94 * <p>To work-around some tar implementations that insert a 127 // The ustar and POSIX tar specs require a trailing NUL or 558 * Compute the checksum of a tar entry header. 560 * @param buf The tar entry's header buffer. 582 * addition, some historic tar implementations treated bytes as signed. 593 * @param header tar header
|
TarArchiveInputStream.java | 24 package org.apache.commons.compress.archivers.tar; 41 * The TarInputStream reads a UNIX tar archive as an InputStream. 53 /** The size the TAR header */ 249 * Get the next entry in this tar archive. This will skip 295 // Malformed tar file - long link entry name not followed by 306 // Malformed tar file - long entry name not followed by 350 * Get the next entry in this tar archive as longname data. 365 // Malformed tar file - long entry name not followed by entry 383 * Get the next record in this tar archive. This will skip 450 // https://www.gnu.org/software/tar/manual/html_section/tar_92.html#SEC18 [all...] |
TarConstants.java | 19 package org.apache.commons.compress.archivers.tar; 24 * For tar formats (FORMAT_OLDGNU, FORMAT_POSIX, etc.) see GNU tar 25 * <I>tar.h</I> type <I>enum archive_format</I> 37 * GNU format as per before tar 1.12. 72 * The maximum value of gid/uid in a tar archive which can 95 * The maximum size of a file in a tar archive 271 * Identifies the entry as a Pax extended header (SunOS tar -E). 285 * The magic tag representing a POSIX tar archive. 291 * The magic tag representing a GNU tar archive [all...] |
TarArchiveOutputStream.java | 19 package org.apache.commons.compress.archivers.tar; 40 * The TarOutputStream writes a UNIX tar archive as an OutputStream. Methods are provided to put 43 * <p>tar archives consist of a sequence of records of 512 bytes each 67 * GNU tar extensions are used to store long file names in the archive. 82 * star/GNU tar/BSD tar extensions are used to store big number in the archive. 194 "Tar record size must always be 512 bytes. Attempt to set size of " + recordSize); 242 * TarConstants.MAXSIZE) and other numeric values to big to fit into a traditional tar header. 274 * Ends the TAR archive without closing the underlying OutputStream. 434 * Writes bytes to the current tar archive entry. This method is aware of the current entry an [all...] |
TarArchiveEntry.java | 19 package org.apache.commons.compress.archivers.tar; 33 * This class represents an entry in a Tar archive. It consists 59 * The C structure for a Tar Entry's header is: 71 * The following fields are only present in new-style POSIX tar archives: 83 * New-style GNU tar files are slightly different from the above. 92 * The C structure for a old GNU Tar Entry's header is: 116 * The C structure for a xstar (Jörg Schilling star) Tar Entry's header is: 138 * char xmagic[4]; // offset 508 "tar" 214 /** Maximum length of a user's name in the tar file */ 383 * @param headerBuf The header bytes from a tar archive entry [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
ptrace-tar.c | 2 * Ptrace test for TAR, PPR, DSCR registers 12 #include "ptrace-tar.h" 19 void tar(void) function 25 printf("%-30s TAR: %u PPR: %lx DSCR: %u\n", 42 printf("%-30s TAR: %lu PPR: %lx DSCR: %lu\n", 61 printf("%-30s TAR: %lu PPR: %lx DSCR: %lu\n", 73 printf("%-30s TAR: %u PPR: %lx DSCR: %u\n", 93 tar();
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/ |
BigFilesIT.java | 19 package org.apache.commons.compress.archivers.tar; 36 readFileBiggerThan8GByte("/8.star.tar.gz"); 41 readFileBiggerThan8GByte("/8.posix.tar.gz"); 51 .getResourceAsStream("/8.posix.tar.gz")
|
SparseFilesTest.java | 19 package org.apache.commons.compress.archivers.tar; 33 final File file = getFile("oldgnu_sparse.tar"); 52 final File file = getFile("pax_gnu_sparse.tar");
|
TarArchiveInputStreamTest.java | 19 package org.apache.commons.compress.archivers.tar; 116 in = new TarArchiveInputStream(new FileInputStream(getFile("simple-aix-native-tar.tar"))); 132 datePriorToEpoch("preepoch-star.tar"); 138 datePriorToEpoch("preepoch-posix.tar"); 161 try (TarArchiveInputStream tar = getTestStream("/COMPRESS-197.tar")) { 162 TarArchiveEntry entry = tar.getNextTarEntry(); 164 entry = tar.getNextTarEntry(); 200 .getResourceAsStream("/archive_with_trailer.tar"); 201 final TarArchiveInputStream tar = new TarArchiveInputStream(is); local 219 final TarArchiveInputStream tar = new TarArchiveInputStream(gin); local [all...] |
TarLister.java | 19 package org.apache.commons.compress.archivers.tar; 27 * Simple command line application that lists the contents of a tar archive.
|
TarArchiveEntryTest.java | 19 package org.apache.commons.compress.archivers.tar; 61 final File f = File.createTempFile("taetest", ".tar");
|
TarUtilsTest.java | 19 package org.apache.commons.compress.archivers.tar; 262 final byte[] valid = { // from bla.tar
|
TarArchiveOutputStreamTest.java | 19 package org.apache.commons.compress.archivers.tar; 56 final File f = File.createTempFile("commons-compress-tarcount", ".tar"); 61 .createArchiveOutputStream(ArchiveStreamFactory.TAR, fos); 669 final File f = File.createTempFile("commons-compress-padding", ".tar"); 760 // now recreate exactly the same tar file [all...] |
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/ |
DetectArchiverTestCase.java | 33 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream; 53 final ArchiveInputStream tar = getStreamFor("COMPRESS-117.tar"); local 54 assertNotNull(tar); 55 assertTrue(tar instanceof TarArchiveInputStream); 60 final ArchiveInputStream tar = getStreamFor("COMPRESS-335.tar"); local 61 assertNotNull(tar); 62 assertTrue(tar instanceof TarArchiveInputStream); 72 final ArchiveInputStream tar = getStreamFor("bla.tar") local [all...] |
/external/u-boot/arch/powerpc/cpu/mpc83xx/ |
pcie.c | 186 unsigned int tar; local 229 tar = 0; 235 out_le32(&in_win->tar, tar); 241 tar += 0x10000000; 261 out_le32(&in_win->tar, CONFIG_SYS_IMMR);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
BasicTimeZone.java | 278 TimeArrayTimeZoneRule tar = (TimeArrayTimeZoneRule)toRule; local 287 if (tzt.getTo().equals(tar)) { 294 Date firstStart = tar.getFirstStart(tzt.getFrom().getRawOffset(), 298 filteredRules.add(tar); 301 long[] times = tar.getStartTimes(); 302 int timeType = tar.getTimeType(); 321 tar.getName(), tar.getRawOffset(), tar.getDSTSavings(), 322 newtimes, tar.getTimeType()) [all...] |
/external/icu/icu4c/source/i18n/ |
basictz.cpp | 400 const TimeArrayTimeZoneRule *tar = dynamic_cast<const TimeArrayTimeZoneRule *>(toRule); local 402 if (tar != NULL) { 411 if (*(tzt0.getTo()) == *tar) { 418 tar->getFirstStart(tzt.getFrom()->getRawOffset(), tzt.getFrom()->getDSTSavings(), firstStart); 421 filteredRules->addElement(tar->clone(), status); 431 startTimes = tar->countStartTimes(); 432 timeType = tar->getTimeType(); 434 tar->getStartTimeAt(idx, t); 453 tar->getStartTimeAt(idx + newidx, newTimes[newidx]); 460 tar->getName(name) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BasicTimeZone.java | 287 TimeArrayTimeZoneRule tar = (TimeArrayTimeZoneRule)toRule; local 296 if (tzt.getTo().equals(tar)) { 303 Date firstStart = tar.getFirstStart(tzt.getFrom().getRawOffset(), 307 filteredRules.add(tar); 310 long[] times = tar.getStartTimes(); 311 int timeType = tar.getTimeType(); 330 tar.getName(), tar.getRawOffset(), tar.getDSTSavings(), 331 newtimes, tar.getTimeType()) [all...] |
/external/libxaac/decoder/ |
ixheaacd_env_dec.c | 171 WORD32 tar, index_3; local 173 tar = ixheaacd_min32(ixheaacd_drc_offset, band); 175 for (band = 0; band < tar; band++) { 198 WORD32 tar, index_2; local 200 tar = ixheaacd_min32(ixheaacd_drc_offset, band); 201 for (band = 0; band < tar; band++) {
|
/external/toybox/toys/pending/ |
tar.c | 0 /* tar.c - create/extract archives 8 * http://www.gnu.org/software/tar/manual/html_node/Writing-to-an-External-Program.html 10 USE_TAR(NEWTOY(tar, "&(no-recursion)(numeric-owner)(no-same-permissions)(overwrite)(exclude)*(to-command):o(no-same-owner)p(same-permissions)k(keep-old)c(create)|h(dereference)x(extract)|t(list)|v(verbose)j(bzip2)z(gzip)O(to-stdout)m(touch)X(exclude-from)*T(files-from)*C(directory):f(file):[!txc][!jz]", TOYFLAG_USR|TOYFLAG_BIN)) 12 config TAR 13 bool "tar" 16 usage: tar -[cxtjzhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] 18 Create, extract, or list files from a tar file 126 static void write_longname(struct archive_handler *tar, char *name, char type) 147 writeall(tar->src_fd, (void*) &tmp, sizeof(tmp)); 149 writeall(tar->src_fd, name, sz) 580 struct tar_hdr tar; local [all...] |
/external/u-boot/arch/arm/mach-at91/include/mach/ |
at91_emac.h | 15 u32 tar; member in struct:at91_emac
|
/external/zlib/src/contrib/untgz/ |
untgz.c | 2 * untgz.c -- Display contents and extract files from a gzip'd TAR file 52 /* GNU tar extensions */ 63 /* tar header */ 120 int tar OF((gzFile, int, int, int, char **)); 127 const char *TGZsuffix[] = { "\0", ".tar", ".tar.gz", ".taz", ".tgz", NULL }; 384 /* tar file list or extract */ 386 int tar (gzFile in,int action,int arg,int argc,char **argv) function 409 * the tar information. 418 * If we have to get a tar heade [all...] |
/external/python/cpython2/Lib/test/ |
test_tarfile.py | 31 tarname = test_support.findfile("testtar.tar") 32 gzipname = os.path.join(TEMPDIR, "testtar.tar.gz") 33 bz2name = os.path.join(TEMPDIR, "testtar.tar.bz2") 34 tmpname = os.path.join(TEMPDIR, "tmp.tar") 46 self.tar = tarfile.open(self.tarname, mode=self.mode, encoding="iso8859-1") 49 self.tar.close() 55 tarinfo = self.tar.getmember("ustar/regtype") 56 fobj = self.tar.extractfile(tarinfo) 62 self.tar.extract("ustar/regtype", TEMPDIR) 63 tarinfo = self.tar.getmember("ustar/regtype" 1150 tar = tarfile.open(tmpname, self.mode, fileobj=f, variable in class:WriteTest.test_open_nonwritable_fileobj.BadFile [all...] |
/external/u-boot/drivers/usb/musb/ |
musb_core.h | 107 } tar[16]; member in struct:musb_regs
|