Lines Matching refs:nbMatches

856 static void ZSTD_optLdm_maybeAddMatch(ZSTD_match_t* matches, U32* nbMatches,  in ZSTD_optLdm_maybeAddMatch()  argument
870 …if (*nbMatches == 0 || ((candidateMatchLength > matches[*nbMatches-1].len) && *nbMatches < ZSTD_OP… in ZSTD_optLdm_maybeAddMatch()
873 matches[*nbMatches].len = candidateMatchLength; in ZSTD_optLdm_maybeAddMatch()
874 matches[*nbMatches].off = candidateOffCode; in ZSTD_optLdm_maybeAddMatch()
875 (*nbMatches)++; in ZSTD_optLdm_maybeAddMatch()
882 …oid ZSTD_optLdm_processMatchCandidate(ZSTD_optLdm_t* optLdm, ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_processMatchCandidate() argument
899 ZSTD_optLdm_maybeAddMatch(matches, nbMatches, optLdm, currPosInBlock); in ZSTD_optLdm_processMatchCandidate()
974 …U32 nbMatches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, ip, iend, dictMode, rep, ll0, mi… in ZSTD_compressBlock_opt_generic() local
975 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic()
977 if (!nbMatches) { ip++; continue; } in ZSTD_compressBlock_opt_generic()
991 { U32 const maxML = matches[nbMatches-1].len; in ZSTD_compressBlock_opt_generic()
992 U32 const maxOffset = matches[nbMatches-1].off; in ZSTD_compressBlock_opt_generic()
994 nbMatches, maxML, maxOffset, (U32)(ip-prefixStart)); in ZSTD_compressBlock_opt_generic()
1014 for (matchNb = 0; matchNb < nbMatches; matchNb++) { in ZSTD_compressBlock_opt_generic()
1089 …U32 nbMatches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, inr, iend, dictMode, opt[cur].re… in ZSTD_compressBlock_opt_generic() local
1092 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic()
1095 if (!nbMatches) { in ZSTD_compressBlock_opt_generic()
1100 { U32 const maxML = matches[nbMatches-1].len; in ZSTD_compressBlock_opt_generic()
1102 inr-istart, cur, nbMatches, maxML); in ZSTD_compressBlock_opt_generic()
1107 lastSequence.off = matches[nbMatches-1].off; in ZSTD_compressBlock_opt_generic()
1116 for (matchNb = 0; matchNb < nbMatches; matchNb++) { in ZSTD_compressBlock_opt_generic()