Lines Matching refs:rear
143 * advances the front and rear pointers 10*rand_deg times, and hence the
144 * rear pointer which starts at 0 will also end up at zero; thus the zeroeth
146 * position of the rear pointer is just
162 * fptr and rptr are two pointers into the state info, a front and a rear
171 * (The position of the rear pointer, rptr, is really 0 (as explained above
186 * the last element to see if the front and rear pointers have wrapped.
302 * multiplexed with the current value of the rear pointer; this is so
382 uint32_t rear = new_state[0] / MAX_TYPES;
385 if (type != TYPE_0 && rear >= (uint32_t)degrees[type])
396 rptr = &state[rear];
397 fptr = &state[(rear + rand_sep) % rand_deg];
409 * been set up. The basic operation is to add the number at the rear pointer
415 * rear pointers can't wrap on the same call by not testing the rear