Searched refs:ZIP_DEFLATED (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium-trace/catapult/systrace/profile_chrome/
H A Dutil.py12 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
23 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
/external/libmojo/third_party/catapult/devil/devil/utils/
H A Dzip_utils.py27 zip_file.write(file_path, file_arc_path, zipfile.ZIP_DEFLATED)
30 zip_file.write(path, arc_path, zipfile.ZIP_DEFLATED)
/external/skia/infra/bots/
H A Dzip_utils.py32 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z:
44 zi.compress_type = zipfile.ZIP_DEFLATED
57 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
/external/skqp/infra/bots/
H A Dzip_utils.py32 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z:
44 zi.compress_type = zipfile.ZIP_DEFLATED
57 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
/external/chromium-trace/catapult/devil/devil/utils/
H A Dzip_utils.py49 zip_file.write(file_path, file_arc_path, zipfile.ZIP_DEFLATED)
52 zip_file.write(path, arc_path, zipfile.ZIP_DEFLATED)
/external/tensorflow/tensorflow/tools/ci_build/
H A Dcopy_binary.py76 zout = zipfile.ZipFile(directory + new_binary, "w", zipfile.ZIP_DEFLATED)
/external/python/cpython2/Lib/test/
H A Dtest_zipfile.py272 self.zip_test(f, zipfile.ZIP_DEFLATED)
277 self.zip_open_test(f, zipfile.ZIP_DEFLATED)
282 self.zip_random_open_test(f, zipfile.ZIP_DEFLATED)
288 self.zip_readline_read_test(f, zipfile.ZIP_DEFLATED)
293 self.zip_readline_test(f, zipfile.ZIP_DEFLATED)
298 self.zip_readlines_test(f, zipfile.ZIP_DEFLATED)
303 self.zip_iterlines_test(f, zipfile.ZIP_DEFLATED)
309 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_DEFLATED) as zipfp:
313 with zipfile.ZipFile(TESTFN2, "r", zipfile.ZIP_DEFLATED) as zipfp:
425 zipfp.write(TESTFN, 'deflateme', zipfile.ZIP_DEFLATED)
[all...]
H A Dtest_zipfile64.py92 self.zipTest(f, zipfile.ZIP_DEFLATED)
94 self.zipTest(TESTFN2, zipfile.ZIP_DEFLATED)
H A Dtest_zipimport.py18 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED namespace
133 if self.compression != ZIP_DEFLATED:
387 compression = ZIP_DEFLATED
/external/libmojo/mojo/public/tools/gn/
H A Dzip.py31 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as outfile:
/external/python/cpython2/Tools/nuget/
H A Dmake_zip.py13 from zipfile import ZipFile, ZIP_DEFLATED namespace
127 with ZipFile(str(target), 'w', ZIP_DEFLATED) as f:
/external/python/cpython3/Lib/test/
H A Dtest_zipfile64.py85 self.zipTest(f, zipfile.ZIP_DEFLATED)
87 self.zipTest(TESTFN2, zipfile.ZIP_DEFLATED)
H A Dtest_zipimport.py12 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED namespace
167 if self.compression != ZIP_DEFLATED:
653 compression = ZIP_DEFLATED
H A Dtest_zipfile.py517 compression = zipfile.ZIP_DEFLATED
524 zipfp.write(TESTFN, 'deflateme', zipfile.ZIP_DEFLATED)
528 self.assertEqual(dinfo.compress_type, zipfile.ZIP_DEFLATED)
717 compression = zipfile.ZIP_DEFLATED
1540 compression = zipfile.ZIP_DEFLATED
1745 compression = zipfile.ZIP_DEFLATED
1849 with zipfile.ZipFile(f, "w", zipfile.ZIP_DEFLATED) as zipfp:
1912 with zipfile.ZipFile(f, 'w', zipfile.ZIP_DEFLATED) as zipf:
1926 with zipfile.ZipFile(f, "w", zipfile.ZIP_DEFLATED) as zipf:
1950 with zipfile.ZipFile(TESTFN2, 'w', zipfile.ZIP_DEFLATED) a
[all...]
/external/python/cpython3/Tools/msi/
H A Dmake_zip.py12 from zipfile import ZipFile, ZIP_DEFLATED namespace
142 with ZipFile(str(target), 'w', ZIP_DEFLATED) as f:
/external/autotest/client/site_tests/platform_CrosDisksArchive/
H A Dplatform_CrosDisksArchive.py49 compression=zipfile.ZIP_DEFLATED):
/external/python/cpython2/Lib/distutils/
H A Darchive_util.py163 compression=zipfile.ZIP_DEFLATED)
/external/python/cpython3/Lib/distutils/
H A Darchive_util.py164 compression=zipfile.ZIP_DEFLATED)
/external/chromium-trace/catapult/third_party/zipfile/
H A Dzipfile_2_7_13.py17 __all__ = ["BadZipfile", "error", "ZIP_STORED", "ZIP_DEFLATED", "is_zipfile",
38 ZIP_DEFLATED = 8 variable
525 if self._compress_type == ZIP_DEFLATED:
681 self._compress_type == ZIP_DEFLATED):
717 compression: ZIP_STORED (no compression) or ZIP_DEFLATED (requires zlib).
733 elif compression == ZIP_DEFLATED:
1101 if zinfo.compress_type == ZIP_DEFLATED and not zlib:
1104 if zinfo.compress_type not in (ZIP_STORED, ZIP_DEFLATED):
1172 if zinfo.compress_type == ZIP_DEFLATED:
1240 if zinfo.compress_type == ZIP_DEFLATED
[all...]
/external/python/cpython2/Lib/
H A Dzipfile.py17 __all__ = ["BadZipfile", "error", "ZIP_STORED", "ZIP_DEFLATED", "is_zipfile",
38 ZIP_DEFLATED = 8 variable
525 if self._compress_type == ZIP_DEFLATED:
681 self._compress_type == ZIP_DEFLATED):
717 compression: ZIP_STORED (no compression) or ZIP_DEFLATED (requires zlib).
733 elif compression == ZIP_DEFLATED:
1101 if zinfo.compress_type == ZIP_DEFLATED and not zlib:
1104 if zinfo.compress_type not in (ZIP_STORED, ZIP_DEFLATED):
1172 if zinfo.compress_type == ZIP_DEFLATED:
1240 if zinfo.compress_type == ZIP_DEFLATED
[all...]
H A Dshutil.py451 compression=zipfile.ZIP_DEFLATED) as zf:
/external/tensorflow/tensorflow/contrib/lite/testing/
H A Dgenerate_examples.py437 zipfile.ZIP_DEFLATED)
441 zipfile.ZIP_DEFLATED)
447 example_fp.getvalue(), zipfile.ZIP_DEFLATED)
452 example_fp2.getvalue(), zipfile.ZIP_DEFLATED)
477 archive.writestr("manifest.txt", "".join(zip_manifest), zipfile.ZIP_DEFLATED)
/external/python/cpython3/Lib/
H A Dzipfile.py40 "ZIP_STORED", "ZIP_DEFLATED", "ZIP_BZIP2", "ZIP_LZMA",
62 ZIP_DEFLATED = 8 variable
644 elif compression == ZIP_DEFLATED:
661 if compress_type == ZIP_DEFLATED:
675 elif compress_type == ZIP_DEFLATED:
911 if self._compress_type == ZIP_DEFLATED:
921 elif self._compress_type == ZIP_DEFLATED:
1043 compression: ZIP_STORED (no compression), ZIP_DEFLATED (requires zlib),
2002 zf.write(path, zippath, ZIP_DEFLATED)
/external/libmojo/third_party/jinja2/
H A Denvironment.py658 from zipfile import ZipFile, ZipInfo, ZIP_DEFLATED, ZIP_STORED namespace
659 zip_file = ZipFile(target, 'w', dict(deflated=ZIP_DEFLATED,
/external/libmojo/build/android/gyp/util/
H A Dbuild_utils.py293 compress_type = zipfile.ZIP_DEFLATED if compress else zipfile.ZIP_STORED

Completed in 1039 milliseconds

12