Home
last modified time | relevance | path

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

/external/fio/crc/
Dxxhash.c100 # define XXH_rotl32(x,r) _rotl(x,r) macro
102 # define XXH_rotl32(x,r) ((x << r) | (x >> (32 - r))) macro
185 …XH_readLE32_align((const uint32_t*)p, endian, align) * PRIME32_2; v1 = XXH_rotl32(v1, 13); v1 *= P… in XXH32_endian_align()
186 …XH_readLE32_align((const uint32_t*)p, endian, align) * PRIME32_2; v2 = XXH_rotl32(v2, 13); v2 *= P… in XXH32_endian_align()
187 …XH_readLE32_align((const uint32_t*)p, endian, align) * PRIME32_2; v3 = XXH_rotl32(v3, 13); v3 *= P… in XXH32_endian_align()
188 …XH_readLE32_align((const uint32_t*)p, endian, align) * PRIME32_2; v4 = XXH_rotl32(v4, 13); v4 *= P… in XXH32_endian_align()
191 h32 = XXH_rotl32(v1, 1) + XXH_rotl32(v2, 7) + XXH_rotl32(v3, 12) + XXH_rotl32(v4, 18); in XXH32_endian_align()
203 h32 = XXH_rotl32(h32, 17) * PRIME32_4 ; in XXH32_endian_align()
210 h32 = XXH_rotl32(h32, 11) * PRIME32_1 ; in XXH32_endian_align()
309 …state->v1 += XXH_readLE32(p32, endian) * PRIME32_2; state->v1 = XXH_rotl32(state->v1, 13); state->… in XXH32_update_endian()
[all …]
/external/lz4/lib/
Dxxhash.c159 # define XXH_rotl32(x,r) _rotl(x,r) macro
162 # define XXH_rotl32(x,r) ((x << r) | (x >> (32 - r))) macro
287 v1 = XXH_rotl32(v1, 13); in XXH32_endian_align()
291 v2 = XXH_rotl32(v2, 13); in XXH32_endian_align()
295 v3 = XXH_rotl32(v3, 13); in XXH32_endian_align()
299 v4 = XXH_rotl32(v4, 13); in XXH32_endian_align()
305 h32 = XXH_rotl32(v1, 1) + XXH_rotl32(v2, 7) + XXH_rotl32(v3, 12) + XXH_rotl32(v4, 18); in XXH32_endian_align()
317 h32 = XXH_rotl32(h32, 17) * PRIME32_4 ; in XXH32_endian_align()
324 h32 = XXH_rotl32(h32, 11) * PRIME32_1 ; in XXH32_endian_align()
613 state->v1 = XXH_rotl32(state->v1, 13); in XXH32_update_endian()
[all …]