Searched defs:rand_deg (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Drandom.c140 int rand_type, rand_deg, rand_sep; member in struct:_randomjunk
147 * that srandom() advances the front and rear pointers 10*rand_deg
214 for (i = 1; i < rp->rand_deg; i++) {
219 for (i = 0; i < 10 * rp->rand_deg; i++)
267 rp->rand_deg = DEG_0;
271 rp->rand_deg = DEG_1;
275 rp->rand_deg = DEG_2;
279 rp->rand_deg = DEG_3;
283 rp->rand_deg = DEG_4;
287 rp->end_ptr = &rp->state[rp->rand_deg]; /* se
[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
164 * that srandom() advances the front and rear pointers 10*rand_deg
248 rp->rand_deg = DEG_0;
253 rp->rand_deg = DEG_1;
258 rp->rand_deg = DEG_2;
263 rp->rand_deg = DEG_3;
267 rp->rand_deg = DEG_4;
276 rp->end_ptr = &rp->state[rp->rand_deg];
326 rp->rand_deg = rp->degrees[ type ];
336 rp->fptr = &rp->state[ (rear + rp->rand_sep)%rp->rand_deg ];
[all...]
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Drandom.c152 advances the front and rear pointers 10*rand_deg times, and hence the
197 static int rand_deg = DEG_3; variable
217 for (i = 1; i < rand_deg; ++i)
221 for (i = 0; i < 10 * rand_deg; ++i)
254 rand_deg = DEG_0;
260 rand_deg = DEG_1;
266 rand_deg = DEG_2;
272 rand_deg = DEG_3;
278 rand_deg = DEG_4;
284 end_ptr = &state[rand_deg];
[all...]

Completed in 56 milliseconds