Lines Matching refs:rear
134 * fptr and rptr are two pointers into the state info, a front and a rear
140 * (The position of the rear pointer, rptr, is really 0 (as explained above
154 * the front and rear pointers have wrapped.
164 * that srandom() advances the front and rear pointers 10*rand_deg
165 * times, and hence the rear pointer which starts at 0 will also
168 * position of the rear pointer is just
213 * multiplexed with the current value of the rear pointer; this is so
305 unsigned int rear;
312 rear = new_state[0]/MAX_TYPES;
335 rp->rptr = &rp->state[ rear ];
336 rp->fptr = &rp->state[ (rear + rp->rand_sep)%rp->rand_deg ];
349 * set up. The basic operation is to add the number at the rear pointer into
354 * rear pointers can't wrap on the same call by not testing the rear