Searched refs:bestLength (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_lazy.c | 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(current-matchIndex+1) - ZSTD_highbit… in ZSTD_DUBT_findBetterDictMatch() 200 …current, (U32)bestLength, (U32)matchLength, (U32)*offsetPtr, ZSTD_REP_MOVE + current - matchIndex,… in ZSTD_DUBT_findBetterDictMatch() 201 bestLength = matchLength, *offsetPtr = ZSTD_REP_MOVE + current - matchIndex; in ZSTD_DUBT_findBetterDictMatch() 220 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch() 223 current, (U32)bestLength, (U32)*offsetPtr, mIndex); in ZSTD_DUBT_findBetterDictMatch() 225 return bestLength; in ZSTD_DUBT_findBetterDictMatch() 306 size_t bestLength = 0; in ZSTD_DUBT_findBestMatch() local 326 if (matchLength > bestLength) { in ZSTD_DUBT_findBestMatch() [all …]
|
H A D | zstd_opt.c | 396 size_t bestLength = 8; in ZSTD_insertBt1() local 448 if (matchLength > bestLength) { in ZSTD_insertBt1() 449 bestLength = matchLength; in ZSTD_insertBt1() 476 … if (bestLength > 384) positions = MIN(192, (U32)(bestLength - 384)); /* speed optimization */ in ZSTD_insertBt1() 559 size_t bestLength = lengthToBeat-1; in ZSTD_insertBtAndGetAllMatches() local 596 if (repLen > bestLength) { in ZSTD_insertBtAndGetAllMatches() 599 bestLength = repLen; in ZSTD_insertBtAndGetAllMatches() 609 if ((mls == 3) /*static*/ && (bestLength < mls)) { in ZSTD_insertBtAndGetAllMatches() 626 bestLength = mlen; in ZSTD_insertBtAndGetAllMatches() 661 if (matchLength > bestLength) { in ZSTD_insertBtAndGetAllMatches() [all …]
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_opt.c | 442 size_t bestLength = 8; in ZSTD_insertBt1() local 495 if (matchLength > bestLength) { in ZSTD_insertBt1() 496 bestLength = matchLength; in ZSTD_insertBt1() 523 … if (bestLength > 384) positions = MIN(192, (U32)(bestLength - 384)); /* speed optimization */ in ZSTD_insertBt1() 606 size_t bestLength = lengthToBeat-1; in ZSTD_insertBtAndGetAllMatches() local 643 if (repLen > bestLength) { in ZSTD_insertBtAndGetAllMatches() 646 bestLength = repLen; in ZSTD_insertBtAndGetAllMatches() 656 if ((mls == 3) /*static*/ && (bestLength < mls)) { in ZSTD_insertBtAndGetAllMatches() 673 bestLength = mlen; in ZSTD_insertBtAndGetAllMatches() 708 if (matchLength > bestLength) { in ZSTD_insertBtAndGetAllMatches() [all …]
|
H A D | zstd_lazy.c | 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() [all …]
|