Home
last modified time | relevance | path

Searched full:zstd (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/external/zstd/tests/
DplayTests.sh14 zstd() { function
45 println "roundTripTest: datagen $1 $proba | zstd -v$cLevel | zstd -d$dLevel"
47 datagen $1 $proba | zstd --ultra -v$cLevel | zstd -d$dLevel | $MD5SUM > tmp2
66 … println "fileRoundTripTest: datagen $1 $local_p > tmp && zstd -v$local_c -c tmp | zstd -d$local_d"
69 zstd --ultra -v$local_c -c tmp | zstd -d$local_d | $MD5SUM > tmp.md5.2
160 ZSTD_BIN="$PRGDIR/zstd"
173 …BIN" ] || die "zstd not found at $ZSTD_BIN! \n Please define ZSTD_BIN pointing to the zstd binary.…
174 …EN_BIN pointing to the datagen binary. You might also consider rebuilding zstd tests following the…
177 if echo hello | zstd -v -T2 2>&1 > $INTOVOID | grep -q 'multi-threading is disabled'
189 zstd -h
[all …]
DMakefile12 # fullbench : Precisely measure speed for each zstd inner functions
14 # fuzzer : Test tool, to check zstd integrity on target platform
16 # paramgrill : parameter tester for zstd
17 # test-zstd-speed.py : script for testing zstd speed difference between commits
18 # versionsTest : compatibility test between zstd versions stored on Github (v0.1+)
19 # zstreamtest : Fuzzer test tool for zstd streaming API
97 .PHONY: zstd zstd32 zstd-nolegacy # only external makefile knows how to build or update them
98 zstd zstd32 zstd-nolegacy: target
219 $(PYTHON) test-zstd-versions.py
226 checkTag.o : $(ZSTDDIR)/zstd.h
[all …]
Dtest-zstd-versions.py2 """Test zstd interoperability between versions"""
23 repo_url = 'https://github.com/facebook/zstd.git'
32 …ict_files = './zstd/programs/*.c ./zstd/lib/common/*.c ./zstd/lib/compress/*.c ./zstd/lib/decompre…
33 dict_files += './zstd/programs/*.h ./zstd/lib/common/*.h ./zstd/lib/compress/*.h ./zstd/lib/dictBui…
85 …result = execute('./zstd.' + tag + ' -f --train ' + ' '.join(cFiles) + ' ' + ' '.join(hFiles) + ' …
97 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-f', sample], stderr=DEVNULL) == 0:
99 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-5f', sample], stderr=DEVNULL) == 0:
101 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-9f', sample], stderr=DEVNULL) == 0:
103 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-15f', sample], stderr=DEVNULL) == 0:
105 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-18f', sample], stderr=DEVNULL) == 0:
[all …]
DREADME.md6 - `fullbench` : Precisely measure speed for each zstd inner functions
7 - `fuzzer` : Test tool, to check zstd integrity on target platform
8 - `paramgrill` : parameter tester for zstd
9 - `test-zstd-speed.py` : script for testing zstd speed difference between commits
10 - `test-zstd-versions.py` : compatibility test between zstd versions stored on Github (v0.1+)
11 - `zstreamtest` : Fuzzer test tool for zstd streaming API
12 - `legacy` : Test tool to test decoding of legacy zstd frames
16 #### `test-zstd-versions.py` - script for testing zstd interoperability between versions
18 This script creates `versionsTest` directory to which zstd repository is cloned.
19 Then all tagged (released) versions of zstd are compiled.
[all …]
Dtest-variants.sh10 ZSTD="$PROG_DIR/zstd"
11 ZSTD_COMPRESS="$PROG_DIR/zstd-compress"
12 ZSTD_DECOMPRESS="$PROG_DIR/zstd-decompress"
13 ZSTD_NOLEGACY="$PROG_DIR/zstd-nolegacy"
14 ZSTD_DICTBUILDER="$PROG_DIR/zstd-dictBuilder"
15 ZSTD_FRUGAL="$PROG_DIR/zstd-frugal"
16 ZSTD_NOMT="$PROG_DIR/zstd-nomt"
74 echo "hello" | "$1" | "$ZSTD" -t
78 echo "hello" | "$ZSTD" | "$1" -t
100 symbol_not_present "$ZSTD" ZSTDv01
[all …]
/external/zstd/programs/
DMakefile10 # zstd : Command Line Utility, supporting gzip-like arguments
11 # zstd32 : Same as zstd, but forced to compile in 32-bits mode
12 # zstd-nolegacy : zstd without support of decompression of legacy versions
13 # zstd-small : minimal zstd without dictionary builder and benchmark
14 # zstd-compress : compressor-only version of zstd
15 # zstd-decompress : decompressor-only version of zstd
19 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
[all …]
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 …]
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 …]
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…
29 When compressing a single file, \fBzstd\fR displays progress notifications and result summary by de…
32 \fBzstd\fR does not accept input from console, but it properly accepts \fBstdin\fR when it\'s not t…
[all …]
D.gitignore2 zstd
5 zstd-compress
6 zstd-decompress
7 zstd-frugal
8 zstd-small
9 zstd-nolegacy
10 zstd-dictBuilder
11 zstd-dll
/external/zstd/build/cmake/programs/
DCMakeLists.txt31 set(MSVC_RESOURCE_DIR ${ZSTD_SOURCE_DIR}/build/VS2010/zstd)
32 set(PlatformDependResources ${MSVC_RESOURCE_DIR}/zstd.rc)
35 add_executable(zstd ${PROGRAMS_DIR}/zstdcli.c ${PROGRAMS_DIR}/util.c ${PROGRAMS_DIR}/timefn.c ${PRO… target
36 target_link_libraries(zstd ${PROGRAMS_ZSTD_LINK_TARGET})
38 target_link_libraries(zstd rt)
40 install(TARGETS zstd
45 …add_custom_target(zstdcat ALL ${CMAKE_COMMAND} -E create_symlink zstd zstdcat DEPENDS zstd COMMENT…
46 …add_custom_target(unzstd ALL ${CMAKE_COMMAND} -E create_symlink zstd unzstd DEPENDS zstd COMMENT "…
52 add_custom_target(zstd.1 ALL
53 ${CMAKE_COMMAND} -E copy ${PROGRAMS_DIR}/zstd.1 .
[all …]
/external/zstd/contrib/linux-kernel/
DMakefile16 mkdir -p linux/lib/zstd
19 --output-lib linux/lib/zstd \
25 --rewrite-include '"\.\./zstd.h"=<linux/zstd.h>' \
59 mv linux/lib/zstd/zstd.h linux/include/linux/zstd_lib.h
60 mv linux/lib/zstd/zstd_errors.h linux/include/linux/
61 cp linux_zstd.h linux/include/linux/zstd.h
62 cp zstd_compress_module.c linux/lib/zstd
63 cp zstd_decompress_module.c linux/lib/zstd
64 cp decompress_sources.h linux/lib/zstd
65 cp linux.mk linux/lib/zstd/Makefile
[all …]
Dlinux_zstd.h7 * LICENSE file in the root directory of https://github.com/facebook/zstd) and
9 * https://github.com/facebook/zstd). You may select, at your option, one of the
17 * This is a kernel-style API that wraps the upstream zstd API, which cannot be
19 * functionality which is currently required by users of zstd in the kernel.
20 * Expose extra functions from lib/zstd/zstd.h as needed.
46 * enum zstd_error_code - zstd error codes
83 * enum zstd_strategy - zstd compression search strategy
90 * struct zstd_compression_parameters - zstd compression parameters
102 * @strategy: The zstd compression strategy.
109 * struct zstd_frame_parameters - zstd frame parameters
[all …]
DREADME.md1 # Zstd in the Linux Kernel
3 This directory contains the scripts needed to transform upstream zstd into the version imported int…
5 ## Upgrading Zstd in the Linux Kernel
10 4. Import zstd into the Linux Kernel `make import LINUX=/path/to/linux/repo`
12 …eck the Linux Kernel history for zstd. If any patches were made to the kernel version of zstd, but…
/external/zstd/build/
DREADME.md6 The following projects are included with the zstd distribution:
14 #### How to compile zstd with Visual Studio
17 2. Download the latest version of zstd from https://github.com/facebook/zstd/releases
19 4. Go to decompressed directory then to `projects` then `VS2010` and open `zstd.sln`
23 …ompilation will be fine a compiled executable will be in `projects\VS2010\bin\x64\Release\zstd.exe`
26 #### Projects available within zstd.sln
28 The Visual Studio solution file `visual\VS2010\zstd.sln` contains many projects that will be compil…
29 `visual\VS2010\bin\$(Platform)_$(Configuration)` directory. For example `zstd` set to `x64` and
30 `Release` will be compiled to `visual\VS2010\bin\x64_Release\zstd.exe`. The solution file contains …
33 - `zstd` : Command Line Utility, supporting gzip-like arguments
[all …]
/external/zstd/lib/dll/example/
DREADME.md1 # ZSTD Windows binary package
5 - `zstd.exe` : Command Line Utility, supporting gzip-like arguments
6 - `dll\libzstd.dll` : The ZSTD dynamic library (DLL)
7 - `dll\libzstd.lib` : The import library of the ZSTD dynamic library (DLL) for Visual C++
8 - `example\` : The example of usage of the ZSTD library
9 - `include\` : Header files required by the ZSTD library
10 - `static\libzstd_static.lib` : The static ZSTD library (LIB)
17 Usage: zstd [arg] [input] [output]
26 ## The example of usage of static and dynamic ZSTD libraries with gcc/MinGW
29 `fullbench-dll` uses a dynamic ZSTD library from the `dll` directory.
[all …]
/external/zstd/build/single_file_libs/
DREADME.md3 The script `combine.sh` creates an _amalgamated_ source file that can be used with or without `zstd
5 All it now takes to support Zstd in your own projects is the addition of a single file, two if usin…
12 Create `zstddeclib.c` from the Zstd source using:
14 cd zstd/build/single_file_libs
24Zstd library for ease of adding both compression and decompression to a project. The [roundtrip ex…
26 Create `zstd.c` from the Zstd source using:
28 cd zstd/build/single_file_libs
29 ./combine.sh -r ../../lib -o zstd.c zstd-in.c
31 …ut for the curious, simply remove the files in the _decompress_ section at the end of `zstd-in.c`).
33 …_file_library.sh` will run the script to create `zstd.c` (`build_library_test.sh` will also create…
/external/zstd/
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 …]
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 &&
74 appveyor PushArtifact zstd-win-binary-%PLATFORM%.zip &&
75 cp zstd.exe ..\bin\zstd.exe &&
76 git clone --depth 1 --branch release https://github.com/facebook/zstd &&
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 &&
[all …]
/external/zstd/zlibWrapper/
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 …]
Dzstd_zlibwrapper.h29 /* returns a string with version of zstd library */
34 /* ZWRAP_useZSTDcompression() enables/disables zstd compression during runtime.
35 … By default zstd compression is disabled. To enable zstd compression please use one of the methods:
39 All above-mentioned methods will enable zstd compression for all threads.
43 /* checks if zstd compression is turned on */
47 It will change ZSTD compression parameters what may improve compression speed and/or ratio.
64 /* ZWRAP_setDecompressionType() enables/disables automatic recognition of zstd/zlib compressed data…
65 By default auto-detection of zstd and zlib streams in enabled (ZWRAP_AUTO).
71 /* checks zstd decompression type */
74 /* Checks if zstd decompression is used for a given stream.
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/zstandard/
DZstdCompressorOutputStream.java24 import com.github.luben.zstd.ZstdOutputStream;
29 * Library relies on <a href="https://github.com/luben/zstd-jni/">Zstandard JNI</a>
38 * Wraps the given stream into a zstd-jni ZstdOutputStream.
40 * @param level value for zstd-jni's level argument
41 * @param closeFrameOnFlush value for zstd-jni's closeFrameOnFlush argument
42 * @param useChecksum value for zstd-jni's useChecksum argument
43 * @throws IOException if zstd-jni does
52 …* Wraps the given stream into a zstd-jni ZstdOutputStream using the default value for {@code useCh…
54 * @param level value for zstd-jni's level argument
55 * @param closeFrameOnFlush value for zstd-jni's closeFrameOnFlush argument
[all …]
/external/zstd/build/meson/tests/
DvalgrindTest.py15 def valgrindTest(valgrind, datagen, fuzzer, zstd, fullbench): argument
22 if subprocess.call([*VALGRIND_ARGS, zstd],
24 raise subprocess.CalledProcessError('zstd without argument should have failed')
27 subprocess.Popen([*VALGRIND_ARGS, zstd, '-', '-c'],
36 subprocess.Popen([*VALGRIND_ARGS, zstd, '-vf', '-', '-c'],
46 subprocess.Popen([*VALGRIND_ARGS, zstd, '-5', '-vf', '-', '-o', tmp_fd.name],
53 subprocess.check_call([*VALGRIND_ARGS, zstd, '-vdf', tmp_fd.name, '-c'],
57 subprocess.Popen([*VALGRIND_ARGS, zstd, '-vf', '-', '-c'],
73 parser.add_argument('zstd', help='zstd path')
81 zstd = args.zstd
[all …]
/external/squashfs-tools/squashfs-tools/
Dzstd_wrapper.c17 * Support for ZSTD compression http://zstd.net
23 #include <zstd.h>
51 fprintf(stderr, "zstd: -Xcompression-level missing " in zstd_options()
53 fprintf(stderr, "zstd: -Xcompression-level it should " in zstd_options()
61 fprintf(stderr, "zstd: -Xcompression-level invalid, it " in zstd_options()
137 fprintf(stderr, "zstd: bad compression level in compression " in zstd_extract_options()
147 fprintf(stderr, "zstd: error reading stored compressor options from " in zstd_extract_options()
165 fprintf(stderr, "zstd: bad compression level in compression " in zstd_display_options()
175 fprintf(stderr, "zstd: error reading stored compressor options from " in zstd_display_options()
190 fprintf(stderr, "zstd: failed to allocate compression " in zstd_init()
[all …]
/external/zstd/tests/regression/
DREADME.md3zstd in many scenarios and ensures that the size of the compressed results doesn't change. This h…
9 From the root of the zstd repo run:
12 # Build the zstd binary
14 make -j zstd
22 ./test --cache data-cache --zstd ../../zstd --output results.csv

12345678910>>...17