| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_filter_xz.c | 43 #include <lzma.h> 76 /* Combined lzip/lzma/xz filter */ 84 * Note that we can detect xz and lzma compressed files even if we 87 * compiled even if no lzma library is available. 152 if (__archive_read_register_bidder(a, NULL, "lzma", in archive_read_support_filter_lzma() 160 "Using external lzma program for lzma decompression"); in archive_read_support_filter_lzma() 226 * <sigh> LZMA has a rather poor file signature. Zeros do not 230 * be necessary to exclude LZMA from compression_all() because of 232 * LZMA checking instead of (or in addition to) compression_all() when 251 /* First byte of raw LZMA stream is commonly 0x5d. in lzma_bidder_bid() [all …]
|
| H A D | archive_write_set_format_zip.c | 56 #include <lzma.h> 194 * mutandis the library changes. ZIP's LZMA format (id 14), 196 * modified LZMA Alone format requires a bit more 202 } lzma; member 251 /* ZIP's LZMA format requires the use of a alas not exposed in LibLZMA 373 } else if (strcmp(val, "lzma") == 0) { in archive_write_zip_options() 379 "lzma compression not supported"); in archive_write_zip_options() 424 // Arbitrarily choosing LZMA of the two LZMA methods in archive_write_zip_options() 663 "lzma compression not supported"); in archive_write_zip_set_compression_lzma() 1390 * it is the one LZMA Alone uses. */ in archive_write_zip_header() [all …]
|
| H A D | archive_write_add_filter_xz.c | 40 #include <lzma.h> 85 "lzma compression not supported on this platform"); in archive_write_add_filter_lzma() 93 "lzma compression not supported on this platform"); in archive_write_add_filter_lzip() 181 /* LZMA is handled identically, we just need a different compression 183 * the one place that XZ and LZMA require different handling.) */ 196 f->name = "lzma"; in archive_write_add_filter_lzma() 521 "lzma compression data error"); in drive_compressor() 525 "lzma compression error: " in drive_compressor() 534 "lzma compression failed:" in drive_compressor()
|
| /freebsd/sys/contrib/xz-embedded/linux/lib/xz/ |
| H A D | xz_dec_lzma2.c | 15 * Range decoder initialization eats the first five bytes of each LZMA chunk. 20 * Minimum number of usable input buffer to safely decode one LZMA symbol. 139 /* Types of the most recently seen LZMA symbols */ 149 * LZMA properties or related bit masks (number of literal 231 /* Uncompressed size of LZMA chunk (2 MiB at maximum) */ 235 * Compressed size of LZMA chunk or compressed/uncompressed 242 * the first chunk (LZMA or uncompressed). 247 * True if new LZMA properties are needed. This is false 248 * before the first LZMA chunk. 261 * including lzma.pos_mask are in the first 128 bytes on x86-32, [all …]
|
| /freebsd/contrib/libarchive/libarchive/test/ |
| H A D | test_compat_lzma.c | 32 # Use lzma command of XZ Utils. 34 zcmd=lzma 35 zsuffix=lzma 68 # Use lzma command of LZMA SDK with option -d12. 71 zcmd=lzmasdk # Change this path to use lzma of LZMA SDK. 86 * * unlzma will read multiple lzma streams, concatenating the output 87 * * unlzma will read lzma streams which is made by lzma wit [all...] |
| H A D | test_write_filter_lzma.c | 30 * A basic exercise of lzma reading and writing. 64 skipping("lzma writing not supported on this platform"); in DEFINE_TEST() 73 assertEqualString("lzma", archive_filter_name(a, 0)); in DEFINE_TEST() 77 assertEqualString("lzma", archive_filter_name(a, 0)); in DEFINE_TEST() 96 skipping("Can't verify lzma writing by reading back;" in DEFINE_TEST() 97 " lzma reading not fully supported on this platform"); in DEFINE_TEST() 151 skipping("lzma reading not fully supported on this platform"); in DEFINE_TEST() 211 skipping("lzma reading not fully supported on this platform"); in DEFINE_TEST()
|
| H A D | test_read_format_zip.c | 496 skipping("lzma reading not fully supported on this platform"); in DEFINE_TEST() 505 assertEqualString("ZIP 6.3 (lzma)", archive_format_name(a)); in DEFINE_TEST() 521 skipping("lzma reading not fully supported on this platform"); in DEFINE_TEST() 530 assertEqualString("ZIP 6.3 (lzma)", archive_format_name(a)); in DEFINE_TEST() 546 skipping("lzma reading not fully supported on this platform"); in DEFINE_TEST() 556 assertEqualString("ZIP 6.3 (lzma)", archive_format_name(a)); in DEFINE_TEST() 561 assertEqualString("ZIP 6.3 (lzma)", archive_format_name(a)); in DEFINE_TEST() 566 assertEqualString("ZIP 6.3 (lzma)", archive_format_name(a)); in DEFINE_TEST() 583 skipping("lzma reading not fully supported on this platform"); in DEFINE_TEST() 593 assertEqualString("ZIP 6.3 (lzma)", archive_format_name(a)); in DEFINE_TEST() [all …]
|
| H A D | test_read_format_7zip.c | 28 #include <lzma.h> 208 * The header of the 7z archive files is encoded with LZMA. 428 * The header of the 7z archive files is encoded with LZMA. 506 * Extract a mixed archive file which has both LZMA and LZMA2 encoded files. 507 * LZMA: file1, file2, file3, file4 637 * Extract a file compressed with DELTA + LZMA[12]. 863 skipping("7zip:lzma decoding is not supported on this " in DEFINE_TEST() 936 // The directory header entries in the test file uses lzma. in DEFINE_TEST() 938 "7zip:lzma decoding is not supported on this platform"); in DEFINE_TEST() 957 // The directory header entries in the test file uses lzma. in DEFINE_TEST() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | LZMA.cpp | 1 //===-- LZMA.cpp ----------------------------------------------------------===// 14 #include <lzma.h> 19 namespace lzma { namespace 25 llvm_unreachable("lzma::getUncompressedSize is unavailable"); in getUncompressedSize() 30 llvm_unreachable("lzma::uncompress is unavailable"); in uncompress() 40 return "lzma error: LZMA_STREAM_END"; 42 return "lzma error: LZMA_NO_CHECK"; 44 return "lzma error: LZMA_UNSUPPORTED_CHECK"; 46 return "lzma error: LZMA_GET_CHECK"; 48 return "lzma error: LZMA_MEM_ERROR"; [all …]
|
| /freebsd/lib/liblzma/ |
| H A D | Makefile | 4 LIB= lzma 10 .PATH: ${LZMADIR}/api/lzma 12 MAININCS= ../lzma.h 30 LZMAINCSDIR= ${INCLUDEDIR}/lzma 99 .PATH: ${LZMADIR}/lzma 133 ${LZMADIR}/api/lzma/version.h 135 ${LZMADIR}/api/lzma/version.h 137 ${LZMADIR}/api/lzma/version.h 149 -I${LZMADIR}/lzma \
|
| /freebsd/contrib/xz/src/xz/ |
| H A D | xz.1 | 10 xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma files 26 .B lzma 60 .B .lzma 61 format used by LZMA Utils and 153 .B .lzma 157 .B .lzma 298 .B .lzma 491 .B .lzma 495 .B .lzma 602 .B .lzma [all …]
|
| H A D | suffix.c | 126 { ".lzma", "" }, in uncompressed_name() 130 { ".tlz", ".tar" }, // Both .tar.lzma and .tar.lz in uncompressed_name() 207 ".lzma", in compressed_name() 281 // xz -F lzma foo -> foo.lzm in compressed_name() 299 // xz -F lzma foo.tar -> foo.tlz in compressed_name() 302 ".tlz", // .tar.lzma in compressed_name() 334 // xz -F lzma foo.txt -> foo.lzm in compressed_name()
|
| /freebsd/contrib/xz/src/liblzma/lzma/ |
| H A D | lzma2_encoder.c | 28 /// LZMA encoder 29 void *lzma; member 31 /// LZMA options currently in use. 48 /// Buffer to hold the chunk header and LZMA compressed data 157 coder->lzma, &coder->opt_cur)); in lzma2_encode() 172 // Must flush immediately since the next LZMA symbol in lzma2_encode() 187 // Call the LZMA encoder until the chunk is finished. in lzma2_encode() 188 const lzma_ret ret = lzma_lzma_encode(coder->lzma, mf, in lzma2_encode() 217 // the chunk as LZMA. in lzma2_encode() 266 lzma_free(coder->lzma, allocator); in lzma2_encoder_end() [all …]
|
| /freebsd/contrib/libarchive/cpio/test/ |
| H A D | test_option_lzma.c | 18 /* Archive it with lzma compression. */ in DEFINE_TEST() 19 r = systemf("echo f | %s -o --lzma >archive.out 2>archive.err", in DEFINE_TEST() 26 "without lzma support"); in DEFINE_TEST() 30 failure("--lzma option is broken"); in DEFINE_TEST() 36 /* Check that the archive file has an lzma signature. */ in DEFINE_TEST()
|
| /freebsd/contrib/libarchive/tar/test/ |
| H A D | test_option_lzma.c | 19 /* Archive it with lzma compression. */ in DEFINE_TEST() 20 r = systemf("%s -cf - --lzma f >archive.out 2>archive.err", in DEFINE_TEST() 27 "without lzma support"); in DEFINE_TEST() 31 failure("--lzma option is broken"); in DEFINE_TEST() 36 /* Check that the archive file has an lzma signature. */ in DEFINE_TEST()
|
| /freebsd/usr.bin/mkuzip/ |
| H A D | mkuzip.8 | 70 .It Fl A Op Ar lzma | Ar zlib | Ar zstd 76 .Ar lzma 89 .Ar lzma . 103 .Ar lzma , 108 default for lzma is 147 .Dq Fl A Ar lzma . 158 .Xr lzma 3 . 202 .Ar Lzma
|
| H A D | mkuz_lzma.c | 32 #include <lzma.h> 64 /* Init lzma encoder */ in mkuz_lzma_init() 67 errx(1, "Error loading LZMA preset"); in mkuz_lzma_init() 89 errx(1, "can't compress data: LZMA compressor ERROR"); in mkuz_lzma_compress()
|
| /freebsd/sys/contrib/zstd/programs/ |
| H A D | README.md | 44 - __HAVE_LZMA__ : `zstd` can compress and decompress files in `.xz` and `.lzma` formats. 45 This is ordered through commands `--format=xz` and `--format=lzma` respectively. 46 Alternatively, symlinks named `xz`, `unxz`, `lzma`, or `unlzma` will mimic intended behavior. 47 `.xz` and `.lzma` support is automatically enabled when `lzma` library is detected at build time. 48 It's possible to disable `.xz` and `.lzma` support, by setting `HAVE_LZMA=0`. 50 It's also possible to force compilation with lzma support, using `HAVE_LZMA=1`. 51 In which case, linking stage will fail if `lzma` library cannot be found. 100 - `xz` : if lzma support is enabled, will mimic `xz` by compressing file using `.xz` format, removi… 101 …lzma` : if lzma support is enabled, will mimic `lzma` by compressing file using `.lzma` format, re… 189 --format=lzma : compress files to the .lzma format
|
| /freebsd/contrib/xz/src/lzmainfo/ |
| H A D | lzmainfo.c | 6 /// \brief lzmainfo tool for compatibility with LZMA Utils 16 #include "lzma.h" 43 W_("Show information stored in the .lzma file header.")); in help() 121 /// Parse the .lzma header and display information about it. 131 : _("File is too small to be a .lzma file")); in lzmainfo() 145 _("Not a .lzma file")); in lzmainfo() 166 // from LZMA Utils to XZ Utils. in lzmainfo() 210 // LZMA Utils did it. in main()
|
| /freebsd/contrib/xz/src/liblzma/api/lzma/ |
| H A D | container.h | 4 * \file lzma/container.h 6 * \note Never include this file directly. Use <lzma.h> instead. 14 # error Never include this file directly. Use <lzma.h> instead. 466 * \brief Initialize .lzma encoder (legacy file format) 468 * The .lzma format is sometimes called the LZMA_Alone format, which is the 469 * reason for the name of this function. The .lzma format supports only the 473 * legacy LZMA tools such as LZMA Utils 4.32.x. Moving to the .xz format 564 * The MicroLZMA format is a raw LZMA stream whose first byte (always 0x00) 565 * has been replaced with bitwise-negation of the LZMA properties (lc/lp/pb). 585 * may remain unused because the next LZMA symbol would require more space. [all …]
|
| H A D | version.h | 4 * \file lzma/version.h 6 * \note Never include this file directly. Use <lzma.h> instead. 14 # error Never include this file directly. Use <lzma.h> instead. 65 * the version number of Igor Pavlov's LZMA SDK.
|
| /freebsd/usr.bin/xz/ |
| H A D | Makefile | 8 LINKS+= ${BINDIR}/xz ${BINDIR}/lzma 13 MLINKS= xz.1 unxz.1 xz.1 lzma.1 xz.1 unlzma.1 xz.1 xzcat.1 xz.1 lzcat.1 51 LIBADD= lzma
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
| H A D | LZMA.h | 1 //===-- LZMA.h --------------------------------------------------*- C++ -*-===// 20 namespace lzma { 30 } // End of namespace lzma
|
| /freebsd/contrib/xz/src/liblzma/common/ |
| H A D | alone_decoder.c | 28 /// If true, reject files that are unlikely to be .lzma files. 29 /// If false, more non-.lzma files get accepted and will give 46 /// the LZMA decoder 115 // safe in the LZMA decoder) but it's somewhat weird still. in alone_decode() 124 // even when the uncompressed size is known. Both .lzma in alone_decode()
|
| /freebsd/contrib/xz/ |
| H A D | ChangeLog | 8 src/liblzma/api/lzma/version.h | 2 +- 233 src/liblzma/api/lzma/bcj.h | 2 -- 234 src/liblzma/api/lzma/version.h | 6 +++--- 322 liblzma: Count the extra bytes in LZMA/LZMA2 decoder memory usage 366 the contents of *dict itself: The LZMA decoder makes a local copy of 368 lzma_dict in the LZMA decoder is already "restrict". 620 src/liblzma/api/lzma/version.h | 4 ++-- 660 src/liblzma/api/lzma/container.h | 2 +- 690 Scripts: Mark the LZMA Utils script aliases as deprecated 697 This doesn't affect lzma, unlzma, lzcat, lzmadec, or lzmainfo. [all …]
|