Lines Matching defs:res
204 int res;
254 if ((res = ar_read(bufpt, rdblksz)) <= 0)
256 bufpt += res;
304 int res;
327 if ((res = ar_read(buf, blksz)) > 0) {
332 bufend = buf + res;
333 rdcnt += res;
387 off_t res;
399 res = MIN((bufend - bufpt), skcnt);
400 bufpt += res;
401 skcnt -= res;
413 res = skcnt%rdblksz;
422 res += cnt - skipped;
429 while (res > 0L) {
438 cnt = MIN(cnt, res);
440 res -= cnt;
513 int res;
529 if ((res = cpcnt - incnt) > 0)
530 return(res);
600 int res = 0;
614 if ((res = read(ifd, bufpt, cnt)) <= 0)
616 size -= res;
617 bufpt += res;
624 if (res < 0)
662 int res = 0;
697 if ((res = file_write(ofd,bufpt,cnt,&rem,&isem,sz,fnm)) <= 0) {
706 cnt = res;
710 bufpt += res;
711 size -= res;
750 int res = 0;
783 res = write(fd2, buf, cnt);
785 res = file_write(fd2, buf, cnt, &rem, &isem, sz, fnm);
786 if (res != cnt)
794 if (res < 0)