Home
last modified time | relevance | path

Searched refs:lzma (Results 1 – 25 of 90) sorted by relevance

1234

/external/python/cpython3/Lib/test/
Dtest_lzma.py15 lzma = import_module("lzma") variable
16 from lzma import LZMACompressor, LZMADecompressor, LZMAError, LZMAFile
30 self.assertRaises(ValueError, LZMACompressor, format=lzma.FORMAT_AUTO)
33 LZMACompressor(preset=7, filters=[{"id": lzma.FILTER_LZMA2}])
38 LZMADecompressor(lzma.FORMAT_RAW, filters="zzz")
41 LZMADecompressor(lzma.FORMAT_RAW, memlimit=0x1000000)
45 LZMADecompressor(format=lzma.FORMAT_XZ, filters=FILTERS_RAW_1)
47 LZMADecompressor(format=lzma.FORMAT_ALONE, filters=FILTERS_RAW_1)
68 LZMACompressor(filters=[{"id": lzma.FILTER_LZMA2, "foo": 0}])
70 LZMACompressor(filters=[{"id": lzma.FILTER_DELTA, "foo": 0}])
[all …]
/external/xz-embedded/linux/lib/xz/
Dxz_dec_lzma2.c266 struct lzma_dec lzma; member
575 uint32_t low = prev_byte >> (8 - s->lzma.lc); in lzma_literal_probs()
576 uint32_t high = (s->dict.pos & s->lzma.literal_pos_mask) << s->lzma.lc; in lzma_literal_probs()
577 return s->lzma.literal[low + high]; in lzma_literal_probs()
592 if (lzma_state_is_literal(s->lzma.state)) { in lzma_literal()
596 match_byte = dict_get(&s->dict, s->lzma.rep0) << 1; in lzma_literal()
615 lzma_state_literal(&s->lzma.state); in lzma_literal()
628 s->lzma.len = MATCH_LEN_MIN; in lzma_len()
633 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS; in lzma_len()
637 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS in lzma_len()
[all …]
/external/xz-java/src/org/tukaani/xz/
DLZMA2OutputStream.java17 import org.tukaani.xz.lzma.LZMAEncoder;
29 private LZMAEncoder lzma; field in LZMA2OutputStream
68 lzma = LZMAEncoder.getInstance(rc, in LZMA2OutputStream()
75 lz = lzma.getLZEncoder(); in LZMA2OutputStream()
108 if (lzma.encodeForLZMA2()) in write()
119 int uncompressedSize = lzma.getUncompressedSize(); in writeChunk()
129 lzma.reset(); in writeChunk()
130 uncompressedSize = lzma.getUncompressedSize(); in writeChunk()
136 lzma.resetUncompressedSize(); in writeChunk()
195 lzma.encodeForLZMA2(); in writeEndMarker()
[all …]
DLZMAOutputStream.java17 import org.tukaani.xz.lzma.LZMAEncoder;
31 private LZMAEncoder lzma; field in LZMAOutputStream
65 lzma = LZMAEncoder.getInstance(rc, in LZMAOutputStream()
72 lz = lzma.getLZEncoder(); in LZMAOutputStream()
258 lzma.encodeForLZMA1(); in write()
290 lzma.encodeForLZMA1(); in finish()
293 lzma.encodeLZMA1EndMarker(); in finish()
303 lzma.putArraysToCache(arrayCache); in finish()
304 lzma = null; in finish()
DLZMA2InputStream.java18 import org.tukaani.xz.lzma.LZMADecoder;
51 private LZMADecoder lzma; field in LZMA2InputStream
258 lzma.decode(); in read()
313 lzma.reset(); in decodeChunkHeader()
341 lzma = new LZMADecoder(lz, rc, lc, lp, pb); in decodeProps()
DLZMAInputStream.java18 import org.tukaani.xz.lzma.LZMADecoder;
53 private LZMADecoder lzma; field in LZMAInputStream
603 lzma = new LZMADecoder(lz, rc, lc, lp, pb); in initialize()
685 lzma.decode(); in read()
691 if (remainingSize != -1 || !lzma.endMarkerDetected()) in read()
/external/toybox/toys/pending/
Dxzcat.c1422 struct lzma_dec lzma; member
1717 uint32_t low = prev_byte >> (8 - s->lzma.lc); in lzma_literal_probs()
1718 uint32_t high = (s->dict.pos & s->lzma.literal_pos_mask) << s->lzma.lc; in lzma_literal_probs()
1719 return s->lzma.literal[low + high]; in lzma_literal_probs()
1734 if (lzma_state_is_literal(s->lzma.state)) { in lzma_literal()
1738 match_byte = dict_get(&s->dict, s->lzma.rep0) << 1; in lzma_literal()
1757 lzma_state_literal(&s->lzma.state); in lzma_literal()
1770 s->lzma.len = MATCH_LEN_MIN; in lzma_len()
1775 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS; in lzma_len()
1779 s->lzma.len = MATCH_LEN_MIN + LEN_LOW_SYMBOLS in lzma_len()
[all …]
/external/perfetto/buildtools/
DBUILD.gn629 source_set("lzma") {
632 "lzma/C/7zAlloc.c",
633 "lzma/C/7zArcIn.c",
634 "lzma/C/7zBuf.c",
635 "lzma/C/7zBuf2.c",
636 "lzma/C/7zCrc.c",
637 "lzma/C/7zCrcOpt.c",
638 "lzma/C/7zDec.c",
639 "lzma/C/7zFile.c",
640 "lzma/C/7zStream.c",
[all …]
D.gitignore21 lzma/
/external/lzma/DOC/
Dlzma-sdk.txt59 - console programs for lzma / 7z / xz compression and decompression
85 DOC/lzma.txt - LZMA compression description
86 DOC/lzma-sdk.txt - LZMA SDK description (this file)
87 DOC/lzma-history.txt - history of LZMA SDK
88 DOC/lzma-specification.txt - Specification of LZMA
96 bin/lzma.exe - file->file LZMA encoder/decoder for Windows
142 LzmaCon - lzma.exe: LZMA compression/decompression
281 stored in .lzma file header.
289 1) LZMA e file.bin file.lzma -d16 -lc0
291 compresses file.bin to file.lzma with 64 KB dictionary (2^16=64K)
[all …]
/external/python/cpython3/Doc/library/
Dlzma.rst1 :mod:`lzma` --- Compression using the LZMA algorithm
4 .. module:: lzma
12 **Source code:** :source:`Lib/lzma.py`
18 interface supporting the ``.xz`` and legacy ``.lzma`` file formats used by the
146 * :const:`FORMAT_ALONE`: The legacy ``.lzma`` container format.
221 ``.lzma`` files. Other possible values are :const:`FORMAT_XZ`,
389 import lzma
390 with lzma.open("file.xz") as f:
395 import lzma
397 with lzma.open("file.xz", "w") as f:
[all …]
Darchiving.rst8 gzip, bzip2 and lzma algorithms, and the creation of ZIP- and tar-format
18 lzma.rst
/external/xz-java/
Dfileset-src.txt88 src/org/tukaani/xz/lzma/LZMACoder.java
89 src/org/tukaani/xz/lzma/LZMADecoder.java
90 src/org/tukaani/xz/lzma/LZMAEncoder.java
91 src/org/tukaani/xz/lzma/LZMAEncoderFast.java
92 src/org/tukaani/xz/lzma/LZMAEncoderNormal.java
93 src/org/tukaani/xz/lzma/Optimum.java
94 src/org/tukaani/xz/lzma/State.java
/external/u-boot/lib/lzma/
DREADME.txt11 and lzma.txt from source archive into the lib_lzma directory (pwd).
17 Notice: The files from lzma sdk are _not modified_ by this script!
24 The directory U-BOOT/include/lzma contains stubs files that permit to use the
Dlzma.txt51 lzma.txt - LZMA SDK description (this file)
55 lzma.exe - Compiled file->file LZMA encoder/decoder for Windows
56 7zr.exe - 7-Zip with 7z/lzma/xz support.
102 LzmaCon - lzma.exe: LZMA compression/decompression
230 stored in .lzma file header.
238 1) LZMA e file.bin file.lzma -d16 -lc0
240 compresses file.bin to file.lzma with 64 KB dictionary (2^16=64K)
245 2) LZMA e file.bin file.lzma -lc0 -lp2
247 compresses file.bin to file.lzma with settings suitable
250 3) LZMA d file.lzma file.bin
[all …]
/external/python/cpython3/.azure-pipelines/
Dposix-deps-apt.sh14 lzma \
15 lzma-dev \
/external/stressapptest/
DMakefile.in528 dist-lzma: distdir
529 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
562 *.tar.lzma*) \
563 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
738 dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
/external/libcap-ng/libcap-ng-0.7/
DMakefile.in547 dist-lzma: distdir
548 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
581 *.tar.lzma*) \
582 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
767 dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
/external/libnfnetlink/
DMakefile.in583 dist-lzma: distdir
584 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
617 *.tar.lzma*) \
618 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
808 dist-gzip dist-hook dist-lzip dist-lzma dist-shar dist-tarZ \
/external/python/cpython3/Lib/distutils/tests/
Dtest_archive_util.py43 import lzma
45 lzma = None variable
82 @unittest.skipUnless(lzma, 'Need lzma support to run')
327 @unittest.skipUnless(lzma, 'Need xz support to run')
/external/lzma/CPP/7zip/Bundles/LzmaCon/
Dresource.rc3 MY_VERSION_INFO_APP("LZMA", "lzma")
/external/libusb-compat/
DMakefile.in512 dist-lzma: distdir
513 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
543 *.tar.lzma*) \
544 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
700 dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-zip \
/external/ltp/utils/ffsb-6.0-rc2/
DMakefile.in425 dist-lzma: distdir
426 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
455 *.tar.lzma*) \
456 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
610 dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
/external/libexif/
DMakefile.in629 dist-lzma: distdir
630 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
665 *.tar.lzma*) \
666 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
840 dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
/external/python/cpython3/Lib/
Dzipfile.py30 import lzma # We may need its compression method
32 lzma = None variable
598 props = lzma._encode_filter_properties({'id': lzma.FILTER_LZMA1})
599 self._comp = lzma.LZMACompressor(lzma.FORMAT_RAW, filters=[
600 lzma._decode_filter_properties(lzma.FILTER_LZMA1, props)
631 self._decomp = lzma.LZMADecompressor(lzma.FORMAT_RAW, filters=[
632 lzma._decode_filter_properties(lzma.FILTER_LZMA1,
675 if not lzma:

1234