Searched refs:randnum (Results 1 – 1 of 1) sorted by relevance
64 randint randnum; member75 s->randnum = s->randmax = 0; in randint_new()117 randint randnum = s->randnum; in randint_genmax() local130 unsigned char buf[sizeof randnum]; in randint_genmax()152 randnum = shift_left (randnum) + buf[i]; in randint_genmax()161 s->randnum = s->randmax = 0; in randint_genmax()162 return randnum; in randint_genmax()179 randint reduced_randnum = randnum % choices; in randint_genmax()181 if (randnum <= last_usable_choice) in randint_genmax()183 s->randnum = randnum / choices; in randint_genmax()[all …]