/external/python/cpython3/Lib/ |
D | zipfile.py | 360 self.compress_type = ZIP_STORED # Type of compression for the file 384 if self.compress_type != ZIP_STORED: 386 compressor_names.get(self.compress_type, 387 self.compress_type)) 398 (self.compress_type != ZIP_STORED or 435 if self.compress_type == ZIP_BZIP2: 437 elif self.compress_type == ZIP_LZMA: 445 self.compress_type, dostime, dosdate, CRC, 682 def _get_compressor(compress_type, compresslevel=None): argument 683 if compress_type == ZIP_DEFLATED: [all …]
|
/external/chromium-trace/catapult/third_party/zipfile/ |
D | zipfile_2_7_13.py | 308 self.compress_type = ZIP_STORED # Type of compression for the file 363 self.compress_type, dostime, dosdate, CRC, 521 self._compress_type = zipinfo.compress_type 852 x.flag_bits, x.compress_type, t, d, 1101 if zinfo.compress_type == ZIP_DEFLATED and not zlib: 1104 if zinfo.compress_type not in (ZIP_STORED, ZIP_DEFLATED): 1119 def write(self, filename, arcname=None, compress_type=None): argument 1141 zinfo.compress_type = ZIP_STORED 1142 elif compress_type is None: 1143 zinfo.compress_type = self.compression [all …]
|
/external/python/cpython2/Lib/ |
D | zipfile.py | 308 self.compress_type = ZIP_STORED # Type of compression for the file 363 self.compress_type, dostime, dosdate, CRC, 521 self._compress_type = zipinfo.compress_type 849 x.flag_bits, x.compress_type, t, d, 1098 if zinfo.compress_type == ZIP_DEFLATED and not zlib: 1101 if zinfo.compress_type not in (ZIP_STORED, ZIP_DEFLATED): 1116 def write(self, filename, arcname=None, compress_type=None): argument 1138 zinfo.compress_type = ZIP_STORED 1139 elif compress_type is None: 1140 zinfo.compress_type = self.compression [all …]
|
D | tarfile.py | 2600 def write(self, filename, arcname=None, compress_type=None): argument
|
/external/libchrome/build/android/gyp/util/ |
D | build_utils.py | 327 compress_type = zip_file.compression 329 compress_type = zipfile.ZIP_DEFLATED if compress else zipfile.ZIP_STORED 330 zip_file.writestr(zipinfo, data, compress_type) 407 compress=info.compress_type != zipfile.ZIP_STORED)
|
D | md5_check.py | 409 (zip_info.filename, zip_info.CRC + zip_info.compress_type))
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_pngmodule.cpp | 72 int compress_type; in _png_load_bmp_attribute() local 73 png_get_iCCP(png_ptr, info_ptr, &icc_name, &compress_type, &icc_profile, in _png_load_bmp_attribute()
|
/external/python/cpython2/Doc/library/ |
D | zipfile.rst | 280 .. method:: ZipFile.write(filename[, arcname[, compress_type]]) 284 letter and with leading path separators removed). If given, *compress_type* 309 .. method:: ZipFile.writestr(zinfo_or_arcname, bytes[, compress_type]) 319 If given, *compress_type* overrides the value given for the *compression* 326 the compression method used will be that specified in the *compress_type* 331 The *compress_type* argument. 425 .. attribute:: ZipInfo.compress_type
|
/external/python/cpython2/Lib/test/ |
D | test_zipimport.py | 74 zinfo.compress_type = self.compression 212 zinfo.compress_type = self.compression 256 zinfo.compress_type = self.compression
|
D | test_zipfile.py | 428 self.assertEqual(sinfo.compress_type, zipfile.ZIP_STORED) 429 self.assertEqual(dinfo.compress_type, zipfile.ZIP_DEFLATED) 588 zipfp.writestr("a.txt", "hello world", compress_type=zipfile.ZIP_STORED) 590 zipfp.writestr("b.txt", "hello world", compress_type=zipfile.ZIP_DEFLATED) 593 self.assertEqual(info.compress_type, zipfile.ZIP_STORED) 597 self.assertEqual(info.compress_type, zipfile.ZIP_DEFLATED)
|
/external/skqp/infra/bots/ |
D | zip_utils.py | 51 zi.compress_type = zipfile.ZIP_DEFLATED
|
/external/skia/infra/bots/ |
D | zip_utils.py | 51 zi.compress_type = zipfile.ZIP_DEFLATED
|
/external/python/cpython3/Lib/test/ |
D | test_zipimport.py | 117 zinfo.compress_type = self.compression 426 zinfo.compress_type = self.compression 484 zinfo.compress_type = self.compression 662 zinfo.compress_type = self.compression 675 zinfo.compress_type = self.compression
|
D | test_zipfile.py | 297 zipfp.writestr("b.txt", "hello world", compress_type=self.compression) 299 self.assertEqual(info.compress_type, self.compression) 303 zipfp.writestr("a.txt", "hello world", compress_type=self.compression) 304 zipfp.writestr("b.txt", "hello world", compress_type=self.compression, 309 self.assertEqual(a_info.compress_type, self.compression) 314 self.assertEqual(b_info.compress_type, self.compression) 332 zipf.writestr('strfile', self.data, compress_type=self.compression) 566 self.assertEqual(sinfo.compress_type, zipfile.ZIP_STORED) 567 self.assertEqual(dinfo.compress_type, zipfile.ZIP_DEFLATED) 2255 self.assertEqual(zi.compress_type, zipfile.ZIP_STORED)
|
D | test_zipapp.py | 116 self.assertEqual(z.getinfo(name).compress_type,
|
/external/python/cpython3/Doc/library/ |
D | zipfile.rst | 370 .. method:: ZipFile.write(filename, arcname=None, compress_type=None, \ 375 letter and with leading path separators removed). If given, *compress_type* 397 .. method:: ZipFile.writestr(zinfo_or_arcname, data, compress_type=None, \ 408 If given, *compress_type* overrides the value given for the *compression* 416 the compression method used will be that specified in the *compress_type* 421 The *compress_type* argument. 597 .. attribute:: ZipInfo.compress_type
|
/external/strace/tests/ |
D | btrfs.c | 125 uint32_t compress_type; member 792 prxval_btrfs(btrfs_compress_types, args->compress_type, in btrfs_print_defrag_range_args() 811 .compress_type = 2, /* BTRFS_COMPRESS_LZO */ in btrfs_test_defrag_ioctls() 834 args.compress_type = BTRFS_INVALID_COMPRESS; in btrfs_test_defrag_ioctls()
|
/external/strace/tests-mx32/ |
D | btrfs.c | 125 uint32_t compress_type; member 792 prxval_btrfs(btrfs_compress_types, args->compress_type, in btrfs_print_defrag_range_args() 811 .compress_type = 2, /* BTRFS_COMPRESS_LZO */ in btrfs_test_defrag_ioctls() 834 args.compress_type = BTRFS_INVALID_COMPRESS; in btrfs_test_defrag_ioctls()
|
/external/strace/tests-m32/ |
D | btrfs.c | 125 uint32_t compress_type; member 792 prxval_btrfs(btrfs_compress_types, args->compress_type, in btrfs_print_defrag_range_args() 811 .compress_type = 2, /* BTRFS_COMPRESS_LZO */ in btrfs_test_defrag_ioctls() 834 args.compress_type = BTRFS_INVALID_COMPRESS; in btrfs_test_defrag_ioctls()
|
/external/strace/ |
D | btrfs.c | 78 uint32_t compress_type; member 578 PRINT_FIELD_XVAL(", ", args, compress_type, in MPERS_PRINTER_DECL()
|
/external/kernel-headers/original/uapi/linux/ |
D | btrfs.h | 566 __u32 compress_type; member
|
/external/python/cpython2/Modules/ |
D | itertoolsmodule.c | 2804 static PyTypeObject compress_type; variable 2898 static PyTypeObject compress_type = { variable 4097 &compress_type, in inititertools()
|
/external/python/cpython3/Modules/ |
D | itertoolsmodule.c | 3622 static PyTypeObject compress_type; variable 3729 static PyTypeObject compress_type = { variable 4671 &compress_type, in PyInit_itertools()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.7.rst | 1720 The :meth:`~zipfile.ZipFile.writestr` method now has an optional *compress_type* parameter
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.7.rst | 1696 The :meth:`~zipfile.ZipFile.writestr` method now has an optional *compress_type* parameter
|