Home
last modified time | relevance | path

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

/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/
Drandom.c249 static int rand_type = TYPE_3; variable
271 if (rand_type == TYPE_0) in srandom_unlocked()
350 if (rand_type == TYPE_0) in initstate()
351 state[-1] = rand_type; in initstate()
353 state[-1] = MAX_TYPES * (int)(rptr - state) + rand_type; in initstate()
358 rand_type = TYPE_0; in initstate()
362 rand_type = TYPE_1; in initstate()
366 rand_type = TYPE_2; in initstate()
370 rand_type = TYPE_3; in initstate()
374 rand_type = TYPE_4; in initstate()
[all …]