Searched refs:windowLow (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_lazy.c | 88 … U32 const windowLow = (current - windowValid > maxDistance) ? current - maxDistance : windowValid; in ZSTD_insertDUBT1() local 92 current, dictLimit, windowLow); in ZSTD_insertDUBT1() 96 while (nbCompares-- && (matchIndex > windowLow)) { in ZSTD_insertDUBT1() 245 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, current, cParams->windowLog); in ZSTD_DUBT_findBestMatch() local 251 U32 const unsortLimit = MAX(btLow, windowLow); in ZSTD_DUBT_findBestMatch() 311 while (nbCompares-- && (matchIndex > windowLow)) { in ZSTD_DUBT_findBestMatch() 671 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, ms->cParams.windowLog); in ZSTD_compressBlock_lazy_generic() local 672 U32 const maxRep = current - windowLow; in ZSTD_compressBlock_lazy_generic() 974 { const U32 windowLow = ZSTD_getLowestMatchIndex(ms, current+1, windowLog); in ZSTD_compressBlock_lazy_extDict_generic() local 979 & (offset_1 < current+1 - windowLow) ) /* note: we are searching at current+1 */ in ZSTD_compressBlock_lazy_extDict_generic() [all …]
|
H A D | zstd_opt.c | 394 U32 const windowLow = ms->window.lowLimit; in ZSTD_insertBt1() local 410 assert(windowLow > 0); in ZSTD_insertBt1() 411 while (nbCompares-- && (matchIndex >= windowLow)) { in ZSTD_insertBt1() 537 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, current, cParams->windowLog); in ZSTD_insertBtAndGetAllMatches() local 538 U32 const matchLow = windowLow ? windowLow : 1; in ZSTD_insertBtAndGetAllMatches() 553 … U32 const dmsIndexDelta = dictMode == ZSTD_dictMatchState ? windowLow - dmsHighLimit : 0; in ZSTD_insertBtAndGetAllMatches() 575 …if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset… in ZSTD_insertBtAndGetAllMatches() 582 assert(current >= windowLow); in ZSTD_insertBtAndGetAllMatches() 584 …&& ( ((repOffset-1) /*intentional overflow*/ < current - windowLow) /* equivalent to `current > r… in ZSTD_insertBtAndGetAllMatches()
|
H A D | zstd_fast.c | 76 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog); in ZSTD_compressBlock_fast_generic() local 77 U32 const maxRep = current - windowLow; in ZSTD_compressBlock_fast_generic()
|
H A D | zstd_double_fast.c | 112 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog); in ZSTD_compressBlock_doubleFast_generic() local 113 U32 const maxRep = current - windowLow; in ZSTD_compressBlock_doubleFast_generic()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_opt.c | 440 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, target, cParams->windowLog); in ZSTD_insertBt1() local 457 assert(windowLow > 0); in ZSTD_insertBt1() 458 for (; nbCompares && (matchIndex >= windowLow); --nbCompares) { in ZSTD_insertBt1() 584 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_insertBtAndGetAllMatches() local 585 U32 const matchLow = windowLow ? windowLow : 1; in ZSTD_insertBtAndGetAllMatches() 600 … U32 const dmsIndexDelta = dictMode == ZSTD_dictMatchState ? windowLow - dmsHighLimit : 0; in ZSTD_insertBtAndGetAllMatches() 622 …if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset… in ZSTD_insertBtAndGetAllMatches() 629 assert(curr >= windowLow); in ZSTD_insertBtAndGetAllMatches() 631 …&& ( ((repOffset-1) /*intentional overflow*/ < curr - windowLow) /* equivalent to `curr > repInde… in ZSTD_insertBtAndGetAllMatches()
|
H A D | zstd_lazy.c | 88 U32 const windowLow = (curr - windowValid > maxDistance) ? curr - maxDistance : windowValid; in ZSTD_insertDUBT1() local 92 curr, dictLimit, windowLow); in ZSTD_insertDUBT1() 96 for (; nbCompares && (matchIndex > windowLow); --nbCompares) { in ZSTD_insertDUBT1() 245 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_DUBT_findBestMatch() local 251 U32 const unsortLimit = MAX(btLow, windowLow); in ZSTD_DUBT_findBestMatch() 312 for (; nbCompares && (matchIndex > windowLow); --nbCompares) { in ZSTD_DUBT_findBestMatch() 1514 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, ms->cParams.windowLog); in ZSTD_compressBlock_lazy_generic() local 1515 U32 const maxRep = curr - windowLow; in ZSTD_compressBlock_lazy_generic() 1913 { const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr+1, windowLog); in ZSTD_compressBlock_lazy_extDict_generic() local 1918 & (offset_1 <= curr+1 - windowLow) ) /* note: we are searching at curr+1 */ in ZSTD_compressBlock_lazy_extDict_generic() [all …]
|
H A D | zstd_fast.c | 142 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic() local 143 U32 const maxRep = curr - windowLow; in ZSTD_compressBlock_fast_noDict_generic()
|
H A D | zstd_double_fast.c | 101 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog); in ZSTD_compressBlock_doubleFast_noDict_generic() local 102 U32 const maxRep = current - windowLow; in ZSTD_compressBlock_doubleFast_noDict_generic()
|