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

/illumos-gate/usr/src/lib/libast/common/uwin/
H A Drandom.c196 static int rand_type = TYPE_3; variable
214 if (rand_type != TYPE_0)
242 if (rand_type == TYPE_0)
243 state[-1] = rand_type;
245 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type;
253 rand_type = TYPE_0;
259 rand_type = TYPE_1;
265 rand_type = TYPE_2;
271 rand_type = TYPE_3;
277 rand_type
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Drandom.c140 int rand_type, rand_deg, rand_sep; member in struct:_randomjunk
210 if (rp->rand_type == TYPE_0) {
257 if (rp->rand_type == TYPE_0) rp->state[-1] = rp->rand_type;
259 MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type;
266 rp->rand_type = TYPE_0;
270 rp->rand_type = TYPE_1;
274 rp->rand_type = TYPE_2;
278 rp->rand_type = TYPE_3;
282 rp->rand_type
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Drandom.c157 unsigned int rand_type, rand_deg, rand_sep; member in struct:_randomjunk
240 if (rp->rand_type == TYPE_0) rp->state[ -1 ] = rp->rand_type;
242 (unsigned int)(MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type);
247 rp->rand_type = TYPE_0;
252 rp->rand_type = TYPE_1;
257 rp->rand_type = TYPE_2;
262 rp->rand_type = TYPE_3;
266 rp->rand_type = TYPE_4;
278 if (rp->rand_type
[all...]

Completed in 218 milliseconds