Lines Matching refs:bytes_max
179 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); in file_zmagic()
415 size_t bytes_max, size_t *n) in uncompressgzipped() argument
443 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped()
450 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument
455 if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL) in uncompresszlib()
461 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib()
485 strlcpy((char *)*newch, z.msg ? z.msg : zError(rc), bytes_max); in uncompresszlib()
616 uncompressbuf(int fd, size_t bytes_max, size_t method, const unsigned char *old, in uncompressbuf() argument
627 return uncompressgzipped(old, newch, bytes_max, n); in uncompressbuf()
629 return uncompresszlib(old, newch, bytes_max, n, 1); in uncompressbuf()
672 *newch = CAST(unsigned char *, malloc(bytes_max + 1)); in uncompressbuf()
679 if ((r = sread(fdp[STDOUT_FILENO][0], *newch, bytes_max, 0)) > 0) in uncompressbuf()
686 (r = sread(fdp[STDERR_FILENO][0], *newch, bytes_max, 0)) > 0) in uncompressbuf()