Home
last modified time | relevance | path

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

12345

/freebsd-14.2/sys/contrib/zstd/programs/
H A DMakefile135 allVariants: zstd zstd-compress zstd-decompress zstd-small zstd-frugal zstd-nolegacy zstd-dictBuild…
149 zstd: target
172 zstd : $(BUILD_DIR)/zstd target
186 zstd-release: zstd
207 zstd-nomt : zstd
213 zstd-nogz : zstd
219 zstd-noxz : zstd
226 zstd-dll : zstd
279 zstd-small$(EXT) zstd-frugal$(EXT) zstd-nolegacy$(EXT) zstd4$(EXT) \
288 zstd.1: zstd.1.md ../lib/zstd.h
[all …]
H A DREADME.md7 - `zstd_nolegacy` : Same as `zstd` but without support for legacy zstd formats
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
18 Example : `make zstd HAVE_THREAD=0`
23 - __ZSTD_LEGACY_SUPPORT__ : `zstd` can decompress files compressed by older versions of `zstd`.
39 Example : `make zstd HAVE_ZLIB=0`
49 Example : `make zstd HAVE_LZMA=0`
59 Example : `make zstd HAVE_LZ4=0`
87 Example : `make zstd BACKTRACE=1`
143 zstd [args] [FILE(s)] [-o file]
[all …]
H A Dzstd.1.md1 zstd(1) -- zstd, zstdmt, unzstd, zstdcat - Compress or decompress .zst files
9 `zstdmt` is equivalent to `zstd -T0`
11 `unzstd` is equivalent to `zstd -d`
13 `zstdcat` is equivalent to `zstd -dcf`
305 `zstd` offers _dictionary_ compression,
374 `zstd --train-cover FILEs`
380 `zstd --train-cover=k=50 FILEs`
384 `zstd --train-cover=shrink FILEs`
404 `zstd --train-fastcover FILEs`
417 `zstd --train-legacy FILEs`
[all …]
/freebsd-14.2/sys/contrib/openzfs/lib/libzstd/
H A DMakefile.am9 module/zstd/lib/common/entropy_common.c \
10 module/zstd/lib/common/error_private.c \
11 module/zstd/lib/common/fse_decompress.c \
12 module/zstd/lib/common/pool.c \
13 module/zstd/lib/common/zstd_common.c \
15 module/zstd/lib/compress/hist.c \
22 module/zstd/lib/compress/zstd_fast.c \
23 module/zstd/lib/compress/zstd_lazy.c \
24 module/zstd/lib/compress/zstd_ldm.c \
25 module/zstd/lib/compress/zstd_opt.c \
[all …]
/freebsd-14.2/contrib/file/tests/
H A DMakefile.am126 zstd-v0.2-FF.result \
128 zstd-v0.3-FF.result \
130 zstd-v0.4-FF.result \
132 zstd-v0.5-FF.result \
134 zstd-v0.6-FF.result \
136 zstd-v0.7-00.result \
137 zstd-v0.7-21.result \
139 zstd-v0.7-22.result \
141 zstd-v0.8-00.result \
142 zstd-v0.8-01.result \
[all …]
H A DMakefile.in419 zstd-v0.2-FF.result \
421 zstd-v0.3-FF.result \
423 zstd-v0.4-FF.result \
425 zstd-v0.5-FF.result \
427 zstd-v0.6-FF.result \
429 zstd-v0.7-00.result \
430 zstd-v0.7-21.result \
432 zstd-v0.7-22.result \
434 zstd-v0.8-00.result \
435 zstd-v0.8-01.result \
[all …]
/freebsd-14.2/usr.bin/zstd/
H A DMakefile2 PROG= zstd
15 -I${SRCTOP}/sys/contrib/zstd/lib/common \
16 -I${SRCTOP}/sys/contrib/zstd/lib/compress \
18 -I${SRCTOP}/sys/contrib/zstd/lib \
22 LINKS= ${BINDIR}/zstd ${BINDIR}/unzstd \
23 ${BINDIR}/zstd ${BINDIR}/zstdcat \
24 ${BINDIR}/zstd ${BINDIR}/zstdmt
25 MLINKS= zstd.1 unzstd.1 \
26 zstd.1 zstdcat.1 \
27 zstd.1 zstdmt.1
[all …]
/freebsd-14.2/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-14.2/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
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.
37 Your project should work as before with zlib. There are two options to enable zstd compression:
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DCompression.cpp38 if (zstd::isAvailable()) in getReasonIfUnsupported()
53 zstd::compress(Input, Output, P.level); 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()
166 void zstd::compress(ArrayRef<uint8_t> Input, in compress()
182 Error zstd::decompress(ArrayRef<uint8_t> Input, uint8_t *Output, in decompress()
195 Error zstd::decompress(ArrayRef<uint8_t> Input, in decompress()
206 bool zstd::isAvailable() { return false; } in isAvailable()
207 void zstd::compress(ArrayRef<uint8_t> Input, in compress()
[all …]
/freebsd-14.2/sys/contrib/zstd/
H A DREADME.md22 [travisLink]: https://travis-ci.com/facebook/zstd
26 [CircleLink]: https://circleci.com/gh/facebook/zstd
28 [CirrusLink]: https://cirrus-ci.com/github/facebook/zstd
47 | **zstd 1.5.1 -1** | 2.887 | 530 MB/s | 1700 MB/s |
50 | **zstd 1.5.1 --fast=1** | 2.437 | 600 MB/s | 2150 MB/s |
51 | **zstd 1.5.1 --fast=3** | 2.239 | 670 MB/s | 2250 MB/s |
114 `zstd --train FullPathToTrainingSet/* -o dictionaryName`
118 `zstd -D dictionaryName FILE`
122 `zstd -D dictionaryName --decompress FILE.zst`
161 ./vcpkg install zstd
[all …]
H A Dappveyor.yml64 ECHO Building zstd &&
72 make -C programs DEBUGFLAGS= clean zstd &&
73 cd programs\ && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe &&
75 cp zstd.exe ..\bin\zstd.exe &&
77 cd zstd &&
78 git archive --format=tar release -o zstd-src.tar &&
79 ..\zstd -19 zstd-src.tar &&
80 appveyor PushArtifact zstd-src.tar.zst &&
81 certUtil -hashfile zstd-src.tar.zst SHA256 > zstd-src.tar.zst.sha256.sig &&
82 appveyor PushArtifact zstd-src.tar.zst.sha256.sig &&
[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*
279 …$(MAKE) -C $(PRGDIR) clean zstd CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc64-static ZSTDRTTEST= MO…
292 $(MAKE) -C programs zstd
299 --zstd programs/zstd
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/
H A DMakefile.in83 …(addprefix $(KMODDIR)/$(INSTALL_MOD_DIR)/,spl/ avl/ icp/ lua/ nvpair/ unicode/ zcommon/ zfs/ zstd/)
150 -i zstd/lib \
156 avl icp lua nvpair unicode zcommon zfs zstd os/linux
167 gen-zstd-symbols:
168zstd/,$(ZSTD_UPSTREAM_OBJS)); do echo; echo "/* $${obj#zstd/}: */"; @OBJDUMP@ -t $$obj | awk '$$2 …
170 check-zstd-symbols:
171 …@OBJDUMP@ -t $(addprefix zstd/,$(ZSTD_UPSTREAM_OBJS)) | awk '/file format/ {print} $$2 == "g" && …
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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 Dmodule.modulemap2 header "zstd.h"
4 config_macros [exhaustive] /* 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)
/freebsd-14.2/stand/libsa/zfs/
H A DMakefile.inc5 .PATH: ${OZFS}/module/zstd
6 .PATH: ${OZFS}/module/zstd/lib/common
7 .PATH: ${OZFS}/module/zstd/lib/compress
8 .PATH: ${OZFS}/module/zstd/lib/decompress
/freebsd-14.2/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-14.2/lib/libzstd/
H A DMakefile2 LIB= zstd
36 INCS= zstd.h
49 ZSTDDIR= ${SRCTOP}/sys/contrib/zstd
/freebsd-14.2/usr.bin/mkuzip/
H A DMakefile7 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
11 LIBADD= lzma md pthread z zstd
/freebsd-14.2/sbin/savecore/
H A DMakefile8 LIBADD= xo z zstd
11 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib

12345