Home
last modified time | relevance | path

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

/lib/
Datomic64_test.c107 int v1 = 0xdeadbeef; in test_atomic() local
118 TEST(, or, |=, v1); in test_atomic()
119 TEST(, and, &=, v1); in test_atomic()
120 TEST(, xor, ^=, v1); in test_atomic()
121 TEST(, andnot, &= ~, v1); in test_atomic()
133 FETCH_FAMILY_TEST(, fetch_or, |=, v1); in test_atomic()
134 FETCH_FAMILY_TEST(, fetch_and, &=, v1); in test_atomic()
135 FETCH_FAMILY_TEST(, fetch_andnot, &= ~, v1); in test_atomic()
136 FETCH_FAMILY_TEST(, fetch_xor, ^=, v1); in test_atomic()
141 XCHG_FAMILY_TEST(, v0, v1); in test_atomic()
[all …]
Dxxhash.c110 uint32_t v1 = seed + PRIME32_1 + PRIME32_2; in xxh32() local
116 v1 = xxh32_round(v1, get_unaligned_le32(p)); in xxh32()
126 h32 = xxh_rotl32(v1, 1) + xxh_rotl32(v2, 7) + in xxh32()
180 uint64_t v1 = seed + PRIME64_1 + PRIME64_2; in xxh64() local
186 v1 = xxh64_round(v1, get_unaligned_le64(p)); in xxh64()
196 h64 = xxh_rotl64(v1, 1) + xxh_rotl64(v2, 7) + in xxh64()
198 h64 = xxh64_merge_round(h64, v1); in xxh64()
248 state.v1 = seed + PRIME32_1 + PRIME32_2; in xxh32_reset()
262 state.v1 = seed + PRIME64_1 + PRIME64_2; in xxh64_reset()
293 state->v1 = xxh32_round(state->v1, get_unaligned_le32(p32)); in xxh32_update()
[all …]
Dsiphash.c23 v0 += v1; v1 = rol64(v1, 13); v1 ^= v0; v0 = rol64(v0, 32); \
26 v2 += v1; v1 = rol64(v1, 17); v1 ^= v2; v2 = rol64(v2, 32); \
31 u64 v1 = 0x646f72616e646f6dULL; \
37 v1 ^= key->key[1]; \
50 return (v0 ^ v1) ^ (v2 ^ v3);
251 return (v0 ^ v1) ^ (v2 ^ v3);
394 v0 += v1; v1 = rol32(v1, 5); v1 ^= v0; v0 = rol32(v0, 16); \
397 v2 += v1; v1 = rol32(v1, 13); v1 ^= v2; v2 = rol32(v2, 16); \
402 u32 v1 = 0; \
408 v1 ^= key->key[1]; \
[all …]