Searched refs:LZMACompressor (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_lzma.py | 16 from lzma import LZMACompressor, LZMADecompressor, LZMAError, LZMAFile 24 self.assertRaises(TypeError, LZMACompressor, []) 25 self.assertRaises(TypeError, LZMACompressor, format=3.45) 26 self.assertRaises(TypeError, LZMACompressor, check="") 27 self.assertRaises(TypeError, LZMACompressor, preset="asdf") 28 self.assertRaises(TypeError, LZMACompressor, filters=3) 30 self.assertRaises(ValueError, LZMACompressor, format=lzma.FORMAT_AUTO) 33 LZMACompressor(preset=7, filters=[{"id": lzma.FILTER_LZMA2}]) 49 lzc = LZMACompressor() 64 self.assertRaises(TypeError, LZMACompressor, filters=[b"wobsite"]) [all …]
|
/external/python/cpython3/Lib/ |
D | lzma.py | 111 self._compressor = LZMACompressor(format=format, check=check, 318 comp = LZMACompressor(format, check, preset, filters)
|
D | zipfile.py | 591 class LZMACompressor: class 598 self._comp = lzma.LZMACompressor(lzma.FORMAT_RAW, filters=[ 692 return LZMACompressor()
|
D | tarfile.py | 397 self.cmp = lzma.LZMACompressor()
|
/external/python/cpython3/Doc/library/ |
D | lzma.rst | 55 *filters* arguments have the same meanings as for :class:`LZMACompressor`. 100 *filters* arguments have the same meanings as for :class:`LZMACompressor`. 133 .. class:: LZMACompressor(format=FORMAT_XZ, check=-1, preset=None, filters=None) 189 :class:`LZMACompressor` object can be as high as 800 MiB. For this reason, 295 See :class:`LZMACompressor` above for a description of the *format*, *check*, 409 lzc = lzma.LZMACompressor()
|