Lines Matching refs:pIn
788 unsigned LZ4_count(const BYTE *pIn, const BYTE *pMatch, const BYTE *pInLimit) in LZ4_count() argument
790 const BYTE *const pStart = pIn; in LZ4_count()
792 if (likely(pIn < pInLimit - (STEPSIZE - 1))) in LZ4_count()
794 reg_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count()
797 pIn += STEPSIZE; in LZ4_count()
806 while (likely(pIn < pInLimit - (STEPSIZE - 1))) in LZ4_count()
808 reg_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count()
811 pIn += STEPSIZE; in LZ4_count()
815 pIn += LZ4_NbCommonBytes(diff); in LZ4_count()
816 return (unsigned)(pIn - pStart); in LZ4_count()
819 if ((STEPSIZE == 8) && (pIn < (pInLimit - 3)) && (LZ4_read32(pMatch) == LZ4_read32(pIn))) in LZ4_count()
821 pIn += 4; in LZ4_count()
824 if ((pIn < (pInLimit - 1)) && (LZ4_read16(pMatch) == LZ4_read16(pIn))) in LZ4_count()
826 pIn += 2; in LZ4_count()
829 if ((pIn < pInLimit) && (*pMatch == *pIn)) in LZ4_count()
830 pIn++; in LZ4_count()
831 return (unsigned)(pIn - pStart); in LZ4_count()