Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c566 U32 repCode; in ZSTD_insertBtAndGetAllMatches() local
567 for (repCode = ll0; repCode < lastR; repCode++) { in ZSTD_insertBtAndGetAllMatches()
568 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches()
599 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
601 matches[mnum].off = repCode - ll0; in ZSTD_insertBtAndGetAllMatches()
H A Dzstd_compress_internal.h342 U32 const repCode = offset + ll0; in ZSTD_updateRep() local
343 if (repCode > 0) { /* note : if repCode==0, no change */ in ZSTD_updateRep()
344 U32 const currentOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_updateRep()
345 newReps.rep[2] = (repCode >= 2) ? rep[1] : rep[2]; in ZSTD_updateRep()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c612 U32 repCode; in ZSTD_insertBtAndGetAllMatches() local
613 for (repCode = ll0; repCode < lastR; repCode++) { in ZSTD_insertBtAndGetAllMatches()
614 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches()
645 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
647 … matches[mnum].off = STORE_REPCODE(repCode - ll0 + 1); /* expect value between 1 and 3 */ in ZSTD_insertBtAndGetAllMatches()
H A Dzstd_compress_internal.h671 U32 const repCode = STORED_REPCODE(offBase_minus1) - 1 + ll0; in ZSTD_updateRep() local
672 if (repCode > 0) { /* note : if repCode==0, no change */ in ZSTD_updateRep()
673 U32 const currentOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_updateRep()
674 rep[2] = (repCode >= 2) ? rep[1] : rep[2]; in ZSTD_updateRep()