/aosp_15_r20/external/apache-commons-compress/ |
H A D | RELEASE-NOTES.txt | 6 Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. 9 ------------ 12 o It is now possible to specify the arguments of zstd-jni's 14 Issue: COMPRESS-460. 23 o Changed the OSGi Import-Package to also optionally import 25 Issue: COMPRESS-456. 28 thrown during the closing the stream. 29 Issue: COMPRESS-457. 33 Issue: COMPRESS-455. 34 o The cpio streams didn't handle archives using a multi-byte [all …]
|
/aosp_15_r20/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ |
H A D | ArchiveStreamFactory.java | 10 * http://www.apache.org/licenses/LICENSE-2.0 44 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream; 45 import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream; 59 * Compressing a ZIP-File: 75 * Decompressing a ZIP-File: 107 * Not supported as an output stream type. 120 * Not supported as an output stream type. 132 * Constant used to identify the TAR archive format. 135 public static final String TAR = "tar"; field in ArchiveStreamFactory 183 * Constructs a new sorted map from input stream provider names to provider [all …]
|
/aosp_15_r20/external/apache-commons-compress/src/site/xdoc/ |
H A D | examples.xml | 2 <!-- 11 http://www.apache.org/licenses/LICENSE-2.0 19 --> 30 stream of data compressor formats while all formats that 36 cpio, dump, tar and zip. Pack200 is a special case as it can 47 <p>The stream classes all wrap around streams provided by the 51 users wrap their stream 62 format of an input stream.</p> 72 archiver stream:</p> 79 compressor stream:</p> [all …]
|
/aosp_15_r20/external/apache-commons-compress/src/changes/ |
H A D | release-notes.vm | 9 ## http://www.apache.org/licenses/LICENSE-2.0 23 ## http://maven.apache.org/plugins/maven-changes-plugin/examples/using-a-custom-announcement-templa… 24 ## Hack to improve layout: replace all pairs of spaces with a single new-line 28 ## Fix up indentation for multi-line action descriptions 38 ## Use replaceAll to fix up LF-only line ends on Windows. 67 ## Use replaceAll to fix up LF-only line ends on Windows. 96 ## Use replaceAll to fix up LF-only line ends on Windows. 125 ## Use replaceAll to fix up LF-only line ends on Windows. 153 $url.replaceAll("proper/commons-","") 165 ----------- [all …]
|
H A D | changes.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 11 http://www.apache.org/licenses/LICENSE-2.0 19 --> 21 <!-- 22 This file is also used by the maven-changes-plugin to generate the release notes. 26 release process easy :-). 30 3. Use the report generated by the maven-changelog-plugin to see all 35 mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=m.n] 38 --> [all …]
|
/aosp_15_r20/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/ |
H A D | TarArchiveInputStream.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 24 package org.apache.commons.compress.archivers.tar; 41 * The TarInputStream reads a UNIX tar archive as an InputStream. 43 * the archive, and the read each entry as a normal input stream 53 /** The size the TAR header */ 65 /** How far into the entry the stream is at */ 68 /** An input stream to read from */ 71 /** The meta-data about the current entry */ 85 * @param is the input stream to use 93 * @param is the input stream to use [all …]
|
H A D | TarArchiveOutputStream.java | 10 * http://www.apache.org/licenses/LICENSE-2.0 19 package org.apache.commons.compress.archivers.tar; 40 * The TarOutputStream writes a UNIX tar archive as an OutputStream. Methods are provided to put 41 * entries, and then write their contents by writing to this stream using write(). 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. 125 private static final int BLOCK_SIZE_UNSPECIFIED = -511; 132 * @param os the output stream to use 143 * @param os the output stream to use [all …]
|
/aosp_15_r20/external/python/cpython2/Doc/library/ |
D | tarfile.rst | 1 :mod:`tarfile` --- Read and write tar archive files 5 :synopsis: Read and write tar-format archive files. 15 -------------- 17 The :mod:`tarfile` module makes it possible to read and write tar 20 higher-level functions in :ref:`shutil <archiving-operations>`. 27 * read/write support for the POSIX.1-1988 (ustar) format. 29 * read/write support for the GNU tar format including *longname* and *longlink* 30 extensions, read-only support for the *sparse* extension. 32 * read/write support for the POSIX.1-2001 (pax) format. 45 allowed, see :ref:`tarfile-objects`. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | tarfile.py | 2 #------------------------------------------------------------------- 4 #------------------------------------------------------------------- 29 """Read from and write to tar format archives. 36 #--------- 38 #--------- 76 #--------------------------------------------------------- 77 # tar constants 78 #--------------------------------------------------------- 82 GNU_MAGIC = b"ustar \0" # magic gnu tar string 83 POSIX_MAGIC = b"ustar\x0000" # magic posix tar string [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | tarfile.py | 2 #------------------------------------------------------------------- 4 #------------------------------------------------------------------- 29 """Read from and write to tar format archives. 36 #--------- 38 #--------- 76 #--------------------------------------------------------- 77 # tar constants 78 #--------------------------------------------------------- 82 GNU_MAGIC = b"ustar \0" # magic gnu tar string 83 POSIX_MAGIC = b"ustar\x0000" # magic posix tar string [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | tarfile.py | 2 #------------------------------------------------------------------- 4 #------------------------------------------------------------------- 29 """Read from and write to tar format archives. 36 #--------- 38 #--------- 76 #--------------------------------------------------------- 77 # tar constants 78 #--------------------------------------------------------- 82 GNU_MAGIC = b"ustar \0" # magic gnu tar string 83 POSIX_MAGIC = b"ustar\x0000" # magic posix tar string [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | tarfile.py | 2 #------------------------------------------------------------------- 4 #------------------------------------------------------------------- 29 """Read from and write to tar format archives. 36 #--------- 38 #--------- 76 #--------------------------------------------------------- 77 # tar constants 78 #--------------------------------------------------------- 82 GNU_MAGIC = b"ustar \0" # magic gnu tar string 83 POSIX_MAGIC = b"ustar\x0000" # magic posix tar string [all …]
|
D | mimetypes.py | 5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=True) -- guess the extension for a given MIME type. 13 knownfiles -- list of files to parse 14 inited -- flag set when init() has been called 15 suffix_map -- dictionary mapping suffixes to suffixes 16 encodings_map -- dictionary mapping suffixes to encodings 17 types_map -- dictionary mapping suffixes to types 21 init([files]) -- parse a list of files, default knownfiles (on Windows, the 23 read_mime_types(file) -- parse one file, return a dictionary or None 65 """MIME-types datastore. [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | tarfile.py | 2 #------------------------------------------------------------------- 4 #------------------------------------------------------------------- 29 """Read from and write to tar format archives. 36 #--------- 38 #--------- 76 #--------------------------------------------------------- 77 # tar constants 78 #--------------------------------------------------------- 82 GNU_MAGIC = b"ustar \0" # magic gnu tar string 83 POSIX_MAGIC = b"ustar\x0000" # magic posix tar string [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | tarfile.py | 2 #------------------------------------------------------------------- 4 #------------------------------------------------------------------- 29 """Read from and write to tar format archives. 36 #--------- 38 #--------- 76 #--------------------------------------------------------- 77 # tar constants 78 #--------------------------------------------------------- 82 GNU_MAGIC = b"ustar \0" # magic gnu tar string 83 POSIX_MAGIC = b"ustar\x0000" # magic posix tar string [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | tarfile.py | 1 # -*- coding: iso-8859-1 -*- 2 #------------------------------------------------------------------- 4 #------------------------------------------------------------------- 29 """Read from and write to tar format archives. 41 #--------- 43 #--------- 64 #--------------------------------------------------------- 65 # tar constants 66 #--------------------------------------------------------- 70 GNU_MAGIC = "ustar \0" # magic gnu tar string [all …]
|
D | mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=1) -- guess the extension for a given MIME type. 13 knownfiles -- list of files to parse 14 inited -- flag set when init() has been called 15 suffix_map -- dictionary mapping suffixes to suffixes 16 encodings_map -- dictionary mapping suffixes to encodings 17 types_map -- dictionary mapping suffixes to types 21 init([files]) -- parse a list of files, default knownfiles (on Windows, the 23 read_mime_types(file) -- parse one file, return a dictionary or None 57 """MIME-types datastore. [all …]
|
/aosp_15_r20/external/bazelbuild-rules_rust/examples/crate_universe/vendor_remote_manifests/crates/ |
H A D | defs.bzl | 3 # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To 11 - [aliases](#aliases) 12 - [crate_deps](#crate_deps) 13 - [all_crate_deps](#all_crate_deps) 14 - [crate_repositories](#crate_repositories) 76 # Alert on any miss-matched dependencies 298 "tokio": Label("@cvm__tokio-1.39.2//:tokio"), 313 "tempfile": Label("@cvm__tempfile-3.12.0//:tempfile"), 314 "tokio-test": Label("@cvm__tokio-test-0.4.4//:tokio_test"), 369 "aarch64-apple-darwin": ["@rules_rust//rust/platform:aarch64-apple-darwin"], [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | tarfile.rst | 1 :mod:`tarfile` --- Read and write tar archive files 5 :synopsis: Read and write tar-format archive files. 12 -------------- 14 The :mod:`tarfile` module makes it possible to read and write tar 17 higher-level functions in :ref:`shutil <archiving-operations>`. 24 * read/write support for the POSIX.1-1988 (ustar) format. 26 * read/write support for the GNU tar format including *longname* and *longlink* 27 extensions, read-only support for all variants of the *sparse* extension 30 * read/write support for the POSIX.1-2001 (pax) format. 44 allowed, see :ref:`tarfile-objects`. [all …]
|
/aosp_15_r20/external/bazelbuild-rules_rust/examples/crate_universe_unnamed/vendor_remote_manifests/crates/ |
H A D | defs.bzl | 3 # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To 11 - [aliases](#aliases) 12 - [crate_deps](#crate_deps) 13 - [all_crate_deps](#all_crate_deps) 14 - [crate_repositories](#crate_repositories) 76 # Alert on any miss-matched dependencies 298 "tokio": Label("@crates_vendor_manifests__tokio-1.38.0//:tokio"), 313 "tempfile": Label("@crates_vendor_manifests__tempfile-3.10.1//:tempfile"), 314 "tokio-test": Label("@crates_vendor_manifests__tokio-test-0.4.4//:tokio_test"), 369 "aarch64-apple-darwin": ["@rules_rust//rust/platform:aarch64-apple-darwin"], [all …]
|
/aosp_15_r20/prebuilts/android-emulator/linux-x86_64/lib/ |
H A D | snapshot_service.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 16 // the metrics sql as well by running ./android/scripts/gen-grpc-sql.py 40 // - Local (default): These are snapshots that are created locally. They are 44 // - Remote: These are snapshots that have been exported at a certain point. 49 // - Once an imported snapshot has been loaded into an emulator it is no longer 51 // - The hardware configuration of the emulator your are pushing a snapshot to 65 // Pulls down the snapshot stored inside the AVD as a tar.gz/tar stream 67 // into a similar emulator will be placed inside the tar file. 73 // Note that pulling .gz stream is slow. 82 rpc PullSnapshot(SnapshotPackage) returns (stream SnapshotPackage) {} [all …]
|
/aosp_15_r20/prebuilts/android-emulator/darwin-x86_64/lib/ |
H A D | snapshot_service.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 16 // the metrics sql as well by running ./android/scripts/gen-grpc-sql.py 40 // - Local (default): These are snapshots that are created locally. They are 44 // - Remote: These are snapshots that have been exported at a certain point. 49 // - Once an imported snapshot has been loaded into an emulator it is no longer 51 // - The hardware configuration of the emulator your are pushing a snapshot to 65 // Pulls down the snapshot stored inside the AVD as a tar.gz/tar stream 67 // into a similar emulator will be placed inside the tar file. 73 // Note that pulling .gz stream is slow. 82 rpc PullSnapshot(SnapshotPackage) returns (stream SnapshotPackage) {} [all …]
|
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TarUtil.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 import org.apache.commons.compress.archivers.tar.TarArchiveEntry; 27 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream; 43 import java.util.stream.Collectors; 48 * Utility to manipulate a tar file. It wraps the commons-compress in order to provide tar support. 63 try (InputStream stream = new FileInputStream(file)) { in isGzip() argument 64 if (stream.read(signature) != signature.length) { in isGzip() 72 * Untar a tar file into a directory. tar.gz file needs to be {@link #unGzip(File, File)} first. 74 * @param inputFile The tar file to extract 82 return unTar(inputFile, outputDir, entryName -> true); in unTar() [all …]
|
/aosp_15_r20/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
H A D | ArchiveStreamFactoryTest.java | 10 * http://www.apache.org/licenses/LICENSE-2.0 40 import org.apache.commons.compress.archivers.tar.TarArchiveInputStream; 49 * see https://issues.apache.org/jira/browse/COMPRESS-171 55 ….createArchiveInputStream(new ByteArrayInputStream("This certainly is not a tar archive, really, n… in shortTextFilesAreNoTARs() 56 fail("created an input stream for a non-archive"); in shortTextFilesAreNoTARs() 63 * see https://issues.apache.org/jira/browse/COMPRESS-191 70 fail("created an input stream for a non-archive"); in aiffFilesAreNoTARs() 82 fail("created an input stream for a non-archive"); in testCOMPRESS209() 105 * <a href="https://issues.apache.org/jira/browse/COMPRESS-267" 106 * >COMPRESS-267</a>. [all …]
|
/aosp_15_r20/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/ |
H A D | DetectCompressorTestCase.java | 10 * http://www.apache.org/licenses/LICENSE-2.0 109 final CompressorInputStream xz = getStreamFor("bla.tar.xz"); in testDetection() 113 final CompressorInputStream zlib = getStreamFor("bla.tar.deflatez"); in testDetection() 117 final CompressorInputStream zstd = getStreamFor("bla.tar.zst"); in testDetection() 123 fail("No exception thrown for an empty input stream"); in testDetection() 135 assertEquals(CompressorStreamFactory.XZ, detect("bla.tar.xz")); in testDetect() 136 assertEquals(CompressorStreamFactory.DEFLATE, detect("bla.tar.deflatez")); in testDetect() 137 assertEquals(CompressorStreamFactory.LZ4_FRAMED, detect("bla.tar.lz4")); in testDetect() 138 assertEquals(CompressorStreamFactory.LZMA, detect("bla.tar.lzma")); in testDetect() 139 assertEquals(CompressorStreamFactory.SNAPPY_FRAMED, detect("bla.tar.sz")); in testDetect() [all …]
|