Home
last modified time | relevance | path

Searched refs:repCode (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/lib/zstd/compress/
Dzstd_compress_internal.h407 U32 const repCode = offset + ll0; in ZSTD_updateRep() local
408 if (repCode > 0) { /* note : if repCode==0, no change */ in ZSTD_updateRep()
409 U32 const currentOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_updateRep()
410 newReps.rep[2] = (repCode >= 2) ? rep[1] : rep[2]; in ZSTD_updateRep()
Dzstd_opt.c577 U32 repCode; in ZSTD_insertBtAndGetAllMatches() local
578 for (repCode = ll0; repCode < lastR; repCode++) { in ZSTD_insertBtAndGetAllMatches()
579 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches()
610 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
612 matches[mnum].off = repCode - ll0; in ZSTD_insertBtAndGetAllMatches()
Dzstd_compress.c4458 U32 repCode = 0; in ZSTD_finalizeOffCode() local
4461 repCode = 1; in ZSTD_finalizeOffCode()
4463 repCode = 2 - ll0; in ZSTD_finalizeOffCode()
4465 repCode = 3 - ll0; in ZSTD_finalizeOffCode()
4467 repCode = 3; in ZSTD_finalizeOffCode()
4469 if (repCode) { in ZSTD_finalizeOffCode()
4471 offCode = repCode - 1; in ZSTD_finalizeOffCode()