Home
last modified time | relevance | path

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

/openbmc/qemu/include/qemu/
H A Dxxhash.h39 #define PRIME32_1 2654435761U macro
54 uint32_t v1 = QEMU_XXHASH_SEED + PRIME32_1 + PRIME32_2; in qemu_xxhash8()
57 uint32_t v4 = QEMU_XXHASH_SEED - PRIME32_1; in qemu_xxhash8()
68 v1 *= PRIME32_1; in qemu_xxhash8()
72 v2 *= PRIME32_1; in qemu_xxhash8()
76 v3 *= PRIME32_1; in qemu_xxhash8()
80 v4 *= PRIME32_1; in qemu_xxhash8()
/openbmc/linux/lib/
H A Dxxhash.c64 static const uint32_t PRIME32_1 = 2654435761U; variable
98 seed *= PRIME32_1; in xxh32_round()
110 uint32_t v1 = seed + PRIME32_1 + PRIME32_2; in xxh32()
113 uint32_t v4 = seed - PRIME32_1; in xxh32()
142 h32 = xxh_rotl32(h32, 11) * PRIME32_1; in xxh32()
248 state.v1 = seed + PRIME32_1 + PRIME32_2; in xxh32_reset()
251 state.v4 = seed - PRIME32_1; in xxh32_reset()
363 h32 = xxh_rotl32(h32, 11) * PRIME32_1; in xxh32_digest()