Home
last modified time | relevance | path

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

/lib/zstd/compress/
Dzstd_opt.c29 # define WEIGHT(stat, opt) ((void)opt, ZSTD_bitWeight(stat))
33 # define WEIGHT(stat,opt) ((void)opt, ZSTD_fracWeight(stat)) argument
37 # define WEIGHT(stat,opt) (opt ? ZSTD_fracWeight(stat) : ZSTD_bitWeight(stat)) argument
1044 optState_t* const optStatePtr = &ms->opt; in ZSTD_compressBlock_opt_generic()
1060 ZSTD_optimal_t* const opt = optStatePtr->priceTable; in ZSTD_compressBlock_opt_generic() local
1089 { U32 i ; for (i=0; i<ZSTD_REP_NUM; i++) opt[0].rep[i] = rep[i]; } in ZSTD_compressBlock_opt_generic()
1090 opt[0].mlen = 0; /* means is_a_literal */ in ZSTD_compressBlock_opt_generic()
1091 opt[0].litlen = litlen; in ZSTD_compressBlock_opt_generic()
1097 opt[0].price = (int)ZSTD_litLengthPrice(litlen, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
1117 assert(opt[0].price >= 0); in ZSTD_compressBlock_opt_generic()
[all …]
Dzstd_compress.c1609 ms->opt.litLengthSum = 0; /* force reset of btopt stats */ in ZSTD_invalidateMatchState()
1691 … ms->opt.litFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (1<<Litbits) * sizeof(unsigned)); in ZSTD_reset_matchState()
1692 … ms->opt.litLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxLL+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
1693 … ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
1694 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
1695 …ms->opt.matchTable = (ZSTD_match_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZSTD_… in ZSTD_reset_matchState()
1696 …ms->opt.priceTable = (ZSTD_optimal_t*)ZSTD_cwksp_reserve_aligned(ws, (ZSTD_OPT_NUM+1) * sizeof(ZST… in ZSTD_reset_matchState()
2740 ms->opt.symbolCosts = &zc->blockState.prevCBlock->entropy; in ZSTD_buildSeqStore()
2742 ms->opt.literalCompressionMode = zc->appliedParams.literalCompressionMode; in ZSTD_buildSeqStore()
Dzstd_compress_internal.h227 optState_t opt; /* optimal parser state */ member
/lib/kunit/
DKconfig81 In most cases this should be left as Y. Only if additional opt-in
/lib/
DKconfig.debug875 semantics of the generic MM. Platforms will have to opt in for