Lines Matching refs:offCode
275 U32 const offCode = ZSTD_highbit32(offset+1); in ZSTD_getMatchPrice() local
280 return WEIGHT(mlBase, optLevel) + ((16 + offCode) * BITCOST_MULTIPLIER); in ZSTD_getMatchPrice()
283 …price = (offCode * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq… in ZSTD_getMatchPrice()
284 if ((optLevel<2) /*static*/ && offCode >= 20) in ZSTD_getMatchPrice()
285 …price += (offCode-19)*2 * BITCOST_MULTIPLIER; /* handicap for long distance offsets, favor decompr… in ZSTD_getMatchPrice()
319 { U32 const offCode = ZSTD_highbit32(offsetCode+1); in ZSTD_updateStats() local
320 assert(offCode <= MaxOff); in ZSTD_updateStats()
321 optPtr->offCodeFreq[offCode]++; in ZSTD_updateStats()
1201 U32 const offCode = opt[storePos].off; in ZSTD_compressBlock_opt_generic() local
1213 ZSTD_updateStats(optStatePtr, llen, anchor, offCode, mlen); in ZSTD_compressBlock_opt_generic()
1214 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen-MINMATCH); in ZSTD_compressBlock_opt_generic()