Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c869 static void ZSTD_optLdm_maybeAddMatch(ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_maybeAddMatch() argument
883 …if (*nbMatches == 0 || ((candidateMatchLength > matches[*nbMatches-1].len) && *nbMatches < ZSTD_OP… in ZSTD_optLdm_maybeAddMatch()
886 matches[*nbMatches].len = candidateMatchLength; in ZSTD_optLdm_maybeAddMatch()
887 matches[*nbMatches].off = candidateOffCode; in ZSTD_optLdm_maybeAddMatch()
888 (*nbMatches)++; in ZSTD_optLdm_maybeAddMatch()
895 …oid ZSTD_optLdm_processMatchCandidate(ZSTD_optLdm_t* optLdm, ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_processMatchCandidate() argument
912 ZSTD_optLdm_maybeAddMatch(matches, nbMatches, optLdm, currPosInBlock); in ZSTD_optLdm_processMatchCandidate()
987 …U32 nbMatches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, ip, iend, dictMode, rep, ll0, mi… in ZSTD_compressBlock_opt_generic() local
988 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic()
990 if (!nbMatches) { ip++; continue; } in ZSTD_compressBlock_opt_generic()
[all …]