Searched refs:bytes_max (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/file/src/ |
H A D | compress.c | 325 urv = uncompressbuf(fd, ms->bytes_max, i, in file_zmagic() 579 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompressgzipped() argument 613 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped() 620 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument 629 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib() 662 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompressbzlib() argument 676 bz.avail_out = CAST(unsigned int, bytes_max); in uncompressbzlib() 703 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompressxzlib() argument 717 xz.avail_out = CAST(unsigned int, bytes_max); in uncompressxzlib() 741 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompresszstd() argument [all …]
|
H A D | magic.c | 439 if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL) in file_or_fd() 501 CAST(size_t, ms->bytes_max - nbytes), 1)) > 0) { in file_or_fd() 521 ms->bytes_max; in file_or_fd() 639 ms->bytes_max = v; in magic_setparam() 681 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
|
H A D | file.h | 505 size_t bytes_max; /* number of bytes to read from file */ member
|
H A D | apprentice.c | 587 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()
|