Lines Matching refs:nbMatches
997 static void ZSTD_optLdm_maybeAddMatch(ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_maybeAddMatch() argument
1012 …if (*nbMatches == 0 || ((candidateMatchLength > matches[*nbMatches-1].len) && *nbMatches < ZSTD_OP… in ZSTD_optLdm_maybeAddMatch()
1016 matches[*nbMatches].len = candidateMatchLength; in ZSTD_optLdm_maybeAddMatch()
1017 matches[*nbMatches].off = candidateOffBase; in ZSTD_optLdm_maybeAddMatch()
1018 (*nbMatches)++; in ZSTD_optLdm_maybeAddMatch()
1027 ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_processMatchCandidate() argument
1046 ZSTD_optLdm_maybeAddMatch(matches, nbMatches, optLdm, currPosInBlock, minMatch); in ZSTD_optLdm_processMatchCandidate()
1126 … U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, ip, iend, rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic() local
1127 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic()
1130 if (!nbMatches) { in ZSTD_compressBlock_opt_generic()
1156 { U32 const maxML = matches[nbMatches-1].len; in ZSTD_compressBlock_opt_generic()
1157 U32 const maxOffBase = matches[nbMatches-1].off; in ZSTD_compressBlock_opt_generic()
1159 nbMatches, maxML, maxOffBase, (U32)(ip-prefixStart)); in ZSTD_compressBlock_opt_generic()
1181 for (matchNb = 0; matchNb < nbMatches; matchNb++) { in ZSTD_compressBlock_opt_generic()
1279 …U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, inr, iend, opt[cur].rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic() local
1282 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic()
1286 if (!nbMatches) { in ZSTD_compressBlock_opt_generic()
1291 { U32 const longestML = matches[nbMatches-1].len; in ZSTD_compressBlock_opt_generic()
1293 (int)(inr-istart), cur, nbMatches, longestML); in ZSTD_compressBlock_opt_generic()
1299 lastStretch.off = matches[nbMatches-1].off; in ZSTD_compressBlock_opt_generic()
1306 for (matchNb = 0; matchNb < nbMatches; matchNb++) { in ZSTD_compressBlock_opt_generic()