Home
last modified time | relevance | path

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

/lz4-3.4.0-2.7.6/lib/
Dlz4hc.c162 static U32 LZ4HC_rotatePattern(size_t const rotate, U32 const pattern) in LZ4HC_rotatePattern() argument
164 size_t const bitsToRotate = (rotate & (sizeof(pattern) - 1)) << 3; in LZ4HC_rotatePattern()
165 if (bitsToRotate == 0) return pattern; in LZ4HC_rotatePattern()
166 return LZ4HC_rotl32(pattern, (int)bitsToRotate); in LZ4HC_rotatePattern()
175 reg_t const pattern = (sizeof(pattern)==8) ? in LZ4HC_countPattern() local
176 (reg_t)pattern32 + (((reg_t)pattern32) << (sizeof(pattern)*4)) : pattern32; in LZ4HC_countPattern()
178 while (likely(ip < iEnd-(sizeof(pattern)-1))) { in LZ4HC_countPattern()
179 reg_t const diff = LZ4_read_ARCH(ip) ^ pattern; in LZ4HC_countPattern()
180 if (!diff) { ip+=sizeof(pattern); continue; } in LZ4HC_countPattern()
186 reg_t patternByte = pattern; in LZ4HC_countPattern()
[all …]