Home
last modified time | relevance | path

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

/lib/lz4/
Dlz4defs.h195 const BYTE *pMatch, in LZ4_count() argument
201 size_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count()
205 pMatch += STEPSIZE; in LZ4_count()
216 && (LZ4_read32(pMatch) == LZ4_read32(pIn))) { in LZ4_count()
218 pMatch += 4; in LZ4_count()
223 && (LZ4_read16(pMatch) == LZ4_read16(pIn))) { in LZ4_count()
225 pMatch += 2; in LZ4_count()
228 if ((pIn < pInLimit) && (*pMatch == *pIn)) in LZ4_count()
/lib/zstd/
Dcompress.c907 static size_t ZSTD_count(const BYTE *pIn, const BYTE *pMatch, const BYTE *const pInLimit) in ZSTD_count() argument
913 size_t const diff = ZSTD_readST(pMatch) ^ ZSTD_readST(pIn); in ZSTD_count()
916 pMatch += sizeof(size_t); in ZSTD_count()
923 if ((pIn < (pInLimit - 3)) && (ZSTD_read32(pMatch) == ZSTD_read32(pIn))) { in ZSTD_count()
925 pMatch += 4; in ZSTD_count()
927 if ((pIn < (pInLimit - 1)) && (ZSTD_read16(pMatch) == ZSTD_read16(pIn))) { in ZSTD_count()
929 pMatch += 2; in ZSTD_count()
931 if ((pIn < pInLimit) && (*pMatch == *pIn)) in ZSTD_count()