Home
last modified time | relevance | path

Searched refs:matchIndex3 (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_double_fast.c433 U32 const matchIndex3 = hashLong[h3]; in ZSTD_compressBlock_doubleFast_extDict_generic() local
434 const BYTE* const match3Base = matchIndex3 < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
435 const BYTE* match3 = match3Base + matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
438 if ( (matchIndex3 > dictStartIndex) && (MEM_read64(match3) == MEM_read64(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
439 const BYTE* const matchEnd = matchIndex3 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
440 … const BYTE* const lowMatchPtr = matchIndex3 < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
443 offset = current+1 - matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_opt.c611 U32 const matchIndex3 = ZSTD_insertAndFindFirstIndexHash3(ms, nextToUpdate3, ip); in ZSTD_insertBtAndGetAllMatches() local
612 if ((matchIndex3 >= matchLow) in ZSTD_insertBtAndGetAllMatches()
613 … & (current - matchIndex3 < (1<<18)) /*heuristic : longer distance likely too expensive*/ ) { in ZSTD_insertBtAndGetAllMatches()
615 …noDict) /*static*/ || (dictMode == ZSTD_dictMatchState) /*static*/ || (matchIndex3 >= dictLimit)) { in ZSTD_insertBtAndGetAllMatches()
616 const BYTE* const match = base + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
619 const BYTE* const match = dictBase + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
628 assert(current > matchIndex3); in ZSTD_insertBtAndGetAllMatches()
630 matches[0].off = (current - matchIndex3) + ZSTD_REP_MOVE; in ZSTD_insertBtAndGetAllMatches()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_double_fast.c603 U32 const matchIndex3 = hashLong[h3]; in ZSTD_compressBlock_doubleFast_extDict_generic() local
604 const BYTE* const match3Base = matchIndex3 < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
605 const BYTE* match3 = match3Base + matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
608 if ( (matchIndex3 > dictStartIndex) && (MEM_read64(match3) == MEM_read64(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
609 const BYTE* const matchEnd = matchIndex3 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
610 … const BYTE* const lowMatchPtr = matchIndex3 < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
613 offset = curr+1 - matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_opt.c657 U32 const matchIndex3 = ZSTD_insertAndFindFirstIndexHash3(ms, nextToUpdate3, ip); in ZSTD_insertBtAndGetAllMatches() local
658 if ((matchIndex3 >= matchLow) in ZSTD_insertBtAndGetAllMatches()
659 & (curr - matchIndex3 < (1<<18)) /*heuristic : longer distance likely too expensive*/ ) { in ZSTD_insertBtAndGetAllMatches()
661 …noDict) /*static*/ || (dictMode == ZSTD_dictMatchState) /*static*/ || (matchIndex3 >= dictLimit)) { in ZSTD_insertBtAndGetAllMatches()
662 const BYTE* const match = base + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
665 const BYTE* const match = dictBase + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
674 assert(curr > matchIndex3); in ZSTD_insertBtAndGetAllMatches()
676 matches[0].off = STORE_OFFSET(curr - matchIndex3); in ZSTD_insertBtAndGetAllMatches()