Home
last modified time | relevance | path

Searched refs:ZipFile (Results 1 - 25 of 38) sorted by relevance

12

/third_party/python/Lib/test/
H A Dtest_zipfile.py69 with zipfile.ZipFile(f, "w", **kwargs) as zipfp:
81 with zipfile.ZipFile(f, "r", compression) as zipfp:
139 with zipfile.ZipFile(f, "r", compression) as zipfp:
166 with zipfile.ZipFile(path, "r", self.compression) as zipfp:
173 with zipfile.ZipFile(f, "r", compression) as zipfp:
192 with zipfile.ZipFile(f, "r") as zipfp, \
211 with zipfile.ZipFile(f, "r") as zipfp, \
231 with zipfile.ZipFile(f, "r") as zipfp, \
256 with zipfile.ZipFile(f, "r") as zipfp:
270 with zipfile.ZipFile(
[all...]
H A Dtest_zipfile64.py41 with zipfile.ZipFile(f, "w", compression) as zipfp:
59 with zipfile.ZipFile(f, "r", compression) as zipfp:
96 # and that the resulting archive can be read properly by ZipFile
97 with zipfile.ZipFile(TESTFN, mode="w", allowZip64=True) as zipf:
104 with zipfile.ZipFile(TESTFN, mode="r") as zipf2:
111 with zipfile.ZipFile(TESTFN, mode="w", allowZip64=False) as zipf:
121 with zipfile.ZipFile(TESTFN, mode="a", allowZip64=False) as zipf:
128 with zipfile.ZipFile(TESTFN, mode="a", allowZip64=True) as zipf:
136 with zipfile.ZipFile(TESTFN, mode="r") as zipf2:
H A Dtest_zipapp.py54 with zipfile.ZipFile(target, 'r') as z:
71 with zipfile.ZipFile(target, 'r') as z:
91 with zipfile.ZipFile(target, 'r') as z:
115 with zipfile.ZipFile(target, 'r') as z:
145 with zipfile.ZipFile(str(target), 'r') as z:
163 with zipfile.ZipFile(str(target), 'r') as z:
299 with zipfile.ZipFile(new_target, 'r') as z:
H A Dtest_zipimport.py16 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED namespace
113 with ZipFile(zipName, "w") as z:
449 with ZipFile(TEMP_ZIP, "w") as z:
521 with ZipFile(TEMP_ZIP, "w") as z:
536 with ZipFile(TEMP_ZIP, "a") as z:
562 with ZipFile(TEMP_ZIP, "w") as z:
625 with ZipFile(TEMP_ZIP, "w") as z:
744 with ZipFile(filename, "w") as z:
755 with ZipFile(filename, "w") as z:
H A Dtest_zipimport_support.py126 with zipfile.ZipFile(zip_name, 'a') as z:
130 with zipfile.ZipFile(zip_name, 'r') as zip_file:
H A Dtest_pkgutil.py69 z = zipfile.ZipFile(zip_file, 'w')
105 z = zipfile.ZipFile(zip_file, 'w')
193 z = zipfile.ZipFile(zip_file, 'w')
/third_party/skia/resources/sksl/
H A 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/
H A 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/
H A 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/python/Lib/distutils/
H A Darchive_util.py163 zip = zipfile.ZipFile(zip_filename, "w",
166 zip = zipfile.ZipFile(zip_filename, "w",
/third_party/skia/third_party/externals/freetype/tests/scripts/
H A Ddownload-test-fonts.py151 archive: zipfile.ZipFile,
156 """Extract a file from a given zipfile.ZipFile archive.
159 archive: Input ZipFile objec.
235 archive = zipfile.ZipFile(io.BytesIO(download_file(archive_url)))
/third_party/notofonts/scripts/
H A Dgather.py3 from zipfile import ZipFile namespace
140 z = ZipFile(download_file(latest_asset.browser_download_url))
H A Dbuild-site.py3 from zipfile import ZipFile namespace
/third_party/python/Lib/test/test_importlib/
H A Dupdate-zips.py21 >>> monkeypatch.setattr(zipfile, 'ZipFile', mock.MagicMock())
36 with zipfile.ZipFile(zfpath, 'w') as zf:
/third_party/python/Lib/distutils/tests/
H A Dtest_archive_util.py249 with zipfile.ZipFile(tarball) as zf:
257 zipfile_class = zipfile.ZipFile
263 patch(self, archive_util.zipfile, 'ZipFile', fake_zipfile)
275 with zipfile.ZipFile(tarball) as zf:
H A Dtest_bdist_dumb.py81 fp = zipfile.ZipFile(os.path.join('dist', base))
/third_party/python/Tools/peg_generator/scripts/
H A Dtest_pypi_packages.py45 zipfile.ZipFile(filename).extractall(savedir)
/third_party/python/PCbuild/
H A Dget_external.py28 with zipfile.ZipFile(os.fspath(zip_path)) as zf:
/third_party/skia/bin/
H A Dfetch-gn34 with zipfile.ZipFile(gnzip, 'r') as f:
H A Dfetch-sk88 with zipfile.ZipFile(skzip, 'r') as f:
/third_party/python/Lib/test/support/
H A Dscript_helper.py231 with zipfile.ZipFile(zip_name, 'w') as zip_file:
242 # with zipfile.ZipFile(zip_name, 'r') as zip_file:
269 with zipfile.ZipFile(zip_name, 'w') as zip_file:
277 # with zipfile.ZipFile(zip_name, 'r') as zip_file:
/third_party/node/tools/configure.d/
H A Dnodedownload.py74 with contextlib.closing(zipfile.ZipFile(packedfile, 'r')) as icuzip:
/third_party/python/Lib/
H A Dzipfile.py41 "is_zipfile", "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile",
414 # Other attributes are set by class ZipFile:
811 Is returned by ZipFile.open().
1222 class ZipFile: class
1225 z = ZipFile(file, mode="r", compression=ZIP_STORED, allowZip64=True,
1229 If it is a path, the file will be opened and closed by ZipFile.
1234 allowZip64: if True ZipFile will create files with ZIP64 extensions when
1253 raise ValueError("ZipFile requires mode 'r', 'w', 'x', or 'a'")
2012 class PyZipFile(ZipFile):
2017 ZipFile
[all...]
/third_party/mindspore/
H A Dbuild_helper.py28 f = zipfile.ZipFile(in_zip_path, "r")
/third_party/skia/third_party/externals/dawn/scripts/
H A Dextract.py57 with zipfile.ZipFile(path, 'r') as zip_file:

Completed in 14 milliseconds

12