Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/erofs/
Dlz4defs.h178 const BYTE *pIn, in LZ4_count() argument
182 const BYTE *const pStart = pIn; in LZ4_count()
184 while (likely(pIn < pInLimit - (STEPSIZE - 1))) { in LZ4_count()
185 size_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count()
188 pIn += STEPSIZE; in LZ4_count()
193 pIn += LZ4_NbCommonBytes(diff); in LZ4_count()
195 return (unsigned int)(pIn - pStart); in LZ4_count()
199 if ((pIn < (pInLimit - 3)) in LZ4_count()
200 && (LZ4_read32(pMatch) == LZ4_read32(pIn))) { in LZ4_count()
201 pIn += 4; in LZ4_count()
[all …]
/Linux-v4.19/lib/lz4/
Dlz4defs.h178 const BYTE *pIn, in LZ4_count() argument
182 const BYTE *const pStart = pIn; in LZ4_count()
184 while (likely(pIn < pInLimit - (STEPSIZE - 1))) { in LZ4_count()
185 size_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count()
188 pIn += STEPSIZE; in LZ4_count()
193 pIn += LZ4_NbCommonBytes(diff); in LZ4_count()
195 return (unsigned int)(pIn - pStart); in LZ4_count()
199 if ((pIn < (pInLimit - 3)) in LZ4_count()
200 && (LZ4_read32(pMatch) == LZ4_read32(pIn))) { in LZ4_count()
201 pIn += 4; in LZ4_count()
[all …]
/Linux-v4.19/lib/zstd/
Dcompress.c907 static size_t ZSTD_count(const BYTE *pIn, const BYTE *pMatch, const BYTE *const pInLimit) in ZSTD_count() argument
909 const BYTE *const pStart = pIn; in ZSTD_count()
912 while (pIn < pInLoopLimit) { in ZSTD_count()
913 size_t const diff = ZSTD_readST(pMatch) ^ ZSTD_readST(pIn); in ZSTD_count()
915 pIn += sizeof(size_t); in ZSTD_count()
919 pIn += ZSTD_NbCommonBytes(diff); in ZSTD_count()
920 return (size_t)(pIn - pStart); in ZSTD_count()
923 if ((pIn < (pInLimit - 3)) && (ZSTD_read32(pMatch) == ZSTD_read32(pIn))) { in ZSTD_count()
924 pIn += 4; in ZSTD_count()
927 if ((pIn < (pInLimit - 1)) && (ZSTD_read16(pMatch) == ZSTD_read16(pIn))) { in ZSTD_count()
[all …]