Home
last modified time | relevance | path

Searched refs:ZIP_STORED (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_zipfile.py120 self.zip_test(f, zipfile.ZIP_STORED)
148 self.zip_open_test(f, zipfile.ZIP_STORED)
152 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
187 self.zip_random_open_test(f, zipfile.ZIP_STORED)
193 with zipfile.ZipFile(f, 'w', zipfile.ZIP_STORED) as zipfp:
255 self.zip_readline_read_test(f, zipfile.ZIP_STORED)
259 self.zip_readline_test(f, zipfile.ZIP_STORED)
263 self.zip_readlines_test(f, zipfile.ZIP_STORED)
267 self.zip_iterlines_test(f, zipfile.ZIP_STORED)
319 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
[all …]
Dtest_zipfile64.py83 self.zipTest(f, zipfile.ZIP_STORED)
85 self.zipTest(TESTFN2, zipfile.ZIP_STORED)
Dtest_zipimport.py18 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED
60 compression = ZIP_STORED
136 if self.compression != ZIP_STORED:
/external/python/cpython3/Lib/test/
Dtest_zipfile.py380 if self.compression != zipfile.ZIP_STORED:
387 if self.compression != zipfile.ZIP_STORED:
451 compression = zipfile.ZIP_STORED
469 self.zip_test_writestr_permissions(f, zipfile.ZIP_STORED)
472 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
475 with zipfile.ZipFile(TESTFN2, "r", zipfile.ZIP_STORED) as zipfp:
480 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
483 with zipfile.ZipFile(TESTFN2, "a", zipfile.ZIP_STORED) as zipfp:
495 with zipfile.ZipFile(TESTFN2, "a", zipfile.ZIP_STORED) as zipfp:
512 with zipfile.ZipFile(bio, 'w', zipfile.ZIP_STORED) as zipfp:
[all …]
Dtest_zipfile64.py72 self.zipTest(f, zipfile.ZIP_STORED)
74 self.zipTest(TESTFN2, zipfile.ZIP_STORED)
Dtest_zipimport.py13 from zipfile import ZipFile, ZipInfo, ZIP_STORED, ZIP_DEFLATED
83 compression = ZIP_STORED
178 if self.compression != ZIP_STORED:
/external/python/cpython2/Misc/NEWS.d/
D2.7.11.rst7 ZipFile now always writes a ZIP_STORED header for directory entries. Patch
/external/python/cpython2/Lib/
Dzipfile.py37 ZIP_STORED = 0 variable
308 self.compress_type = ZIP_STORED # Type of compression for the file
527 elif self._compress_type != ZIP_STORED:
671 if self._compress_type == ZIP_STORED:
726 def __init__(self, file, mode="r", compression=ZIP_STORED, allowZip64=False):
731 if compression == ZIP_STORED:
1101 if zinfo.compress_type not in (ZIP_STORED, ZIP_DEFLATED):
1138 zinfo.compress_type = ZIP_STORED
/external/chromium-trace/catapult/devil/devil/utils/
Dzip_utils.py44 zip_file.write(dir_path, dir_arc_path, zipfile.ZIP_STORED)
/external/python/cpython3/Lib/
Dzipfile.py60 ZIP_STORED = 0 variable
364 self.compress_type = ZIP_STORED # Type of compression for the file
388 if self.compress_type != ZIP_STORED:
402 (self.compress_type != ZIP_STORED or
663 if compression == ZIP_STORED:
699 if compress_type == ZIP_STORED:
854 if self._compress_type != ZIP_STORED:
994 if self._compress_type == ZIP_STORED:
1206 def __init__(self, file, mode="r", compression=ZIP_STORED, allowZip64=True,
1935 def __init__(self, file, mode="r", compression=ZIP_STORED,
Dzipapp.py137 zipfile.ZIP_STORED)
/external/python/cpython3/Doc/library/
Dzipfile.rst91 .. data:: ZIP_STORED
142 .. class:: ZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True, \
161 and should be :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`,
166 available, :exc:`RuntimeError` is raised. The default is :const:`ZIP_STORED`.
175 When using :const:`ZIP_STORED` or :const:`ZIP_LZMA` it has no effect.
369 :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :const:`ZIP_BZIP2` or
436 :class:`ZipInfo` constructor sets this member to :const:`ZIP_STORED`.
544 .. class:: PyZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True, \
/external/python/cpython3/Lib/distutils/
Darchive_util.py167 compression=zipfile.ZIP_STORED)
/external/python/cpython3/Lib/distutils/tests/
Dtest_archive_util.py257 if kw.get('compression', None) == zipfile.ZIP_STORED:
271 [((tarball, "w"), {'compression': zipfile.ZIP_STORED})])
/external/libchrome/build/android/gyp/util/
Dbuild_utils.py329 compress_type = zipfile.ZIP_DEFLATED if compress else zipfile.ZIP_STORED
407 compress=info.compress_type != zipfile.ZIP_STORED)
/external/python/cpython2/Doc/library/
Dzipfile.rst72 .. data:: ZIP_STORED
114 and should be :const:`ZIP_STORED` or :const:`ZIP_DEFLATED`; unrecognized
117 is also raised. The default is :const:`ZIP_STORED`. If *allowZip64* is
328 :class:`ZipInfo` constructor sets this member to :const:`ZIP_STORED`.
/external/libchrome/third_party/jinja2/
Denvironment.py696 from zipfile import ZipFile, ZipInfo, ZIP_DEFLATED, ZIP_STORED
698 stored=ZIP_STORED)[zip])
/external/python/jinja/src/jinja2/
Denvironment.py717 from zipfile import ZipFile, ZipInfo, ZIP_DEFLATED, ZIP_STORED
720 target, "w", dict(deflated=ZIP_DEFLATED, stored=ZIP_STORED)[zip]
/external/python/setuptools/setuptools/command/
Dbdist_egg.py493 compression = zipfile.ZIP_DEFLATED if compress else zipfile.ZIP_STORED
/external/python/cpython3/Misc/NEWS.d/
D3.5.2rc1.rst1556 ZipFile now always writes a ZIP_STORED header for directory entries. Patch
D3.6.0a1.rst2418 ZipFile now always writes a ZIP_STORED header for directory entries. Patch
/external/python/cpython3/Misc/
DHISTORY282 - Issue #25624: ZipFile now always writes a ZIP_STORED header for directory
9960 not installed. Instead, the zipfile.ZIP_STORED compression is used to create