Home
last modified time | relevance | path

Searched refs:pMatch (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/lib/lz4/
Dlz4defs.h197 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.6.21/lib/zstd/compress/
Dzstd_ldm.c198 const BYTE* pMatch, const BYTE* pMatchBase) in ZSTD_ldm_countBackwardsMatch() argument
201 while (pIn > pAnchor && pMatch > pMatchBase && pIn[-1] == pMatch[-1]) { in ZSTD_ldm_countBackwardsMatch()
203 pMatch--; in ZSTD_ldm_countBackwardsMatch()
216 const BYTE* pMatch, const BYTE* pMatchBase, in ZSTD_ldm_countBackwardsMatch_2segments() argument
219 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase); in ZSTD_ldm_countBackwardsMatch_2segments()
220 if (pMatch - matchLength != pMatchBase || pMatchBase == pExtDictStart) { in ZSTD_ldm_countBackwardsMatch_2segments()
412 BYTE const* const pMatch = curMatchBase + cur->offset; in ZSTD_ldm_generateSequences_internal() local
418 ZSTD_count_2segments(split, pMatch, iend, matchEnd, lowPrefixPtr); in ZSTD_ldm_generateSequences_internal()
423 split, anchor, pMatch, lowMatchPtr, dictStart, dictEnd); in ZSTD_ldm_generateSequences_internal()
425 BYTE const* const pMatch = base + cur->offset; in ZSTD_ldm_generateSequences_internal() local
[all …]
Dzstd_compress_internal.h741 MEM_STATIC size_t ZSTD_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* const pInLimit) in ZSTD_count() argument
747 { size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count()
749 pIn+=sizeof(size_t); pMatch+=sizeof(size_t); in ZSTD_count()
751 size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count()
752 if (!diff) { pIn+=sizeof(size_t); pMatch+=sizeof(size_t); continue; } in ZSTD_count()
756 …if (MEM_64bits() && (pIn<(pInLimit-3)) && (MEM_read32(pMatch) == MEM_read32(pIn))) { pIn+=4; pMatc… in ZSTD_count()
757 if ((pIn<(pInLimit-1)) && (MEM_read16(pMatch) == MEM_read16(pIn))) { pIn+=2; pMatch+=2; } in ZSTD_count()
758 if ((pIn<pInLimit) && (*pMatch == *pIn)) pIn++; in ZSTD_count()