Home
last modified time | relevance | path

Searched refs:LZMACompressor (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/
Dtest_lzma.py19 from lzma import LZMACompressor, LZMADecompressor, LZMAError, LZMAFile
27 self.assertRaises(TypeError, LZMACompressor, [])
28 self.assertRaises(TypeError, LZMACompressor, format=3.45)
29 self.assertRaises(TypeError, LZMACompressor, check="")
30 self.assertRaises(TypeError, LZMACompressor, preset="asdf")
31 self.assertRaises(TypeError, LZMACompressor, filters=3)
33 self.assertRaises(ValueError, LZMACompressor, format=lzma.FORMAT_AUTO)
36 LZMACompressor(preset=7, filters=[{"id": lzma.FILTER_LZMA2}])
52 lzc = LZMACompressor()
67 self.assertRaises(TypeError, LZMACompressor, filters=[b"wobsite"])
[all …]
/third_party/python/Lib/
Dlzma.py111 self._compressor = LZMACompressor(format=format, check=check,
327 comp = LZMACompressor(format, check, preset, filters)
Dzipfile.py592 class LZMACompressor: class
599 self._comp = lzma.LZMACompressor(lzma.FORMAT_RAW, filters=[
693 return LZMACompressor()
Dtarfile.py398 self.cmp = lzma.LZMACompressor()
/third_party/python/Doc/library/
Dlzma.rst55 *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()