Lines Matching refs:pIn
394 static unsigned LZ4_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* pInLimit) in LZ4_count() argument
396 const BYTE* const pStart = pIn; in LZ4_count()
398 while (likely(pIn<pInLimit-(STEPSIZE-1))) in LZ4_count()
400 size_t diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count()
401 if (!diff) { pIn+=STEPSIZE; pMatch+=STEPSIZE; continue; } in LZ4_count()
402 pIn += LZ4_NbCommonBytes(diff); in LZ4_count()
403 return (unsigned)(pIn - pStart); in LZ4_count()
406 …if (LZ4_64bits()) if ((pIn<(pInLimit-3)) && (LZ4_read32(pMatch) == LZ4_read32(pIn))) { pIn+=4; pMa… in LZ4_count()
407 if ((pIn<(pInLimit-1)) && (LZ4_read16(pMatch) == LZ4_read16(pIn))) { pIn+=2; pMatch+=2; } in LZ4_count()
408 if ((pIn<pInLimit) && (*pMatch == *pIn)) pIn++; in LZ4_count()
409 return (unsigned)(pIn - pStart); in LZ4_count()