Searched refs:pMatch (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/lib/lz4/ |
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.1.9/lib/zstd/compress/ |
D | zstd_ldm.c | 171 const BYTE* pMatch, const BYTE* pMatchBase) in ZSTD_ldm_countBackwardsMatch() argument 174 while (pIn > pAnchor && pMatch > pMatchBase && pIn[-1] == pMatch[-1]) { in ZSTD_ldm_countBackwardsMatch() 176 pMatch--; in ZSTD_ldm_countBackwardsMatch() 189 const BYTE* pMatch, const BYTE* pMatchBase, in ZSTD_ldm_countBackwardsMatch_2segments() argument 192 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase); in ZSTD_ldm_countBackwardsMatch_2segments() 193 if (pMatch - matchLength != pMatchBase || pMatchBase == pExtDictStart) { in ZSTD_ldm_countBackwardsMatch_2segments() 392 BYTE const* const pMatch = curMatchBase + cur->offset; in ZSTD_ldm_generateSequences_internal() local 398 ZSTD_count_2segments(split, pMatch, iend, matchEnd, lowPrefixPtr); in ZSTD_ldm_generateSequences_internal() 403 split, anchor, pMatch, lowMatchPtr, dictStart, dictEnd); in ZSTD_ldm_generateSequences_internal() 405 BYTE const* const pMatch = base + cur->offset; in ZSTD_ldm_generateSequences_internal() local [all …]
|
D | zstd_compress_internal.h | 615 MEM_STATIC size_t ZSTD_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* const pInLimit) in ZSTD_count() argument 621 { size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count() 623 pIn+=sizeof(size_t); pMatch+=sizeof(size_t); in ZSTD_count() 625 size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count() 626 if (!diff) { pIn+=sizeof(size_t); pMatch+=sizeof(size_t); continue; } in ZSTD_count() 630 …if (MEM_64bits() && (pIn<(pInLimit-3)) && (MEM_read32(pMatch) == MEM_read32(pIn))) { pIn+=4; pMatc… in ZSTD_count() 631 if ((pIn<(pInLimit-1)) && (MEM_read16(pMatch) == MEM_read16(pIn))) { pIn+=2; pMatch+=2; } in ZSTD_count() 632 if ((pIn<pInLimit) && (*pMatch == *pIn)) pIn++; in ZSTD_count()
|