Home
last modified time | relevance | path

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

/src/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()
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c648 U32 repCode; in ZSTD_insertBtAndGetAllMatches() local
649 for (repCode = ll0; repCode < lastR; repCode++) { in ZSTD_insertBtAndGetAllMatches()
650 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches()
681 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
683 … matches[mnum].off = REPCODE_TO_OFFBASE(repCode - ll0 + 1); /* expect value between 1 and 3 */ in ZSTD_insertBtAndGetAllMatches()
H A Dzstd_compress_internal.h826 U32 const repCode = OFFBASE_TO_REPCODE(offBase) - 1 + ll0; in ZSTD_updateRep() local
827 if (repCode > 0) { /* note : if repCode==0, no change */ in ZSTD_updateRep()
828 U32 const currentOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_updateRep()
829 rep[2] = (repCode >= 2) ? rep[1] : rep[2]; in ZSTD_updateRep()