Home
last modified time | relevance | path

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

/haiku/src/system/libroot/posix/stdlib/
H A Drandom.c101 #define TYPE_0 0 /* linear congruential */ macro
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()
328 rand_type = TYPE_0; in initstate()
351 if (rand_type == TYPE_0) in initstate()
385 if (type != TYPE_0 && rear >= (uint32_t)degrees[type]) in setstate()
387 if (rand_type == TYPE_0) in setstate()
395 if (rand_type != TYPE_0) { in setstate()
[all …]
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Drandom_r.c103 #define TYPE_0 0 macro
184 if (type == TYPE_0)
256 type = TYPE_0;
275 state[-1] = TYPE_0;
276 if (type != TYPE_0)
313 if (old_type == TYPE_0)
314 old_state[-1] = TYPE_0;
319 if (type < TYPE_0 || type > TYPE_4)
326 if (type != TYPE_0)
368 if (buf->rand_type == TYPE_0)