Home | History | Annotate | Download | only in pax

Lines Matching defs:bufpt

77 static char *bufpt;			/* read/write point in i/o buffer */
125 bufpt = buf;
166 bufpt = bufend;
247 skcnt += bufend - bufpt;
265 bufpt = buf;
267 while (bufpt < bufend) {
268 if ((res = ar_read(bufpt, rdblksz)) <= 0)
270 bufpt += res;
272 if (ar_rev((off_t)(bufpt - buf)) < 0)
274 bufpt = buf + cnt;
281 bufpt = buf;
346 bufpt = buf;
387 bufpt -= cnt;
388 memcpy(bufpt, pt, cnt);
415 res = MIN((bufend - bufpt), skcnt);
416 bufpt += res;
446 cnt = bufend - bufpt;
455 bufpt += cnt;
472 if (bufpt > buf) {
473 memset(bufpt, 0, bufend - bufpt);
474 bufpt = bufend;
500 cnt = bufend - bufpt;
507 memcpy(bufpt, out, cnt);
508 bufpt += cnt;
537 cnt = bufend - bufpt;
555 memcpy(in, bufpt, cnt);
556 bufpt += cnt;
583 cnt = bufend - bufpt;
587 memset(bufpt, 0, cnt);
588 bufpt += cnt;
633 cnt = bufend - bufpt;
639 if ((res = read_with_restart(ifd, bufpt, cnt)) <= 0)
642 bufpt += res;
716 cnt = bufend - bufpt;
725 if ((res = file_write(ofd,bufpt,cnt,&rem,&isem,sz,fnm)) <= 0) {
736 crc += *bufpt++ & 0xff;
738 bufpt += res;
897 bufpt = buf;
989 bufpt = buf + push;
995 bufpt = buf;
1006 bufpt = buf + cnt;
1008 memcpy(buf, bufpt, cnt);
1009 bufpt = buf + cnt;