Searched refs:FORMAT_XZ (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/ |
D | lzma.py | 109 format = FORMAT_XZ 310 def compress(data, format=FORMAT_XZ, check=-1, preset=None, filters=None):
|
/external/python/cpython3/Lib/test/ |
D | test_lzma.py | 45 LZMADecompressor(format=lzma.FORMAT_XZ, filters=FILTERS_RAW_1) 83 lzd = LZMADecompressor(lzma.FORMAT_XZ, memlimit=1024) 107 lzd = LZMADecompressor(lzma.FORMAT_XZ) 258 lzd = LZMADecompressor(lzma.FORMAT_XZ) 409 lzma.decompress(b"", format=lzma.FORMAT_XZ, filters=FILTERS_RAW_1) 419 COMPRESSED_XZ, format=lzma.FORMAT_XZ, memlimit=1024) 433 ddata = lzma.decompress(COMPRESSED_XZ, lzma.FORMAT_XZ) 473 lzma.decompress(COMPRESSED_ALONE, format=lzma.FORMAT_XZ) 487 cdata = lzma.compress(INPUT, lzma.FORMAT_XZ) 789 with LZMAFile(BytesIO(COMPRESSED_XZ), format=lzma.FORMAT_XZ) as f: [all …]
|
/external/python/cpython3/Modules/ |
D | _lzmamodule.c | 30 FORMAT_XZ, enumerator 704 int format = FORMAT_XZ; in Compressor_init() 716 if (format != FORMAT_XZ && check != -1 && check != LZMA_CHECK_NONE) { in Compressor_init() 745 case FORMAT_XZ: in Compressor_init() 1186 case FORMAT_XZ: in _lzma_LZMADecompressor___init___impl() 1448 PyModule_AddIntMacro(m, FORMAT_XZ) == -1 || in PyInit__lzma()
|
/external/python/cpython3/Doc/library/ |
D | lzma.rst | 133 .. class:: LZMACompressor(format=FORMAT_XZ, check=-1, preset=None, filters=None) 143 * :const:`FORMAT_XZ`: The ``.xz`` container format. 167 This is the default for :const:`FORMAT_XZ`. 221 ``.lzma`` files. Other possible values are :const:`FORMAT_XZ`, 290 .. function:: compress(data, format=FORMAT_XZ, check=-1, preset=None, filters=None) 336 * :const:`FILTER_LZMA2` (for use with :const:`FORMAT_XZ` and :const:`FORMAT_RAW`)
|