/aosp_15_r20/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ZipUtil.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 import com.android.tradefed.util.zip.CentralDirectoryInfo; 21 import com.android.tradefed.util.zip.EndCentralDirectoryInfo; 22 import com.android.tradefed.util.zip.LocalFileHeader; 40 import java.util.zip.DataFormatException; 41 import java.util.zip.GZIPOutputStream; 42 import java.util.zip.Inflater; 43 import java.util.zip.ZipEntry; 44 import java.util.zip.ZipException; 45 import java.util.zip.ZipFile; [all …]
|
D | ZipUtil2.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry; 23 import org.apache.commons.compress.archivers.zip.ZipFile; 34 * A helper class for zip extraction that takes POSIX file permissions into account 58 * Utility method to extract a zip entry to a file. 60 * @param zipFile the {@link ZipFile} to extract 61 * @param entry the {@link ZipArchiveEntry} to extract 62 * @param destFile the {@link File} to extract to 64 * @throws IOException if failed to extract file 73 * Utility method to extract entire contents of zip file into given directory [all …]
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppWithCorruptedDex/MultiDexLegacyTestApp_without_corrupted/android_common/ |
D | proguard_dictionary | 2 # compiler_version: 8.9.5-dev 8 # pg_map_hash: SHA-256 56bdcedeb49ca0bb74ca16ac9bca4c31df112bd72bb135b32b3ac5b53ec89101 9 androidx.multidex.MultiDex -> androidx.multidex.MultiDex: 11 76:76:void <clinit>() -> <clinit> 12 78:78:void <clinit>() -> <clinit> 13 79:79:void <clinit>() -> <clinit> 14 81:81:void <init>() -> <init> 15 56:56:java.lang.reflect.Field access$000(java.lang.Object,java.lang.String) -> access$000 16 56:56:void access$100(java.lang.Object,java.lang.String,java.lang.Object[]) -> access$100 17 …a.lang.reflect.Method access$200(java.lang.Object,java.lang.String,java.lang.Class[]) -> access$200 [all …]
|
/aosp_15_r20/external/python/cpython2/Doc/library/ |
D | zipfile.rst | 1 :mod:`zipfile` --- Work with ZIP archives 5 :synopsis: Read and write ZIP-format archive files. 13 -------------- 15 The ZIP file format is a common archive and compression standard. This module 16 provides tools to create, read, write, append, and list a ZIP file. Any 20 This module does not currently handle multi-disk ZIP files. 21 It can handle ZIP files that use the ZIP64 extensions 22 (that is ZIP files that are more than 4 GByte in size). It supports 23 decryption of encrypted files in ZIP archives, but it currently cannot 31 The error raised for bad ZIP files (old name: ``zipfile.error``). [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | zipfile.rst | 1 :mod:`zipfile` --- Work with ZIP archives 5 :synopsis: Read and write ZIP-format archive files. 12 -------------- 14 The ZIP file format is a common archive and compression standard. This module 15 provides tools to create, read, write, append, and list a ZIP file. Any 19 This module does not currently handle multi-disk ZIP files. 20 It can handle ZIP files that use the ZIP64 extensions 21 (that is ZIP files that are more than 4 GiB in size). It supports 22 decryption of encrypted files in ZIP archives, but it currently cannot 30 The error raised for bad ZIP files. [all …]
|
/aosp_15_r20/external/expat/expat/ |
H A D | Makefile.am | 9 # Copyright (c) 2017-2023 Sebastian Pipping <[email protected]> 14 # Copyright (c) 2024 Dag-Erling Smørgrav <[email protected]> 37 dist-bzip2 \ 38 dist-lzip \ 39 dist-xz \ 41 subdir-objects 43 ACLOCAL_AMFLAGS = -I m4 44 LIBTOOLFLAGS = --verbose 65 cmake/autotools/expat-config-version.cmake \ 66 cmake/autotools/expat-noconfig.cmake \ [all …]
|
/aosp_15_r20/bootable/recovery/install/ |
H A D | install.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 40 #include <android-base/file.h> 41 #include <android-base/logging.h> 42 #include <android-base/parsedouble.h> 43 #include <android-base/parseint.h> 44 #include <android-base/properties.h> 45 #include <android-base/stringprintf.h> 46 #include <android-base/strings.h> 47 #include <android-base/unique_fd.h> 66 // into target_files.zip. Assert the version defined in code and in Android.mk are consistent. [all …]
|
/aosp_15_r20/tools/treble/cuttlefish/ |
H A D | build_chd_utils.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 29 ) -> None: 33 otatools_zip_path: The path to otatools zip archive. 35 patterns: If provided, only extract files matching any of these patterns 36 from the otatools zip archive; otherwise, extract all files. 44 zf.extract(file, output_dir) 50 def _parse_copy_file_pair(copy_file_pair: str) -> Tuple[str, str]: 72 def copy_files(copy_files_list: List[str], output_dir: str) -> None: 94 def _extract_cil_files(target_files_zip: str, output_dir: str) -> None: 95 """Extract sepolicy cil files from a target files zip archive. [all …]
|
/aosp_15_r20/system/libziparchive/ |
H A D | ziptool.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 34 #include <android-base/file.h> 35 #include <android-base/strings.h> 108 if (stat(path.c_str(), &sb) != -1 && S_ISDIR(sb.st_mode)) return true; in MakeDirectoryHierarchy() 114 return (mkdir(path.c_str(), 0777) != -1); in MakeDirectoryHierarchy() 119 return static_cast<float>(100LL * (uncompressed - compressed)) / in CompressionRatio() 129 " Length Method Size Cmpr Date Time CRC-32 Name\n" in MaybeShowHeader() 130 "-------- ------ ------- ---- ---------- ----- -------- ----\n"); in MaybeShowHeader() 134 "--------- ---------- ----- ----\n"); in MaybeShowHeader() 141 printf("Zip file size: %" PRId64 " bytes, number of entries: %" PRIu64 "\n", in MaybeShowHeader() [all …]
|
/aosp_15_r20/external/skia/infra/bots/task_drivers/common/ |
H A D | goldctl_steps_test.go | 3 // Use of this source code is governed by a BSD-style license that can be 31 … := UploadToGold(ctx, utgArgs, "/path/to/skia/bazel-testlogs/some/test/target/test.outputs/outputs… 40 …"Test did not produce an undeclared test outputs ZIP file or directory; nothing to upload to Gold", 47 test("post-submit task", UploadToGoldArgs{ 64 ChangelistID: "changelist-id", 66 TryjobID: "tryjob-id", 71 test := func(name string, zip bool, utgArgs UploadToGoldArgs) { 75 "image-with-invalid-json-file.png": "fake PNG", 76 "image-with-invalid-json-file.json": `{ 79 "image-with-no-json-file.png": "fake PNG", [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/utils/ |
H A D | data_utils.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 # pylint: disable=g-import-not-at-top 28 import sys # pylint: disable=unused-import 66 content_type = response.info().get('Content-Length') 67 total_size = -1 86 from urllib.request import urlretrieve # pylint: disable=g-importing-member 100 """Extracts an archive if it matches tar, tar.gz, tar.bz, or zip formats. 104 path: path to extract the archive file 106 Options are 'auto', 'tar', 'zip', and None. 108 The default 'auto' is ['tar', 'zip']. [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | zipfile.py | 2 Read and write ZIP files. 32 ZIP64_LIMIT = (1 << 31) - 1 33 ZIP_FILECOUNT_LIMIT = (1 << 16) - 1 34 ZIP_MAX_COMMENT = (1 << 16) - 1 36 # constants for Zip file compression methods 39 # Other ZIP compression methods not supported 43 # in the PKWARE description of the ZIP file format: 143 """Quickly see if a file is a ZIP file by checking the magic number. 145 The filename argument may be a file or file-like object too. 160 Read the ZIP64 end-of-archive records and use that to update endrec [all …]
|
/aosp_15_r20/build/soong/cmd/diff_target_files/ |
H A D | zip_artifact.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 "archive/zip" 28 // ZipArtifact represents a zip file that may be local or remote. 30 // Files returns the list of files contained in the zip file. 33 // Close closes the zip file artifact. 37 // localZipArtifact is a handle to a local zip file artifact. 39 zr *zip.ReadCloser 43 // NewLocalZipArtifact returns a ZipArtifact for a local zip file.. 45 zr, err := zip.OpenReader(name) 61 // Files returns the list of files contained in the local zip file artifact. [all …]
|
/aosp_15_r20/art/ |
H A D | Android.mk | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 LOCAL_PATH := $(call my-dir) 48 # All the dependencies that must be built ahead of sync-ing them onto the target device. 53 include $(art_path)/test/Android.run-test.mk 57 # "mm test-art" to build and run all tests on host and device 58 .PHONY: test-art 59 test-art: 62 .PHONY: test-art-gtest 63 test-art-gtest: 66 .PHONY: test-art-run-test [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/zip/src/read/ |
D | stream.rs | 12 /// Stream decoder for zip. 18 pub fn new(reader: R) -> Self { in new() 24 fn parse_central_directory(&mut self) -> ZipResult<Option<ZipStreamFileMetadata>> { in parse_central_directory() 41 /// Iteraate over the stream and extract all file and their 43 pub fn visit<V: ZipStreamVisitor>(mut self, visitor: &mut V) -> ZipResult<()> { in visit() 55 /// Extract a Zip archive into a directory, overwriting files if they 60 pub fn extract<P: AsRef<Path>>(self, directory: P) -> ZipResult<()> { in extract() method 63 fn visit_file(&mut self, file: &mut ZipFile<'_>) -> ZipResult<()> { in extract() 87 ) -> ZipResult<()> { in extract() 112 /// * `file` - contains the content of the file and most of the metadata, [all …]
|
/aosp_15_r20/system/update_engine/scripts/ |
H A D | simulate_ota.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 34 """Extract a file from zip archive into |target_file_path|""" 52 """ Extract and unsparse partition image from zip archive """ 57 print("Faild to extract", img_name, "from IMAGES/ dir, trying RADIO/", e) 73 file_size = file_size & -4096 77 file_size = (file_size + 4095) & -4096 118 delta_generator_args = ["delta_generator", "--in_file=" + payload_path] 123 delta_generator_args.append("--is_partial_update") 125 delta_generator_args.append("--old_partitions=" + ":".join(old_partitions)) 126 delta_generator_args.append("--partition_names=" + ":".join(partition_names)) [all …]
|
H A D | brillo_update_payload | 10 # http://www.apache.org/licenses/LICENSE-2.0 31 # --payload generated unsigned payload output file 32 # --source_image if defined, generate a delta payload from the 34 # --target_image the target image that should be sent to clients 35 # --metadata_size_file if defined, generate a file containing the size 38 # --disable_fec_computation Disable the on device fec data computation for 41 # --force_minor_version Override the minor version used for delta 45 # --unsigned_payload the input unsigned payload to generate the hash from 46 # --signature_size signature sizes in bytes in the following format: 48 # --payload_hash_file if defined, generate a payload hash and output to the [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | zipfile.py | 2 Read and write ZIP files. 4 XXX references to utf-8 need further investigation. 53 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names 56 ZIP64_LIMIT = (1 << 31) - 1 57 ZIP_FILECOUNT_LIMIT = (1 << 16) - 1 58 ZIP_MAX_COMMENT = (1 << 16) - 1 60 # constants for Zip file compression methods 65 # Other ZIP compression methods not supported 76 # in the PKWARE description of the ZIP file format: 127 # Zip Appnote: 4.4.4 general purpose bit flag: (2 bytes) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | zipfile.py | 2 Read and write ZIP files. 4 XXX references to utf-8 need further investigation. 53 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names 56 ZIP64_LIMIT = (1 << 31) - 1 57 ZIP_FILECOUNT_LIMIT = (1 << 16) - 1 58 ZIP_MAX_COMMENT = (1 << 16) - 1 60 # constants for Zip file compression methods 65 # Other ZIP compression methods not supported 76 # in the PKWARE description of the ZIP file format: 127 # Zip Appnote: 4.4.4 general purpose bit flag: (2 bytes) [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | zipfile.py | 2 Read and write ZIP files. 4 XXX references to utf-8 need further investigation. 53 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names 56 ZIP64_LIMIT = (1 << 31) - 1 57 ZIP_FILECOUNT_LIMIT = (1 << 16) - 1 58 ZIP_MAX_COMMENT = (1 << 16) - 1 60 # constants for Zip file compression methods 65 # Other ZIP compression methods not supported 76 # in the PKWARE description of the ZIP file format: 127 # Zip Appnote: 4.4.4 general purpose bit flag: (2 bytes) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | zipfile.py | 2 Read and write ZIP files. 4 XXX references to utf-8 need further investigation. 53 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names 56 ZIP64_LIMIT = (1 << 31) - 1 57 ZIP_FILECOUNT_LIMIT = (1 << 16) - 1 58 ZIP_MAX_COMMENT = (1 << 16) - 1 60 # constants for Zip file compression methods 65 # Other ZIP compression methods not supported 76 # in the PKWARE description of the ZIP file format: 127 # Zip Appnote: 4.4.4 general purpose bit flag: (2 bytes) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | zipfile.py | 2 Read and write ZIP files. 4 XXX references to utf-8 need further investigation. 53 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names 56 ZIP64_LIMIT = (1 << 31) - 1 57 ZIP_FILECOUNT_LIMIT = (1 << 16) - 1 58 ZIP_MAX_COMMENT = (1 << 16) - 1 60 # constants for Zip file compression methods 65 # Other ZIP compression methods not supported 76 # in the PKWARE description of the ZIP file format: 127 # Zip Appnote: 4.4.4 general purpose bit flag: (2 bytes) [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | zipfile.py | 2 Read and write ZIP files. 4 XXX references to utf-8 need further investigation. 53 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names 56 ZIP64_LIMIT = (1 << 31) - 1 57 ZIP_FILECOUNT_LIMIT = (1 << 16) - 1 58 ZIP_MAX_COMMENT = (1 << 16) - 1 60 # constants for Zip file compression methods 65 # Other ZIP compression methods not supported 76 # in the PKWARE description of the ZIP file format: 127 # Zip Appnote: 4.4.4 general purpose bit flag: (2 bytes) [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_zipfile.py | 68 # Create the ZIP archive 73 with zipfp.open('written-open-w', mode='w') as f: 80 # Read the ZIP archive 86 # Print the ZIP directory 99 self.assertTrue(time.strptime(date, '%Y-%m-%d')) 109 self.assertIn("written-open-w", names) 118 self.assertIn("written-open-w", names) 123 for nm in (TESTFN, "another.name", "strfile", "written-open-w"): 138 # Read the ZIP archive 172 # Read the ZIP archive [all …]
|
/aosp_15_r20/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | super_image_mixer.cc | 8 // http://www.apache.org/licenses/LICENSE-2.0 29 #include <android-base/strings.h> 30 #include <android-base/logging.h> 87 auto contents = archive->ExtractToMemory(build_prop_file); in FindImports() 135 "Vendor target files zip does not contain {}", in CombineDynamicPartitionsInfo() 138 "System target files zip does not contain {}", in CombineDynamicPartitionsInfo() 155 "Vendor target files zip does not contain {}", kMiscInfoPath); in CombineMiscInfo() 157 "System target files zip does not contain {}", kMiscInfoPath); in CombineMiscInfo() 185 "Failed to extract " << name << " from the vendor target zip"); in ExtractTargetFiles() 198 "Failed to extract " << name << " from the vendor target zip"); in ExtractTargetFiles() [all …]
|