Home
last modified time | relevance | path

Searched refs:pMatch (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/lib/lz4/
H A Dlz4defs.h195 const BYTE *pMatch, in LZ4_count()
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()
193 LZ4_count( const BYTE *pIn, const BYTE *pMatch, const BYTE *pInLimit) LZ4_count() argument
/kernel/linux/linux-6.6/lib/lz4/
H A Dlz4defs.h197 const BYTE *pMatch, in LZ4_count()
203 size_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count()
207 pMatch += STEPSIZE; in LZ4_count()
218 && (LZ4_read32(pMatch) == LZ4_read32(pIn))) { in LZ4_count()
220 pMatch += 4; in LZ4_count()
225 && (LZ4_read16(pMatch) == LZ4_read16(pIn))) { in LZ4_count()
227 pMatch += 2; in LZ4_count()
230 if ((pIn < pInLimit) && (*pMatch == *pIn)) in LZ4_count()
195 LZ4_count( const BYTE *pIn, const BYTE *pMatch, const BYTE *pInLimit) LZ4_count() argument
/kernel/linux/linux-6.6/lib/zstd/compress/
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. */
198 const BYTE* pMatch, const BYTE* pMatchBase) in ZSTD_ldm_countBackwardsMatch()
201 while (pIn > pAnchor && pMatch > pMatchBase && pIn[-1] == pMatch[-1]) { in ZSTD_ldm_countBackwardsMatch()
203 pMatch--; in ZSTD_ldm_countBackwardsMatch()
210 * Returns the number of bytes that match backwards from pMatch,
216 const BYTE* pMatch, const BYTE* pMatchBase, in ZSTD_ldm_countBackwardsMatch_2segments()
219 size_t matchLength = ZSTD_ldm_countBackwardsMatch(pIn, pAnchor, pMatch, pMatchBase); in ZSTD_ldm_countBackwardsMatch_2segments()
220 if (pMatch in ZSTD_ldm_countBackwardsMatch_2segments()
196 ZSTD_ldm_countBackwardsMatch( const BYTE* pIn, const BYTE* pAnchor, const BYTE* pMatch, const BYTE* pMatchBase) ZSTD_ldm_countBackwardsMatch() argument
214 ZSTD_ldm_countBackwardsMatch_2segments( const BYTE* pIn, const BYTE* pAnchor, const BYTE* pMatch, const BYTE* pMatchBase, const BYTE* pExtDictStart, const BYTE* pExtDictEnd) ZSTD_ldm_countBackwardsMatch_2segments() argument
412 BYTE const* const pMatch = curMatchBase + cur->offset; ZSTD_ldm_generateSequences_internal() local
425 BYTE const* const pMatch = base + cur->offset; ZSTD_ldm_generateSequences_internal() local
[all...]
H A Dzstd_compress_internal.h741 MEM_STATIC size_t ZSTD_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* const pInLimit) in ZSTD_count() argument
747 { size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count()
749 pIn+=sizeof(size_t); pMatch+=sizeof(size_t); in ZSTD_count()
751 size_t const diff = MEM_readST(pMatch) ^ MEM_readST(pIn); in ZSTD_count()
752 if (!diff) { pIn+=sizeof(size_t); pMatch+=sizeof(size_t); continue; } in ZSTD_count()
756 if (MEM_64bits() && (pIn<(pInLimit-3)) && (MEM_read32(pMatch) == MEM_read32(pIn))) { pIn+=4; pMatch+=4; } in ZSTD_count()
757 if ((pIn<(pInLimit-1)) && (MEM_read16(pMatch) == MEM_read16(pIn))) { pIn+=2; pMatch+=2; } in ZSTD_count()
758 if ((pIn<pInLimit) && (*pMatch in ZSTD_count()
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A 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()

Completed in 11 milliseconds