Home
last modified time | relevance | path

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

/linux/lib/zstd/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.h817 U32 const repCode = OFFBASE_TO_REPCODE(offBase) - 1 + ll0; in ZSTD_updateRep() local
818 if (repCode > 0) { /* note : if repCode==0, no change */ in ZSTD_updateRep()
819 U32 const currentOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_updateRep()
820 rep[2] = (repCode >= 2) ? rep[1] : rep[2]; in ZSTD_updateRep()