Lines Matching refs:bestLength
169 size_t bestLength, in ZSTD_DUBT_findBetterDictMatch() argument
208 if (matchLength > bestLength) { in ZSTD_DUBT_findBetterDictMatch()
210 …if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32(… in ZSTD_DUBT_findBetterDictMatch()
212 …curr, (U32)bestLength, (U32)matchLength, (U32)*offsetPtr, OFFSET_TO_OFFBASE(curr - matchIndex), di… in ZSTD_DUBT_findBetterDictMatch()
213 bestLength = matchLength, *offsetPtr = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_DUBT_findBetterDictMatch()
232 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch()
235 curr, (U32)bestLength, (U32)*offsetPtr, mIndex); in ZSTD_DUBT_findBetterDictMatch()
237 return bestLength; in ZSTD_DUBT_findBetterDictMatch()
320 size_t bestLength = 0; in ZSTD_DUBT_findBestMatch() local
340 if (matchLength > bestLength) { in ZSTD_DUBT_findBestMatch()
343 …if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr - matchIndex + 1) - ZSTD_highbi… in ZSTD_DUBT_findBestMatch()
344 bestLength = matchLength, *offBasePtr = OFFSET_TO_OFFBASE(curr - matchIndex); in ZSTD_DUBT_findBestMatch()
375 bestLength = ZSTD_DUBT_findBetterDictMatch( in ZSTD_DUBT_findBestMatch()
377 offBasePtr, bestLength, nbCompares, in ZSTD_DUBT_findBestMatch()
383 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
386 curr, (U32)bestLength, (U32)*offBasePtr, mIndex); in ZSTD_DUBT_findBestMatch()
388 return bestLength; in ZSTD_DUBT_findBestMatch()