Home
last modified time | relevance | path

Searched refs:zstd (Results 1 – 25 of 123) sorted by relevance

12345

/freebsd/sys/contrib/openzfs/lib/libzstd/
H A DMakefile.am12 module/zstd/lib/common/entropy_common.c \
13 module/zstd/lib/common/error_private.c \
14 module/zstd/lib/common/fse_decompress.c \
15 module/zstd/lib/common/pool.c \
16 module/zstd/lib/common/zstd_common.c \
17 module/zstd/lib/compress/fse_compress.c \
18 module/zstd/lib/compress/hist.c \
19 module/zstd/lib/compress/huf_compress.c \
20 module/zstd/lib/compress/zstd_compress_literals.c \
21 module/zstd/lib/compress/zstd_compress_sequences.c \
[all …]
/freebsd/contrib/file/tests/
H A DMakefile.am139 zstd-3-skippable-frames.result \
140 zstd-dictionary-0.result \
141 zstd-dictionary-1.result \
142 zstd-dictionary-2.result \
143 zstd-skippable-frame-0.result \
144 zstd-skippable-frame-4.result \
145 zstd-skippable-frame-8.result \
146 zstd-skippable-frame-C.result \
147 zstd-v0.2-FF.result \
148 zstd-v0.2-FF.testfile \
[all …]
H A DMakefile.in433 zstd-3-skippable-frames.result \
434 zstd-dictionary-0.result \
435 zstd-dictionary-1.result \
436 zstd-dictionary-2.result \
437 zstd-skippable-frame-0.result \
438 zstd-skippable-frame-4.result \
439 zstd-skippable-frame-8.result \
440 zstd-skippable-frame-C.result \
441 zstd-v0.2-FF.result \
442 zstd-v0.2-FF.testfile \
[all …]
/freebsd/usr.bin/zstd/
H A DMakefile1 PACKAGE= zstd
3 PROG= zstd
17 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/programs \
18 -I${SRCTOP}/sys/contrib/zstd/lib/common \
19 -I${SRCTOP}/sys/contrib/zstd/lib/compress \
20 -I${SRCTOP}/sys/contrib/zstd/lib/dictBuilder \
21 -I${SRCTOP}/sys/contrib/zstd/lib \
25 LINKS= ${BINDIR}/zstd ${BINDIR}/unzstd \
26 ${BINDIR}/zstd ${BINDIR}/zstdcat \
27 ${BINDIR}/zstd ${BINDIR}/zstdmt
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_feature_activation.ksh58 if poolexists $TESTPOOL-zstd ; then
59 destroy_pool $TESTPOOL-zstd
67 log_must zpool create $TESTPOOL-zstd $VDEV_ZSTD
80 log_must zfs create -o compress=zstd-$random_level $TESTPOOL-zstd/$TESTFS-zstd
89 log_must zfs destroy $TESTPOOL-zstd/$TESTFS-zstd
/freebsd/sys/contrib/zstd/programs/
H A DREADME.md6 - `zstd` : default CLI supporting gzip-like arguments; includes dictionary builder, benchmark, and …
7 - `zstd_nolegacy` : Same as `zstd` but without support for legacy zstd formats
8 - `zstd-small` : CLI optimized for minimal size; no dictionary builder, no benchmark, and no suppor…
9 - `zstd-compress` : version of CLI which can only compress into zstd format
10 - `zstd-decompress` : version of CLI which can only decompress zstd format
14 `zstd` scope can be altered by modifying the following `make` variables :
18 Example : `make zstd HAVE_THREAD=0`
23 - __ZSTD_LEGACY_SUPPORT__ : `zstd` can decompress files compressed by older versions of `zstd`.
24 …Starting v0.8.0, all versions of `zstd` produce frames compliant with the [specification](../doc/z…
26 By default, `zstd` supports decoding legacy formats >= v0.4.0 (`ZSTD_LEGACY_SUPPORT=4`).
[all …]
H A Dzstd.1.md1 zstd(1) -- zstd, zstdmt, unzstd, zstdcat - Compress or decompress .zst files
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`
18 `zstd` is a fast lossless compression algorithm and data compression tool,
21 `zstd` offers highly configurable compression speed,
27 `zstd` command line syntax is generally similar to gzip,
32 - When compressing a single file, `zstd` displays progress notifications
35 - `zstd` displays a short help page when command line is an error.
[all …]
H A Dzstdless3 zstd=${ZSTD:-zstd}
7 export LESSOPEN="|-${zstd} -cdfq %s"
/freebsd/sys/contrib/zstd/
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,
11 …and bindings is provided on [Zstandard homepage](https://facebook.github.io/zstd/#other-languages).
20 [travisDevBadge]: https://api.travis-ci.com/facebook/zstd.svg?branch=dev "Continuous Integration te…
21 [travisLink]: https://travis-ci.com/facebook/zstd
22 [CircleDevBadge]: https://circleci.com/gh/facebook/zstd/tree/dev.svg?style=shield "Short test suite"
23 [CircleLink]: https://circleci.com/gh/facebook/zstd
24 [CirrusDevBadge]: https://api.cirrus-ci.com/github/facebook/zstd.svg?branch=dev
25 [CirrusLink]: https://cirrus-ci.com/github/facebook/zstd
26 [OSSFuzzBadge]: https://oss-fuzz-build-logs.storage.googleapis.com/badges/zstd.svg
[all …]
/freebsd/sys/contrib/zstd/zlibWrapper/
H A DREADME.md4 … main objective of creating a zstd wrapper for [zlib](https://zlib.net/) is to allow a quick and s…
8 To build the zstd wrapper for zlib the following files are required:
15 - a static or dynamic zstd library
17 The first two files are required by all projects using zlib and they are not included with the zstd
18 The further files are supplied with the zstd distribution.
21 #### Embedding the zstd wrapper within your project
26 To compile the zstd wrapper with your project you have to do the following:
28 - compile your project with `zstd_zlibwrapper.c`, `gz*.c` and a static or dynamic zstd library
34 #### Enabling zstd compression within your project
36 After embedding the zstd wrapper within your project the zstd library is turned off by default.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCompression.cpp38 if (zstd::isAvailable()) in getReasonIfUnsupported()
53 zstd::compress(Input, Output, P.level, P.zstdEnableLdm); in compress()
64 return zstd::decompress(Input, Output, UncompressedSize); in decompress()
76 return zstd::decompress(Input, Output, UncompressedSize); in decompress()
164 bool zstd::isAvailable() { return true; } in isAvailable()
168 void zstd::compress(ArrayRef<uint8_t> Input, in compress()
204 Error zstd::decompress(ArrayRef<uint8_t> Input, uint8_t *Output, in decompress()
218 Error zstd::decompress(ArrayRef<uint8_t> Input, in decompress()
222 Error E = zstd::decompress(Input, Output.data(), UncompressedSize); in decompress()
229 bool zstd::isAvailable() { return false; } in isAvailable()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_002_pos.ksh89 compression zstd compression zstd-$((RANDOM%9 + 1))
90 compression zstd-fast copies $((RANDOM%3 + 1))
91 compression zstd-fast-$((RANDOM%9 + 1)) xattr sa
117 compression zstd compression zstd-$((RANDOM%9 + 1))
118 compression zstd-fast copies $((RANDOM%3 + 1))
119 compression zstd-fast-$((RANDOM%9 + 1)) acltype off
/freebsd/sys/contrib/openzfs/module/
H A DMakefile.in87 …(addprefix $(KMODDIR)/$(INSTALL_MOD_DIR)/,spl/ avl/ icp/ lua/ nvpair/ unicode/ zcommon/ zfs/ zstd/)
155 -i zstd/lib \
161 avl icp lua nvpair unicode zcommon zfs zstd os/linux
172 gen-zstd-symbols:
173zstd/,$(ZSTD_UPSTREAM_OBJS)); do echo; echo "/* $${obj#zstd/}: */"; @OBJDUMP@ -t $$obj | awk '$$2 …
175 check-zstd-symbols:
176 …@OBJDUMP@ -t $(addprefix zstd/,$(ZSTD_UPSTREAM_OBJS)) | awk '/file format/ {print} $$2 == "g" && …
/freebsd/stand/libsa/zfs/
H A DMakefile.inc4 .PATH: ${ZFSTOP}/module/zstd
5 .PATH: ${ZFSTOP}/module/zstd/lib/common
6 .PATH: ${ZFSTOP}/module/zstd/lib/compress
7 .PATH: ${ZFSTOP}/module/zstd/lib/decompress
52 CFLAGS.xxhash.c+= -I${ZFSTOP}/module/zstd/lib/common
/freebsd/lib/libzstd/
H A DMakefile1 PACKAGE= zstd
4 LIB= zstd
39 INCS= zstd.h
51 ZSTDDIR= ${SRCTOP}/sys/contrib/zstd
/freebsd/sys/contrib/openzfs/module/zstd/
H A DREADME.md7 intentionally unmodified. Please do not alter the file containing the zstd
14 * `zstd-in.c` is our template file for generating the single-file library
39 1. Grab the latest release of [Zstd](https://github.com/facebook/zstd/releases).
40 2. Copy the files output by the following script to `module/zstd/lib/`:
42 grep include [path to zstd]/build/single_file_libs/zstd-in.c | awk '{ print $2 }'
/freebsd/sys/fs/tarfs/
H A Dtarfs_io.c324 struct tarfs_zstd *zstd = zio->zstd; in tarfs_zread_zstd() local
358 ZSTD_DCtx_reset(zstd->zds, ZSTD_reset_session_only); in tarfs_zread_zstd()
456 zerror = ZSTD_decompressStream(zstd->zds, &zob, &zib); in tarfs_zread_zstd()
514 ZSTD_DCtx_reset(zstd->zds, ZSTD_reset_session_only); in tarfs_zread_zstd()
540 if (zio->zstd != NULL) { in tarfs_zread()
673 zio->zstd = malloc(sizeof(*zio->zstd), M_TARFSZSTATE, M_WAITOK); in tarfs_io_init()
674 zio->zstd->zds = ZSTD_createDStream_advanced(tarfs_zstd_mem); in tarfs_io_init()
675 (void)ZSTD_initDStream(zio->zstd->zds); in tarfs_io_init()
709 if (zio->zstd != NULL) { in tarfs_zio_fini()
711 ZSTD_freeDStream(zio->zstd->zds); in tarfs_zio_fini()
[all …]
/freebsd/crypto/openssl/Configurations/
H A D00-base-templates.conf55 push @defs, "ZSTD" unless $disabled{zstd};
69 if !$disabled{zstd} && $withargs{zstd_include};
118 … push(@libs, "-lzstd") if !defined($disabled{zstd}) && defined($disabled{"zstd-dynamic"});
153 unless ($disabled{zstd}) {
/freebsd/sys/contrib/zstd/lib/
H A DREADME.md41 via the [advanced API defined in `lib/zstd.h`](https://github.com/facebook/zstd/blob/v1.4.3/lib/zst…
46 Zstandard's stable API is exposed within [lib/zstd.h](zstd.h).
56 - `ZSTD_STATIC_LINKING_ONLY` : if this macro is defined _before_ including `zstd.h`,
58 exposed in the second part of `zstd.h`.
82 - `lib/legacy` : makes it possible to decompress legacy zstd formats, starting from `v0.1.0`.
171 that zstd does not use. Not all unused functions are hidden, but they can be if needed.
185 can be overridden to control the visibility of zstd's API. Additionally,
187 of zstd's static API. Specifically, it can be set to `ZSTDLIB_HIDDEN` to hide the symbols
201 The header file `zstd.h` and the dynamic library `dll\libzstd.dll` are required to
237 Consider migrating code towards supported streaming API exposed in `zstd.h`.
[all …]
H A Dmodule.modulemap2 header "zstd.h"
5 /* zstd.h */ \
H A Dlibzstd.pc.in10 Name: zstd name
12 URL: https://facebook.github.io/zstd/
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_zip.c217 } zstd; member
1393 zip->stream.zstd.context = ZSTD_createCStream(); in archive_write_zip_header()
1394 size_t zret = ZSTD_initCStream(zip->stream.zstd.context, zstd_compression_level); in archive_write_zip_header()
1402 ZSTD_CCtx_setParameter(zip->stream.zstd.context, ZSTD_c_nbWorkers, zip->threads); in archive_write_zip_header()
1403 zip->stream.zstd.out.dst = zip->buf; in archive_write_zip_header()
1404 zip->stream.zstd.out.size = zip->len_buf; in archive_write_zip_header()
1405 zip->stream.zstd.out.pos = 0; in archive_write_zip_header()
1623 zip->stream.zstd.in.src = buff; in archive_write_zip_data()
1624 zip->stream.zstd.in.size = s; in archive_write_zip_data()
1625 zip->stream.zstd.in.pos = 0; in archive_write_zip_data()
[all …]
/freebsd/usr.bin/mkuzip/
H A DMakefile6 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
10 LIBADD= lzma md pthread z zstd
/freebsd/sbin/savecore/
H A DMakefile7 LIBADD= xo z zstd
10 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/compression/
H A Dcompress_zstd_bswap.ksh53 log_must dd if=/testpool_zstd/x86_64/zstd of=/dev/null
54 log_must dd if=/testpool_zstd/ppc64_fbsd/zstd of=/dev/null

12345