Searched refs:nbMatches (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_opt.c | 959 static void ZSTD_optLdm_maybeAddMatch(ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_maybeAddMatch() argument 973 …if (*nbMatches == 0 || ((candidateMatchLength > matches[*nbMatches-1].len) && *nbMatches < ZSTD_OP… in ZSTD_optLdm_maybeAddMatch() 977 matches[*nbMatches].len = candidateMatchLength; in ZSTD_optLdm_maybeAddMatch() 978 matches[*nbMatches].off = candidateOffCode; in ZSTD_optLdm_maybeAddMatch() 979 (*nbMatches)++; in ZSTD_optLdm_maybeAddMatch() 988 ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_processMatchCandidate() argument 1006 ZSTD_optLdm_maybeAddMatch(matches, nbMatches, optLdm, currPosInBlock); in ZSTD_optLdm_processMatchCandidate() 1083 … U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, ip, iend, rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic() local 1084 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic() 1086 if (!nbMatches) { ip++; continue; } in ZSTD_compressBlock_opt_generic() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_opt.c | 836 …U32 const nbMatches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, ip, iend, dictMode, rep, l… in ZSTD_compressBlock_opt_generic() local 837 if (!nbMatches) { ip++; continue; } in ZSTD_compressBlock_opt_generic() 851 { U32 const maxML = matches[nbMatches-1].len; in ZSTD_compressBlock_opt_generic() 852 U32 const maxOffset = matches[nbMatches-1].off; in ZSTD_compressBlock_opt_generic() 854 nbMatches, maxML, maxOffset, (U32)(ip-prefixStart)); in ZSTD_compressBlock_opt_generic() 874 for (matchNb = 0; matchNb < nbMatches; matchNb++) { in ZSTD_compressBlock_opt_generic() 949 …U32 const nbMatches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, inr, iend, dictMode, opt[c… in ZSTD_compressBlock_opt_generic() local 951 if (!nbMatches) { in ZSTD_compressBlock_opt_generic() 956 { U32 const maxML = matches[nbMatches-1].len; in ZSTD_compressBlock_opt_generic() 958 inr-istart, cur, nbMatches, maxML); in ZSTD_compressBlock_opt_generic() [all …]
|