Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Drandom.c198 static int rand_sep = SEP_3; variable
218 fptr = &state[rand_sep]; in srandom()
253 rand_sep = SEP_0; in initstate()
259 rand_sep = SEP_1; in initstate()
265 rand_sep = SEP_2; in initstate()
271 rand_sep = SEP_3; in initstate()
277 rand_sep = SEP_4; in initstate()
321 rand_sep = seps[type]; in setstate()
333 fptr = &state[(rear + rand_sep) % rand_deg]; in setstate()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Drandom.c155 unsigned int rand_type, rand_deg, rand_sep; member
247 rp->rand_sep = SEP_0; in initstate()
252 rp->rand_sep = SEP_1; in initstate()
257 rp->rand_sep = SEP_2; in initstate()
262 rp->rand_sep = SEP_3; in initstate()
266 rp->rand_sep = SEP_4; in initstate()
325 rp->rand_sep = rp->seps[ type ]; in setstate()
334 rp->fptr = &rp->state[ (rear + rp->rand_sep)%rp->rand_deg ]; in setstate()
408 rp->fptr = &rp->state[ rp->rand_sep ]; in srandom()