Lines Matching refs:seed
79 static uint32_t xxh32_round(uint32_t seed, const uint32_t input) in xxh32_round() argument
81 seed += input * PRIME32_2; in xxh32_round()
82 seed = xxh_rotl32(seed, 13); in xxh32_round()
83 seed *= PRIME32_1; in xxh32_round()
84 return seed; in xxh32_round()
87 uint32_t xxh32(const void *input, const size_t len, const uint32_t seed) in xxh32() argument
95 uint32_t v1 = seed + PRIME32_1 + PRIME32_2; in xxh32()
96 uint32_t v2 = seed + PRIME32_2; in xxh32()
97 uint32_t v3 = seed + 0; in xxh32()
98 uint32_t v4 = seed - PRIME32_1; in xxh32()
114 h32 = seed + PRIME32_5; in xxh32()
157 uint64_t xxh64(const void *input, const size_t len, const uint64_t seed) in xxh64() argument
165 uint64_t v1 = seed + PRIME64_1 + PRIME64_2; in xxh64()
166 uint64_t v2 = seed + PRIME64_2; in xxh64()
167 uint64_t v3 = seed + 0; in xxh64()
168 uint64_t v4 = seed - PRIME64_1; in xxh64()
189 h64 = seed + PRIME64_5; in xxh64()
227 void xxh64_reset(struct xxh64_state *statePtr, const uint64_t seed) in xxh64_reset() argument
233 state.v1 = seed + PRIME64_1 + PRIME64_2; in xxh64_reset()
234 state.v2 = seed + PRIME64_2; in xxh64_reset()
235 state.v3 = seed + 0; in xxh64_reset()
236 state.v4 = seed - PRIME64_1; in xxh64_reset()