Home
last modified time | relevance | path

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

/src/sys/contrib/zstd/lib/compress/ !
H A Dzstd_opt.c616 U32 repLen = 0; in ZSTD_insertBtAndGetAllMatches() local
623 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches()
634repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches()
640repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + … in ZSTD_insertBtAndGetAllMatches()
643 if (repLen > bestLength) { in ZSTD_insertBtAndGetAllMatches()
645 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
646 bestLength = repLen; in ZSTD_insertBtAndGetAllMatches()
648 matches[mnum].len = (U32)repLen; in ZSTD_insertBtAndGetAllMatches()
650 if ( (repLen > sufficient_len) in ZSTD_insertBtAndGetAllMatches()
651 | (ip+repLen == iLimit) ) { /* best possible */ in ZSTD_insertBtAndGetAllMatches()
/src/sys/contrib/openzfs/module/zstd/lib/compress/ !
H A Dzstd_opt.c652 U32 repLen = 0; in ZSTD_insertBtAndGetAllMatches() local
659 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches()
670repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches()
676repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + … in ZSTD_insertBtAndGetAllMatches()
679 if (repLen > bestLength) { in ZSTD_insertBtAndGetAllMatches()
681 repCode, ll0, repOffset, repLen); in ZSTD_insertBtAndGetAllMatches()
682 bestLength = repLen; in ZSTD_insertBtAndGetAllMatches()
684 matches[mnum].len = (U32)repLen; in ZSTD_insertBtAndGetAllMatches()
686 if ( (repLen > sufficient_len) in ZSTD_insertBtAndGetAllMatches()
687 | (ip+repLen == iLimit) ) { /* best possible */ in ZSTD_insertBtAndGetAllMatches()