Lines Matching defs:rsmax
97 static int rscnt, rsmax; /* 0..rscnt-1: currently under consideration */
98 /* rscnt..rsmax: discarded */
243 rsmax = 1;
245 rscnt = rsmax;
276 rs[rsmax] = *rsp;
278 rs[rscnt] = rs[rsmax];
310 /* walk down since rscnt and rsmax change */
311 for (rsp = &rs[rsmax - 1]; rsp >= rs; rsp--) {
317 *rsp = rs[--rsmax];
319 rsmax--;
322 if (rscnt != rsmax)
323 rs[rscnt] = rs[rsmax];
343 for (rsp = rs; rsp < &rs[rsmax]; rsp++) {
350 if (rsmax >= MAXRS) {
357 rsmax++;