Lines Matching refs:BUFLEN
125 #define BUFLEN (64 * 1024) macro
570 outbufp = malloc(BUFLEN); in gz_compress()
571 inbufp = malloc(BUFLEN); in gz_compress()
587 i = snprintf(outbufp, BUFLEN, "%c%c%c%c%c%c%c%c%c%c%s", in gz_compress()
596 if (i >= BUFLEN) in gz_compress()
603 z.avail_out = BUFLEN - i; in gz_compress()
616 if (write_retry(out, outbufp, BUFLEN) != BUFLEN) { in gz_compress()
622 out_tot += BUFLEN; in gz_compress()
624 z.avail_out = BUFLEN; in gz_compress()
628 in_size = read(in, inbufp, BUFLEN); in gz_compress()
674 z.avail_out = BUFLEN; in gz_compress()
686 i = snprintf(outbufp, BUFLEN, "%c%c%c%c%c%c%c%c", in gz_compress()
752 if ((outbufp = malloc(BUFLEN)) == NULL) { in gz_uncompress()
756 if ((inbufp = malloc(BUFLEN)) == NULL) { in gz_uncompress()
764 z.avail_out = BUFLEN; in gz_uncompress()
783 BUFLEN - z.avail_in); in gz_uncompress()
955 wr = BUFLEN - z.avail_out; in gz_uncompress()
977 z.avail_out = BUFLEN; in gz_uncompress()
1710 char buf[BUFLEN]; in cat_fd()