Home
last modified time | relevance | path

Searched refs:LZMAFile (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_lzma.py19 from lzma import LZMACompressor, LZMADecompressor, LZMAError, LZMAFile namespace
537 with LZMAFile(BytesIO(COMPRESSED_XZ)) as f:
539 with LZMAFile(BytesIO(), "w") as f:
541 with LZMAFile(BytesIO(), "x") as f:
543 with LZMAFile(BytesIO(), "a") as f:
549 with LZMAFile(filename) as f:
551 with LZMAFile(filename, "a") as f:
553 with LZMAFile(filename) as f:
558 with LZMAFile(TESTFN) as f:
560 with LZMAFile(TESTF
[all...]
H A Dtest_tarfile.py88 open = lzma.LZMAFile if lzma else None
775 self.skipTest("LZMAFile have no name attribute")
/third_party/python/Lib/
H A Dlzma.py20 "LZMACompressor", "LZMADecompressor", "LZMAFile", "LZMAError",
38 class LZMAFile(_compression.BaseStream): class
42 An LZMAFile can act as a wrapper for an existing file object, or
45 Note that LZMAFile provides a *binary* file interface - data read
286 LZMAFile.
288 For binary mode, this function is equivalent to the LZMAFile
289 constructor: LZMAFile(filename, mode, ...). In this case, the
292 For text mode, an LZMAFile object is created, and wrapped in an
309 binary_file = LZMAFile(filename, lz_mode, format=format, check=check,
H A Dtarfile.py1948 from lzma import LZMAFile, LZMAError namespace
1952 fileobj = LZMAFile(fileobj or name, mode, preset=preset)

Completed in 12 milliseconds