/lz4-3.4.0-2.7.6/lib/ |
D | xxhash.c | 109 static void XXH_free (void* p) { free(p); } in XXH_free() argument 288 #define XXH_get32bits(p) XXH_readLE32_align(p, endian, align) argument 295 const BYTE* p = (const BYTE*)ptr; in XXH32_finalize() local 298 h32 += (*p++) * PRIME32_5; \ in XXH32_finalize() 302 h32 += XXH_get32bits(p) * PRIME32_3; \ in XXH32_finalize() 303 p+=4; \ in XXH32_finalize() 306 switch(len&15) /* or switch(bEnd - p) */ in XXH32_finalize() 355 const BYTE* p = (const BYTE*)input; in XXH32_endian_align() local 356 const BYTE* bEnd = p + len; in XXH32_endian_align() 360 if (p==NULL) { in XXH32_endian_align() [all …]
|
D | lz4.c | 196 void LZ4_free(void* p); 199 # define FREEMEM(p) LZ4_free(p) argument 204 # define FREEMEM(p) free(p) argument 208 #define MEM_INIT(p,v,s) memset((p),(v),(s)) argument 390 const BYTE* p = (const BYTE*)memPtr; in LZ4_readLE16() local 391 return (U16)((U16)p[0] + (p[1]<<8)); in LZ4_readLE16() 400 BYTE* p = (BYTE*)memPtr; in LZ4_writeLE16() local 401 p[0] = (BYTE) value; in LZ4_writeLE16() 402 p[1] = (BYTE)(value>>8); in LZ4_writeLE16() 718 LZ4_FORCE_INLINE U32 LZ4_hashPosition(const void* const p, tableType_t const tableType) in LZ4_hashPosition() argument [all …]
|
D | lz4hc.c | 83 #define DELTANEXTMAXD(p) chainTable[(p) & LZ4HC_MAXD_MASK] /* flexible, LZ4HC_MAXD depen… argument 829 DEBUGLOG(4, "LZ4HC_compress_generic(ctx=%p, src=%p, srcSize=%d, limit=%d)", in LZ4HC_compress_generic_internal() 996 DEBUGLOG(4, "LZ4_freeStreamHC(%p)", LZ4_streamHCPtr); in LZ4_freeStreamHC() 1008 DEBUGLOG(4, "LZ4_initStreamHC(%p, %u)", buffer, (unsigned)size); in LZ4_initStreamHC() 1029 DEBUGLOG(4, "LZ4_resetStreamHC_fast(%p, %d)", LZ4_streamHCPtr, compressionLevel); in LZ4_resetStreamHC_fast() 1047 DEBUGLOG(5, "LZ4_setCompressionLevel(%p, %d)", LZ4_streamHCPtr, compressionLevel); in LZ4_setCompressionLevel() 1064 …DEBUGLOG(4, "LZ4_loadDictHC(ctx:%p, dict:%p, dictSize:%d)", LZ4_streamHCPtr, dictionary, dictSize); in LZ4_loadDictHC() 1089 DEBUGLOG(4, "LZ4HC_setExternalDict(%p, %p)", ctxPtr, newBlock); in LZ4HC_setExternalDict() 1112 DEBUGLOG(5, "LZ4_compressHC_continue_generic(ctx=%p, src=%p, srcSize=%d, limit=%d)", in LZ4_compressHC_continue_generic() 1166 DEBUGLOG(5, "LZ4_saveDictHC(%p, %p, %d)", LZ4_streamHCPtr, safeBuffer, dictSize); in LZ4_saveDictHC() [all …]
|
D | Makefile | 37 LIBVER_MAJOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' <… 38 LIBVER_MINOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' <… 39 LIBVER_PATCH_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p'…
|
D | lz4frame.c | 78 # define FREEMEM(p) free(p) argument 83 # define MEM_INIT(p,v,s) memset((p),(v),(s)) argument 1401 DEBUGLOG(5, "LZ4F_decompress : %p,%u => %p,%u", in LZ4F_decompress()
|
/lz4-3.4.0-2.7.6/doc/ |
D | lz4frame_manual.html | 87 </b><p> makes it possible to set or read frame parameters. 91 </p></pre><BR> 100 </b><p> makes it possible to supply advanced compression instructions to streaming interface. 104 </p></pre><BR> 109 </b><p> Returns the maximum possible compressed size with LZ4F_compressFrame() given srcSize and p… 114 </p></pre><BR> 119 </b><p> Compress an entire srcBuffer into a valid LZ4 frame. 125 </p></pre><BR> 138 </b><p> The first thing to do is to create a compressionContext object, which will be used in all c… 145 </p></pre><BR> [all …]
|
D | lz4_manual.html | 62 </b><p> Memory usage formula : N->2^N Bytes (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1M… 67 </p></pre><BR> 72 </b><p> Compresses 'srcSize' bytes from buffer 'src' 85 </p></pre><BR> 88 </b><p> compressedSize : is the exact complete size of the compressed block. 101 </p></pre><BR> 106 </b><p> Provides the maximum size that LZ4 compression may output in a "worst case" scenario (in… 113 </p></pre><BR> 116 </b><p> Same as LZ4_compress_default(), but allows selection of "acceleration" factor. 122 </p></pre><BR> [all …]
|
/lz4-3.4.0-2.7.6/ |
D | appveyor.yml | 33 …IF [%PLATFORM%]==[x64] (SET ADDITIONALPARAM=/p:LibraryPath="C:\Program Files\Microsoft SDKs\Window… 89 … /property:PlatformToolset=v100 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURAT… 93 …erbosity:minimal /property:PlatformToolset=v110 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configura… 97 …erbosity:minimal /property:PlatformToolset=v120 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configura… 101 …erbosity:minimal /property:PlatformToolset=v140 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configura…
|
D | Makefile.inc | 88 LN_SF = cp -p 91 LN_SF = cp -p 94 LN_SF = cp -p
|
/lz4-3.4.0-2.7.6/contrib/gen_manual/ |
D | gen-lz4-manual.sh | 3 LIBVER_MAJOR_SCRIPT=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../… 4 LIBVER_MINOR_SCRIPT=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../… 5 LIBVER_PATCH_SCRIPT=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < .…
|
D | gen_manual.cpp | 45 size_t p = s.find_first_not_of(characters); in trim() local 46 s.erase(0, p); in trim() 48 p = s.find_last_not_of(characters); in trim() 49 if (string::npos != p) in trim() 50 s.erase(p+1); in trim() 201 sout << "</b><p>"; in main() 205 sout << "</p></pre><BR>" << endl << endl; in main()
|
D | Makefile | 42 LIBVER_MAJOR_SCRIPT:=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < $(… 43 LIBVER_MINOR_SCRIPT:=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < $(… 44 LIBVER_PATCH_SCRIPT:=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < …
|
/lz4-3.4.0-2.7.6/contrib/djgpp/ |
D | Makefile | 1 # Copyright (c) 2015, Louis P. Santillan <lpsantil@gmail.com> 10 LIBVER_MAJOR=$(shell sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lib… 11 LIBVER_MINOR=$(shell sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lib… 12 LIBVER_PATCH=$(shell sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < l… 76 mkdir -p $(DESTDIR)/bin $(DESTDIR)/include $(DESTDIR)/lib
|
/lz4-3.4.0-2.7.6/programs/ |
D | Makefile | 36 LIBVER_MAJOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' <… 37 LIBVER_MINOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' <… 38 LIBVER_PATCH_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p'… 117 cat $< | $(MD2ROFF) $(MD2ROFF_FLAGS) | $(SED) -n '/^\.\\\".*/!p' > $@
|
D | lz4cli.c | 558 …/* Treat non-option args as input files. See https://code.google.com/p/lz4/issues/detail?id=151 */ 574 case 'p': main_pause=1; break;
|
/lz4-3.4.0-2.7.6/tests/ |
D | fuzzer.c | 272 DISPLAYLEVEL(2, "generating low buffer at address %p \n", lowBuff); in FUZ_createLowAddr() 725 … DISPLAYLEVEL(5, " compress %i bytes from buffer(%p) into dst(%p) using dict(%p) of size %i \n", in FUZ_test() 734 DISPLAYLEVEL(5, " decoding %i bytes from buffer(%p) using dict(%p) of size %i \n", in FUZ_test() 1138 DISPLAYLEVEL(4, "state1(%p) state2(%p) state3(%p) LZ4_stream_t size(0x%x): ", in FUZ_unitTests() 1140 …FUZ_CHECKTEST( LZ4_initStream(&(shc->state1), sizeof(shc->state1)) == NULL, "state1 (%p) failed in… in FUZ_unitTests() 1141 …FUZ_CHECKTEST( LZ4_initStream(&(shc->state2), sizeof(shc->state2)) == NULL, "state2 (%p) failed in… in FUZ_unitTests() 1142 …FUZ_CHECKTEST( LZ4_initStream(&(shc->state3), sizeof(shc->state3)) == NULL, "state3 (%p) failed in… in FUZ_unitTests() 1144 … "hc1+1 (%p) init must fail, due to bad alignment", (void*)((char*)&(shc->state1) + 1) ); in FUZ_unitTests() 1248 DISPLAYLEVEL(4, "hc1(%p) hc2(%p) hc3(%p) size(0x%x): ", in FUZ_unitTests() 1251 …FUZ_CHECKTEST( LZ4_initStreamHC(&(shc->hc1), sizeof(shc->hc1)) == NULL, "hc1 (%p) failed init", (v… in FUZ_unitTests() [all …]
|
D | datagencli.c | 68 DISPLAY( " -P# : Select compressibility in %% (default:%i%%)\n", COMPRESSIBILITY_DEFAULT); in usage() 128 case 'P': in main()
|
D | frametest.c | 788 size_t p=0; in locateBuffDiff() local 797 while (p < size && b1[p]==b2[p]) p++; in locateBuffDiff() 798 if (p != size) { in locateBuffDiff() 799 DISPLAY("Error at pos %i/%i : %02X != %02X \n", (int)p, (int)size, b1[p], b2[p]); in locateBuffDiff() 1140 … DISPLAY( " -P# : Select compressibility in %% (default:%i%%)\n", FUZ_COMPRESSIBILITY_DEFAULT); in FUZ_usage() 1188 case 'p': /* pause at the end */ in main() 1246 case 'P': /* compressibility % */ in main()
|
D | fullbench.c | 163 void LZ4_free(void* p) { free(p); } in LZ4_free() argument 850 case 'p': BMK_setPause(); break; in main()
|
D | checkFrame.c | 251 case 'p': /* pause at the end */ in main()
|
D | test-lz4-list.py | 190 for unit in ['', 'K', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y']:
|
D | test-lz4-speed.py | 107 execute('git fetch -p', verbose)
|
/lz4-3.4.0-2.7.6/.circleci/ |
D | config.yml | 42 - run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
|
/lz4-3.4.0-2.7.6/examples/ |
D | HCStreaming_ringBuffer.c | 180 if (!strcmp(argv[1], "-p")) { pause = 1; fileID = 2; } in main()
|
D | compress_functions.c | 50 …* trusted source, or if your program is the producer (P) as well as its consumer (C)…
|