Lines Matching refs:matches

592 …   ZSTD_match_t* matches,  /* store result (found matches) in this table (presumed large enough) */  in ZSTD_insertBtAndGetAllMatches()  argument
683matches[mnum].off = REPCODE_TO_OFFBASE(repCode - ll0 + 1); /* expect value between 1 and 3 */ in ZSTD_insertBtAndGetAllMatches()
684 matches[mnum].len = (U32)repLen; in ZSTD_insertBtAndGetAllMatches()
712 matches[0].off = OFFSET_TO_OFFBASE(curr - matchIndex3); in ZSTD_insertBtAndGetAllMatches()
713 matches[0].len = (U32)mlen; in ZSTD_insertBtAndGetAllMatches()
751 matches[mnum].off = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_insertBtAndGetAllMatches()
752 matches[mnum].len = (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
798 matches[mnum].off = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_insertBtAndGetAllMatches()
799 matches[mnum].len = (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
834 ZSTD_match_t* matches, in ZSTD_btGetAllMatches_internal() argument
850 …return ZSTD_insertBtAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll… in ZSTD_btGetAllMatches_internal()
857 ZSTD_match_t* matches, \
867 matches, ms, nextToUpdate3, ip, iHighLimit, \
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()
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()
1102 ZSTD_match_t* const matches = optStatePtr->matchTable; in ZSTD_compressBlock_opt_generic() local
1126 … U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, ip, iend, rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic()
1127 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &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()
1182 U32 const offBase = matches[matchNb].off; in ZSTD_compressBlock_opt_generic()
1183 U32 const end = matches[matchNb].len; in ZSTD_compressBlock_opt_generic()
1279 …U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, inr, iend, opt[cur].rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic()
1282 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic()
1291 { U32 const longestML = matches[nbMatches-1].len; in ZSTD_compressBlock_opt_generic()
1299 lastStretch.off = matches[nbMatches-1].off; in ZSTD_compressBlock_opt_generic()
1307 U32 const offset = matches[matchNb].off; in ZSTD_compressBlock_opt_generic()
1308 U32 const lastML = matches[matchNb].len; in ZSTD_compressBlock_opt_generic()
1309 U32 const startML = (matchNb>0) ? matches[matchNb-1].len+1 : minMatch; in ZSTD_compressBlock_opt_generic()
1313 matchNb, matches[matchNb].off, lastML, opt[cur].litlen); in ZSTD_compressBlock_opt_generic()