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

/linux-master/lib/lz4/
H A Dlz4defs.h196 const BYTE *pIn,
200 const BYTE *const pStart = pIn;
202 while (likely(pIn < pInLimit - (STEPSIZE - 1))) {
203 size_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn);
206 pIn += STEPSIZE;
211 pIn += LZ4_NbCommonBytes(diff);
213 return (unsigned int)(pIn - pStart);
217 if ((pIn < (pInLimit - 3))
218 && (LZ4_read32(pMatch) == LZ4_read32(pIn))) {
219 pIn
195 LZ4_count( const BYTE *pIn, const BYTE *pMatch, const BYTE *pInLimit) argument
[all...]
/linux-master/lib/zstd/compress/
H A Dzstd_compress_internal.h741 MEM_STATIC size_t ZSTD_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* const pInLimit) argument
743 const BYTE* const pStart = pIn;
746 if (pIn < pInLoopLimit) {
747 { size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn);
749 pIn+=sizeof(size_t); pMatch+=sizeof(size_t);
750 while (pIn < pInLoopLimit) {
751 size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn);
752 if (!diff) { pIn+=sizeof(size_t); pMatch+=sizeof(size_t); continue; }
753 pIn += ZSTD_NbCommonBytes(diff);
754 return (size_t)(pIn
[all...]
H A Dzstd_ldm.c193 * Returns the number of bytes that match backwards before pIn and pMatch.
195 * We count only bytes where pMatch >= pBase and pIn >= pAnchor. */
197 const BYTE* pIn, const BYTE* pAnchor,
201 while (pIn > pAnchor && pMatch > pMatchBase && pIn[-1] == pMatch[-1]) {
202 pIn--;
215 const BYTE* pIn, const BYTE* pAnchor,
219 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase);
225 matchLength += ZSTD_ldm_countBackwardsMatch(pIn - matchLength, pAnchor, pExtDictEnd, pExtDictStart);
196 ZSTD_ldm_countBackwardsMatch( const BYTE* pIn, const BYTE* pAnchor, const BYTE* pMatch, const BYTE* pMatchBase) argument
214 ZSTD_ldm_countBackwardsMatch_2segments( const BYTE* pIn, const BYTE* pAnchor, const BYTE* pMatch, const BYTE* pMatchBase, const BYTE* pExtDictStart, const BYTE* pExtDictEnd) argument

Completed in 189 milliseconds