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)
268 if (rand_type == TYPE_0)
285 if (rand_type != TYPE_0) {
323 if (rand_type == TYPE_0)
324 state[-1] = rand_type;
326 state[-1] = MAX_TYPES * (rptr - state) + rand_type;
328 rand_type = TYPE_0;
332 rand_type = TYPE_1;
336 rand_type
[all...]
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Drandom_r.c176 type = buf->rand_type;
266 buf->rand_type = type;
314 old_type = buf->rand_type;
327 buf->rand_type = type;
372 if (buf->rand_type == TYPE_0)
H A Dstdlib.h451 int rand_type; /* Type of random number generator. */ member in struct:random_data
/haiku/headers/posix/
H A Dstdlib.h28 int rand_type; member in struct:random_data

Completed in 87 milliseconds