/external/lz4/programs/ |
H A D | lz4cli.c | 268 cLevel=1, local 356 if ((argument[0]=='c') && (argument[1]=='0')) { cLevel=0; argument++; continue; } /* -c0 (fast compression) */ 357 if ((argument[0]=='c') && (argument[1]=='1')) { cLevel=9; argument++; continue; } /* -c1 (high compression) */ 358 if ((argument[0]=='h') && (argument[1]=='c')) { cLevel=9; argument++; continue; } /* -hc (high compression) */ 363 cLevel = readU32FromChar(&argument); 534 operationResult = BMK_benchFiles(inFileNames, ifnIdx, cLevel, cLevelLast); 612 LZ4IO_compressFilename_Legacy(input_filename, output_filename, cLevel); 615 operationResult = LZ4IO_compressMultipleFilenames(inFileNames, ifnIdx, LZ4_EXTENSION, cLevel); 617 operationResult = DEFAULT_COMPRESSOR(input_filename, output_filename, cLevel);
|
H A D | bench.c | 152 int (*compressionFunction)(const char* src, char* dst, int srcSize, int dstSize, int cLevel); 159 const char* displayName, int cLevel, 182 if (cLevel < LZ4HC_CLEVEL_MIN) cfunctionId = 0; else cfunctionId = 1; 258 size_t const rSize = compP.compressionFunction(blockTable[blockNb].srcPtr, blockTable[blockNb].cPtr, (int)blockTable[blockNb].srcSize, (int)blockTable[blockNb].cRoom, cLevel); 347 DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s (param=%d)\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed, displayName, g_additionalParam); 349 DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed, displayName); 351 DISPLAYLEVEL(2, "%2i#\n", cLevel); 387 const char* displayName, int cLevel, int cLevelLast, 401 if (cLevelLast < cLevel) cLevelLast = cLevel; 158 BMK_benchMem(const void* srcBuffer, size_t srcSize, const char* displayName, int cLevel, const size_t* fileSizes, U32 nbFiles) argument 386 BMK_benchCLevel(void* srcBuffer, size_t benchedSize, const char* displayName, int cLevel, int cLevelLast, const size_t* fileSizes, unsigned nbFiles) argument 443 BMK_benchFileTable(const char** fileNamesTable, unsigned nbFiles, int cLevel, int cLevelLast) argument 480 BMK_syntheticTest(int cLevel, int cLevelLast, double compressibility) argument 501 BMK_benchFiles(const char** fileNamesTable, unsigned nbFiles, int cLevel, int cLevelLast) argument [all...] |
H A D | lz4io.c | 312 static int LZ4IO_LZ4_compress(const char* src, char* dst, int srcSize, int dstSize, int cLevel) argument 314 (void)cLevel; 323 int (*compressionFunction)(const char* src, char* dst, int srcSize, int dstSize, int cLevel);
|
/external/lz4/lib/ |
H A D | lz4hc.c | 672 int LZ4_compressHC2(const char* src, char* dst, int srcSize, int cLevel) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), cLevel); } argument 673 int LZ4_compressHC2_limitedOutput(const char* src, char* dst, int srcSize, int maxDstSize, int cLevel) { return LZ4_compress_HC(src, dst, srcSize, maxDstSize, cLevel); } argument 676 int LZ4_compressHC2_withStateHC (void* state, const char* src, char* dst, int srcSize, int cLevel) { return LZ4_compress_HC_extStateHC(state, src, dst, srcSize, LZ4_compressBound(srcSize), cLevel); } argument 677 int LZ4_compressHC2_limitedOutput_withStateHC (void* state, const char* src, char* dst, int srcSize, int maxDstSize, int cLevel) { return LZ4_compress_HC_extStateHC(state, src, dst, srcSize, maxDstSize, cLevel); } argument
|