Home
last modified time | relevance | path

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

/haiku/src/system/libroot/posix/stdlib/
H A Drandom.c189 static int rand_type = TYPE_3; variable
236 if (rand_type == TYPE_0) in srandom()
268 if (rand_type == TYPE_0)
285 if (rand_type != TYPE_0) {
323 if (rand_type == TYPE_0) in initstate()
324 state[-1] = rand_type; in initstate()
326 state[-1] = MAX_TYPES * (rptr - state) + rand_type; in initstate()
328 rand_type = TYPE_0; in initstate()
332 rand_type = TYPE_1; in initstate()
336 rand_type = TYPE_2; in initstate()
[all …]
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Drandom_r.c175 type = buf->rand_type;
264 buf->rand_type = type;
311 old_type = buf->rand_type;
324 buf->rand_type = type;
368 if (buf->rand_type == TYPE_0)
H A Dstdlib.h451 int rand_type; /* Type of random number generator. */ member
/haiku/headers/posix/
H A Dstdlib.h28 int rand_type; member