/external/zstd/tests/ |
D | playTests.sh | 14 zstd() { function 47 datagen $1 $proba | zstd --ultra -v$cLevel | zstd -d$dLevel | $MD5SUM > tmp2 69 zstd --ultra -v$local_c -c tmp | zstd -d$local_d | $MD5SUM > tmp.md5.2 151 if echo hello | zstd -v -T2 2>&1 > $INTOVOID | grep -q 'multi-threading is disabled' 164 zstd -f tmp # trivial compression case, creates tmp.zst 166 zstd -df tmp.zst # trivial decompression case (overwrites tmp) 168 zstd -99 -f tmp # too large compression level, automatic sized down 169 zstd -5000000000 -f tmp && die "too large numeric value : must fail" 171 zstd --fast -f tmp # == -1 172 zstd --fast=3 -f tmp # == -3 [all …]
|
D | Makefile | 99 .PHONY: zstd zstd32 zstd-nolegacy # only external makefile knows how to build or update them 100 zstd zstd32 zstd-nolegacy: target 225 $(PYTHON) test-zstd-versions.py 232 checkTag.o : $(ZSTDDIR)/zstd.h 241 $(PRGDIR)/zstd$(EXT) $(PRGDIR)/zstd32$(EXT) \ 261 valgrindTest: zstd datagen fuzzer fullbench 264 …$(VALGRIND) $(PRGDIR)/zstd ; if [ $$? -eq 0 ] ; then echo "zstd without argument should have faile… 265 ./datagen -g80 | $(VALGRIND) $(PRGDIR)/zstd - -c > $(VOID) 266 ./datagen -g16KB | $(VALGRIND) $(PRGDIR)/zstd -vf - -c > $(VOID) 267 ./datagen -g2930KB | $(VALGRIND) $(PRGDIR)/zstd -5 -vf - -o tmp [all …]
|
D | README.md | 6 - `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+) 12 - `zstreamtest` : Fuzzer test tool for zstd streaming API 13 - `legacy` : Test tool to test decoding of legacy zstd frames 17 #### `test-zstd-versions.py` - script for testing zstd interoperability between versions 19 This script creates `versionsTest` directory to which zstd repository is cloned. 20 Then all tagged (released) versions of zstd are compiled. [all …]
|
/external/zstd/programs/ |
D | Makefile | 19 default: zstd-release 28 LIBVER_SRC := $(ZSTDDIR)/zstd.h 151 NO_ZLIB_MSG := ==> no zlib, building zstd without .gz support 154 ZLIB_MSG := ==> building zstd with .gz compression support 162 NO_LZMA_MSG := ==> no liblzma, building zstd without .xz/.lzma support 165 LZMA_MSG := ==> building zstd with .xz/.lzma compression support 173 NO_LZ4_MSG := ==> no liblz4, building zstd without .lz4 support 176 LZ4_MSG := ==> building zstd with .lz4 compression support 203 all: zstd 206 allVariants: zstd zstd-compress zstd-decompress zstd-small zstd-nolegacy zstd-dictBuilder [all …]
|
D | .gitignore | 2 zstd 5 zstd-compress 6 zstd-decompress 7 zstd-frugal 8 zstd-small 9 zstd-nolegacy 10 zstd-dictBuilder
|
D | README.md | 6 - `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 …]
|
D | zstd.1.md | 1 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 …]
|
/external/zstd/contrib/linux-kernel/ |
D | Makefile | 16 mkdir -p linux/lib/zstd 19 --output-lib linux/lib/zstd \ 49 cp linux_zstd.h linux/include/linux/zstd.h 50 cp zstd_compress_module.c linux/lib/zstd 51 cp zstd_decompress_module.c linux/lib/zstd 52 cp decompress_sources.h linux/lib/zstd 53 cp linux.mk linux/lib/zstd/Makefile 59 rm -f $(LINUX)/include/linux/zstd.h 61 rm -rf $(LINUX)/lib/zstd 62 cp linux/include/linux/zstd.h $(LINUX)/include/linux [all …]
|
D | README.md | 3 This directory contains the scripts needed to transform upstream zstd into the version imported int… 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/cmake/programs/ |
D | CMakeLists.txt | 31 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 RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") 43 …add_custom_target(zstdcat ALL ${CMAKE_COMMAND} -E create_symlink zstd zstdcat DEPENDS zstd COMMENT… 44 …add_custom_target(unzstd ALL ${CMAKE_COMMAND} -E create_symlink zstd unzstd DEPENDS zstd COMMENT "… 50 add_custom_target(zstd.1 ALL 51 ${CMAKE_COMMAND} -E copy ${PROGRAMS_DIR}/zstd.1 . [all …]
|
/external/zstd/build/meson/tests/ |
D | valgrindTest.py | 15 def valgrindTest(valgrind, datagen, fuzzer, zstd, fullbench): argument 22 if subprocess.call([*VALGRIND_ARGS, zstd], 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'], 81 zstd = args.zstd 86 valgrindTest(valgrind, datagen, fuzzer, zstd, fullbench)
|
/external/zstd/contrib/single_file_libs/ |
D | README.md | 3 The script `combine.sh` creates an _amalgamated_ source file that can be used with or without `zstd… 14 cd zstd/contrib/single_file_libs 24 …c) uses the original `zstd.h` with the remaining source files combined into `zstd.c` (currently ju… 26 Create `zstd.c` from the Zstd source using: 28 cd zstd/contrib/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/build/ |
D | README.md | 6 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/ |
D | README.md | 1 <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, 10 a list of known ports and bindings is provided on [Zstandard homepage](http://www.zstd.net/#other-l… 20 [travisDevBadge]: https://travis-ci.org/facebook/zstd.svg?branch=dev "Continuous Integration test s… 21 [travisLink]: https://travis-ci.org/facebook/zstd 23 [AppveyorLink]: https://ci.appveyor.com/project/YannCollet/zstd-p0yf0 24 [CircleDevBadge]: https://circleci.com/gh/facebook/zstd/tree/dev.svg?style=shield "Short test suite" 25 [CircleLink]: https://circleci.com/gh/facebook/zstd 26 [CirrusDevBadge]: https://api.cirrus-ci.com/github/facebook/zstd.svg?branch=dev 27 [CirrusLink]: https://cirrus-ci.com/github/facebook/zstd [all …]
|
D | METADATA | 1 name: "zstd" 6 value: "https://github.com/facebook/zstd" 10 value: "https://github.com/facebook/zstd"
|
D | Makefile | 41 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 …]
|
/external/zstd/zlibWrapper/ |
D | README.md | 4 …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 …]
|
/external/zstd/build/meson/programs/ |
D | meson.build | 55 join_paths(zstd_rootdir, 'build/VS2010/zstd/zstd.rc'))] 59 zstd = executable('zstd', variable 71 # Minimal target, with only zstd compression and decompression. 73 executable('zstd-frugal', 87 install_man(join_paths(zstd_rootdir, 'programs/zstd.1'), 97 meson.add_install_script(InstallSymlink_py, 'zstd' + bin_EXT, f + bin_EXT, zstd_bindir) 98 meson.add_install_script(InstallSymlink_py, 'zstd' + man1_EXT, f + man1_EXT, zstd_man1_dir) 102 meson.add_install_script(InstallSymlink_py, 'zstd' + bin_EXT, 'zstdmt' + bin_EXT, zstd_bindir) 103 meson.add_install_script(InstallSymlink_py, 'zstd' + man1_EXT, 'zstdmt' + man1_EXT, zstd_man1_dir)
|
/external/zstd/tests/regression/ |
D | README.md | 3 … zstd 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
|
/external/zstd/tests/gzip/ |
D | Makefile | 22 .PHONY: zstd 23 zstd: target 24 $(MAKE) -C $(PRGDIR) zstd 25 ln -sf $(PRGDIR)/zstd gzip 41 test-%: zstd
|
/external/zstd/contrib/gen_html/ |
D | gen-zstd-manual.sh | 3 …RIPT=`sed -n '/define ZSTD_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../../lib/zstd.h` 4 …RIPT=`sed -n '/define ZSTD_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../../lib/zstd.h` 5 …PT=`sed -n '/define ZSTD_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../../lib/zstd.h` 9 ./gen_html $LIBVER_SCRIPT ../../lib/zstd.h ./zstd_manual.html
|
/external/curl/CMake/ |
D | FindZstd.cmake | 27 Find the zstd library 33 System has zstd 35 The zstd include directories. 37 The libraries needed to use zstd 45 find_path(Zstd_INCLUDE_DIR zstd.h 51 find_library(Zstd_LIBRARY NAMES zstd
|
/external/zstd/contrib/docker/ |
D | Dockerfile | 16 RUN mkdir -p /usr/local/share/licenses/zstd 17 COPY --from=builder /src/LICENSE /usr/local/share/licences/zstd/ 19 # Just run `zstd` if no other command is given 20 CMD ["/usr/local/bin/zstd"]
|
/external/zstd/doc/ |
D | README.md | 5 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…
|
/external/zstd/lib/ |
D | BUCK | 2 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']), 198 ('', 'zstd.h'),
|