Lines Matching refs:nbMatches

869 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()
1004 { U32 const maxML = matches[nbMatches-1].len; in ZSTD_compressBlock_opt_generic()
1005 U32 const maxOffset = matches[nbMatches-1].off; in ZSTD_compressBlock_opt_generic()
1007 nbMatches, maxML, maxOffset, (U32)(ip-prefixStart)); in ZSTD_compressBlock_opt_generic()
1027 for (matchNb = 0; matchNb < nbMatches; matchNb++) { in ZSTD_compressBlock_opt_generic()
1102 …U32 nbMatches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, inr, iend, dictMode, opt[cur].re… in ZSTD_compressBlock_opt_generic() local
1105 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic()
1108 if (!nbMatches) { in ZSTD_compressBlock_opt_generic()
1113 { U32 const maxML = matches[nbMatches-1].len; in ZSTD_compressBlock_opt_generic()
1115 inr-istart, cur, nbMatches, maxML); in ZSTD_compressBlock_opt_generic()
1120 lastSequence.off = matches[nbMatches-1].off; in ZSTD_compressBlock_opt_generic()
1129 for (matchNb = 0; matchNb < nbMatches; matchNb++) { in ZSTD_compressBlock_opt_generic()