Home
last modified time | relevance | path

Searched refs:compress_type (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Lib/
Dzipfile.py365 self.compress_type = ZIP_STORED # Type of compression for the file
389 if self.compress_type != ZIP_STORED:
391 compressor_names.get(self.compress_type,
392 self.compress_type))
403 (self.compress_type != ZIP_STORED or
440 if self.compress_type == ZIP_BZIP2:
442 elif self.compress_type == ZIP_LZMA:
450 self.compress_type, dostime, dosdate, CRC,
682 def _get_compressor(compress_type, compresslevel=None): argument
683 if compress_type == ZIP_DEFLATED:
[all …]
/third_party/python/Lib/test/
Dtest_zipimport.py116 zinfo.compress_type = self.compression
451 zinfo.compress_type = self.compression
523 zinfo.compress_type = self.compression
538 zinfo.compress_type = self.compression
564 zinfo.compress_type = self.compression
738 zinfo.compress_type = self.compression
749 zinfo.compress_type = self.compression
Dtest_zipfile.py301 zipfp.writestr("b.txt", "hello world", compress_type=self.compression)
303 self.assertEqual(info.compress_type, self.compression)
307 zipfp.writestr("a.txt", "hello world", compress_type=self.compression)
308 zipfp.writestr("b.txt", "hello world", compress_type=self.compression,
313 self.assertEqual(a_info.compress_type, self.compression)
318 self.assertEqual(b_info.compress_type, self.compression)
336 zipf.writestr('strfile', self.data, compress_type=self.compression)
658 self.assertEqual(sinfo.compress_type, zipfile.ZIP_STORED)
659 self.assertEqual(dinfo.compress_type, zipfile.ZIP_DEFLATED)
1933 self.assertEqual(zi.compress_type, zipfile.ZIP_STORED)
[all …]
Dtest_zipapp.py116 self.assertEqual(z.getinfo(name).compress_type,
/third_party/skia/infra/bots/
Dzip_utils.py52 zi.compress_type = zipfile.ZIP_DEFLATED
/third_party/flutter/skia/infra/bots/
Dzip_utils.py51 zi.compress_type = zipfile.ZIP_DEFLATED
/third_party/python/Doc/library/
Dzipfile.rst387 .. method:: ZipFile.write(filename, arcname=None, compress_type=None, \
392 letter and with leading path separators removed). If given, *compress_type*
419 .. method:: ZipFile.writestr(zinfo_or_arcname, data, compress_type=None, \
430 If given, *compress_type* overrides the value given for the *compression*
438 the compression method used will be that specified in the *compress_type*
443 The *compress_type* argument.
710 .. attribute:: ZipInfo.compress_type
/third_party/python/Modules/
Ditertoolsmodule.c48 static PyTypeObject compress_type; variable
3930 static PyTypeObject compress_type = { variable
4855 &compress_type, in itertoolsmodule_exec()
/third_party/python/Tools/c-analyzer/
DTODO649 Modules/itertoolsmodule.c:compress_type static PyTypeObject compress_type
/third_party/python/Tools/c-analyzer/cpython/
Dignored.tsv2320 Modules/itertoolsmodule.c - compress_type -
/third_party/python/Doc/whatsnew/
D2.7.rst1720 The :meth:`~zipfile.ZipFile.writestr` method now has an optional *compress_type* parameter