Searched refs:pMatch (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/lib/lz4/ |
| H A D | lz4defs.h | 197 const BYTE *pMatch, in LZ4_count() argument 203 size_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count() 207 pMatch += STEPSIZE; in LZ4_count() 218 && (LZ4_read32(pMatch) == LZ4_read32(pIn))) { in LZ4_count() 220 pMatch += 4; in LZ4_count() 225 && (LZ4_read16(pMatch) == LZ4_read16(pIn))) { in LZ4_count() 227 pMatch += 2; in LZ4_count() 230 if ((pIn < pInLimit) && (*pMatch == *pIn)) in LZ4_count()
|
| /linux-6.15/lib/zstd/compress/ |
| H A D | zstd_ldm.c | 213 const BYTE* pMatch, const BYTE* pMatchBase) in ZSTD_ldm_countBackwardsMatch() argument 216 while (pIn > pAnchor && pMatch > pMatchBase && pIn[-1] == pMatch[-1]) { in ZSTD_ldm_countBackwardsMatch() 218 pMatch--; in ZSTD_ldm_countBackwardsMatch() 231 const BYTE* pMatch, const BYTE* pMatchBase, in ZSTD_ldm_countBackwardsMatch_2segments() argument 234 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase); in ZSTD_ldm_countBackwardsMatch_2segments() 235 if (pMatch - matchLength != pMatchBase || pMatchBase == pExtDictStart) { in ZSTD_ldm_countBackwardsMatch_2segments() 434 BYTE const* const pMatch = curMatchBase + cur->offset; in ZSTD_ldm_generateSequences_internal() local 440 ZSTD_count_2segments(split, pMatch, iend, matchEnd, lowPrefixPtr); in ZSTD_ldm_generateSequences_internal() 445 split, anchor, pMatch, lowMatchPtr, dictStart, dictEnd); in ZSTD_ldm_generateSequences_internal() 447 BYTE const* const pMatch = base + cur->offset; in ZSTD_ldm_generateSequences_internal() local [all …]
|
| H A D | zstd_compress_internal.h | 846 MEM_STATIC size_t ZSTD_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* const pInLimit) in ZSTD_count() argument 852 { size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count() 854 pIn+=sizeof(size_t); pMatch+=sizeof(size_t); in ZSTD_count() 856 size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count() 857 if (!diff) { pIn+=sizeof(size_t); pMatch+=sizeof(size_t); continue; } in ZSTD_count() 861 …if (MEM_64bits() && (pIn<(pInLimit-3)) && (MEM_read32(pMatch) == MEM_read32(pIn))) { pIn+=4; pMatc… in ZSTD_count() 862 if ((pIn<(pInLimit-1)) && (MEM_read16(pMatch) == MEM_read16(pIn))) { pIn+=2; pMatch+=2; } in ZSTD_count() 863 if ((pIn<pInLimit) && (*pMatch == *pIn)) pIn++; in ZSTD_count()
|