Home
last modified time | relevance | path

Searched refs:ZIP_DEFLATED (Results 1 – 25 of 32) sorted by relevance

12

/external/python/cpython2/Lib/test/
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 …]
Dtest_zipfile64.py92 self.zipTest(f, zipfile.ZIP_DEFLATED)
94 self.zipTest(TESTFN2, zipfile.ZIP_DEFLATED)
Dtest_zipimport.py18 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED
133 if self.compression != ZIP_DEFLATED:
387 compression = ZIP_DEFLATED
/external/skia/infra/bots/
Dzip_utils.py32 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z:
51 zi.compress_type = zipfile.ZIP_DEFLATED
64 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
/external/skqp/infra/bots/
Dzip_utils.py32 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z:
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/
Dutil.py12 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/devil/devil/utils/
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/python/cpython3/Lib/test/
Dtest_zipfile64.py84 self.zipTest(f, zipfile.ZIP_DEFLATED)
86 self.zipTest(TESTFN2, zipfile.ZIP_DEFLATED)
Dtest_zipfile.py556 compression = zipfile.ZIP_DEFLATED
563 zipfp.write(TESTFN, 'deflateme', zipfile.ZIP_DEFLATED)
567 self.assertEqual(dinfo.compress_type, zipfile.ZIP_DEFLATED)
770 compression = zipfile.ZIP_DEFLATED
814 compression = zipfile.ZIP_DEFLATED
1733 compression = zipfile.ZIP_DEFLATED
1938 compression = zipfile.ZIP_DEFLATED
2042 with zipfile.ZipFile(f, "w", zipfile.ZIP_DEFLATED) as zipfp:
2105 with zipfile.ZipFile(f, 'w', zipfile.ZIP_DEFLATED) as zipf:
2119 with zipfile.ZipFile(f, "w", zipfile.ZIP_DEFLATED) as zipf:
[all …]
Dtest_zipimport.py12 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED
171 if self.compression != ZIP_DEFLATED:
702 compression = ZIP_DEFLATED
712 zip_file.writestr('bar.py', b'print("hello world")', ZIP_DEFLATED)
Dtest_zipapp.py117 zipfile.ZIP_DEFLATED)
/external/python/cpython2/Lib/
Dzipfile.py38 ZIP_DEFLATED = 8 variable
525 if self._compress_type == ZIP_DEFLATED:
681 self._compress_type == ZIP_DEFLATED):
733 elif compression == ZIP_DEFLATED:
1098 if zinfo.compress_type == ZIP_DEFLATED and not zlib:
1101 if zinfo.compress_type not in (ZIP_STORED, ZIP_DEFLATED):
1169 if zinfo.compress_type == ZIP_DEFLATED:
1237 if zinfo.compress_type == ZIP_DEFLATED:
1522 zf.write(path, zippath, ZIP_DEFLATED)
Dshutil.py473 compression=zipfile.ZIP_DEFLATED) as zf:
/external/chromium-trace/catapult/third_party/zipfile/
Dzipfile_2_7_13.py38 ZIP_DEFLATED = 8 variable
525 if self._compress_type == ZIP_DEFLATED:
681 self._compress_type == ZIP_DEFLATED):
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:
1524 zf.write(path, zippath, ZIP_DEFLATED)
/external/python/cpython2/Tools/nuget/
Dmake_zip.py14 from zipfile import ZipFile, ZIP_DEFLATED
128 with ZipFile(str(target), 'w', ZIP_DEFLATED) as f:
/external/tensorflow/tensorflow/tools/ci_build/
Dcopy_binary.py78 zout = zipfile.ZipFile(directory + new_binary, "w", zipfile.ZIP_DEFLATED)
/external/libchrome/mojo/public/tools/gn/
Dzip.py31 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as outfile:
/external/python/cpython2/Lib/distutils/
Darchive_util.py163 compression=zipfile.ZIP_DEFLATED)
/external/python/cpython3/Lib/
Dzipfile.py57 ZIP_DEFLATED = 8 variable
666 elif compression == ZIP_DEFLATED:
683 if compress_type == ZIP_DEFLATED:
701 elif compress_type == ZIP_DEFLATED:
963 if self._compress_type == ZIP_DEFLATED:
973 elif self._compress_type == ZIP_DEFLATED:
2138 zf.write(path, zippath, ZIP_DEFLATED)
Dzipapp.py136 compression = (zipfile.ZIP_DEFLATED if compressed else
/external/python/cpython3/Lib/distutils/
Darchive_util.py164 compression=zipfile.ZIP_DEFLATED)
/external/python/cpython3/Doc/library/
Dzipfile.rst87 .. data:: ZIP_DEFLATED
152 and should be :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`,
155 :const:`ZIP_DEFLATED`, :const:`ZIP_BZIP2` or :const:`ZIP_LZMA` is specified
167 When using :const:`ZIP_DEFLATED` integers ``0`` through ``9`` are accepted
351 :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :const:`ZIP_BZIP2` or
/external/python/cpython3/PC/layout/
Dmain.py330 with zipfile.ZipFile(zip_path, "w", zipfile.ZIP_DEFLATED) as zf:
391 return zipfile.ZipFile(ns.zip, "w", zipfile.ZIP_DEFLATED)
/external/libchrome/third_party/jinja2/
Denvironment.py696 from zipfile import ZipFile, ZipInfo, ZIP_DEFLATED, ZIP_STORED
697 zip_file = ZipFile(target, 'w', dict(deflated=ZIP_DEFLATED,
/external/python/cpython2/Doc/library/
Dzipfile.rst77 .. data:: ZIP_DEFLATED
114 and should be :const:`ZIP_STORED` or :const:`ZIP_DEFLATED`; unrecognized
115 values will cause :exc:`RuntimeError` to be raised. If :const:`ZIP_DEFLATED`

12