Home
last modified time | relevance | path

Searched refs:cLevel (Results 1 – 5 of 5) sorted by relevance

/third_party/lz4/programs/
Dbench.c153 int cLevel; member
218 LZ4_resetStreamHC_fast(pThis->LZ4_streamHC, pThis->cLevel); in LZ4_compressResetStreamHC()
227 int const acceleration = (pThis->cLevel < 0) ? -pThis->cLevel + 1 : 1; in LZ4_compressBlockNoStream()
236 return LZ4_compress_HC(src, dst, srcSize, dstSize, pThis->cLevel); in LZ4_compressBlockNoStreamHC()
244 int const acceleration = (pThis->cLevel < 0) ? -pThis->cLevel + 1 : 1; in LZ4_compressBlockStream()
278 int cLevel, in LZ4_buildCompressionParameters() argument
281 pParams->cLevel = cLevel; in LZ4_buildCompressionParameters()
286 if (cLevel < LZ4HC_CLEVEL_MIN) { in LZ4_buildCompressionParameters()
302 if (cLevel < LZ4HC_CLEVEL_MIN) { in LZ4_buildCompressionParameters()
357 const char* displayName, int cLevel, in BMK_benchMem() argument
[all …]
Dlz4cli.c313 cLevel=1, in main() local
414 cLevel = -(int)fastLevel; in main()
422 cLevel = -1; /* default for --fast */ in main()
428 if (!strcmp(argument, "--best")) { cLevel=LZ4HC_CLEVEL_MAX; continue; } in main()
436 … if (!strcmp(argument, "c0")) { cLevel=0; argument++; continue; } /* -c0 (fast compression) */ in main()
437 … if (!strcmp(argument, "c1")) { cLevel=9; argument++; continue; } /* -c1 (high compression) */ in main()
438 …if (!strcmp(argument, "c2")) { cLevel=12; argument++; continue; } /* -c2 (very high compression) … in main()
439 …if (!strcmp(argument, "hc")) { cLevel=12; argument++; continue; } /* -hc (very high compression) … in main()
444 cLevel = (int)readU32FromChar(&argument); in main()
654 … operationResult = BMK_benchFiles(inFileNames, ifnIdx, cLevel, cLevelLast, dictionary_filename); in main()
[all …]
Dlz4io.c403 static int LZ4IO_LZ4_compress(const char* src, char* dst, int srcSize, int dstSize, int cLevel) in LZ4IO_LZ4_compress() argument
405 (void)cLevel; in LZ4IO_LZ4_compress()
415 typedef int (*compress_f)(const char* src, char* dst, int srcSize, int dstSize, int cLevel); in LZ4IO_compressFilename_Legacy()
/third_party/lz4/lib/
Dlz4hc.c806 int cLevel, in LZ4HC_compress_generic_internal() argument
840 …if (cLevel < 1) cLevel = LZ4HC_CLEVEL_DEFAULT; /* note : convention is different from lz4frame, … in LZ4HC_compress_generic_internal()
841 cLevel = MIN(LZ4HC_CLEVEL_MAX, cLevel); in LZ4HC_compress_generic_internal()
842 { cParams_t const cParam = clTable[cLevel]; in LZ4HC_compress_generic_internal()
855 cLevel == LZ4HC_CLEVEL_MAX, /* ultra mode */ in LZ4HC_compress_generic_internal()
872 int cLevel, in LZ4HC_compress_generic_noDictCtx() argument
877 …return LZ4HC_compress_generic_internal(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit, noDi… in LZ4HC_compress_generic_noDictCtx()
887 int cLevel, in LZ4HC_compress_generic_dictCtx() argument
895 … return LZ4HC_compress_generic_noDictCtx(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit); in LZ4HC_compress_generic_dictCtx()
899 ctx->compressionLevel = (short)cLevel; in LZ4HC_compress_generic_dictCtx()
[all …]
/third_party/lz4/tests/
DroundTripTest.c90 typedef int (*compressFn)(const char* src, char* dst, int srcSize, int dstSize, int cLevel);