/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate/ |
D | DeflateParameters.java | 31 private int compressionLevel = Deflater.DEFAULT_COMPRESSION; field in DeflateParameters 60 return compressionLevel; in getCompressionLevel() 72 public void setCompressionLevel(final int compressionLevel) { in setCompressionLevel() argument 73 if (compressionLevel < -1 || compressionLevel > 9) { in setCompressionLevel() 74 … throw new IllegalArgumentException("Invalid Deflate compression level: " + compressionLevel); in setCompressionLevel() 76 this.compressionLevel = compressionLevel; in setCompressionLevel()
|
/external/lz4/lib/ |
D | lz4hc.h | 66 …t LZ4_compress_HC (const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel); 80 …teHC(void* stateHC, const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel); 94 int compressionLevel); 157 LZ4LIB_API void LZ4_resetStreamHC_fast(LZ4_streamHC_t* streamHCPtr, int compressionLevel); /* v1.… 245 short compressionLevel; member 286 …LZ4_compressHC2 (const char* source, char* dest, int inputSize, int compressionLevel); 287 …itedOutput(const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel); 290 …HC (void* state, const char* source, char* dest, int inputSize, int compressionLevel); 291 …id* state, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel); 308 … (void* LZ4HC_Data, const char* source, char* dest, int inputSize, int compressionLevel); [all …]
|
D | lz4hc.c | 517 if (LZ4HC_getCLevelParams(dictCtx->compressionLevel).strat == lz4mid) in select_searchDict_function() 1436 int const isMid1 = LZ4HC_getCLevelParams(ctx1->compressionLevel).strat == lz4mid; in isStateCompatible() 1437 int const isMid2 = LZ4HC_getCLevelParams(ctx2->compressionLevel).strat == lz4mid; in isStateCompatible() 1460 ctx->compressionLevel = (short)cLevel; in LZ4HC_compress_generic_dictCtx() 1500 …Reset (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel) in LZ4_compress_HC_extStateHC_fastReset() argument 1504 LZ4_resetStreamHC_fast((LZ4_streamHC_t*)state, compressionLevel); in LZ4_compress_HC_extStateHC_fastReset() 1507 …return LZ4HC_compress_generic (ctx, src, dst, &srcSize, dstCapacity, compressionLevel, limitedOutp… in LZ4_compress_HC_extStateHC_fastReset() 1509 …return LZ4HC_compress_generic (ctx, src, dst, &srcSize, dstCapacity, compressionLevel, notLimited); in LZ4_compress_HC_extStateHC_fastReset() 1512 …ateHC (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel) in LZ4_compress_HC_extStateHC() argument 1516 …turn LZ4_compress_HC_extStateHC_fastReset(state, src, dst, srcSize, dstCapacity, compressionLevel); in LZ4_compress_HC_extStateHC() [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/ |
D | GzipParameters.java | 31 private int compressionLevel = Deflater.DEFAULT_COMPRESSION; field in GzipParameters 38 return compressionLevel; in getCompressionLevel() 50 public void setCompressionLevel(final int compressionLevel) { in setCompressionLevel() argument 51 if (compressionLevel < -1 || compressionLevel > 9) { in setCompressionLevel() 52 … throw new IllegalArgumentException("Invalid gzip compression level: " + compressionLevel); in setCompressionLevel() 54 this.compressionLevel = compressionLevel; in setCompressionLevel()
|
D | GzipCompressorOutputStream.java | 100 final int compressionLevel = parameters.getCompressionLevel(); in writeHeader() local 101 if (compressionLevel == Deflater.BEST_COMPRESSION) { in writeHeader() 103 } else if (compressionLevel == Deflater.BEST_SPEED) { in writeHeader()
|
/external/coreboot/util/cbfstool/lz4/lib/ |
D | lz4hc.h | 50 int LZ4_compress_HC (const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel); 71 …tateHC(void* state, const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel); 112 void LZ4_resetStreamHC (LZ4_streamHC_t* streamHCPtr, int compressionLevel); 168 …Z4_compressHC2 (const char* source, char* dest, int inputSize, int compressionLevel); 169 …tedOutput (const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel); 172 …HC (void* state, const char* source, char* dest, int inputSize, int compressionLevel); 173 …id* state, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel); 181 …2_continue (void* LZ4HC_Data, const char* source, char* dest, int inputSize, int compressionLevel); 182 …Z4HC_Data, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel);
|
D | lz4hc.c | 106 U32 compressionLevel; member 348 int compressionLevel, in LZ4HC_compress_generic() argument 374 if (compressionLevel > g_maxCompressionLevel) compressionLevel = g_maxCompressionLevel; in LZ4HC_compress_generic() 375 if (compressionLevel < 1) compressionLevel = LZ4HC_compressionLevel_default; in LZ4HC_compress_generic() 376 maxNbAttempts = 1 << (compressionLevel-1); in LZ4HC_compress_generic() 548 …tateHC (void* state, const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel) in LZ4_compress_HC_extStateHC() argument 553 …return LZ4HC_compress_generic (state, src, dst, srcSize, maxDstSize, compressionLevel, limitedOutp… in LZ4_compress_HC_extStateHC() 555 … return LZ4HC_compress_generic (state, src, dst, srcSize, maxDstSize, compressionLevel, noLimit); in LZ4_compress_HC_extStateHC() 558 int LZ4_compress_HC(const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel) in LZ4_compress_HC() argument 566 … int cSize = LZ4_compress_HC_extStateHC(statePtr, src, dst, srcSize, maxDstSize, compressionLevel); in LZ4_compress_HC() [all …]
|
/external/zstd/examples/ |
D | streaming_memory_usage.c | 58 int compressionLevel; in main() local 59 for (compressionLevel = 1; compressionLevel <= MAX_TESTED_LEVEL; compressionLevel++) { in main() 73 … CHECK_ZSTD( ZSTD_CCtxParams_setParameter(cctxParams, ZSTD_c_compressionLevel, compressionLevel) ); in main() 127 compressionLevel, in main()
|
/external/zstd/contrib/pzstd/ |
D | Options.h | 29 unsigned compressionLevel; member 46 Options(unsigned numThreads, unsigned maxWindowLog, unsigned compressionLevel, in Options() 51 compressionLevel(compressionLevel), decompress(decompress), in Options() 59 ZSTD_parameters params = ZSTD_getParams(compressionLevel, 0, 0); in determineParameters()
|
D | Options.cpp | 104 compressionLevel(kDefaultCompressionLevel), decompress(false), in Options() 195 compressionLevel = parseUnsigned(&options); in parse() 382 if (compressionLevel > maxCLevel || compressionLevel == 0) { in parse() 383 std::fprintf(stderr, "Invalid compression level %u.\n", compressionLevel); in parse()
|
/external/skia/src/pdf/ |
D | SkDeflate.cpp | 79 int compressionLevel, in SkDeflateWStream() argument 87 SkASSERT(compressionLevel != 0); in SkDeflateWStream() 98 SkASSERT(compressionLevel <= 9 && compressionLevel >= -1); in SkDeflateWStream() 99 SkDEBUGCODE(int r =) deflateInit2(&fImpl->fZStream, compressionLevel, in SkDeflateWStream()
|
D | SkPDFBitmap.cpp | 125 SkPDF::Metadata::CompressionLevel compressionLevel = doc->metadata().fCompressionLevel; in do_deflated_alpha() local 126 SkPDFStreamFormat format = compressionLevel == SkPDF::Metadata::CompressionLevel::None in do_deflated_alpha() 133 deflateWStream.emplace(&buffer, SkToInt(compressionLevel)); in do_deflated_alpha() 207 SkPDF::Metadata::CompressionLevel compressionLevel = doc->metadata().fCompressionLevel; in do_deflated_image() local 208 SkPDFStreamFormat format = compressionLevel == SkPDF::Metadata::CompressionLevel::None in do_deflated_image() 215 deflateWStream.emplace(&buffer, SkToInt(compressionLevel)); in do_deflated_image()
|
/external/zstd/contrib/pzstd/test/ |
D | RoundTripTest.cpp | 53 std::uniform_int_distribution<unsigned> compressionLevel{1, 10}; in generateOptions() local 56 options.compressionLevel = compressionLevel(gen); in generateOptions() 76 std::fprintf(stderr, "level: %u\n", options.compressionLevel); in main()
|
D | PzstdTest.cpp | 52 options.compressionLevel = level; in TEST() 87 options.compressionLevel = level; in TEST() 123 options.compressionLevel = 1; in TEST() 145 options.compressionLevel = 1; in TEST()
|
/external/zstd/tests/ |
D | external_matchfinder.c | 25 int compressionLevel, in simpleSequenceProducer() argument 39 (void)compressionLevel; in simpleSequenceProducer() 88 int compressionLevel, in zstreamSequenceProducer() argument 108 compressionLevel, in zstreamSequenceProducer()
|
/external/zstd/programs/ |
D | fileio.c | 1216 int compressionLevel, U64* readsize) in FIO_compressGzFrame() argument 1222 if (compressionLevel > Z_BEST_COMPRESSION) in FIO_compressGzFrame() 1223 compressionLevel = Z_BEST_COMPRESSION; in FIO_compressGzFrame() 1229 { int const ret = deflateInit2(&strm, compressionLevel, Z_DEFLATED, in FIO_compressGzFrame() 1311 int compressionLevel, U64* readsize, int plain_lzma) in FIO_compressLzmaFrame() argument 1319 if (compressionLevel < 0) compressionLevel = 0; in FIO_compressLzmaFrame() 1320 if (compressionLevel > 9) compressionLevel = 9; in FIO_compressLzmaFrame() 1324 if (lzma_lzma_preset(&opt_lzma, compressionLevel)) in FIO_compressLzmaFrame() 1330 ret = lzma_easy_encoder(&strm, compressionLevel, LZMA_CHECK_CRC64); /* XZ */ in FIO_compressLzmaFrame() 1400 int compressionLevel, int checksumFlag, in FIO_compressLz4Frame() argument [all …]
|
/external/zstd/lib/deprecated/ |
D | zbuff_compress.c | 97 …FF_compressInitDictionary(ZBUFF_CCtx* zbc, const void* dict, size_t dictSize, int compressionLevel) in ZBUFF_compressInitDictionary() argument 100 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_compressionLevel, compressionLevel), ""); in ZBUFF_compressInitDictionary() 105 size_t ZBUFF_compressInit(ZBUFF_CCtx* zbc, int compressionLevel) in ZBUFF_compressInit() argument 107 return ZSTD_initCStream(zbc, compressionLevel); in ZBUFF_compressInit()
|
D | zbuff.h | 75 …use ZSTD_initCStream") size_t ZBUFF_compressInit(ZBUFF_CCtx* cctx, int compressionLevel); 76 …_compressInitDictionary(ZBUFF_CCtx* cctx, const void* dict, size_t dictSize, int compressionLevel);
|
/external/zstd/lib/ |
D | zstd.h | 162 int compressionLevel); 295 int compressionLevel); 862 ZSTDLIB_API size_t ZSTD_initCStream(ZSTD_CStream* zcs, int compressionLevel); 968 int compressionLevel); 1000 int compressionLevel); 1818 ZSTDLIB_STATIC_API size_t ZSTD_estimateCDictSize(size_t dictSize, int compressionLevel); 1939 …CDict* ZSTD_createCDict_byReference(const void* dictBuffer, size_t dictSize, int compressionLevel); 1944 ZSTDLIB_STATIC_API ZSTD_compressionParameters ZSTD_getCParams(int compressionLevel, unsigned long l… 1949 ZSTDLIB_STATIC_API ZSTD_parameters ZSTD_getParams(int compressionLevel, unsigned long long estimate… 2396 ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_init(ZSTD_CCtx_params* cctxParams, int compressionLevel); [all …]
|
/external/lz4/tests/ |
D | fuzzer.c | 382 int const compressionLevel = FUZ_rand(&randState) % (LZ4HC_CLEVEL_MAX+1); in FUZ_test() local 436 …e = LZ4_compress_HC_destSize(ctx, block, compressedBuffer, &srcSize, targetSize, compressionLevel); in FUZ_test() 438 compressionLevel, cSize, targetSize, srcSize, blockSize); in FUZ_test() 463 …= LZ4_compress_HC(block, compressedBuffer, blockSize, (int)compressedBufferSize, compressionLevel); in FUZ_test() 468 …ateHC(stateLZ4HC, block, compressedBuffer, blockSize, (int)compressedBufferSize, compressionLevel); in FUZ_test() 474 …Reset(stateLZ4HC, block, compressedBuffer, blockSize, (int)compressedBufferSize, compressionLevel); in FUZ_test() 709 … ret = LZ4_compress_HC(block, compressedBuffer, blockSize, HCcompressedSize, compressionLevel); in FUZ_test() 714 …_HC_extStateHC(stateLZ4HC, block, compressedBuffer, blockSize, HCcompressedSize, compressionLevel); in FUZ_test() 735 …4_compress_HC(block, compressedBuffer, blockSize, HCcompressedSize-missingBytes, compressionLevel); in FUZ_test() 936 LZ4_setCompressionLevel (LZ4dictHC, compressionLevel); in FUZ_test() [all …]
|
/external/zstd/lib/compress/ |
D | zstd_compress.c | 90 int compressionLevel; /* 0 indicates that advanced API was used to select CDict params */ member 323 … cctxParams.compressionLevel); in ZSTD_makeCCtxParamsFromCParams() 358 size_t ZSTD_CCtxParams_init(ZSTD_CCtx_params* cctxParams, int compressionLevel) { in ZSTD_CCtxParams_init() argument 361 cctxParams->compressionLevel = compressionLevel; in ZSTD_CCtxParams_init() 375 int compressionLevel) in ZSTD_CCtxParams_init_internal() argument 384 cctxParams->compressionLevel = compressionLevel; in ZSTD_CCtxParams_init_internal() 390 …codes = ZSTD_resolveExternalRepcodeSearch(cctxParams->searchForExternalRepcodes, compressionLevel); in ZSTD_CCtxParams_init_internal() 416 cctxParams->compressionLevel = ZSTD_NO_CLEVEL; in ZSTD_CCtxParams_setZstdParams() 784 CCtxParams->compressionLevel = ZSTD_CLEVEL_DEFAULT; /* 0 == default */ in ZSTD_CCtxParams_setParameter() 786 CCtxParams->compressionLevel = value; in ZSTD_CCtxParams_setParameter() [all …]
|
/external/zstd/contrib/externalSequenceProducer/ |
D | sequence_producer.c | 24 int compressionLevel, in simpleSequenceProducer() argument 38 (void)compressionLevel; in simpleSequenceProducer()
|
/external/caliper/examples/src/main/java/examples/ |
D | CompressionSizeBenchmark.java | 40 private String compressionLevel; field in CompressionSizeBenchmark 70 compressor.setLevel(compressionLevelMap.get(compressionLevel)); in compress()
|
/external/zstd/lib/dictBuilder/ |
D | zdict.c | 660 int compressionLevel, in ZDICT_analyzeEntropy() argument 696 if (compressionLevel==0) compressionLevel = ZSTD_CLEVEL_DEFAULT; in ZDICT_analyzeEntropy() 697 params = ZSTD_getParams(compressionLevel, averageSampleSize, dictBufferSize); in ZDICT_analyzeEntropy() 866 …int const compressionLevel = (params.compressionLevel == 0) ? ZSTD_CLEVEL_DEFAULT : params.compres… in ZDICT_finalizeDictionary() local 890 compressionLevel, in ZDICT_finalizeDictionary() 945 …int const compressionLevel = (params.compressionLevel == 0) ? ZSTD_CLEVEL_DEFAULT : params.compres… in ZDICT_addEntropyTablesFromBuffer_advanced() local 953 compressionLevel, in ZDICT_addEntropyTablesFromBuffer_advanced() 1116 params.zParams.compressionLevel = ZSTD_CLEVEL_DEFAULT; in ZDICT_trainFromBuffer()
|
/external/zstd/contrib/seekable_format/examples/ |
D | parallel_compression.c | 102 int compressionLevel; member 112 … size_t ret = ZSTD_compress(job->dst, job->dstSize, job->src, job->srcSize, job->compressionLevel); in compressFrame() 153 jobs[i].compressionLevel = cLevel; in compressFile_orDie()
|