Lines Matching refs:rp
94 * all following points (ending at index rp). The initial point
99 int search(int rp, int j, int s0, int s1, int sign, struct _seg *answer)
103 for (n=next_up(j); n!=next_up(rp); n=next_up(n)) {
113 slope*(d_ring[rp].absolute - d_ring[n].absolute);
200 static int rp=0, valid=0;
213 d_ring[rp].absolute = absolute;
214 d_ring[rp].skew = skew;
215 d_ring[rp].errorbar = errorbar - 800.0; /* quick hack to speed things up */
216 d_ring[rp].freq = freq;
224 for (j=rp; ; j=n) {
230 if (n == rp) break;
244 for (c=1, j=next_up(rp); ; j=nextj) {
245 nextj = search(rp, j, 1, 1, 0, &maxseg[c]);
246 search(rp, j, 0, 1, 1, &check);
253 if (nextj == rp) break;
264 for (c=1, j=next_up(rp); ; j=nextj) {
265 nextj = search(rp, j, 0, 0, 1, &minseg[c]);
266 search(rp, j, 1, 0, 0, &check);
273 if (nextj == rp) break;
340 rp = (rp+1)%RING_SIZE;