Home
last modified time | relevance | path

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

12345

/freebsd/sys/contrib/zstd/programs/
H A DMakefile19 default: zstd-release
78 NO_ZLIB_MSG := ==> no zlib, building zstd without .gz support
81 ZLIB_MSG := ==> building zstd with .gz compression support
89 NO_LZMA_MSG := ==> no liblzma, building zstd without .xz/.lzma support
92 LZMA_MSG := ==> building zstd with .xz/.lzma compression support
100 NO_LZ4_MSG := ==> no liblz4, building zstd without .lz4 support
103 LZ4_MSG := ==> building zstd with .lz4 compression support
132 all: zstd
135 allVariants: zstd zstd-compress zstd-decompress zstd-small zstd-frugal zstd-nolegacy zstd-dictBuild…
137 .PHONY: zstd # must always be run
[all …]
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,
26 `zstd` command line syntax is generally similar to gzip,
31 - When compressing a single file, `zstd` displays progress notifications
34 - `zstd` does not accept input from console,
[all …]
/freebsd/sys/contrib/openzfs/lib/libzstd/
H A DMakefile.am11 module/zstd/lib/common/entropy_common.c \
12 module/zstd/lib/common/error_private.c \
13 module/zstd/lib/common/fse_decompress.c \
14 module/zstd/lib/common/pool.c \
15 module/zstd/lib/common/zstd_common.c \
16 module/zstd/lib/compress/fse_compress.c \
17 module/zstd/lib/compress/hist.c \
18 module/zstd/lib/compress/huf_compress.c \
19 module/zstd/lib/compress/zstd_compress_literals.c \
20 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 PROG= zstd
13 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/programs \
14 -I${SRCTOP}/sys/contrib/zstd/lib/common \
15 -I${SRCTOP}/sys/contrib/zstd/lib/compress \
16 -I${SRCTOP}/sys/contrib/zstd/lib/dictBuilder \
17 -I${SRCTOP}/sys/contrib/zstd/lib \
21 LINKS= ${BINDIR}/zstd ${BINDIR}/unzstd \
22 ${BINDIR}/zstd ${BINDIR}/zstdcat \
23 ${BINDIR}/zstd ${BINDIR}/zstdmt
24 MLINKS= zstd.1 unzstd.1 \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_feature_activation.ksh57 if poolexists $TESTPOOL-zstd ; then
58 destroy_pool $TESTPOOL-zstd
66 log_must zpool create $TESTPOOL-zstd $VDEV_ZSTD
79 log_must zfs create -o compress=zstd-$random_level $TESTPOOL-zstd/$TESTFS-zstd
88 log_must zfs destroy $TESTPOOL-zstd/$TESTFS-zstd
/freebsd/sys/contrib/zstd/zlibWrapper/
H A DREADME.md4 …e main objective of creating a zstd wrapper for [zlib](http://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/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 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
27 [CirrusDevBadge]: https://api.cirrus-ci.com/github/facebook/zstd.svg?branch=dev
28 [CirrusLink]: https://cirrus-ci.com/github/facebook/zstd
[all …]
H A DMakefile42 default: lib-release zstd-release
65 .PHONY: zstd zstd-release
66 zstd zstd-release: target
68 $(Q)ln -sf $(PRGDIR)/zstd$(EXT) zstd$(EXT)
73 $(Q)$(CP) $(PRGDIR)/zstd$(EXT) ./zstdmt$(EXT)
86 ZSTD=../../programs/zstd $(MAKE) -C doc/educational_decoder $@
145 $(Q)$(RM) zstd$(EXT) zstdmt$(EXT) tmp*
276 …$(MAKE) -C $(PRGDIR) clean zstd CC=arm-linux-gnueabi-gcc QEMU_SYS=qemu-arm-static ZSTDRTTEST= MORE…
277 …$(MAKE) -C $(PRGDIR) clean zstd CC=aarch64-linux-gnu-gcc QEMU_SYS=qemu-aarch64-static ZSTDRTTEST= …
278 …$(MAKE) -C $(PRGDIR) clean zstd CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc-static ZSTDRTTEST= MORE…
[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()
217 Error zstd::decompress(ArrayRef<uint8_t> Input, in decompress()
221 Error E = zstd::decompress(Input, Output.data(), UncompressedSize); in decompress()
228 bool zstd::isAvailable() { return false; } in isAvailable()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_002_pos.ksh88 compression zstd compression zstd-$((RANDOM%9 + 1))
89 compression zstd-fast copies $((RANDOM%3 + 1))
90 compression zstd-fast-$((RANDOM%9 + 1)) xattr sa
116 compression zstd compression zstd-$((RANDOM%9 + 1))
117 compression zstd-fast copies $((RANDOM%3 + 1))
118 compression zstd-fast-$((RANDOM%9 + 1)) acltype off
/freebsd/sys/contrib/openzfs/module/
H A DMakefile.in85 …(addprefix $(KMODDIR)/$(INSTALL_MOD_DIR)/,spl/ avl/ icp/ lua/ nvpair/ unicode/ zcommon/ zfs/ zstd/)
153 -i zstd/lib \
159 avl icp lua nvpair unicode zcommon zfs zstd os/linux
170 gen-zstd-symbols:
171zstd/,$(ZSTD_UPSTREAM_OBJS)); do echo; echo "/* $${obj#zstd/}: */"; @OBJDUMP@ -t $$obj | awk '$$2 …
173 check-zstd-symbols:
174 …@OBJDUMP@ -t $(addprefix zstd/,$(ZSTD_UPSTREAM_OBJS)) | awk '/file format/ {print} $$2 == "g" && …
/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
23 1. Grab the latest release of [ZSTD](https://github.com/facebook/zstd/releases).
24 2. Copy the files output by the following script to `module/zstd/lib/`:
25 `grep include [path to zstd]/contrib/single_file_libs/zstd-in.c | awk '{ print $2 }'`
/freebsd/sys/contrib/zstd/doc/
H A DREADME.md5 as well as detailed instructions to use `zstd` library.
7 __`zstd_manual.html`__ : Documentation of `zstd.h` API, in html format.
8 Click on this link: [http://zstd.net/zstd_manual.html](http://zstd.net/zstd_manual.html)
23 [__`decode_corpus`__](https://github.com/facebook/zstd/tree/dev/tests#decodecorpus---tool-to-genera…
/freebsd/sys/contrib/zstd/lib/
H A DBUCK2 name='zstd',
4 exported_headers=['zstd.h'],
19 ('compress', 'zstd*.h'),
21 srcs=glob(['compress/zstd*.c', 'compress/hist.c']),
32 srcs=glob(['decompress/zstd*.c']),
196 ('', 'zstd.h'),
H A DREADME.md37 via the [advanced API defined in `lib/zstd.h`](https://github.com/facebook/zstd/blob/v1.4.3/lib/zst…
42 Zstandard's stable API is exposed within [lib/zstd.h](zstd.h).
52 - `ZSTD_STATIC_LINKING_ONLY` : if this macro is defined _before_ including `zstd.h`,
54 exposed in the second part of `zstd.h`.
78 - `lib/legacy` : makes it possible to decompress legacy zstd formats, starting from `v0.1.0`.
151 that zstd does not use. Not all unused functions are hidden, but they can be if needed.
170 The header file `zstd.h` and the dynamic library `dll\libzstd.dll` are required to
206 Consider migrating code towards supported streaming API exposed in `zstd.h`.
214 - `Makefile` : `make` script to build and install zstd library (static and dynamic)
H A Dmodule.modulemap2 header "zstd.h"
4 config_macros [exhaustive] /* zstd.h */ \
H A Dlibzstd.pc.in10 Name: zstd
12 URL: http://www.zstd.net/
/freebsd/stand/libsa/zfs/
H A DMakefile.inc4 .PATH: ${OZFS}/module/zstd
5 .PATH: ${OZFS}/module/zstd/lib/common
6 .PATH: ${OZFS}/module/zstd/lib/compress
7 .PATH: ${OZFS}/module/zstd/lib/decompress
/freebsd/sys/fs/tarfs/
H A Dtarfs_io.c324 struct tarfs_zstd *zstd = zio->zstd; in tarfs_zread_zstd() local
358 ZSTD_resetDStream(zstd->zds); in tarfs_zread_zstd()
456 zerror = ZSTD_decompressStream(zstd->zds, &zob, &zib); in tarfs_zread_zstd()
514 ZSTD_resetDStream(zstd->zds); 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/lib/libzstd/
H A DMakefile1 LIB= zstd
35 INCS= zstd.h
48 ZSTDDIR= ${SRCTOP}/sys/contrib/zstd
/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

12345