Lines Matching refs:bestLength
157 size_t bestLength, in ZSTD_DUBT_findBetterDictMatch() argument
196 if (matchLength > bestLength) { in ZSTD_DUBT_findBetterDictMatch()
198 …if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32(… in ZSTD_DUBT_findBetterDictMatch()
200 …curr, (U32)bestLength, (U32)matchLength, (U32)*offsetPtr, STORE_OFFSET(curr - matchIndex), dictMat… in ZSTD_DUBT_findBetterDictMatch()
201 bestLength = matchLength, *offsetPtr = STORE_OFFSET(curr - matchIndex); in ZSTD_DUBT_findBetterDictMatch()
220 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch()
223 curr, (U32)bestLength, (U32)*offsetPtr, mIndex); in ZSTD_DUBT_findBetterDictMatch()
225 return bestLength; in ZSTD_DUBT_findBetterDictMatch()
307 size_t bestLength = 0; in ZSTD_DUBT_findBestMatch() local
327 if (matchLength > bestLength) { in ZSTD_DUBT_findBestMatch()
330 …if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32(… in ZSTD_DUBT_findBestMatch()
331 bestLength = matchLength, *offsetPtr = STORE_OFFSET(curr - matchIndex); in ZSTD_DUBT_findBestMatch()
362 bestLength = ZSTD_DUBT_findBetterDictMatch( in ZSTD_DUBT_findBestMatch()
364 offsetPtr, bestLength, nbCompares, in ZSTD_DUBT_findBestMatch()
370 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
373 curr, (U32)bestLength, (U32)*offsetPtr, mIndex); in ZSTD_DUBT_findBestMatch()
375 return bestLength; in ZSTD_DUBT_findBestMatch()