Home
last modified time | relevance | path

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

/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/
Drandom.c172 #define MAX_TYPES 5 /* max number of types above */ macro
174 static const int degrees[MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 };
175 static const int seps[MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 };
353 state[-1] = MAX_TYPES * (int)(rptr - state) + rand_type; in initstate()
384 int_arg_state[0] = MAX_TYPES * (int)(rptr - state) + rand_type; in initstate()
419 type = (int)(new_state[0] % MAX_TYPES); in setstate()
420 rear = (int)(new_state[0] / MAX_TYPES); in setstate()
426 state[-1] = MAX_TYPES * (int)(rptr - state) + rand_type; in setstate()