Home
last modified time | relevance | path

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

/linux-6.6.21/lib/zstd/compress/
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()
Dzstd_compress_internal.h659 U32 const repCode = STORED_REPCODE(offBase_minus1) - 1 + ll0; in ZSTD_updateRep() local
660 if (repCode > 0) { /* note : if repCode==0, no change */ in ZSTD_updateRep()
661 U32 const currentOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_updateRep()
662 rep[2] = (repCode >= 2) ? rep[1] : rep[2]; in ZSTD_updateRep()