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

/barrelfish-2018-10-04/lib/libc/stdlib/
H A Drandom.c197 static int rand_type = TYPE_3; variable
244 if (rand_type == TYPE_0)
275 if (rand_type == TYPE_0)
284 if (rand_type != TYPE_0) {
321 if (rand_type == TYPE_0)
322 state[-1] = rand_type;
324 state[-1] = MAX_TYPES * (rptr - state) + rand_type;
326 rand_type = TYPE_0;
330 rand_type = TYPE_1;
334 rand_type
[all...]
/barrelfish-2018-10-04/lib/posixcompat/
H A Drandom.c215 static int rand_type = TYPE_3; variable
271 if (rand_type == TYPE_0)
301 if (rand_type == TYPE_0)
323 if (rand_type != TYPE_0) {
361 if (rand_type == TYPE_0)
362 state[-1] = rand_type;
364 state[-1] = MAX_TYPES * (rptr - state) + rand_type;
371 rand_type = TYPE_0;
375 rand_type = TYPE_1;
379 rand_type
[all...]

Completed in 82 milliseconds