Lines Matching full:random
2 * util/random.h - thread safe random generator, which is reasonably secure.
41 * Thread safe random functions. Similar to arc4random() with an explicit
46 * random state structure.
51 * Initialize a random generator state for use
52 * @param from: if not NULL, the seed is taken from this random structure.
53 * can be used to seed random states via a parent-random-state that
60 * Generate next random number from the state passed along.
61 * Thread safe, so random numbers are repeatable.
63 * @return: random 31 bit value.
68 * Generate random number between 0 and x-1. No modulo bias.
71 * @return: random value between 0..x-1. Possibly more than one
72 * random number is picked from the random stream to satisfy this.
77 * Delete the random state.