Home
last modified time | relevance | path

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

123456

/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 PACKAGE= zstd
3 PROG= zstd
15 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/programs \
16 -I${SRCTOP}/sys/contrib/zstd/lib/common \
17 -I${SRCTOP}/sys/contrib/zstd/lib/compress \
18 -I${SRCTOP}/sys/contrib/zstd/lib/dictBuilder \
19 -I${SRCTOP}/sys/contrib/zstd/lib \
23 LINKS= ${BINDIR}/zstd ${BINDIR}/unzstd \
24 ${BINDIR}/zstd ${BINDIR}/zstdcat \
25 ${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/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.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/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/openzfs/module/
H A DMakefile.in86 …(addprefix $(KMODDIR)/$(INSTALL_MOD_DIR)/,spl/ avl/ icp/ lua/ nvpair/ unicode/ zcommon/ zfs/ zstd/)
154 -i zstd/lib \
160 avl icp lua nvpair unicode zcommon zfs zstd os/linux
171 gen-zstd-symbols:
172zstd/,$(ZSTD_UPSTREAM_OBJS)); do echo; echo "/* $${obj#zstd/}: */"; @OBJDUMP@ -t $$obj | awk '$$2 …
174 check-zstd-symbols:
175 …@OBJDUMP@ -t $(addprefix zstd/,$(ZSTD_UPSTREAM_OBJS)) | awk '/file format/ {print} $$2 == "g" && …
/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 */ \
/freebsd/lib/libzstd/
H A DMakefile1 PACKAGE= zstd
4 LIB= zstd
38 INCS= zstd.h
50 ZSTDDIR= ${SRCTOP}/sys/contrib/zstd
/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
/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/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/contrib/libarchive/libarchive/
H A Darchive_write_set_format_zip.c217 } zstd; member
1368 zip->stream.zstd.context = ZSTD_createCStream(); in archive_write_zip_header()
1369 size_t zret = ZSTD_initCStream(zip->stream.zstd.context, zstd_compression_level); in archive_write_zip_header()
1377 ZSTD_CCtx_setParameter(zip->stream.zstd.context, ZSTD_c_nbWorkers, zip->threads); in archive_write_zip_header()
1378 zip->stream.zstd.out.dst = zip->buf; in archive_write_zip_header()
1379 zip->stream.zstd.out.size = zip->len_buf; in archive_write_zip_header()
1380 zip->stream.zstd.out.pos = 0; in archive_write_zip_header()
1598 zip->stream.zstd.in.src = buff; in archive_write_zip_data()
1599 zip->stream.zstd.in.size = s; in archive_write_zip_data()
1600 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

123456