Lines Matching refs:a

54 #define IF32(a, b) (ISAAC_BITS == 32 ? (a) : (b))  argument
60 just (isaac_word a) in just() argument
63 return a & desired_bits; in just()
93 isaac_word a = s->a; in isaac_refill() local
110 a = (IF32 (a, 0) ^ (mix)) + m[off + (i)]; \ in isaac_refill()
112 m[i] = y = ind (s->m, x) + a + b; \ in isaac_refill()
118 ISAAC_STEP (0, HALF, IF32 ( a << 13, ~ (a ^ (a << 21)))); in isaac_refill()
119 ISAAC_STEP (1, HALF, IF32 (just (a) >> 6, a ^ (just (a) >> 5))); in isaac_refill()
120 ISAAC_STEP (2, HALF, IF32 ( a << 2, a ^ ( a << 12))); in isaac_refill()
121 ISAAC_STEP (3, HALF, IF32 (just (a) >> 16, a ^ (just (a) >> 33))); in isaac_refill()
128 ISAAC_STEP (0, -HALF, IF32 ( a << 13, ~ (a ^ (a << 21)))); in isaac_refill()
129 ISAAC_STEP (1, -HALF, IF32 (just (a) >> 6, a ^ (just (a) >> 5))); in isaac_refill()
130 ISAAC_STEP (2, -HALF, IF32 ( a << 2, a ^ ( a << 12))); in isaac_refill()
131 ISAAC_STEP (3, -HALF, IF32 (just (a) >> 16, a ^ (just (a) >> 33))); in isaac_refill()
136 s->a = a; in isaac_refill()
145 #define mix(a, b, c, d, e, f, g, h) \ argument
147 a ^= b << 11; d += a; \
152 f += g; f ^= just (g) >> 4; a += f; \
154 h += a; h ^= just (a) >> 9; c += h; \
155 a += b; \
158 #define mix(a, b, c, d, e, f, g, h) \ argument
160 a -= e; f ^= just (h) >> 9; h += a; \
161 b -= f; g ^= a << 9; a += b; \
163 d -= h; a ^= c << 15; c += d; \
164 e -= a; b ^= just (d) >> 14; d += e; \
173 #define ISAAC_MIX(s, a, b, c, d, e, f, g, h, seed) \ argument
179 a += seed[i]; \
187 mix (a, b, c, d, e, f, g, h); \
188 s->m[i] = a; \
212 isaac_word a, b, c, d, e, f, g, h;
214 a = b = c = d = e = f = g = h = /* the golden ratio */
217 mix (a, b, c, d, e, f, g, h);
218 s->a = s->b = s->c = 0;
223 ISAAC_MIX (s, a, b, c, d, e, f, g, h, seed);
230 ISAAC_MIX (s, a, b, c, d, e, f, g, h, s->m);
241 ISAAC_MIX (s, a, b, c, d, e, f, g, h, s->m);
250 isaac_word a = IF32 (UINT32_C (0x1367df5a), UINT64_C (0x647c4677a2884b7c)); in isaac_seed() local
261 a = b = c = d = e = f = g = h = /* the golden ratio */ in isaac_seed()
264 mix (a, b, c, d, e, f, g, h); in isaac_seed()
269 ISAAC_MIX (s, a, b, c, d, e, f, g, h, s->m); in isaac_seed()
270 ISAAC_MIX (s, a, b, c, d, e, f, g, h, s->m); in isaac_seed()
272 s->a = s->b = s->c = 0; in isaac_seed()