Home
last modified time | relevance | path

Searched refs:matchIndex (Results 1 – 6 of 6) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_lazy.c99 assert(matchIndex < curr); in ZSTD_insertDUBT1()
139 *largerPtr = matchIndex; in ZSTD_insertDUBT1()
145 matchIndex = nextPtr[0]; in ZSTD_insertDUBT1()
268 matchIndex); in ZSTD_DUBT_findBestMatch()
282 matchIndex); in ZSTD_DUBT_findBestMatch()
628 U32 matchIndex; in ZSTD_HcFindBestMatch_generic() local
660 matchIndex = NEXT_IN_CHAIN(matchIndex, chainMask); in ZSTD_HcFindBestMatch_generic()
690 if (!matchIndex) { in ZSTD_HcFindBestMatch_generic()
777 matchIndex = dmsChainTable[matchIndex & dmsChainMask]; in ZSTD_HcFindBestMatch_generic()
1067 …const BYTE* match = (matchIndex < prefixLowestIndex) ? dictBase + matchIndex - dictIndexDelta : ba… in ZSTD_compressBlock_lazy_generic()
[all …]
H A Dzstd_opt.c381 U32 matchIndex = hashTable[h]; in ZSTD_insertBt1() local
414 assert(matchIndex < curr); in ZSTD_insertBt1()
428 *largerPtr = matchIndex; in ZSTD_insertBt1()
431 matchIndex = nextPtr[0]; in ZSTD_insertBt1()
467 *largerPtr = matchIndex; in ZSTD_insertBt1()
471 matchIndex = nextPtr[0]; in ZSTD_insertBt1()
527 U32 matchIndex = hashTable[h]; in ZSTD_insertBtAndGetAllMatches() local
646 assert(curr > matchIndex); in ZSTD_insertBtAndGetAllMatches()
663 (U32)matchLength, curr - matchIndex, curr - matchIndex + ZSTD_REP_MOVE); in ZSTD_insertBtAndGetAllMatches()
686 *largerPtr = matchIndex; in ZSTD_insertBtAndGetAllMatches()
[all …]
H A Dzstd_fast.c262 U32 const matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
263 const BYTE* match = base + matchIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
276 } else if ( (matchIndex <= prefixStartIndex) ) { in ZSTD_compressBlock_fast_dictMatchState_generic()
410 const U32 matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_extDict_generic() local
411 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
412 const BYTE* match = matchBase + matchIndex; in ZSTD_compressBlock_fast_extDict_generic()
430 if ( (matchIndex < dictStartIndex) || in ZSTD_compressBlock_fast_extDict_generic()
436 { const BYTE* const matchEnd = matchIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
437 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_fast_extDict_generic()
438 U32 const offset = curr - matchIndex; in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c395 const U32 matchIndex = hashSmall[hSmall]; in ZSTD_compressBlock_doubleFast_extDict_generic() local
396 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
397 const BYTE* match = matchBase + matchIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
430 } else if ((matchIndex > dictStartIndex) && (MEM_read32(match) == MEM_read32(ip))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
445 const BYTE* const matchEnd = matchIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
446 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
448 offset = curr - matchIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_ldm.c398 U32 const matchIndex = bestEntry->offset; in ZSTD_ldm_generateSequences_internal() local
399 U32 const offset = curr - matchIndex; in ZSTD_ldm_generateSequences_internal()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c18652 matchIndex); in ZSTD_DUBT_findBestMatch()
18663 if ( (matchIndex > unsortLimit) in ZSTD_DUBT_findBestMatch()
18666 matchIndex); in ZSTD_DUBT_findBestMatch()
18671 matchIndex = previousCandidate; in ZSTD_DUBT_findBestMatch()
18693 matchIndex = hashTable[h]; in ZSTD_DUBT_findBestMatch()
18916 matchIndex = NEXT_IN_CHAIN(matchIndex, chainMask); in ZSTD_HcFindBestMatch_generic()
18948 matchIndex = dmsChainTable[matchIndex & dmsChainMask]; in ZSTD_HcFindBestMatch_generic()
19199 …const BYTE* match = (matchIndex < prefixLowestIndex) ? dictBase + matchIndex - dictIndexDelta : ba… in ZSTD_compressBlock_lazy_generic()
19451 … const BYTE* match = (matchIndex < dictLimit) ? dictBase + matchIndex : base + matchIndex; in ZSTD_compressBlock_lazy_extDict_generic()
20527 U32 matchIndex = hashTable[h]; in ZSTD_insertBt1() local
[all …]