| /external/lz4/tests/ |
| D | Makefile | 2 # LZ4 programs - Makefile 22 # - LZ4 homepage : http://www.lz4.org 23 # - LZ4 source repository : https://github.com/lz4/lz4 25 # fuzzer : Test tool, to check lz4 integrity on target platform 27 # fullbench : Precisely measure speed for each LZ4 function variant 48 LZ4 := $(PRGDIR)/lz4$(EXT) macro 64 lz4: target 70 lz4c unlz4 lz4cat: lz4 71 $(LN_SF) $(LZ4) $(PRGDIR)/$@ 80 fullbench : lz4.o lz4hc.o lz4frame.o xxhash.o fullbench.c [all …]
|
| D | test_custom_block_sizes.sh | 4 LZ4=../lz4 17 $LZ4 -f -B31 $TMPFILE1 && failures="31 (should fail) " 22 $LZ4 -f -B$blocksize $TMPFILE1 23 $LZ4 -f -B$blocksize $TMPFILE2 24 cat $TMPFILE1.lz4 $TMPFILE2.lz4 > $TMPFILE.lz4 25 $CHECKFRAME -B$blocksize -b4 $TMPFILE.lz4 || failures="$failures $blocksize " 31 $LZ4 -f -B$blocksize $TMPFILE1 32 $LZ4 -f -B$blocksize $TMPFILE2 33 cat $TMPFILE1.lz4 $TMPFILE2.lz4 > $TMPFILE.lz4 34 $CHECKFRAME -B$blocksize -b5 $TMPFILE.lz4 || failures="$failures $blocksize " [all …]
|
| D | test-lz4-versions.py | 2 """Test LZ4 interoperability between versions""" 18 repo_url = 'https://github.com/lz4/lz4.git' 57 base_dir = os.getcwd() + '/..' # /path/to/lz4 58 tmp_dir = base_dir + '/' + tmp_dir_name # /path/to/lz4/tests/versionsTest 59 clone_dir = tmp_dir + '/' + 'lz4' # /path/to/lz4/tests/versionsTest/lz4 60 programs_dir = base_dir + '/programs' # /path/to/lz4/programs 78 dst_lz4c = '{}/lz4c.{}' .format(tmp_dir, tag) # /path/to/lz4/test/lz4test/lz4c.<TAG> 79 dst_lz4c32 = '{}/lz4c32.{}'.format(tmp_dir, tag) # /path/to/lz4/test/lz4test/lz4c32.<TAG> 82 r_dir = '{}/{}'.format(tmp_dir, tag) # /path/to/lz4/test/lz4test/<TAG> 86 os.chdir(r_dir + '/programs') # /path/to/lz4/lz4test/<TAG>/programs [all …]
|
| D | README.md | 1 Programs and scripts for automated testing of LZ4 7 - `fullbench` : Precisely measure speed for each lz4 inner functions 8 - `fuzzer` : Test tool, to check lz4 integrity on target platform 9 - `test-lz4-speed.py` : script for testing lz4 speed difference between commits 10 - `test-lz4-versions.py` : compatibility test between lz4 versions stored on Github 13 #### `test-lz4-versions.py` - script for testing lz4 interoperability between versions 15 This script creates `versionsTest` directory to which lz4 repository is cloned. 16 Then all tagged (released) versions of lz4 are compiled. 17 In the following step interoperability between lz4 versions is checked. 20 #### `test-lz4-speed.py` - script for testing lz4 speed difference between commits [all …]
|
| D | test-lz4-list.py | 12 LZ4 = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + "/../lz4") variable 13 if not os.path.exists(LZ4): 14 LZ4 = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + "/../programs/lz4") variable 40 test_list_files = glob.glob(f"{TEMP}/test_list_*.lz4") 43 for i, line in enumerate(execute(f"{LZ4} --list -m {filename}", print_output=True)): 119 test_list_SM_lz4f = glob.glob(f"{TEMP}/test_list_*M-lz4f-2f--content-size.lz4") 121 …output = execute(f"{LZ4} --list -m -v {TEMP}/test_list_concat-all.lz4 {filename}", print_output=Tr… 131 concat_file_list = glob.glob(f"{TEMP}/test_list_[!concat]*.lz4") 139 self.cvinfo.compressed_size = os.path.getsize(f"{TEMP}/test_list_concat-all.lz4") 249 # file format ~ test_list<frametype>-<no_frames>f<create-args>.lz4 ~ [all …]
|
| D | checkTag.c | 2 checkTag.c - Version validation tool for LZ4 22 - LZ4 homepage : http://www.lz4.org 23 - LZ4 source repo : https://github.com/lz4/lz4 29 * The tag is then compared to LZ4 version number. 40 #include "lz4.h" /* LZ4_VERSION_STRING */ 73 printf("OK : tag is compatible with lz4 version \n"); in main()
|
| /external/lz4/programs/ |
| D | lz4.1 | 2 .TH "LZ4" "1" "August 2022" "lz4 v1.9.4" "User Commands" 5 \fBlz4\fR \- lz4, unlz4, lz4cat \- Compress or decompress \.lz4 files 8 \fBlz4\fR [\fIOPTIONS\fR] [\-|INPUT\-FILE] \fIOUTPUT\-FILE\fR 11 \fBunlz4\fR is equivalent to \fBlz4 \-d\fR 14 \fBlz4cat\fR is equivalent to \fBlz4 \-dcfm\fR 17 …s, it is recommended to always use the name \fBlz4\fR with appropriate arguments (\fBlz4 \-d\fR or… 20 …lz4\fR is an extremely fast lossless compression algorithm, based on \fBbyte\-aligned LZ77\fR fami… 22 .SS "Difference between lz4 and gzip" 23 \fBlz4\fR supports a command line syntax similar \fIbut not identical\fR to \fBgzip(1)\fR\. Differe… 26 \fBlz4\fR compresses a single file by default (see \fB\-m\fR for multiple files) [all …]
|
| D | Makefile | 2 # LZ4 programs - Makefile 24 # - LZ4 homepage : http://www.lz4.org 25 # - LZ4 source repository : https://github.com/lz4/lz4 27 # lz4 : Command Line Utility, supporting gzip-like arguments 35 LIBVER_SRC := $(LZ4DIR)/lz4.h 67 MD2ROFF_FLAGS = --roff --warnings --manual="User Commands" --organization="lz4 $(LZ4_VERSION)" 70 default: lz4-release 75 all: lz4 lz4c 81 lz4-exe.rc: lz4-exe.rc.in 83 $(SED) -e 's|@PROGNAME@|lz4|' \ [all …]
|
| D | lz4.1.md | 1 lz4(1) -- lz4, unlz4, lz4cat - Compress or decompress .lz4 files 7 `lz4` [*OPTIONS*] [-|INPUT-FILE] <OUTPUT-FILE> 9 `unlz4` is equivalent to `lz4 -d` 11 `lz4cat` is equivalent to `lz4 -dcfm` 14 it is recommended to always use the name `lz4` with appropriate arguments 15 (`lz4 -d` or `lz4 -dc`) instead of the names `unlz4` and `lz4cat`. 21 `lz4` is an extremely fast lossless compression algorithm, 23 `lz4` offers compression speeds > 500 MB/s per core, 27 The native file format is the `.lz4` format. 29 ### Difference between lz4 and gzip argument [all …]
|
| /external/lz4/lib/dll/example/ |
| D | README.md | 1 LZ4 Windows binary package 6 - `lz4.exe` : Command Line Utility, supporting gzip-like arguments 7 - `dll\msys-lz4-1.dll` : The DLL of LZ4 library, compiled by msys 8 - `dll\liblz4.dll.a` : The import library of LZ4 library for Visual C++ 9 - `example\` : The example of usage of LZ4 library 10 - `include\` : Header files required with LZ4 library 11 - `static\liblz4_static.lib` : The static LZ4 library 19 Usage: lz4 [arg] [input] [output] 29 #### The example of usage of static and dynamic LZ4 libraries with gcc/MinGW 32 `fullbench-dll` uses a dynamic LZ4 library from the `dll` directory. [all …]
|
| /external/erofs-utils/ |
| D | README | 15 lz4 1.8.0+ for lz4 enabled [2], lz4 1.9.3+ highly recommended [4][5]. 20 How to build with lz4-1.9.0 or above 33 * For lz4 < 1.9.2, there are some stability issues about 36 ** For lz4 = 1.9.2, there is a noticeable regression about 40 How to build with lz4-1.8.0~1.8.3 43 For these old lz4 versions, lz4hc algorithm cannot be supported 44 without lz4-static installed due to LZ4_compress_HC_destSize() 45 unstable api usage, which means lz4 will only be available if 46 lz4-static isn't found. 48 On Fedora, lz4-static can be installed by using: [all …]
|
| /external/lz4/ |
| D | README.md | 1 LZ4 - Extremely fast compression 4 LZ4 is lossless compression algorithm, 17 LZ4 is also compatible with [dictionary compression](https://github.com/facebook/zstd#the-case-for-… 18 …[API](https://github.com/lz4/lz4/blob/v1.8.3/lib/lz4frame.h#L481) and [CLI](https://github.com/lz4… 24 LZ4 library is provided as open-source software using BSD 2-Clause license. 31 [travisDevBadge]: https://travis-ci.org/lz4/lz4.svg?branch=dev "Continuous Integration test suite" 32 [travisLink]: https://travis-ci.org/lz4/lz4 33 [AppveyorDevBadge]: https://ci.appveyor.com/api/projects/status/github/lz4/lz4?branch=dev&svg=true … 34 [AppveyorLink]: https://ci.appveyor.com/project/YannCollet/lz4-1lndh 52 |**LZ4 default (v1.9.0)** |**2.101**| **780 MB/s**| **4970 MB/s** | [all …]
|
| D | appveyor.yml | 50 make -C programs lz4 && 55 …make -C programs lz4 CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sig… 66 COPY lib\lz4.h bin\include\ && 74 COPY programs\lz4.exe bin\lz4.exe 77 …7z.exe a -bb1 bin\lz4_x64.zip NEWS .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\sta… 81 …7z.exe a -bb1 bin\lz4_x86.zip NEWS .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\sta… 89 …msbuild "build\VS2010\lz4.sln" %ADDITIONALPARAM% /m /verbosity:minimal /property:PlatformToolset=v… 93 …msbuild "build\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v110 /t:Clean,Build… 97 …msbuild "build\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v120 /t:Clean,Build… 101 …msbuild "build\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v140 /t:Clean,Build… [all …]
|
| D | NEWS | 20 doc : Updated LZ4 block format, provide an "implementation notes" section 42 doc : updated LZ4 frame format, clarify EndMark 104 cli : fix : `lz4 -d --rm` preserves timestamp (#441) 123 doc : Updated LZ4 Frame format to v1.6.0, restoring Dictionary-ID field 124 doc : lz4 api manual, by Przemyslaw Skibinski 156 cli : fix : -t correctly validates lz4-compressed files, by Nick Terrell 179 Changed: New lz4 and lz4hc compression API. Previous function prototypes still supported. 181 New : LZ4 CLI improved performance compressing/decompressing multiple files (#86, kind contribut… 193 New : lz4 cli supports long commands (suggested by Takayuki Matsuoka) 197 New : lz4 cli supports "pass-through" mode, requested by Neil Wilson [all …]
|
| /external/lz4/build/ |
| D | README.md | 6 The following projects are included with the lz4 distribution: 12 #### How to compile lz4 with Visual Studio 15 2. Download the latest version of lz4 from https://github.com/lz4/lz4/releases 17 4. Go to decompressed directory then to `build` then `VS2010` and open `lz4.sln` 21 8. If compilation will be fine a compiled executable will be in `build\VS2010\bin\x64_Release\lz4.e… 24 #### Projects available within lz4.sln 26 The Visual Studio solution file `lz4.sln` contains many projects that will be compiled to the 27 `build\VS2010\bin\$(Platform)_$(Configuration)` directory. For example `lz4` set to `x64` and 28 `Release` will be compiled to `build\VS2010\bin\x64_Release\lz4.exe`. The solution file contains the 31 - `lz4` : Command Line Utility, supporting gzip-like arguments [all …]
|
| /external/lz4/lib/ |
| D | README.md | 1 LZ4 - Library Files 11 #### Level 1 : Minimal LZ4 build 13 The minimum required is **`lz4.c`** and **`lz4.h`**, 15 They generate and decode data using the [LZ4 block format]. 23 This variant also compresses data using the [LZ4 block format], 24 and depends on regular `lib/lz4.*` source files. 29 In order to produce compressed data compatible with `lz4` command line utility, 34 including, lz4 and lz4hc, and also **xxhash**. 44 using transparent LZ4 compression / decompression. 48 conformant to the [LZ4 Frame format] specification. [all …]
|
| /external/zstd/build/cmake/CMakeModules/ |
| D | FindLibLZ4.cmake | 7 # LIBLZ4_FOUND - True if lz4 is found 8 # LIBLZ4_INCLUDE_DIRS - lz4 headers directories 9 # LIBLZ4_LIBRARIES - lz4 libraries 10 # LIBLZ4_VERSION_MAJOR - The major version of lz4 11 # LIBLZ4_VERSION_MINOR - The minor version of lz4 12 # LIBLZ4_VERSION_RELEASE - The release version of lz4 17 # Set ``LZ4_ROOT_DIR`` to the directory of lz4.h and lz4 library 22 find_path( LIBLZ4_INCLUDE_DIR lz4.h 24 find_library( LIBLZ4_LIBRARY NAMES lz4 liblz4 liblz4_static 28 …file(STRINGS "${LIBLZ4_INCLUDE_DIR}/lz4.h" LIBLZ4_HEADER_CONTENT REGEX "#define LZ4_VERSION_[A-Z]+… [all …]
|
| /external/lz4/ossfuzz/ |
| D | travisoss.sh | 8 if [[ ! -d /tmp/ossfuzz/projects/lz4 ]] 10 echo "Could not find the lz4 project in ossfuzz" 17 …sed -i "s@https://github.com/lz4/lz4.git@-b ${TRAVIS_BRANCH} https://github.com/lz4/lz4.git@" /tmp… 19 …s://github.com/lz4/lz4.git@-b ${TRAVIS_PULL_REQUEST_BRANCH} https://github.com/${TRAVIS_PULL_REQUE… 24 python infra/helper.py build_image --pull lz4 25 python infra/helper.py build_fuzzers lz4
|
| /external/lz4/build/cmake/ |
| D | CMakeLists.txt | 1 # CMake support for LZ4 10 # LZ4's CMake support is maintained by Evan Nemerson; when filing 18 file(STRINGS "${LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_MAJOR REGEX "^#define LZ4_VERSION_MAJOR … 20 file(STRINGS "${LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_MINOR REGEX "^#define LZ4_VERSION_MINOR … 22 file(STRINGS "${LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_RELEASE REGEX "^#define LZ4_VERSION_RELE… 28 project(LZ4 C) project 31 project(LZ4 project 36 option(LZ4_BUILD_CLI "Build lz4 program" ON) 39 # If LZ4 is being bundled in another project, we don't want to 42 # set it to OFF in your project before you add_subdirectory(lz4/contrib/cmake_unofficial). [all …]
|
| /external/squashfs-tools/squashfs-tools/ |
| D | lz4_wrapper.c | 21 * Support for LZ4 compression http://fastcompression.blogspot.com/p/lz4.html 27 #include <lz4.h> 72 * Currently LZ4 always returns a comp_opts structure, with 122 fprintf(stderr, "lz4: unknown LZ4 version\n"); in lz4_extract_options() 133 fprintf(stderr, "lz4: unknown LZ4 flags\n"); in lz4_extract_options() 140 fprintf(stderr, "lz4: error reading stored compressor options from " in lz4_extract_options() 150 * understood by this version of LZ4. 152 * This is important for LZ4 because the format understood by the 156 * If this does happen, then this version of LZ4 will not be able to decode 174 fprintf(stderr, "lz4: unknown LZ4 version\n"); in lz4_check_options() [all …]
|
| /external/lz4/examples/ |
| D | Makefile | 2 # LZ4 examples - Makefile 22 # - LZ4 source repository : https://github.com/lz4/lz4 23 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c 26 # example programs, using (mostly) LZ4 streaming library, 37 LZ4 = ../programs/lz4 macro 46 $(LZ4DIR)/liblz4.a: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/lz4.h $(LZ4DIR… 79 $(LZ4) : 80 $(MAKE) -C ../programs lz4 82 test : all $(LZ4) 91 @echo "\n=== Ring Buffer + LZ4 HC ===" [all …]
|
| /external/lz4/.github/workflows/ |
| D | README.md | 5 ## USAN, ASAN (`lz4-ubsan-x64`, `lz4-ubsan-x86`, `lz4-asan-x64`) 7 For now, `lz4-ubsan-*` ignores the exit code of `make usan` and `make usan32`. 12 See [#983](https://github.com/lz4/lz4/pull/983) for details. 15 ## C Compilers (`lz4-c-compilers`) 22 - See [#991](https://github.com/lz4/lz4/issues/991) for details. 27 - See [#991](https://github.com/lz4/lz4/issues/991) for details. 30 ## cppcheck (`lz4-cppcheck`)
|
| D | ci.yml | 14 name: lz4 CI 20 lz4-c-compilers: 131 - name: make -C tests test-lz4 133 run: make clean; MOREFLAGS='-Werror' make -j V=1 -C tests test-lz4 167 # LZ4 self tests 171 # - LZ4 Frame 172 # - LZ4 versions 175 lz4-benchmark: 186 - name: benchmark (-C tests test-lz4) 187 run: make -j V=1 -C tests test-lz4 [all …]
|
| /external/lz4/contrib/debian/ |
| D | control | 10 Homepage: http://www.lz4.org/ 11 Vcs-Git: git://github.com/lz4/lz4.git 12 Vcs-Browser: https://github.com/lz4/lz4 17 Description: Extremely Fast Compression algorithm http://www.lz4.org 22 Description: Extremely Fast Compression algorithm http://www.lz4.org
|
| /external/lz4/contrib/snap/ |
| D | snapcraft.yaml | 1 name: lz4 5 LZ4 is lossless compression algorithm, providing compression 16 LZ4 is also compatible with dictionary compression, and can ingest any 20 LZ4 library is provided as open-source software using BSD 2-Clause license. 25 lz4: 26 command: usr/local/bin/lz4 29 lz4:
|