Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dzipfile.py308 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 …]
Dtarfile.py2600 def write(self, filename, arcname=None, compress_type=None): argument
/external/chromium-trace/catapult/third_party/zipfile/
Dzipfile_2_7_13.py308 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/pdfium/core/fxcodec/codec/
Dccodec_pngmodule.cpp50 int compress_type; in _png_load_bmp_attribute() local
51 png_get_iCCP(png_ptr, info_ptr, &icc_name, &compress_type, &icc_profile, in _png_load_bmp_attribute()
/external/libmojo/build/android/gyp/util/
Dbuild_utils.py290 compress_type = zip_file.compression
292 compress_type = zipfile.ZIP_DEFLATED if compress else zipfile.ZIP_STORED
293 zip_file.writestr(zipinfo, data, compress_type)
Dmd5_check.py409 (zip_info.filename, zip_info.CRC + zip_info.compress_type))
/external/skia/infra/bots/
Dzip_utils.py39 zi.compress_type = zipfile.ZIP_DEFLATED
/external/python/cpython2/Doc/library/
Dzipfile.rst280 .. 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/
Dtest_zipimport.py74 zinfo.compress_type = self.compression
212 zinfo.compress_type = self.compression
256 zinfo.compress_type = self.compression
Dtest_zipfile.py428 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/strace/tests-mx32/
Dbtrfs.c111 uint32_t compress_type; member
698 printxval(btrfs_compress_types, args->compress_type, in btrfs_print_defrag_range_args()
717 .compress_type = 2, /* BTRFS_COMPRESS_LZO */ in btrfs_test_defrag_ioctls()
739 args.compress_type = BTRFS_INVALID_COMPRESS; in btrfs_test_defrag_ioctls()
/external/strace/tests-m32/
Dbtrfs.c111 uint32_t compress_type; member
698 printxval(btrfs_compress_types, args->compress_type, in btrfs_print_defrag_range_args()
717 .compress_type = 2, /* BTRFS_COMPRESS_LZO */ in btrfs_test_defrag_ioctls()
739 args.compress_type = BTRFS_INVALID_COMPRESS; in btrfs_test_defrag_ioctls()
/external/strace/tests/
Dbtrfs.c111 uint32_t compress_type; member
698 printxval(btrfs_compress_types, args->compress_type, in btrfs_print_defrag_range_args()
717 .compress_type = 2, /* BTRFS_COMPRESS_LZO */ in btrfs_test_defrag_ioctls()
739 args.compress_type = BTRFS_INVALID_COMPRESS; in btrfs_test_defrag_ioctls()
/external/strace/
Dbtrfs.c77 uint32_t compress_type; member
617 printxval(btrfs_compress_types, args.compress_type, in MPERS_PRINTER_DECL()
/external/kernel-headers/original/uapi/linux/
Dbtrfs.h531 __u32 compress_type; member
/external/python/cpython2/Modules/
Ditertoolsmodule.c2814 static PyTypeObject compress_type; variable
2908 static PyTypeObject compress_type = { variable
4107 &compress_type, in inititertools()
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1696 The :meth:`~zipfile.ZipFile.writestr` method now has an optional *compress_type* parameter