Searched refs:MAX_TYPES (Results 1 – 2 of 2) sorted by relevance
142 #define MAX_TYPES 5 /* Max number of types above. */ macro144 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 };243 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; in initstate()287 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; in initstate()303 register int type = new_state[0] % MAX_TYPES; in setstate()304 register int rear = new_state[0] / MAX_TYPES; in setstate()310 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; in setstate()
125 #define MAX_TYPES 5 /* max number of types above */ macro128 unsigned int degrees[MAX_TYPES];129 unsigned int seps[MAX_TYPES];240 (unsigned int)(MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type); in initstate()278 rp->state[-1] = (unsigned int)(MAX_TYPES* in initstate()309 type = new_state[0]%MAX_TYPES; in setstate()310 rear = new_state[0]/MAX_TYPES; in setstate()315 rp->state[-1] = (unsigned int)(MAX_TYPES* in setstate()