Searched refs:bestLength (Results 1 – 2 of 2) sorted by relevance
261 size_t bestLength = minMatchLen - 1; in ZSTD_insertBtAndGetAllMatches() local270 if (match[bestLength] == ip[bestLength]) in ZSTD_insertBtAndGetAllMatches()280 if (currMl > bestLength) { in ZSTD_insertBtAndGetAllMatches()281 bestLength = currMl; in ZSTD_insertBtAndGetAllMatches()312 if (matchLength > bestLength) { in ZSTD_insertBtAndGetAllMatches()315 bestLength = matchLength; in ZSTD_insertBtAndGetAllMatches()
1584 size_t bestLength = 8; in ZSTD_insertBt1() local1603 if (matchLength > bestLength) { in ZSTD_insertBt1()1604 bestLength = matchLength; in ZSTD_insertBt1()1636 if (bestLength > 384) in ZSTD_insertBt1()1637 return MIN(192, (U32)(bestLength - 384)); /* speed optimization */ in ZSTD_insertBt1()1666 size_t bestLength = 0; in ZSTD_insertBtAndFindBestMatch() local1686 if (matchLength > bestLength) { in ZSTD_insertBtAndFindBestMatch()1689 …if ((4 * (int)(matchLength - bestLength)) > (int)(ZSTD_highbit32(curr - matchIndex + 1) - ZSTD_hig… in ZSTD_insertBtAndFindBestMatch()1690 bestLength = matchLength, *offsetPtr = ZSTD_REP_MOVE + curr - matchIndex; in ZSTD_insertBtAndFindBestMatch()1721 return bestLength; in ZSTD_insertBtAndFindBestMatch()