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)
268 if (rand_type == TYPE_0)
285 if (rand_type != TYPE_0) {
323 if (rand_type == TYPE_0)
328 rand_type = TYPE_0;
351 if (rand_type == TYPE_0)
385 if (type != TYPE_0 && rear >= (uint32_t)degrees[type])
387 if (rand_type == TYPE_0)
395 if (rand_type != TYPE_0) {
[all...]
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Drandom_r.c103 #define TYPE_0 0 macro
185 if (type == TYPE_0)
258 type = TYPE_0;
277 state[-1] = TYPE_0;
278 if (type != TYPE_0)
316 if (old_type == TYPE_0)
317 old_state[-1] = TYPE_0;
322 if (type < TYPE_0 || type > TYPE_4)
329 if (type != TYPE_0)
349 /* If we are using the trivial TYPE_0
[all...]

Completed in 87 milliseconds