Home
last modified time | relevance | path

Searched refs:ISAAC_WORDS (Results 1 – 4 of 4) sorted by relevance

/coreutils/gl/lib/
Drand-isaac.h50 #define ISAAC_WORDS (1 << ISAAC_WORDS_LOG) macro
51 #define ISAAC_BYTES (ISAAC_WORDS * sizeof (isaac_word))
58 isaac_word m[ISAAC_WORDS]; /* Main state array */
63 void isaac_refill (struct isaac_state *, isaac_word[ISAAC_WORDS])
Drand-isaac.c77 void const *word_p = base_p + (x & ((ISAAC_WORDS - 1) * sizeof *m)); in ind()
84 return m[(x / (ISAAC_BITS / CHAR_BIT)) & (ISAAC_WORDS - 1)]; in ind()
90 isaac_refill (struct isaac_state *s, isaac_word result[ISAAC_WORDS]) in isaac_refill() argument
100 enum { HALF = ISAAC_WORDS / 2 }; in isaac_refill()
134 while ((m += 4) < s->m + ISAAC_WORDS); in isaac_refill()
177 for (i = 0; i < ISAAC_WORDS; i += 8) \
227 seed += ISAAC_WORDS;
228 for (i = 0; i < ISAAC_WORDS; i++)
236 for (i = 0; i < ISAAC_WORDS; i++)
Drandread.c94 isaac_word w[ISAAC_WORDS];
280 wp += ISAAC_WORDS; in readisaac()
/coreutils/gl/tests/
Dtest-rand-isaac.c36 static isaac_word const expected[2][ISAAC_WORDS] =
567 isaac_word r[ISAAC_WORDS]; in main()