Lines Matching refs:rdcount
301 int fd, here = 0, rdcount = 0, *rd = 0, *rr, hfd = 0; in run_command() local
347 if (!(rdcount&31)) { in run_command()
349 rd = xrealloc(rd, (2*rdcount+3+2*32)*sizeof(int *)); in run_command()
352 rr = rd+3+rdcount; in run_command()
384 rdcount++; in run_command()
403 rdcount++; in run_command()
422 rdcount++; in run_command()
451 rdcount++; in run_command()
455 if (!(31&++rdcount)) rd = xrealloc(rd, (2*rdcount+66)*sizeof(int *)); in run_command()
456 rr = rd+3+rdcount; in run_command()
459 rdcount++; in run_command()
462 if (rd) rd[2] = rdcount; in run_command()
512 for (j = 0; j<rdcount; j++) if (rd[4+2*j]>6) close(rd[4+2*j]>>1); in run_command()
513 if (rdcount) free(dlist_lpop((void *)rdlist)); in run_command()