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

/ast/src/lib/libast/uwin/
H A Drandom.c142 #define MAX_TYPES 5 /* Max number of types above. */ macro
144 static int degrees[MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 };
145 static int seps[MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 };
156 (MAX_TYPES * (rptr - state)) + TYPE_3 == TYPE_3. */
245 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type;
289 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type;
306 register int type = new_state[0] % MAX_TYPES;
307 register int rear = new_state[0] / MAX_TYPES;
313 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type;

Completed in 8 milliseconds