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