/third_party/python/Lib/ |
D | zipimport.py | 98 self.archive = path 210 if pathname.startswith(self.archive + path_sep): 211 key = pathname[len(self.archive + path_sep):] 217 return _get_data(self.archive, toc_entry) 255 return _get_data(self.archive, toc_entry).decode() 296 fullpath = _bootstrap_external._path_join(self.archive, path) 333 self._files = _read_directory(self.archive) 334 _zip_directory_cache[self.archive] = self._files 336 _zip_directory_cache.pop(self.archive, None) 402 def _read_directory(archive): argument [all …]
|
D | zipapp.py | 38 def _maybe_open(archive, mode): argument 39 if isinstance(archive, (str, os.PathLike)): 40 with open(archive, mode) as f: 43 yield archive 53 def _copy_archive(archive, new_archive, interpreter=None): argument 55 with _maybe_open(archive, 'rb') as src: 150 def get_interpreter(archive): argument 151 with _maybe_open(archive, 'rb') as f:
|
/third_party/elfutils/src/ |
D | make-debug-archive.in | 85 archive=$dir/debug.a 95 if [ $force_kernel = no -a "$archive" -nt "$dep" ]; then 100 [ ! -e "$archive" ] || $sudo $RM -f "$archive" || exit 102 set "$archive" "-K$release" 109 archive="$1" 112 case "$archive" in 114 *) archive="`/bin/pwd`/$archive" ;; 118 new_archive="$archive.new" 130 $sudo $MV -f "$new_archive" "$archive"
|
/third_party/skia/third_party/externals/dawn/scripts/ |
D | extract.py | 94 archive, output = args 96 if not os.path.exists(archive): 100 with open(archive) as f: 116 if archive.endswith('.zip'): 117 entries = IterateZip(archive) 118 elif archive.endswith('.tar.gz'): 119 entries = IterateTar(archive, 'gz') 120 elif archive.endswith('.tar.bz2'): 121 entries = IterateTar(archive, 'bz2') 123 raise ValueError(archive) [all …]
|
/third_party/skia/third_party/externals/expat/expat/ |
D | distribute.sh | 51 archive=expat-${version}.tar.${ext} 52 gpg --armor --output ${archive}.asc --detach-sign ${archive} 53 gpg --verify ${archive}.asc ${archive}
|
/third_party/python/Doc/library/ |
D | zipapp.rst | 26 can be used to create an executable archive from a directory containing 27 Python code. When run, the archive will execute the ``main`` function from 28 the module ``myapp`` in the archive. 48 If *source* is a directory, this will create an archive from the contents of 49 *source*. If *source* is a file, it should be an archive, and it will be 50 copied to the target archive (or the contents of its shebang line will be 64 An output filename must be specified if the *source* is an archive (and in 69 Add a ``#!`` line to the archive specifying *interpreter* as the command 70 to run. Also, on POSIX, make the archive executable. The default is to 75 Write a ``__main__.py`` file to the archive that executes *mainfn*. The [all …]
|
D | zipfile.rst | 5 :synopsis: Read and write ZIP-format archive files. 14 The ZIP file format is a common archive and compression standard. This module 72 Class used to represent information about a member of an archive. Instances 76 module. *filename* should be the full name of the archive member, and 92 The numeric constant for an uncompressed archive member. 131 Information about the Info-ZIP project's ZIP archive programs and development 154 ZIP file, then a new ZIP archive is appended to the file. This is meant for 155 adding a ZIP archive to another file (such as :file:`python.exe`). If 159 *compression* is the ZIP compression method to use when writing the archive, 173 writing files to the archive. [all …]
|
D | zipimport.rst | 20 also allows an item of :data:`sys.path` to be a string naming a ZIP file archive. 21 The ZIP archive can contain a subdirectory structure to support package imports, 22 and a path within the archive can be specified to only import from a 24 import from the :file:`lib/` subdirectory within the archive. 26 Any files may be present in the ZIP archive, but importers are only invoked for 28 (:file:`.pyd`, :file:`.so`) is disallowed. Note that if an archive only contains 29 :file:`.py` files, Python will not attempt to modify the archive by adding the 30 corresponding :file:`.pyc` file, meaning that if a ZIP archive 34 Previously, ZIP archives with an archive comment were not supported. 75 archive. [all …]
|
D | tarfile.rst | 1 :mod:`tarfile` --- Read and write tar archive files 5 :synopsis: Read and write tar-format archive files. 165 Return :const:`True` if *name* is a tar archive file, that the :mod:`tarfile` 182 Is raised when a tar archive is opened, that either cannot be handled by the 217 Each of the following constants defines a tar archive format that the 256 Documentation for tar archive files, including GNU tar extensions. 264 The :class:`TarFile` object provides an interface to a tar archive. A tar 265 archive is a sequence of blocks. An archive member (a stored file) is made up of 267 archive several times. Each archive member is represented by a :class:`TarInfo` 272 note that in the event of an exception an archive opened for writing will not [all …]
|
/third_party/node/deps/npm/node_modules/tar/ |
D | README.md | 14 A "tar file" or "tarball" is an archive of file system entries 15 (directories, files, links, etc.) The name comes from "tape archive". 21 * `c` Create an archive 22 * `r` Replace entries within an archive 23 * `u` Update entries within an archive (ie, replace if they're newer) 24 * `t` List out the contents of an archive 25 * `x` Extract an archive to disk 52 `create`, this is a readable stream of the generated archive. For 53 `list` and `extract` this is a writable stream that an archive should 73 archive, and invalid entries won't be unpacked. This is usually [all …]
|
/third_party/flutter/flutter/dev/tools/ |
D | java_and_objc_doc.dart | 9 import 'package:archive/archive.dart'; 14 /// This script downloads an archive of Javadoc and objc doc for the engine from 26 /// Fetches the zip archive at the specified url. 28 /// Returns null if the archive fails to download after [maxTries] attempts. 49 final Archive archive = await fetchArchive(url, maxTries); 50 if (archive == null) { 51 stderr.writeln('Failed to fetch zip archive from: $url after $maxTries attempts. Giving up.'); 59 for (ArchiveFile af in archive) {
|
/third_party/cef/tests/ceftests/ |
D | zip_reader_unittest.cc | 221 CefRefPtr<CefZipArchive> archive(new CefZipArchive()); in TEST() local 223 ASSERT_EQ(archive->Load(stream, CefString(), false), (size_t)5); in TEST() 225 ASSERT_TRUE(archive->HasFile("test_archive/file 1.txt")); in TEST() 226 ASSERT_TRUE(archive->HasFile("test_archive/folder 1/file 1a.txt")); in TEST() 227 ASSERT_TRUE(archive->HasFile("test_archive/FOLDER 1/file 1b.txt")); in TEST() 228 ASSERT_TRUE(archive->HasFile("test_archive/folder 1/folder 1a/file 1a1.txt")); in TEST() 229 ASSERT_TRUE(archive->HasFile("test_archive/folder 2/file 2a.txt")); in TEST() 233 file = archive->GetFile("test_archive/folder 2/file 2a.txt"); in TEST()
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/kernel/ |
D | extract_far.dart | 12 parser.addOption("archive", help: "Path to the far archive to extract from"); 27 if (options["archive"] == null) { 28 throw "Must specify --archive"; 46 Future<void> extract(String archive, String file, String output) async { 48 final args = ["extract-file", "--archive=$archive", "--file=$file", "--output=$output"]; 57 final outerArchive = options["archive"];
|
/third_party/node/ |
D | node.gypi | 7 # --whole-archive,force_load and /WHOLEARCHIVE are used to include 137 '-Wl,--whole-archive', 139 '-Wl,--no-whole-archive', 176 '-Wl,--whole-archive', 178 '-Wl,--no-whole-archive', 263 '-Wl,--whole-archive <(v8_base)', 264 '-Wl,--no-whole-archive', 330 # -force_load or --whole-archive are not applicable for 348 '-Wl,--whole-archive,' 350 '-Wl,--no-whole-archive',
|
/third_party/protobuf/ |
D | protobuf_deps.bzl | 24 urls = ["https://github.com/madler/zlib/archive/v1.2.11.tar.gz"], 40 …urls = ["https://github.com/bazelbuild/rules_cc/archive/818289e5613731ae410efb54218a4077fb9dbb03.t… 48 …urls = ["https://github.com/bazelbuild/rules_java/archive/981f06c3d2bd10225e85209904090eb7b5fb26bd… 56 …urls = ["https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc31… 64 …urls = ["https://github.com/bazelbuild/rules_python/archive/4b84ad270387a7c439ebdccfd530e2339601ef…
|
/third_party/elfutils/tests/ |
D | run-arextract.sh | 23 archive=${abs_top_builddir}/libelf/libelf.a 24 if test -f $archive; then 30 testrun ${abs_builddir}/arextract $archive `basename $f` arextract.test || exit 1
|
/third_party/flutter/flutter/dev/bots/ |
D | prepare_package.dart | 182 /// Creates a pre-populated Flutter archive from a git repo. 184 /// [tempDir] is the directory to use for creating the archive. The script 191 /// archive creation is echoed to stderr and stdout. 222 /// The branch to build the archive for. The branch must contain [revision]. 225 /// The git revision hash to build the archive for. This revision has 228 /// to create the archive. 234 /// The temporary directory used to build the archive in. 260 /// Returns a default archive name when given a Git revision. 267 // converts it to a compressed cpio archive, and when you double 284 /// Performs all of the steps needed to create an archive. [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuImageIO.hpp | 39 void loadImage (TextureLevel& dst, const tcu::Archive& archive, const char* fileName); 41 void loadPNG (TextureLevel& dst, const tcu::Archive& archive, const char* fileName); 44 void loadPKM (CompressedTexture& dst, const tcu::Archive& archive, const char* fileName);
|
D | tcuImageIO.cpp | 55 void loadImage (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) in loadImage() argument 60 loadPNG(dst, archive, fileName); in loadImage() 82 void loadPNG (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) in loadPNG() argument 84 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPNG() 228 void loadPKM (CompressedTexture& dst, const tcu::Archive& archive, const char* fileName) in loadPKM() argument 230 de::UniquePtr<Resource> resource(archive.getResource(fileName)); in loadPKM()
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/fuchsia/ |
D | application_package.dart | 28 /// Creates a new [FuchsiaApp] from an existing .far archive. 30 /// [applicationBinary] is the path to the .far archive. 34 …ntError('File "${applicationBinary.path}" does not exist or is not a .far file. Use far archive.'); 45 /// The location of the 'far' archive containing the built app. 53 // TODO(zra): Extract the archive and extract the id from meta/package.
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/ |
D | os.dart | 5 import 'package:archive/archive.dart'; 232 final Archive archive = Archive(); 240 archive.addFile(ArchiveFile(path, bytes.length, bytes)); 242 zipFile.writeAsBytesSync(ZipEncoder().encode(archive), flush: true); 247 final Archive archive = ZipDecoder().decodeBytes(file.readAsBytesSync()); 248 _unpackArchive(archive, targetDirectory); 265 final Archive archive = TarDecoder().decodeBytes( 268 _unpackArchive(archive, targetDirectory); 283 void _unpackArchive(Archive archive, Directory targetDirectory) { 284 for (ArchiveFile archiveFile in archive.files) { [all …]
|
/third_party/skia/third_party/externals/freetype/tests/scripts/ |
D | download-test-fonts.py | 151 archive: zipfile.ZipFile, 171 file = archive.open(filepath) 173 digest = digest_data(archive.open(filepath).read()) 235 archive = zipfile.ZipFile(io.BytesIO(download_file(archive_url))) 245 archive,
|
/third_party/freetype/tests/scripts/ |
D | download-test-fonts.py | 151 archive: zipfile.ZipFile, 171 file = archive.open(filepath) 173 digest = digest_data(archive.open(filepath).read()) 235 archive = zipfile.ZipFile(io.BytesIO(download_file(archive_url))) 245 archive,
|
/third_party/glslang/ |
D | WORKSPACE | 11 urls = ["https://github.com/google/googletest/archive/release-1.10.0.zip"], # 3-Oct-2019 18 urls = ["https://github.com/google/re2/archive/e860767c86e577b87deadf24cc4567ea83c4f162.zip"], 26 … urls = ["https://github.com/google/effcee/archive/8f0a61dc95e0df18c18e0ac56d83b3fa9d2fe90b.zip"],
|
/third_party/googletest/ |
D | WORKSPACE | 7 …urls = ["https://github.com/abseil/abseil-cpp/archive/7971fb358ae376e016d2d4fc9327aad95659b25e.zip… 14 …urls = ["https://github.com/bazelbuild/rules_cc/archive/68cb652a71e7e7e2858c50593e5a9e3b94e5b9a9.z… 21 …urls = ["https://github.com/bazelbuild/rules_python/archive/ed6cc8f2c3692a6a7f013ff8bc185ba77eb9b4…
|