Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/zstd/compress/
A Dzstd_lazy.c99 assert(matchIndex < curr); in ZSTD_insertDUBT1()
139 *largerPtr = matchIndex; in ZSTD_insertDUBT1()
268 matchIndex); in ZSTD_DUBT_findBestMatch()
282 matchIndex); in ZSTD_DUBT_findBestMatch()
529 U32 matchIndex; in ZSTD_dedicatedDictSearch_lazy_search() local
548 if (!matchIndex) { in ZSTD_dedicatedDictSearch_lazy_search()
679 U32 matchIndex; in ZSTD_HcFindBestMatch() local
711 matchIndex = NEXT_IN_CHAIN(matchIndex, chainMask); in ZSTD_HcFindBestMatch()
748 matchIndex = dmsChainTable[matchIndex & dmsChainMask]; in ZSTD_HcFindBestMatch()
1664 …const BYTE* match = (matchIndex < prefixLowestIndex) ? dictBase + matchIndex - dictIndexDelta : ba… in ZSTD_compressBlock_lazy_generic()
[all …]
A Dzstd_opt.c424 U32 matchIndex = hashTable[h]; in ZSTD_insertBt1() local
461 assert(matchIndex < curr); in ZSTD_insertBt1()
475 *largerPtr = matchIndex; in ZSTD_insertBt1()
478 matchIndex = nextPtr[0]; in ZSTD_insertBt1()
514 *largerPtr = matchIndex; in ZSTD_insertBt1()
518 matchIndex = nextPtr[0]; in ZSTD_insertBt1()
574 U32 matchIndex = hashTable[h]; in ZSTD_insertBtAndGetAllMatches() local
693 assert(curr > matchIndex); in ZSTD_insertBtAndGetAllMatches()
710 (U32)matchLength, curr - matchIndex, STORE_OFFSET(curr - matchIndex)); in ZSTD_insertBtAndGetAllMatches()
732 *largerPtr = matchIndex; in ZSTD_insertBtAndGetAllMatches()
[all …]
A Dzstd_fast.c429 U32 const matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_dictMatchState_generic() local
430 const BYTE* match = base + matchIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
443 } else if ( (matchIndex <= prefixStartIndex) ) { in ZSTD_compressBlock_fast_dictMatchState_generic()
585 const U32 matchIndex = hashTable[h]; in ZSTD_compressBlock_fast_extDict_generic() local
586 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
587 const BYTE* match = matchBase + matchIndex; in ZSTD_compressBlock_fast_extDict_generic()
605 if ( (matchIndex < dictStartIndex) || in ZSTD_compressBlock_fast_extDict_generic()
611 { const BYTE* const matchEnd = matchIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
612 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_fast_extDict_generic()
613 U32 const offset = curr - matchIndex; in ZSTD_compressBlock_fast_extDict_generic()
A Dzstd_double_fast.c566 const U32 matchIndex = hashSmall[hSmall]; in ZSTD_compressBlock_doubleFast_extDict_generic() local
567 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
568 const BYTE* match = matchBase + matchIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
601 } else if ((matchIndex > dictStartIndex) && (MEM_read32(match) == MEM_read32(ip))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
616 const BYTE* const matchEnd = matchIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
617 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
619 offset = curr - matchIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
/linux-6.3-rc2/lib/lz4/
A Dlz4hc_compress.c114 U32 matchIndex; in LZ4HC_InsertAndFindBestMatch() local
122 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndFindBestMatch()
125 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndFindBestMatch()
144 + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch()
158 *matchpos = base + matchIndex; in LZ4HC_InsertAndFindBestMatch()
162 matchIndex -= DELTANEXTU16(matchIndex); in LZ4HC_InsertAndFindBestMatch()
187 U32 matchIndex; in LZ4HC_InsertAndGetWiderMatch() local
195 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndGetWiderMatch()
198 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndGetWiderMatch()
242 && (matchIndex + back > lowLimit) in LZ4HC_InsertAndGetWiderMatch()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Deeprom.c289 int matchIndex = -1, lowIndex = -1; in ath9k_hw_get_legacy_target_powers() local
297 matchIndex = 0; in ath9k_hw_get_legacy_target_powers()
303 matchIndex = i; in ath9k_hw_get_legacy_target_powers()
314 matchIndex = i - 1; in ath9k_hw_get_legacy_target_powers()
317 if (matchIndex != -1) { in ath9k_hw_get_legacy_target_powers()
318 *pNewPower = powInfo[matchIndex]; in ath9k_hw_get_legacy_target_powers()
351 matchIndex = 0; in ath9k_hw_get_target_powers()
357 matchIndex = i; in ath9k_hw_get_target_powers()
369 matchIndex = i - 1; in ath9k_hw_get_target_powers()
372 if (matchIndex != -1) { in ath9k_hw_get_target_powers()
[all …]

Completed in 23 milliseconds