Home
last modified time | relevance | path

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

/lib/zlib_dfltcc/
Ddfltcc_util.h92 int strategy, in dfltcc_are_params_ok() argument
98 (strategy == Z_DEFAULT_STRATEGY); in dfltcc_are_params_ok()
Ddfltcc_deflate.c26 if (!dfltcc_are_params_ok(state->level, state->w_bits, state->strategy, in dfltcc_can_deflate()
/lib/zlib_deflate/
Ddeflate.c194 int strategy in zlib_deflateInit2() argument
221 strategy < 0 || strategy > Z_HUFFMAN_ONLY) { in zlib_deflateInit2()
275 s->strategy = strategy; in zlib_deflateInit2()
953 if (s->strategy != Z_HUFFMAN_ONLY) { in deflate_fast()
1051 if (s->strategy != Z_HUFFMAN_ONLY) { in deflate_slow()
1056 if (s->match_length <= 5 && (s->strategy == Z_FILTERED || in deflate_slow()
Ddefutil.h161 int strategy; /* favor or force Huffman coding*/ member
/lib/zstd/
Dcompress.c96 size_t const chainSize = (cParams.strategy == ZSTD_fast) ? 0 : (1 << cParams.chainLog); in ZSTD_CCtxWorkspaceBound()
104 (((cParams.strategy == ZSTD_btopt) || (cParams.strategy == ZSTD_btopt2)) ? optSpace : 0); in ZSTD_CCtxWorkspaceBound()
161 if ((U32)(cParams.strategy) > (U32)ZSTD_btopt2) in ZSTD_checkCParams()
198 U32 const cycleLog = ZSTD_cycleLog(cPar.chainLog, cPar.strategy); in ZSTD_adjustCParams()
212 …(param1.cParams.strategy == param2.cParams.strategy) & ((param1.cParams.searchLength == 3) == (par… in ZSTD_equivalentParams()
256 …size_t const chainSize = (params.cParams.strategy == ZSTD_fast) ? 0 : (1 << params.cParams.chainLo… in ZSTD_resetCCtx_advanced()
268 …(((params.cParams.strategy == ZSTD_btopt) || (params.cParams.strategy == ZSTD_btopt2)) ? optSpace … in ZSTD_resetCCtx_advanced()
306 if ((params.cParams.strategy == ZSTD_btopt) || (params.cParams.strategy == ZSTD_btopt2)) { in ZSTD_resetCCtx_advanced()
362 …size_t const chainSize = (srcCCtx->params.cParams.strategy == ZSTD_fast) ? 0 : (1 << srcCCtx->para… in ZSTD_copyCCtx()
418 …U32 const chainSize = (zc->params.cParams.strategy == ZSTD_fast) ? 0 : (1 << zc->params.cParams.ch… in ZSTD_reduceIndex()
[all …]