Home
last modified time | relevance | path

Searched refs:ZipFile (Results 1 – 25 of 69) sorted by relevance

123

/third_party/python/Lib/test/
Dtest_zipfile.py63 with zipfile.ZipFile(f, "w", **kwargs) as zipfp:
75 with zipfile.ZipFile(f, "r", compression) as zipfp:
133 with zipfile.ZipFile(f, "r", compression) as zipfp:
160 with zipfile.ZipFile(path, "r", self.compression) as zipfp:
167 with zipfile.ZipFile(f, "r", compression) as zipfp:
186 with zipfile.ZipFile(f, "r") as zipfp, \
205 with zipfile.ZipFile(f, "r") as zipfp, \
225 with zipfile.ZipFile(f, "r") as zipfp, \
250 with zipfile.ZipFile(f, "r") as zipfp:
264 with zipfile.ZipFile(f, "r") as zipfp:
[all …]
Dtest_zipfile64.py40 with zipfile.ZipFile(f, "w", compression) as zipfp:
58 with zipfile.ZipFile(f, "r", compression) as zipfp:
96 with zipfile.ZipFile(TESTFN, mode="w", allowZip64=True) as zipf:
103 with zipfile.ZipFile(TESTFN, mode="r") as zipf2:
110 with zipfile.ZipFile(TESTFN, mode="w", allowZip64=False) as zipf:
120 with zipfile.ZipFile(TESTFN, mode="a", allowZip64=False) as zipf:
127 with zipfile.ZipFile(TESTFN, mode="a", allowZip64=True) as zipf:
135 with zipfile.ZipFile(TESTFN, mode="r") as zipf2:
Dtest_zipapp.py53 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:
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:
Dtest_zipimport.py16 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED
113 with ZipFile(zipName, "w") as z:
448 with ZipFile(TEMP_ZIP, "w") as z:
520 with ZipFile(TEMP_ZIP, "w") as z:
535 with ZipFile(TEMP_ZIP, "a") as z:
561 with ZipFile(TEMP_ZIP, "w") as z:
624 with ZipFile(TEMP_ZIP, "w") as z:
736 with ZipFile(filename, "w") as z:
747 with ZipFile(filename, "w") as z:
Dtest_zipimport_support.py126 with zipfile.ZipFile(zip_name, 'a') as z:
130 with zipfile.ZipFile(zip_name, 'r') as zip_file:
/third_party/python/Doc/library/
Dzipfile.rst48 .. class:: ZipFile
74 methods of :class:`ZipFile` objects. Most users of the :mod:`zipfile` module
137 ZipFile Objects
141 .. class:: ZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True, \
190 ZipFile is also a context manager and therefore supports the
194 with ZipFile('spam.zip', 'w') as myzip:
198 Added the ability to use :class:`ZipFile` as a context manager.
224 .. method:: ZipFile.close()
230 .. method:: ZipFile.getinfo(name)
237 .. method:: ZipFile.infolist()
[all …]
/third_party/skia/resources/sksl/
Dupdate_fuzzer.py28 with zipfile.ZipFile(pathToPrimaryZip.name, 'w', zipfile.ZIP_DEFLATED) as primaryArchive:
29 with zipfile.ZipFile(pathToPaddedZip.name, 'w', zipfile.ZIP_DEFLATED) as paddedArchive:
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DAPIData.java30 import java.util.zip.ZipFile;
70 ZipFile zf = null; in read()
74 zf = new ZipFile(file); in read()
/third_party/skia/infra/bots/
Dzip_utils.py33 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z:
65 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
/third_party/flutter/skia/infra/bots/
Dzip_utils.py32 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z:
64 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
/third_party/skia/third_party/externals/freetype/tests/scripts/
Ddownload-test-fonts.py151 archive: zipfile.ZipFile, argument
235 archive = zipfile.ZipFile(io.BytesIO(download_file(archive_url)))
/third_party/python/Lib/test/ziptestdata/
Dheader.sh15 with zipfile.ZipFile(filename, mode='r') as exe_zip:
Dexe_with_z6415 with zipfile.ZipFile(filename, mode='r') as exe_zip:
Dexe_with_zip15 with zipfile.ZipFile(filename, mode='r') as exe_zip:
/third_party/python/Lib/distutils/
Darchive_util.py163 zip = zipfile.ZipFile(zip_filename, "w",
166 zip = zipfile.ZipFile(zip_filename, "w",
/third_party/python/Lib/test/test_importlib/
Dupdate-zips.py36 with zipfile.ZipFile(zfpath, 'w') as zf:
/third_party/skia/bin/
Dfetch-gn34 with zipfile.ZipFile(gnzip, 'r') as f:
Dfetch-sk88 with zipfile.ZipFile(skzip, 'r') as f:
/third_party/python/Lib/test/support/
Dscript_helper.py224 with zipfile.ZipFile(zip_name, 'w') as zip_file:
262 with zipfile.ZipFile(zip_name, 'w') as zip_file:
/third_party/flutter/engine/flutter/tools/android_support/
Ddownload_android_support.py35 aar_zip = zipfile.ZipFile(cStringIO.StringIO(downloaded_file))
/third_party/python/Lib/distutils/tests/
Dtest_archive_util.py249 with zipfile.ZipFile(tarball) as zf:
257 zipfile_class = zipfile.ZipFile
275 with zipfile.ZipFile(tarball) as zf:
Dtest_bdist_dumb.py81 fp = zipfile.ZipFile(os.path.join('dist', base))
/third_party/python/PCbuild/
Dget_external.py28 with zipfile.ZipFile(os.fspath(zip_path)) as zf:
/third_party/python/Tools/peg_generator/scripts/
Dtest_pypi_packages.py44 zipfile.ZipFile(filename).extractall(savedir)
/third_party/boost/libs/unordered/ci/
Ddownload-boost-snapshot.py55 zip = zipfile.ZipFile(filename, "r")

123