Home
last modified time | relevance | path

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

/linux-6.15/lib/zstd/compress/
H A Dzstd_lazy.c110 assert(matchIndex < curr); in ZSTD_insertDUBT1()
150 *largerPtr = matchIndex; in ZSTD_insertDUBT1()
281 matchIndex); in ZSTD_DUBT_findBestMatch()
295 matchIndex); in ZSTD_DUBT_findBestMatch()
543 U32 matchIndex; in ZSTD_dedicatedDictSearch_lazy_search() local
562 if (!matchIndex) { in ZSTD_dedicatedDictSearch_lazy_search()
699 U32 matchIndex; in ZSTD_HcFindBestMatch() local
732 matchIndex = NEXT_IN_CHAIN(matchIndex, chainMask); in ZSTD_HcFindBestMatch()
769 matchIndex = dmsChainTable[matchIndex & dmsChainMask]; in ZSTD_HcFindBestMatch()
1716 …const BYTE* match = (matchIndex < prefixLowestIndex) ? dictBase + matchIndex - dictIndexDelta : ba… in ZSTD_compressBlock_lazy_generic()
[all …]
H A Dzstd_opt.c456 U32 matchIndex = hashTable[h]; in ZSTD_insertBt1() local
493 assert(matchIndex < curr); in ZSTD_insertBt1()
507 *largerPtr = matchIndex; in ZSTD_insertBt1()
510 matchIndex = nextPtr[0]; in ZSTD_insertBt1()
546 *largerPtr = matchIndex; in ZSTD_insertBt1()
550 matchIndex = nextPtr[0]; in ZSTD_insertBt1()
610 U32 matchIndex = hashTable[h]; in ZSTD_insertBtAndGetAllMatches() local
729 assert(curr > matchIndex); in ZSTD_insertBtAndGetAllMatches()
746 (U32)matchLength, curr - matchIndex, OFFSET_TO_OFFBASE(curr - matchIndex)); in ZSTD_insertBtAndGetAllMatches()
768 *largerPtr = matchIndex; in ZSTD_insertBtAndGetAllMatches()
[all …]
H A Dzstd_double_fast.c647 const U32 matchIndex = hashSmall[hSmall]; in ZSTD_compressBlock_doubleFast_extDict_generic() local
648 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
649 const BYTE* match = matchBase + matchIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
682 } else if ((matchIndex > dictStartIndex) && (MEM_read32(match) == MEM_read32(ip))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
697 const BYTE* const matchEnd = matchIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
698 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
700 offset = curr - matchIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_fast.c549 U32 matchIndex = hashTable[hash0]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
557 const BYTE* match = base + matchIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
582 if (matchIndex <= prefixStartIndex) { in ZSTD_compressBlock_fast_dictMatchState_generic()
599 if (ZSTD_match4Found_cmov(ip0, match, matchIndex, prefixStartIndex)) { in ZSTD_compressBlock_fast_dictMatchState_generic()
618 matchIndex = hashTable[hash1]; in ZSTD_compressBlock_fast_dictMatchState_generic()
/linux-6.15/lib/lz4/
H A Dlz4hc_compress.c113 U32 matchIndex; in LZ4HC_InsertAndFindBestMatch() local
121 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndFindBestMatch()
124 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndFindBestMatch()
143 + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch()
157 *matchpos = base + matchIndex; in LZ4HC_InsertAndFindBestMatch()
161 matchIndex -= DELTANEXTU16(matchIndex); in LZ4HC_InsertAndFindBestMatch()
186 U32 matchIndex; in LZ4HC_InsertAndGetWiderMatch() local
194 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndGetWiderMatch()
197 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndGetWiderMatch()
241 && (matchIndex + back > lowLimit) in LZ4HC_InsertAndGetWiderMatch()
[all …]
/linux-6.15/drivers/net/wireless/ath/ath9k/
H A Deeprom.c277 int matchIndex = -1, lowIndex = -1; in ath9k_hw_get_legacy_target_powers() local
285 matchIndex = 0; in ath9k_hw_get_legacy_target_powers()
291 matchIndex = i; in ath9k_hw_get_legacy_target_powers()
302 matchIndex = i - 1; in ath9k_hw_get_legacy_target_powers()
305 if (matchIndex != -1) { in ath9k_hw_get_legacy_target_powers()
306 *pNewPower = powInfo[matchIndex]; in ath9k_hw_get_legacy_target_powers()
339 matchIndex = 0; in ath9k_hw_get_target_powers()
345 matchIndex = i; in ath9k_hw_get_target_powers()
357 matchIndex = i - 1; in ath9k_hw_get_target_powers()
360 if (matchIndex != -1) { in ath9k_hw_get_target_powers()
[all …]