/external/python/cpython2/Lib/test/ |
D | test_zipfile.py | 12 import zipfile 55 with zipfile.ZipFile(f, "w", compression) as zipfp: 64 with zipfile.ZipFile(f, "r", compression) as zipfp: 120 self.zip_test(f, zipfile.ZIP_STORED) 126 with zipfile.ZipFile(f, "r", compression) as zipfp: 148 self.zip_open_test(f, zipfile.ZIP_STORED) 152 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp: 158 with zipfile.ZipFile(TESTFN2, "r") as zipfp: 174 with zipfile.ZipFile(f, "r", compression) as zipfp: 187 self.zip_random_open_test(f, zipfile.ZIP_STORED) [all …]
|
D | test_zipfile64.py | 20 import zipfile, os, unittest 48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True) 67 zipfp = zipfile.ZipFile(f, "r", compression) 83 self.zipTest(f, zipfile.ZIP_STORED) 85 self.zipTest(TESTFN2, zipfile.ZIP_STORED) 92 self.zipTest(f, zipfile.ZIP_DEFLATED) 94 self.zipTest(TESTFN2, zipfile.ZIP_DEFLATED) 106 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=True) 114 zipf2 = zipfile.ZipFile(TESTFN, mode="r") 121 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=False) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_zipfile.py | 9 import zipfile 59 with zipfile.ZipFile(f, "w", **kwargs) as zipfp: 71 with zipfile.ZipFile(f, "r", compression) as zipfp: 129 with zipfile.ZipFile(f, "r", compression) as zipfp: 156 with zipfile.ZipFile(path, "r", self.compression) as zipfp: 163 with zipfile.ZipFile(f, "r", compression) as zipfp: 182 with zipfile.ZipFile(f, "r") as zipfp, \ 201 with zipfile.ZipFile(f, "r") as zipfp, \ 221 with zipfile.ZipFile(f, "r") as zipfp, \ 246 with zipfile.ZipFile(f, "r") as zipfp: [all …]
|
D | test_zipfile64.py | 14 import zipfile, os, unittest 40 zipfp = zipfile.ZipFile(f, "w", compression) 59 zipfp = zipfile.ZipFile(f, "r", compression) 75 self.zipTest(f, zipfile.ZIP_STORED) 77 self.zipTest(TESTFN2, zipfile.ZIP_STORED) 84 self.zipTest(f, zipfile.ZIP_DEFLATED) 86 self.zipTest(TESTFN2, zipfile.ZIP_DEFLATED) 98 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=True) 106 zipf2 = zipfile.ZipFile(TESTFN, mode="r") 114 zipf = zipfile.ZipFile(TESTFN, mode="w", allowZip64=False) [all …]
|
D | test_zipapp.py | 10 import zipfile 53 with zipfile.ZipFile(target, 'r') as z: 70 with zipfile.ZipFile(target, 'r') as z: 90 with zipfile.ZipFile(target, 'r') as z: 114 with zipfile.ZipFile(target, 'r') as z: 117 zipfile.ZIP_DEFLATED) 144 with zipfile.ZipFile(str(target), 'r') as z: 162 with zipfile.ZipFile(str(target), 'r') as z: 298 with zipfile.ZipFile(new_target, 'r') as z:
|
/external/skqp/infra/bots/ |
D | zip_utils.py | 16 import zipfile 32 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z: 37 zi = zipfile.ZipInfo(filepath) 51 zi.compress_type = zipfile.ZIP_DEFLATED 64 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
|
/external/skia/infra/bots/ |
D | zip_utils.py | 16 import zipfile 32 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z: 37 zi = zipfile.ZipInfo(filepath) 51 zi.compress_type = zipfile.ZIP_DEFLATED 64 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | util.py | 8 import zipfile 12 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z: 23 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
|
/external/chromium-trace/catapult/third_party/zipfile/ |
D | README.chromium | 1 Name: Python zipfile module 2 Short Name: zipfile 3 URL: https://github.com/python/cpython/blob/master/Lib/zipfile.py 10 This is a copy of the zipfile module from Python 2.7.13. This snapshot was 16 Renamed zipfile.py to zipfile_2_7_13.py to avoid conflicting with system copy.
|
/external/python/cpython3/Lib/distutils/ |
D | archive_util.py | 11 import zipfile 13 zipfile = None variable 141 if zipfile is None: 163 zip = zipfile.ZipFile(zip_filename, "w", 164 compression=zipfile.ZIP_DEFLATED) 166 zip = zipfile.ZipFile(zip_filename, "w", 167 compression=zipfile.ZIP_STORED)
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | zip_utils.py | 10 import zipfile 44 zip_file.write(dir_path, dir_arc_path, zipfile.ZIP_STORED) 49 zip_file.write(file_path, file_arc_path, zipfile.ZIP_DEFLATED) 52 zip_file.write(path, arc_path, zipfile.ZIP_DEFLATED) 56 with zipfile.ZipFile(zip_path, 'w') as zip_file:
|
D | zip_utils_test.py | 7 import zipfile 33 self.assertTrue(zipfile.is_zipfile(zip_path)) 35 actual = zipfile.ZipFile(zip_path)
|
/external/python/setuptools/pkg_resources/tests/ |
D | test_pkg_resources.py | 7 import zipfile 56 zip_egg = zipfile.ZipFile(egg, 'w') 57 zip_info = zipfile.ZipInfo() 61 zip_info = zipfile.ZipInfo() 65 zip_info = zipfile.ZipInfo() 69 zip_info = zipfile.ZipInfo()
|
/external/python/cpython2/Lib/distutils/ |
D | archive_util.py | 131 import zipfile 133 zipfile = None 140 if zipfile is None: 162 zip = zipfile.ZipFile(zip_filename, "w", 163 compression=zipfile.ZIP_DEFLATED)
|
/external/python/cpython2/Doc/library/ |
D | zipfile.rst | 1 :mod:`zipfile` --- Work with ZIP archives 4 .. module:: zipfile 11 **Source code:** :source:`Lib/zipfile.py` 31 The error raised for bad ZIP files (old name: ``zipfile.error``). 44 :ref:`zipfile-objects` for constructor details. 56 methods of :class:`ZipFile` objects. Most users of the :mod:`zipfile` module 118 ``True`` zipfile will create ZIP files that use the ZIP64 extensions when 119 the zipfile is larger than 2 GB. If it is false (the default) :mod:`zipfile` 166 single: universal newlines; zipfile.ZipFile.open method 244 The zipfile module attempts to prevent that. See :meth:`extract` note. [all …]
|
/external/libchrome/build/android/gyp/util/ |
D | build_utils.py | 20 import zipfile 259 if not zipfile.is_zipfile(zip_path): 263 with zipfile.ZipFile(zip_path) as z: 307 zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=HERMETIC_TIMESTAMP) 329 compress_type = zipfile.ZIP_DEFLATED if compress else zipfile.ZIP_STORED 351 with zipfile.ZipFile(output, 'w') as outfile: 387 assert isinstance(output, zipfile.ZipFile) 390 out_zip = zipfile.ZipFile(output, 'w') 394 with zipfile.ZipFile(in_file, 'r') as in_zip: 407 compress=info.compress_type != zipfile.ZIP_STORED)
|
/external/tensorflow/tensorflow/go/ |
D | example_inception_inference_test.go | 226 zipfile = filepath.Join(dir, "inception5h.zip") 235 if err := download(URL, zipfile); err != nil { 238 if err := unzip(dir, zipfile); err != nil { 241 os.Remove(zipfile) 269 func unzip(dir, zipfile string) error { 270 r, err := zip.OpenReader(zipfile)
|
/external/tensorflow/tensorflow/tools/ci_build/ |
D | copy_binary.py | 33 import zipfile 60 zip_ref = zipfile.ZipFile(os.path.join(directory, origin_binary), "r") 78 zout = zipfile.ZipFile(directory + new_binary, "w", zipfile.ZIP_DEFLATED)
|
/external/libchrome/mojo/public/tools/gn/ |
D | zip.py | 16 import zipfile 31 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as outfile: 42 with zipfile.ZipFile(zf_name, 'r') as zf:
|
/external/python/setuptools/setuptools/tests/ |
D | test_upload_docs.py | 2 import zipfile 54 assert zipfile.is_zipfile(tmp_file) 56 with contextlib.closing(zipfile.ZipFile(tmp_file)) as zip_file:
|
/external/python/cpython3/Doc/library/ |
D | zipfile.rst | 1 :mod:`zipfile` --- Work with ZIP archives 4 .. module:: zipfile 10 **Source code:** :source:`Lib/zipfile.py` 52 :ref:`zipfile-objects` for constructor details. 65 methods of :class:`ZipFile` objects. Most users of the :mod:`zipfile` module 159 If *allowZip64* is ``True`` (the default) zipfile will create ZIP files that 160 use the ZIP64 extensions when the zipfile is larger than 4 GiB. If it is 161 ``false`` :mod:`zipfile` will raise an exception when the ZIP file would 675 .. program:: zipfile 680 The :mod:`zipfile` module provides a simple command-line interface to interact [all …]
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_archive_util.py | 26 import zipfile 247 with zipfile.ZipFile(tarball) as zf: 252 patch(self, archive_util.zipfile, 'zlib', None) # force zlib ImportError 255 zipfile_class = zipfile.ZipFile 257 if kw.get('compression', None) == zipfile.ZIP_STORED: 261 patch(self, archive_util.zipfile, 'ZipFile', fake_zipfile) 271 [((tarball, "w"), {'compression': zipfile.ZIP_STORED})]) 273 with zipfile.ZipFile(tarball) as zf:
|
/external/python/cpython3/Lib/ |
D | zipapp.py | 7 import zipfile 136 compression = (zipfile.ZIP_DEFLATED if compressed else 137 zipfile.ZIP_STORED) 138 with zipfile.ZipFile(fd, 'w', compression=compression) as z:
|
/external/scapy/.appveyor/ |
D | InstallWindump.ps1 | 12 param([string]$zipfile, [string]$outpath) in Unzip() variable 14 [System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath) in Unzip() variable
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | dependency_manager_util.py | 10 import zipfile_2_7_13 as zipfile namespace 86 if not (archive_path and zipfile.is_zipfile(archive_path)): 101 with zipfile.ZipFile(archive_path, 'r') as archive:
|