Lines Matching refs:bytes_max
259 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); in file_zmagic()
496 size_t bytes_max, size_t *n) in uncompressgzipped() argument
524 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped()
531 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument
536 if ((*newch = CAST(unsigned char *, emalloc(bytes_max + 1))) == NULL) in uncompresszlib()
542 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib()
566 strlcpy(RCAST(char *, *newch), z.msg ? z.msg : zError(rc), bytes_max); in uncompresszlib()
687 uncompressbuf(int fd, size_t bytes_max, size_t method, const unsigned char *old, in uncompressbuf() argument
700 return uncompressgzipped(old, newch, bytes_max, n); in uncompressbuf()
702 return uncompresszlib(old, newch, bytes_max, n, 1); in uncompressbuf()
770 *newch = CAST(unsigned char *, malloc(bytes_max + 1)); in uncompressbuf()
777 r = sread(fdp[STDOUT_FILENO][0], *newch, bytes_max, 0); in uncompressbuf()
784 (r = sread(fdp[STDERR_FILENO][0], *newch, bytes_max, 0)) > 0) in uncompressbuf()