Home
last modified time | relevance | path

Searched +full:zstd +full:- +full:src (Results 1 – 25 of 131) sorted by relevance

123456

/freebsd/contrib/file/tests/
H A DMakefile.am2 test_LDADD = $(top_builddir)/src/libmagic.la
3 test_CPPFLAGS = -I$(top_builddir)/src
6 android-vdex-1.result \
7 android-vdex-1.testfile \
8 android-vdex-2.result \
9 android-vdex-2.testfile \
26 CVE-2014-1943.result \
27 CVE-2014-1943.testfile \
28 dsd64-dff.result \
29 dsd64-dff.testfile \
[all …]
H A DMakefile.in4 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
18 if test -z '$(MAKELEVEL)'; then \
20 elif test -n '$(MAKE_HOST)'; then \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
29 case $${target_option-} in \
32 "target option '$${target_option-}' specified" >&2; \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
[all …]
/freebsd/sys/contrib/zstd/
H A Dappveyor.yml4 -
8 - release
9 - master
10 - /appveyor*/
11 - /visual*/
14 - COMPILER: "gcc"
17 SCRIPT: "make allzstd MOREFLAGS=-static"
20 - COMPILER: "gcc"
23 SCRIPT: "make allzstd MOREFLAGS=-static"
27 - COMPILER: "clang-cl"
[all …]
H A DREADME.md1 <p align="center"><img src="https://raw.githubusercontent.com/facebook/zstd/dev/doc/images/zstd_log…
3 __Zstandard__, or `zstd` as short version, is a fast lossless compression algorithm,
4 targeting real-time compression scenarios at zlib-level and better compression ratios.
8 This repository represents the reference implementation, provided as an open-source dual [BSD](LICE…
11 a list of known ports and bindings is provided on [Zstandard homepage](http://www.zstd.net/#other-l…
21 [travisDevBadge]: https://api.travis-ci.com/facebook/zstd.svg?branch=dev "Continuous Integration te…
22 [travisLink]: https://travis-ci.com/facebook/zstd
24 [AppveyorLink]: https://ci.appveyor.com/project/YannCollet/zstd-p0yf0
25 [CircleDevBadge]: https://circleci.com/gh/facebook/zstd/tree/dev.svg?style=shield "Short test suite"
26 [CircleLink]: https://circleci.com/gh/facebook/zstd
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_feature_activation.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 # or https://opensource.org/licenses/CDDL-1.0.
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
34 # Setting the compression property to any of the zstd levels should activate
35 # the zstd feature flag. Destroying the last dataset using the zstd feature flag
40 # 2. Check that the zstd feature flag is 'enabled'.
41 # 3. Setting the compression property to zstd.
42 # 4. Check that the zstd feature flag is now 'active'.
[all …]
/freebsd/usr.bin/mkuzip/
H A Dmkuzip.81 .\"-
2 .\" Copyright (c) 2004-2016 Maxim Sobolev <sobomax@FreeBSD.org>
48 class will be able to decompress the resulting image at run-time.
56 .Bl -enum
69 .Bl -tag -width indent
70 .It Fl A Op Ar lzma | Ar zlib | Ar zstd
83 .Ar zstd
105 .Va 0-9 .
114 .Va 1-9 .
121 .Ar zstd ,
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/compression/
H A Dcompress_zstd_bswap.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 # or https://opensource.org/licenses/CDDL-1.0.
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
35 # Import a pool containing variously-permuted zstd-compressed files,
44 rm -f $TEST_BASE_DIR/testpool_zstd
48 log_assert "Trying to read data from variously mangled zstd datasets"
51 log_must tar --directory $TEST_BASE_DIR -xzSf $TESTPOOL_ZSTD_FILE
52 log_must zpool import -d $TEST_BASE_DIR testpool_zstd
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_zstd.c1 /*-
2 * Copyright (c) 2009-2011 Sean Purcell
46 #include <zstd.h>
61 char in_frame; /* True = in the middle of a zstd frame. */
65 /* Zstd Filter. */
71 * Note that we can detect zstd compressed files even if we can't decompress
73 * messages.) So the bid framework here gets compiled even if no zstd library
91 if (__archive_read_register_bidder(a, NULL, "zstd", in archive_read_support_filter_zstd()
99 "Using external zstd program for zstd decompression"); in archive_read_support_filter_zstd()
115 /* Zstd frame magic values */ in zstd_bidder_bid()
[all …]
H A Darchive_write_add_filter_zstd.c1 /*-
3 * Copyright (c) 2023-2024 Klara, Inc.
48 #include <zstd.h>
56 /* Don't compile this if we don't have zstd.h */
85 #define CLEVEL_MIN -99
86 #define CLEVEL_STD_MIN 0 /* prior to 1.3.4 and more recent without using --fast */
88 #define CLEVEL_STD_MAX 19 /* without using --ultra */
112 * Add a zstd compression filter to this write handle.
120 archive_check_magic(&a->archive, ARCHIVE_WRITE_MAGIC, in archive_write_add_filter_zstd()
125 archive_set_error(&a->archive, ENOMEM, "Out of memory"); in archive_write_add_filter_zstd()
[all …]
/freebsd/sys/contrib/openzfs/module/
H A DMakefile.in7 distclean maintainer-clean: clean
12 .PHONY: all distclean maintainer-clean install uninstall check distdir \
13 modules modules-Linux modules-FreeBSD modules-unknown \
14 clean clean-Linux clean-FreeBSD \
15 modules_install modules_install-Linux modules_install-FreeBSD \
16 data_install data_install-Linux data_install-FreeBSD \
17 modules_uninstall modules_uninstall-Linux modules_uninstall-FreeBSD \
18 data_uninstall data_uninstall-Linux data_uninstall-FreeBSD \
19 cppcheck cppcheck-Linux cppcheck-FreeBSD
27 set -- \
[all …]
H A DKbuild.in5 ZFS_MODULE_CFLAGS += -std=gnu99 -Wno-declaration-after-statement
6 ZFS_MODULE_CFLAGS += -Wmissing-prototypes
12 zstd_include = @abs_srcdir@/zstd/include
13 ZFS_MODULE_CFLAGS += -include @abs_top_builddir@/zfs_config.h
14 ZFS_MODULE_CFLAGS += -I@abs_top_builddir@/include
15 src = @abs_srcdir@
19 icp_include = $(src)/icp/include
20 zstd_include = $(src)/zstd/include
21 ZFS_MODULE_CFLAGS += -include $(zfs_include)/zfs_config.h
24 ZFS_MODULE_CFLAGS += -I$(zfs_include)/os/linux/kernel
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_002_pos.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 # or https://opensource.org/licenses/CDDL-1.0.
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
50 [[ -f $tmpfile ]] && rm -f $tmpfile
51 [[ -f $tmpfile2 ]] && rm -f $tmpfile2
53 datasetexists $dataset && destroy_dataset $dataset -Rf
55 rm -rf /history.$$
58 log_assert "Verify zfs sub-commands which modify state are logged."
[all …]
/freebsd/sys/contrib/zstd/programs/
H A Dzstd.12 .TH "ZSTD" "1" "January 2022" "zstd 1.5.2" "User Commands"
5 \fBzstd\fR \- zstd, zstdmt, unzstd, zstdcat \- Compress or decompress \.zst files
8 \fBzstd\fR [\fIOPTIONS\fR] [\-|\fIINPUT\-FILE\fR] [\-o \fIOUTPUT\-FILE\fR]
11 \fBzstdmt\fR is equivalent to \fBzstd \-T0\fR
14 \fBunzstd\fR is equivalent to \fBzstd \-d\fR
17 \fBzstdcat\fR is equivalent to \fBzstd \-dcf\fR
20zstd\fR is a fast lossless compression algorithm and data compression tool, with command line synt…
23 \fBzstd\fR command line syntax is generally similar to gzip, but features the following differences…
26 …served by default\. It\'s possible to remove them automatically by using the \fB\-\-rm\fR command\.
29 When compressing a single file, \fBzstd\fR displays progress notifications and result summary by de…
[all …]
H A Dzstd.1.md1 zstd(1) -- zstd, zstdmt, unzstd, zstdcat - Compress or decompress .zst files
5 --------
7 `zstd` [*OPTIONS*] [-|_INPUT-FILE_] [-o _OUTPUT-FILE_]
9 `zstdmt` is equivalent to `zstd -T0`
11 `unzstd` is equivalent to `zstd -d`
13 `zstdcat` is equivalent to `zstd -dcf`
17 -----------
18 `zstd` is a fast lossless compression algorithm and data compression tool,
21 `zstd` offers highly configurable compression speed,
26 `zstd` command line syntax is generally similar to gzip,
[all …]
/freebsd/sys/contrib/zstd/lib/
H A Dzstd.h5 * This source code is licensed under both the BSD-style license (found in the
8 * You may select, at your option, one of the above-listed licenses.
44 zstd, short for Zstandard, is a fast lossless compression algorithm, targeting
45 real-time compression scenarios at zlib-level and better compression ratios.
46 The zstd compression library provides in-memory compression and decompression
50 which is currently 22. Levels >= 20, labeled `--ultra`, should be used with
56 - a single step (described as Simple API)
57 - a single step, reusing a context (described as Explicit context)
58 - unbounded multiple steps (described as Streaming compression)
62 - a single step (described as Simple dictionary API)
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_from_zstd.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
28 # ZFS should receive a ZSTD compressed block and be able to determine the level
31 # 1. Create a ZSTD compressed dataset (random level)
44 destroy_dataset $TESTPOOL/$TESTFS1 -r
47 destroy_dataset $TESTPOOL/$TESTFS2 -r
52 log_assert "ZFS should track compression level when receiving a ZSTD stream"
58 log_note "Randomly selected ZSTD level: $random_level"
60 log_must zfs create -o compress=zstd-$random_level $TESTPOOL/$TESTFS1
69 read -r obj _ < <(ls -i /$TESTPOOL/$TESTFS1/$TESTFILE0)
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzio_compress.c1 // SPDX-License-Identifier: CDDL-1.0
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or https://opensource.org/licenses/CDDL-1.0.
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
38 #include <sys/zstd/zstd.h>
56 {"gzip-1", 1,
58 {"gzip-2", 2,
60 {"gzip-3", 3,
62 {"gzip-4", 4,
64 {"gzip-5", 5,
[all …]
/freebsd/sys/conf/
H A Dkern.pre.mk5 # Allow user to configure things that only effect src tree builds.
6 # Note: This is duplicated from src.sys.mk to ensure that we include
7 # /etc/src.conf when building the kernel. Kernels can be built without
8 # the rest of /usr/src, but they still always process SRCCONF even though
11 SRCCONF?= /etc/src.conf
12 .if (exists(${SRCCONF}) || ${SRCCONF} != "/etc/src.conf") && !target(_srcconf_included_)
20 .-include <local.kern.pre.mk>
55 CTFFLAGS+= -g
58 _COPTFLAGS_EXTRA=-frename-registers
62 COPTFLAGS?=-O2 -pipe ${_COPTFLAGS_EXTRA}
[all …]
/freebsd/sys/contrib/zstd/doc/
H A Dzstd_manual.html3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4 <title>zstd 1.5.2 Manual</title>
7 <h1>zstd 1.5.2 Manual</h1>
18 <li><a href="#Chapter8">Streaming compression - HowTo</a></li>
19 <li><a href="#Chapter9">Streaming decompression - HowTo</a></li>
30 <li><a href="#Chapter20">Buffer-less and synchronous inner streaming functions</a></li>
31 <li><a href="#Chapter21">Buffer-less streaming compression (synchronous mode)</a></li>
32 <li><a href="#Chapter22">Buffer-less streaming decompression (synchronous mode)</a></li>
37 zstd, short for Zstandard, is a fast lossless compression algorithm, targeting
38 real-time compression scenarios at zlib-level and better compression ratios.
[all …]
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_prop.c1 // SPDX-License-Identifier: CDDL-1.0
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or https://opensource.org/licenses/CDDL-1.0.
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
124 { "gzip-1", ZIO_COMPRESS_GZIP_1 }, in zfs_prop_init()
125 { "gzip-2", ZIO_COMPRESS_GZIP_2 }, in zfs_prop_init()
126 { "gzip-3", ZIO_COMPRESS_GZIP_3 }, in zfs_prop_init()
127 { "gzip-4", ZIO_COMPRESS_GZIP_4 }, in zfs_prop_init()
128 { "gzip-5", ZIO_COMPRESS_GZIP_5 }, in zfs_prop_init()
129 { "gzip-6", ZIO_COMPRESS_GZIP_6 }, in zfs_prop_init()
[all …]
/freebsd/sbin/savecore/
H A DMakefile7 LIBADD= xo z zstd
10 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
12 .include <src.opts.mk>
17 CFLAGS+= -DWITH_CASPER
/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
3 * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc.
6 * This source code is licensed under both the BSD-style license (found in the
9 * You may select, at your option, one of the above-listed licenses.
43 zstd, short for Zstandard, is a fast lossless compression algorithm, targeting
44 real-time compression scenarios at zlib-level and better compression ratios.
45 The zstd compression library provides in-memory compression and decompression
49 which is currently 22. Levels >= 20, labeled `--ultra`, should be used with
55 - a single step (described as Simple API)
56 - a single step, reusing a context (described as Explicit context)
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.h1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
3 * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc.
6 * This source code is licensed under both the BSD-style license (found in the
9 * You may select, at your option, one of the above-listed licenses.
16 /*-*******************************************************
20 #include "../zstd.h" /* DCtx, and some public functions */
27 /* note: prototypes already published within `zstd.h` :
38 * decompress block, starting at `src`,
45 const void* src, size_t srcSize, const int frame);
/freebsd/sys/fs/tarfs/
H A Dtarfs_io.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2022-2023 Klara, Inc.
51 #include <contrib/zstd/lib/zstd.h>
79 if (req->newptr != NULL) { in tarfs_sysctl_handle_zio_reset()
120 off_t off = uiop->uio_offset; in tarfs_io_read()
121 size_t len = uiop->uio_resid; in tarfs_io_read()
124 if (raw || tmp->znode == NULL) { in tarfs_io_read()
125 rl = vn_rangelock_rlock(tmp->vp, off, off + len); in tarfs_io_read()
126 error = vn_lock(tmp->vp, LK_SHARED); in tarfs_io_read()
[all …]
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.h5 * This source code is licensed under both the BSD-style license (found in the
8 * You may select, at your option, one of the above-listed licenses.
15 /*-*******************************************************
19 #include "../zstd.h" /* DCtx, and some public functions */
26 /* note: prototypes already published within `zstd.h` :
43 * decompress block, starting at `src`,
50 … const void* src, size_t srcSize, const int frame, const streaming_operation streaming);
57 * The workspace must be 4-byte aligned and at least ZSTD_BUILD_FSE_TABLE_WKSP_SIZE bytes, which is

123456