Home
last modified time | relevance | path

Searched refs:bytes_max (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/file/src/
H A Dcompress.c324 urv = uncompressbuf(fd, ms->bytes_max, i, in file_zmagic()
578 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompressgzipped() argument
612 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped()
619 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument
628 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib()
661 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompressbzlib() argument
675 bz.avail_out = CAST(unsigned int, bytes_max); in uncompressbzlib()
702 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompressxzlib() argument
716 xz.avail_out = CAST(unsigned int, bytes_max); in uncompressxzlib()
740 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompresszstd() argument
[all …]
H A Dmagic.c441 if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL) in file_or_fd()
503 CAST(size_t, ms->bytes_max - nbytes), 1)) > 0) { in file_or_fd()
523 ms->bytes_max; in file_or_fd()
666 ms->bytes_max = v; in magic_setparam()
710 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
H A Dfile.h512 size_t bytes_max; /* number of bytes to read from file */ member
H A Dapprentice.c574 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()