Lines Matching refs:seed
64 static uint32_t xxh32_round(uint32_t seed, const uint32_t input) in xxh32_round() argument
66 seed += input * PRIME32_2; in xxh32_round()
67 seed = xxh_rotl32(seed, 13); in xxh32_round()
68 seed *= PRIME32_1; in xxh32_round()
69 return seed; in xxh32_round()
72 uint32_t xxh32(const void *input, const size_t len, const uint32_t seed) in xxh32() argument
80 uint32_t v1 = seed + PRIME32_1 + PRIME32_2; in xxh32()
81 uint32_t v2 = seed + PRIME32_2; in xxh32()
82 uint32_t v3 = seed + 0; in xxh32()
83 uint32_t v4 = seed - PRIME32_1; in xxh32()
99 h32 = seed + PRIME32_5; in xxh32()
142 uint64_t xxh64(const void *input, const size_t len, const uint64_t seed) in xxh64() argument
150 uint64_t v1 = seed + PRIME64_1 + PRIME64_2; in xxh64()
151 uint64_t v2 = seed + PRIME64_2; in xxh64()
152 uint64_t v3 = seed + 0; in xxh64()
153 uint64_t v4 = seed - PRIME64_1; in xxh64()
174 h64 = seed + PRIME64_5; in xxh64()
212 void xxh32_reset(struct xxh32_state *statePtr, const uint32_t seed) in xxh32_reset() argument
218 state.v1 = seed + PRIME32_1 + PRIME32_2; in xxh32_reset()
219 state.v2 = seed + PRIME32_2; in xxh32_reset()
220 state.v3 = seed + 0; in xxh32_reset()
221 state.v4 = seed - PRIME32_1; in xxh32_reset()
226 void xxh64_reset(struct xxh64_state *statePtr, const uint64_t seed) in xxh64_reset() argument
232 state.v1 = seed + PRIME64_1 + PRIME64_2; in xxh64_reset()
233 state.v2 = seed + PRIME64_2; in xxh64_reset()
234 state.v3 = seed + 0; in xxh64_reset()
235 state.v4 = seed - PRIME64_1; in xxh64_reset()