Home
last modified time | relevance | path

Searched +full:xz +full:- +full:utils (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/xz/
H A DREADME2 XZ Utils
8 1.2. Documentation for command-line tools
14 5. Other implementations of the .xz format
19 -----------
21 XZ Utils provide a general-purpose data-compression library plus
22 command-line tools. The native file format is the .xz format, but
23 also the legacy .lzma format is supported. The .xz format supports
25 context of XZ Utils. The primary filter is currently LZMA2. With
26 typical files, XZ Utils create about 30 % smaller files than gzip.
28 To ease adapting support for the .xz format into existing applications
[all …]
H A DCOPYING2 XZ Utils Licensing
8 - liblzma is under the BSD Zero Clause License (0BSD).
10 - The command line tools xz, xzdec, lzmadec, and lzmainfo are
15 - The scripts to grep, diff, and view compressed files have been
20 - Most of the XZ Utils specific documentation that is in
23 the file itself. The files xz-file-format.txt and
24 lzma-file-format.xt are in the public domain but may
27 - Translated messages and man pages are under 0BSD except that
30 - Test files and test code in the 'tests' directory, and
34 - The GNU Autotools based build system contains files that are
[all …]
H A DAUTHORS2 Authors of XZ Utils
5 XZ Utils is developed and maintained by
9 specifically the LZMA SDK <https://7-zip.org/sdk.html>. Without
10 this code, XZ Utils wouldn't exist.
12 The SHA-256 implementation in liblzma is based on code written by
16 versions were written by Jean-loup Gailly, Charles Levert, and
18 man pages for XZ Utils.
20 The initial version of the threaded .xz decompressor was written
26 Architecture-specific CRC optimizations were contributed by
30 - Jonathan Nieder
[all …]
H A DTODO2 XZ Utils To-Do List
6 ----------
10 XZ Utils compress some files significantly worse than LZMA Utils.
11 This is due to faster compression presets used by XZ Utils, and
12 can often be worked around by using "xz --extreme". With some files
13 --extreme isn't enough though: it's most likely with files that
25 ----------------
27 Add support for storing metadata in .xz files. A preliminary
29 metadata and data are wanted in the same .xz file, two or more
39 xz doesn't support copying extended attributes, access control
[all …]
H A DChangeLog3 Date: 2025-04-03 14:34:43 +0300
7 src/liblzma/Makefile.am | 2 +-
8 src/liblzma/api/lzma/version.h | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
13 Date: 2025-04-03 14:34:43 +0300
22 Date: 2025-04-03 14:34:43 +0300
32 for OSS-Fuzz.").
34 tests/ossfuzz/fuzz_common.h | 31 ++++++++++++++++++++++++-------
35 1 file changed, 24 insertions(+), 7 deletions(-)
39 Date: 2025-04-03 14:34:43 +0300
[all …]
/freebsd/sys/contrib/xz-embedded/linux/Documentation/
H A Dxz.txt2 XZ data compression in Linux
7 XZ is a general purpose data compression format with high compression
13 The XZ decompressor in Linux is called XZ Embedded. It supports
15 for integrity checking. The home page of XZ Embedded is at
16 <https://tukaani.org/xz/embedded.html>, where you can find the
20 For userspace, XZ Utils provide a zlib-like compression library
21 and a gzip-like command line tool. XZ Utils can be downloaded from
22 <https://tukaani.org/xz/>.
24 XZ related components in the kernel
26 The xz_dec module provides XZ decompressor with single-call (buffer
[all …]
/freebsd/contrib/xz/src/xz/
H A Dxz.12 .\" SPDX-License-Identifier: 0BSD
7 .TH XZ 1 "2025-03-08" "Tukaani" "XZ Utils"
10 xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma files
13 .B xz
40 .B xz
42 .RB ( "xz \-d"
51 .B xz
52 is a general-purpose data compression tool with
58 .B .xz
61 format used by LZMA Utils and
[all …]
H A Dlist.c1 // SPDX-License-Identifier: 0BSD
6 /// \brief Listing information about .xz files
16 /// Information about a .xz file
31 /// Oldest XZ Utils version that will decompress the file
39 /// Information about a .xz Block
53 /// The filter chain of this Block in human-readable form
59 #define block_header_info_end(bhi) free((bhi)->filter_chain)
77 //N_("Minimum XZ Utils version:"),
110 /// Number of terminal-columns to use for this table-column.
165 // This string is used in tables. In older xz version this
[all …]
H A Dargs.c1 // SPDX-License-Identifier: 0BSD
8 /// \note Filter-specific options parsing is in options.c.
29 // non-const pointers.
43 if (len > 0 && str[len - 1] == '%') { in parse_memlimit()
49 // example, --memlimit=50% would show up as --memlimit=50 in parse_memlimit()
52 s[len - 1] = '\0'; in parse_memlimit()
57 // On 32-bit systems, SIZE_MAX would make more sense than in parse_memlimit()
72 // We need a modifiable string in the for-loop. in parse_block_list()
76 // It must be non-empty and not begin with a comma. in parse_block_list()
78 message_fatal(_("%s: Invalid argument to --block-list"), str); in parse_block_list()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_xz.c1 /*-
2 * Copyright (c) 2009-2011 Michihiro NAKAJIMA
3 * Copyright (c) 2003-2008 Tim Kientzle and Miklos Vajna
76 /* Combined lzip/lzma/xz filter */
84 * Note that we can detect xz and lzma compressed files even if we
120 if (__archive_read_register_bidder(a, NULL, "xz", in archive_read_support_filter_xz()
128 "Using external xz program for xz decompression"); in archive_read_support_filter_xz()
227 * make good signature bytes as a rule, and the only non-zero byte
233 * they have other evidence (file name, command-line option) to go on.
263 * XZ Utils with option -e records 0x5e in this field. */ in lzma_bidder_bid()
[all …]
H A Darchive_read_support_format_zip.c1 /*-
2 * Copyright (c) 2004-2013 Tim Kientzle
3 * Copyright (c) 2011-2012,2014 Michihiro NAKAJIMA
34 * The Info-Zip project has pioneered various extensions to better
104 /* Vendor version: AE-1 - 0x0001, AE-2 - 0x0002 */
109 * 1 - 128 bits, 2 - 192 bits, 2 - 256 bits. */
134 * See "WinZip - AES Encryption Information"
276 struct archive_read *a = ((IByteIn*)p)->a; in ppmd_read()
277 struct zip *zip = (struct zip*) a->format->data; in ppmd_read()
283 zip->ppmd8_stream_failed = 1; in ppmd_read()
[all …]
/freebsd/sys/contrib/xz-embedded/userspace/
H A Dxzminidec.c2 * Simple XZ decoder command line tool
11 * This is really limited: Not all filters from .xz format are supported,
13 * concatenated .xz streams is not supported. Thus, you may want to look
14 * at xzdec from XZ Utils if a few KiB bigger tool is not a problem.
20 #include "xz.h"
32 if (argc >= 2 && strcmp(argv[1], "--help") == 0) { in main()
33 fputs("Uncompress a .xz file from stdin to stdout.\n" in main()
34 "Arguments other than `--help' are ignored.\n", in main()
123 msg = "Not a .xz file\n"; in main()
127 msg = "Unsupported options in the .xz headers\n"; in main()
/freebsd/sys/contrib/xz-embedded/
H A DREADME2 XZ Embedded
5 XZ Embedded is a relatively small, limited implementation of the .xz
8 XZ Embedded was written for use in the Linux kernel, but the code can
13 of XZ Embedded isn't part of the Linux kernel tree. You should also
14 read linux/Documentation/xz.txt even if you aren't using XZ Embedded
26 cd linux/lib/xz
27 make -C /path/to/kernel/source \
28 KCPPFLAGS=-I"$(pwd)/../../include" M="$(pwd)" \
34 cd linux/lib/xz
35 make -C /path/to/kernel/source \
[all …]
/freebsd/contrib/xz/src/lzmainfo/
H A Dlzmainfo.c1 // SPDX-License-Identifier: 0BSD
6 /// \brief lzmainfo tool for compatibility with LZMA Utils
35 // wrapping. A few strings are the same as in xz/message.c and in help()
40 printf(_("Usage: %s [--help] [--version] [FILE]...\n"), progname); in help()
45 W_("With no FILE, or when FILE is -, read standard input.")); in help()
94 while ((c = getopt_long(argc, argv, "", long_opts, NULL)) != -1) { in parse_args()
111 /// Primitive base-2 logarithm for integers
166 // from LZMA Utils to XZ Utils. in lzmainfo()
185 (opt->dict_size / 1024 + 512) / 1024, in lzmainfo()
186 my_log2(opt->dict_size), opt->lc, opt->lp, opt->pb); in lzmainfo()
[all …]
/freebsd/contrib/xz/src/common/
H A Dsysdefs.h1 // SPDX-License-Identifier: 0BSD
6 /// \brief Common includes, definitions, system-specific things etc.
26 // Choose if MinGW-w64's stdio replacement functions should be used.
30 // Modern MinGW-w64 enables the replacement functions even with UCRT
33 // XZ Utils works with the UCRT stdio functions.
36 // size-optimized builds (HAVE_SMALL), disable the replacements.
37 // Then thousand separators aren't shown in xz's messages but this is
40 // The legacy MSVCRT is pre-C99 and it's best to always use the stdio
41 // replacements functions from MinGW-w64.
64 // Some pre-C99 systems have SIZE_MAX in limits.h instead of stdint.h. The
[all …]
/freebsd/sys/contrib/openzfs/.github/workflows/
H A Dzfs-tests.yml1 name: zfs-tests-sanity
9 runs-on: ubuntu-latest
11 - uses: actions/checkout@v2
14 - name: Install dependencies
16 sudo apt-get update
17 sudo apt-get install --yes -qq build-essential autoconf libtool gdb lcov \
20 nfs-kernel-server samba rng-tools xz-utils \
21 zlib1g-dev uuid-dev libblkid-dev libselinux-dev \
22 xfslibs-dev libattr1-dev libacl1-dev libudev-dev libdevmapper-dev \
23 libssl-dev libffi-dev libaio-dev libelf-dev libmount-dev \
[all …]
/freebsd/contrib/libucl/
H A Dconfigure.ac9 AM_INIT_AUTOMAKE([1.11 foreign -Wall -Wportability no-dist-gzip dist-xz])
53 dnl Example of default-disabled feature
54 AC_ARG_ENABLE([urls], AS_HELP_STRING([--enable-urls],
57 AC_ARG_ENABLE([regex], AS_HELP_STRING([--enable-regex],
60 AC_ARG_ENABLE([signatures], AS_HELP_STRING([--enable-signatures],
63 AC_ARG_ENABLE([lua], AS_HELP_STRING([--enable-lua],
66 AC_ARG_ENABLE([utils], optenable
67 AS_HELP_STRING([--enable-utils], [Build and install utils @<:@default=no@:>@]),
69 yes) utils=true ;;
70 no) utils=false ;;
[all …]
/freebsd/usr.bin/gzip/
H A Dunxz.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
56 strm.avail_in = read(i, ibuf + prelen, sizeof(ibuf) - prelen); in unxz()
57 if (strm.avail_in == (size_t)-1) in unxz()
81 case (size_t)-1: in unxz()
100 const size_t write_size = sizeof(obuf) - strm.avail_out; in unxz()
161 * Copied various bits and pieces from xz support code or brute force
205 * Most of the following is copied (mostly verbatim) from the xz
206 * distribution, from file src/xz/list.c
212 /// \brief Listing information about .xz files
[all …]
/freebsd/lib/liblzma/
H A Dconfig.h12 /* FreeBSD - disabled intentionally */
71 /* Define to 1 if the 32-bit x86 CRC assembly files are used. */
72 /* FreeBSD - only enabled for i386 */
79 /* FreeBSD - disabled intentionally */
183 /* FreeBSD - disabled intentionally */
190 /* FreeBSD - only with clang because the base gcc does not support it */
202 /* Define to 1 if 64-bit LoongArch CRC32 instructions are supported. */
301 /* Define to 1 to if GNU/Linux-specific details are unconditionally wanted for
304 with Libtool if neither --with-pic nor --without-pic is used). This define
379 /* Define to the sub-directory where libtool stores uninstalled libraries. */
[all …]
/freebsd/contrib/xz/src/liblzma/api/lzma/
H A Dcontainer.h1 /* SPDX-License-Identifier: 0BSD */
56 * a little but only at the lowest preset levels (0-3).
72 * Decoder: Bitwise-or of zero or more of the decoder flags:
73 * - LZMA_TELL_NO_CHECK
74 * - LZMA_TELL_UNSUPPORTED_CHECK
75 * - LZMA_TELL_ANY_CHECK
76 * - LZMA_IGNORE_CHECK
77 * - LZMA_CONCATENATED
78 * - LZMA_FAIL_FAST
90 * The encoder will start a new .xz Block every block_size bytes.
[all …]
H A Dlzma12.h1 /* SPDX-License-Identifier: 0BSD */
19 * \brief LZMA1 Filter ID (for raw encoder/decoder only, not in .xz)
21 * LZMA1 is the very same thing as what was called just LZMA in LZMA Utils,
22 * 7-Zip, and LZMA SDK. It's called LZMA1 here to prevent developers from
33 * - A flag to tell the encoder if the end of payload marker (EOPM) alias
37 * - Decoder needs to be told the uncompressed size of the stream
82 * \brief Hash Chain with 2- and 3-byte hashing
87 * - dict_size <= 16 MiB: dict_size * 7.5
88 * - dict_size > 16 MiB: dict_size * 5.5 + 64 MiB
93 * \brief Hash Chain with 2-, 3-, and 4-byte hashing
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_compat_lzma.c1 /*-
3 * Copyright (c) 2003-2008 Tim Kientzle
30 tail -n +33 test_compat_lzma.c | /bin/sh
32 # Use lzma command of XZ Utils.
49 rm -r $dir
56 rm -f $name.$ztar_suffix
58 # Use option -e
63 $zcmd -e $name.tar
66 rm -
[all...]
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-4-build-vm.sh8 # qemu-4-build-vm.sh OS [--enable-debug][--dkms][--poweroff]
9 # [--release][--repo][--tarball]
12 # --enable-debug: Build RPMs with '--enable-debug' (for testing)
13 # --dkms: Build DKMS RPMs as well
14 # --poweroff: Power-off the VM after building
15 # --release Build zfs-release*.rpm as well
16 # --repo After building everything, copy RPMs into /tmp/repo
19 # --tarball: Also build a tarball of ZFS source
28 while [[ $# -gt 0 ]]; do
30 --enable-debug)
[all …]
/freebsd/contrib/xz/src/liblzma/check/
H A Dcrc_x86_clmul.h1 // SPDX-License-Identifier: 0BSD
8 /// The CRC32 and CRC64 implementations use 32/64-bit x86 SSSE3, SSE4.1, and
15 /// (The link was checked on 2024-06-11.)
21 /// NOTE: The x86 CLMUL CRC implementation was rewritten for XZ Utils 5.8.0.
47 // EDG-based compilers (Intel's classic compiler and compiler for E2K) can
49 // The new Clang-based ICX needs the attribute.
61 // but MSVC needs _mm_cvtsi64_si128 on x86-64.
91 // *Unaligned* 128-bit load
109 // Shift the 128-bit value left by "amount" bytes (not bits).
114 return _mm_shuffle_epi8(v, my_load128((vmasks + 32 - amount))); in shift_left()
[all …]
/freebsd/sys/conf/
H A Dfiles2 # The long compile-with and dependency lines are required because of
3 # limitations in config: backslash-newline doesn't work in strings, and
8 compile-with "${AWK} -f $S/tools/acpi_quirks2h.awk $S/dev/acpica/acpi_quirks" \
9 no-obj no-implicit-rule before-depend \
13 compile-with "sh $S/dev/bhnd/tools/nvram_map_gen.sh $S/dev/bhnd/nvram/nvram_map -h" \
14 no-obj no-implicit-rule before-depend \
18 compile-with "sh $S/dev/bhnd/tools/nvram_map_gen.sh $S/dev/bhnd/nvram/nvram_map -d" \
19 no-obj no-implicit-rule before-depend \
22 compile-with "sh -c 'MACHINE=${MACHINE} $S/tools/fdt/make_dtbh.sh ${FDT_DTS_FILE} ${.OBJDIR}'" \
24 no-obj no-implicit-rule before-depend \
[all …]

12