Home
last modified time | relevance | path

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

/linux/lib/lz4/
A Dlz4defs.h194 const BYTE *pIn, in LZ4_count() argument
198 const BYTE *const pStart = pIn; in LZ4_count()
204 pIn += STEPSIZE; in LZ4_count()
209 pIn += LZ4_NbCommonBytes(diff); in LZ4_count()
215 if ((pIn < (pInLimit - 3)) in LZ4_count()
217 pIn += 4; in LZ4_count()
222 if ((pIn < (pInLimit - 1)) in LZ4_count()
224 pIn += 2; in LZ4_count()
228 if ((pIn < pInLimit) && (*pMatch == *pIn)) in LZ4_count()
229 pIn++; in LZ4_count()
[all …]
/linux/lib/zstd/compress/
A Dzstd_compress_internal.h617 const BYTE* const pStart = pIn; in ZSTD_count()
620 if (pIn < pInLoopLimit) { in ZSTD_count()
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()
624 while (pIn < pInLoopLimit) { in ZSTD_count()
627 pIn += ZSTD_NbCommonBytes(diff); in ZSTD_count()
628 return (size_t)(pIn - pStart); 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()
[all …]
A Dzstd_ldm.c170 const BYTE* pIn, const BYTE* pAnchor, in ZSTD_ldm_countBackwardsMatch() argument
174 while (pIn > pAnchor && pMatch > pMatchBase && pIn[-1] == pMatch[-1]) { in ZSTD_ldm_countBackwardsMatch()
175 pIn--; in ZSTD_ldm_countBackwardsMatch()
188 const BYTE* pIn, const BYTE* pAnchor, in ZSTD_ldm_countBackwardsMatch_2segments() argument
192 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase); in ZSTD_ldm_countBackwardsMatch_2segments()
198 …matchLength += ZSTD_ldm_countBackwardsMatch(pIn - matchLength, pAnchor, pExtDictEnd, pExtDictStart… in ZSTD_ldm_countBackwardsMatch_2segments()

Completed in 12 milliseconds