Searched refs:bytes_max (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/file/src/ |
H A D | compress.c | 311 urv = uncompressbuf(fd, ms->bytes_max, i, in file_zmagic() 599 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped() 606 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument 615 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib() 662 bz.avail_out = CAST(unsigned int, bytes_max); in uncompressbzlib() 703 xz.avail_out = CAST(unsigned int, bytes_max); in uncompressxzlib() 748 out.size = bytes_max; in uncompresszstd() 776 size_t new_remaining = bytes_max; in uncompresslzlib() 1065 *newch = CAST(unsigned char *, malloc(bytes_max + 1)); in uncompressbuf() 1074 return (*decompress)(old, newch, bytes_max, n, 1); in uncompressbuf() [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() 638 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam() 677 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
|
H A D | file.h | 491 size_t bytes_max; /* number of bytes to read from file */ member
|
H A D | apprentice.c | 584 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()
|