/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 56 LZ4 := $(PRGDIR)/lz4$(EXT) macro 72 lz4: target 80 cp $(LZ4) $(LZ4)c32 82 fullbench : $(LIBDIR)/lz4.o $(LIBDIR)/lz4hc.o $(LIBDIR)/lz4frame.o $(LIBDIR)/xxhash.o fullbench.c 93 fuzzer : $(LIBDIR)/lz4.o $(LIBDIR)/lz4hc.o $(LIBDIR)/xxhash.o fuzzer.c [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 taged (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-speed.py | 14 # - dir1/lz4 and dir2/lz4 will be merged in a single results file 25 default_repo_url = 'https://github.com/lz4/lz4.git' 27 working_path = os.getcwd() + '/' + working_dir_name # /path/to/lz4/tests/speedTest 28 clone_path = working_path + '/' + 'lz4' # /path/to/lz4/tests/speedTest/lz4 207 …execute('make -C programs clean lz4 CC=clang MOREFLAGS="-Werror -Wconversion -Wno-sign-conversion … 208 'mv programs/lz4 programs/lz4_clang && ' + 209 'make -C programs clean lz4 lz4c32 MOREFLAGS="-DLZ4_GIT_COMMIT=%s"' % version) 210 md5_lz4 = hashfile(hashlib.md5(), clone_path + '/programs/lz4') 213 print("md5(lz4)=%s\nmd5(lz4c32)=%s\nmd5(lz4_clang)=%s" % (md5_lz4, md5_lz4c32, md5_lz4_clang)) 223 …text = double_check(branch, commit, args, 'lz4', md5_lz4, 'gcc_version='+gcc_version, resultsFileN… [all …]
|
/external/lz4/programs/ |
D | lz4.1 | 2 .TH "LZ4" "1" "November 2016" "lz4 1.7.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 preserves original files [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 of 400 MB/s per core, linearly scalable with 27 The native file format is the `.lz4` format. 29 ### Difference between lz4 and gzip argument [all …]
|
D | Makefile | 2 # LZ4 programs - Makefile 22 # - LZ4 homepage : http://www.lz4.org 23 # - LZ4 source repository : https://github.com/Cyan4973/lz4 25 # lz4 : Command Line Utility, supporting gzip-like arguments 31 LIBVER_SRC := ../lib/lz4.h 56 MD2ROFF_FLAGS = --roff --warnings --manual="User Commands" --organization="lz4 $(LZ4_VERSION)" 70 default: lz4-release 72 all: lz4 lz4c 77 lz4: CFLAGS += $(DEBUGFLAGS) target 78 lz4: $(OBJFILES) target [all …]
|
D | README.md | 1 Command Line Interface for LZ4 library 6 - `lz4` : default CLI, with a command line syntax close to gzip 7 - `lz4c` : Same as `lz4` with additional support legacy lz4 commands (incompatible with gzip) 17 CLI includes in-memory compression benchmark module for lz4. 32 lz4 [arg] [input] [output] 39 -d : decompression (default for .lz4 extension)
|
/external/lz4/visual/ |
D | README.md | 6 The following projects are included with the lz4 distribution: 10 #### How to compile lz4 with Visual Studio 13 2. Download the latest version of lz4 from https://github.com/lz4/lz4/releases 15 4. Go to decompressed directory then to `visual` then `VS2010` and open `lz4.sln` 19 8. If compilation will be fine a compiled executable will be in `visual\VS2010\bin\x64_Release\lz4.… 22 #### Projects available within lz4.sln 24 The Visual Studio solution file `lz4.sln` contains many projects that will be compiled to the 25 `visual\VS2010\bin\$(Platform)_$(Configuration)` directory. For example `lz4` set to `x64` and 26 `Release` will be compiled to `visual\VS2010\bin\x64_Release\lz4.exe`. The solution file contains t… 29 - `lz4` : Command Line Utility, supporting gzip-like arguments [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\liblz4.dll` : The DLL of LZ4 library 8 - `dll\liblz4.lib` : 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/lz4/ |
D | README.md | 1 LZ4 - Extremely fast compression 4 LZ4 is lossless compression algorithm, 17 LZ4 library is provided as open-source software using BSD 2-Clause license. 25 [travisMasterBadge]: https://travis-ci.org/lz4/lz4.svg?branch=master "Continuous Integration test s… 26 [travisDevBadge]: https://travis-ci.org/lz4/lz4.svg?branch=dev "Continuous Integration test suite" 27 [travisLink]: https://travis-ci.org/lz4/lz4 30 [AppveyorLink]: https://ci.appveyor.com/project/YannCollet/lz4-1lndh 58 |**LZ4 fast 8 (v1.7.3)**| 1.799 |**911 MB/s** | **3360 MB/s** | 59 |**LZ4 default (v1.7.3)**|**2.101**|**625 MB/s** | **3220 MB/s** | 67 |**LZ4 HC -9 (v1.7.3)** |**2.720**| 34 MB/s | **3240 MB/s** | [all …]
|
D | appveyor.yml | 50 make -C programs lz4 && make -C tests fullbench && make -C lib lib 52 …make -C programs lz4 CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sig… 62 COPY lib\lz4.h bin\include\ && 70 COPY programs\lz4.exe bin\lz4.exe 73 …7z.exe a bin\lz4_x64.zip NEWS .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\static .… 77 …7z.exe a bin\lz4_x86.zip NEWS .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\static .… 85 …msbuild "visual\VS2010\lz4.sln" %ADDITIONALPARAM% /m /verbosity:minimal /property:PlatformToolset=… 89 …msbuild "visual\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v110 /t:Clean,Buil… 93 …msbuild "visual\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v120 /t:Clean,Buil… 97 …msbuild "visual\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v140 /t:Clean,Buil… [all …]
|
D | NEWS | 31 cli : fix : -t correctly validates lz4-compressed files, by Nick Terrell 54 Changed: New lz4 and lz4hc compression API. Previous function prototypes still supported. 56 New : LZ4 CLI improved performance compressing/decompressing multiple files (#86, kind contribut… 68 New : lz4 cli supports long commands (suggested by Takayuki Matsuoka) 72 New : lz4 cli supports "pass-through" mode, requested by Neil Wilson 87 Fixed : bug within LZ4 HC streaming mode, reported by James Boyle 89 Changed : lz4 is C90 compatible 102 New : LZ4 HC streaming mode 127 Updated : Makefile : synchronize library version number with lz4.h, thanks to Takayuki Matsuoka 130 Makefile : lz4-test only test native binaries, as suggested by Michał Górny (issue 136) [all …]
|
D | Makefile | 2 # LZ4 - Makefile 29 # - LZ4 source repository : https://github.com/Cyan4973/lz4 30 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c 53 .PHONY: default all lib lz4 clean test versionsTest examples 58 @cp $(PRGDIR)/lz4$(EXT) . 69 lz4: target 71 @cp $(PRGDIR)/lz4$(EXT) . 73 lz4-release: 75 @cp $(PRGDIR)/lz4$(EXT) . 83 @$(RM) lz4$(EXT) [all …]
|
/external/lz4/examples/ |
D | Makefile | 2 # LZ4 examples - Makefile 22 # - LZ4 source repository : https://github.com/Cyan4973/lz4 23 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c 26 # example programs, using (mostly) LZ4 streaming library, 36 LZ4 = ../programs/lz4 macro 53 printVersion: $(LZ4DIR)/lz4.c printVersion.c 56 doubleBuffer: $(LZ4DIR)/lz4.c blockStreaming_doubleBuffer.c 59 dictionaryRandomAccess: $(LZ4DIR)/lz4.c dictionaryRandomAccess.c 62 ringBuffer : $(LZ4DIR)/lz4.c blockStreaming_ringBuffer.c 65 ringBufferHC: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c HCStreaming_ringBuffer.c [all …]
|
D | simple_buffer.c | 4 …* License : Follows same licensing as the lz4.c/lz4.h program at any given time. Currently, BS… 5 …ple program to demonstrate the basic usage of the compress/decompress functions within lz4.c/lz4.h. 7 * the lz4.h header file; I recommend reading them. 11 #include "lz4.h" // This is all that is required to expose the prototypes for basic compression … 32 …// 1) The return codes of LZ4_ functions are important. Read lz4.h if you're unsure what a give… in main() 33 …// 2) LZ4 uses char* pointers in all LZ4_ functions. This is baked into the API and probably no… in main() 42 …// LZ4 provides a function that will tell you the maximum size of compressed output based on input… in main() 48 …// That's all the information and preparation LZ4 needs to compress *src into *compressed_data. I… in main() 78 …run_screaming("I'm not sure this function can ever return 0. Documentation in lz4.h doesn't indic… in main()
|
D | blockStreaming_lineByLine.md | 1 # LZ4 Streaming API Example : Line by Line Text Compression 4 `blockStreaming_lineByLine.c` is LZ4 Straming API example which implements line by line incremental… 8 - Firstly, read "LZ4 Streaming API Basics". 23 First of all, allocate "Ring Buffer" for input and LZ4 compressed data buffer for output. 94 For the first time, LZ4 doesn't know any previous dependencies, 95 so it just compress the line without dependencies and generates compressed line {Out#1} to LZ4 comp… 99 But in this time, LZ4 can use dependency to Line#1 to improve compression ratio. 104 After resetting, at Line#X+1 pointer is not adjacent, but LZ4 still maintain its memory. 107 In Line#X+2 (see (5)), finally LZ4 forget almost all memories but still remains Line#X+1.
|
D | blockStreaming_doubleBuffer.md | 1 # LZ4 Streaming API Example : Double Buffer 4 `blockStreaming_doubleBuffer.c` is LZ4 Straming API example which implements double buffer (de)comp… 8 - Firstly, read "LZ4 Streaming API Basics". 22 First of all, allocate "Double Buffer" for input and LZ4 compressed data buffer for output. 74 For the first time, LZ4 doesn't know any previous dependencies, 75 so it just compress the line without dependencies and generates compressed block {Out#1} to LZ4 com… 79 In this time, LZ4 can use dependency to Block#1 to improve compression ratio. 83 Also this time, LZ4 can use dependency to Block#2.
|
D | streaming_api_basics.md | 1 # LZ4 Streaming API Basics 3 ## LZ4 API sets 5 LZ4 has the following API sets : 9 It guarantees interoperability with other LZ4 framing format compliant tools/libraries 10 such as LZ4 command line utility, node-lz4, etc. 12 It compress single raw memory block to LZ4 memory block and vice versa. 23 In other words, LZ4 library find redundancy from single contiguous memory block. 25 So LZ4 library could find more redundancy than Block API. 87 LZ4 will not access further memories.
|
/external/lz4/contrib/cmake_unofficial/ |
D | CMakeLists.txt | 1 # CMake support for LZ4 10 # LZ4's CMake support is maintained by Evan Nemerson; when filing 16 file(STRINGS "${LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_MAJOR REGEX "^#define LZ4_VERSION_MAJOR … 18 file(STRINGS "${LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_MINOR REGEX "^#define LZ4_VERSION_MINOR … 20 file(STRINGS "${LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_RELEASE REGEX "^#define LZ4_VERSION_RELE… 26 project(LZ4 C) project 29 project(LZ4 project 36 # If LZ4 is being bundled in another project, we don't want to 39 # set it to OFF in your project before you add_subdirectory(lz4/contrib/cmake_unofficial). 54 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "LZ4 compression library") [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/lib/ |
D | README.md | 1 LZ4 - Library Files 7 #### Minimal LZ4 build 9 The minimum required is **`lz4.c`** and **`lz4.h`**, 13 #### The High Compression variant of LZ4 18 The variant still depends on regular `lz4` source files. 19 In particular, the decompression is still provided by `lz4.c`. 24 In order to produce files or streams compatible with `lz4` command line utility, 25 it's necessary to encode lz4-compressed blocks using the [official interoperable frame format]. 27 In order to work properly, lz4frame needs lz4 and lz4hc, and also **xxhash**, 46 The header files `lz4.h`, `lz4hc.h`, `lz4frame.h` and the dynamic library [all …]
|
D | lz4hc.h | 2 LZ4 HC - High Compression Mode of LZ4 31 - LZ4 source repository : https://github.com/lz4/lz4 32 - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c 42 /* note : lz4hc is not an independent module, it requires lz4.h/lz4.c for proper compilation */ 43 #include "lz4.h" /* stddef, LZ4LIB_API, LZ4_DEPRECATED */ 59 * Compression is guaranteed to succeed if `dstCapacity >= LZ4_compressBound(srcSize)` (see "lz4.h") 60 * Max supported `srcSize` value is LZ4_MAX_INPUT_SIZE (see "lz4.h") 70 * Decompression functions are provided within "lz4.h" (BSD license) 90 * These functions create and release memory for LZ4 HC streaming state. 132 * Using these definitions makes the code vulnerable to potential API break when upgrading LZ4 [all …]
|
D | Makefile | 2 # LZ4 library - Makefile 29 # - LZ4 source repository : https://github.com/Cyan4973/lz4 30 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c 34 …_MAJOR_SCRIPT:=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./lz4.h` 35 …_MINOR_SCRIPT:=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./lz4.h` 36 …ATCH_SCRIPT:=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./lz4.h` 154 @$(INSTALL_DATA) lz4.h $(DESTDIR)$(INCLUDEDIR)/lz4.h 157 @echo lz4 static and shared libraries installed 165 @$(RM) $(DESTDIR)$(INCLUDEDIR)/lz4.h 168 @echo lz4 libraries successfully uninstalled
|
/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
|