Searched refs:rand_type (Results 1 – 3 of 3) sorted by relevance
196 static int rand_type = TYPE_3; variable213 if (rand_type != TYPE_0) in srandom()240 if (rand_type == TYPE_0) in initstate()241 state[-1] = rand_type; in initstate()243 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; in initstate()251 rand_type = TYPE_0; in initstate()257 rand_type = TYPE_1; in initstate()263 rand_type = TYPE_2; in initstate()269 rand_type = TYPE_3; in initstate()275 rand_type = TYPE_4; in initstate()[all …]
140 int rand_type, rand_deg, rand_sep; member210 if (rp->rand_type == TYPE_0) { in srandom()257 if (rp->rand_type == TYPE_0) rp->state[-1] = rp->rand_type; in initstate()259 MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type; in initstate()266 rp->rand_type = TYPE_0; in initstate()270 rp->rand_type = TYPE_1; in initstate()274 rp->rand_type = TYPE_2; in initstate()278 rp->rand_type = TYPE_3; in initstate()282 rp->rand_type = TYPE_4; in initstate()289 rp->state[-1] = (rp->rand_type == TYPE_0) ? rp->rand_type in initstate()[all …]
157 unsigned int rand_type, rand_deg, rand_sep; member240 if (rp->rand_type == TYPE_0) rp->state[ -1 ] = rp->rand_type; in initstate()242 (unsigned int)(MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type); in initstate()247 rp->rand_type = TYPE_0; in initstate()252 rp->rand_type = TYPE_1; in initstate()257 rp->rand_type = TYPE_2; in initstate()262 rp->rand_type = TYPE_3; in initstate()266 rp->rand_type = TYPE_4; in initstate()278 if (rp->rand_type == TYPE_0) rp->state[ -1 ] = rp->rand_type; in initstate()281 (rp->rptr - rp->state) + rp->rand_type); in initstate()[all …]