Searched refs:bytes_max (Results 1 – 4 of 4) sorted by relevance
| /netbsd/src/external/bsd/file/dist/src/ |
| D | compress.c | 317 urv = uncompressbuf(fd, ms->bytes_max, i, in file_zmagic() 571 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompressgzipped() argument 605 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped() 612 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument 621 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib() 654 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompressbzlib() argument 668 bz.avail_out = CAST(unsigned int, bytes_max); in uncompressbzlib() 695 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompressxzlib() argument 709 xz.avail_out = CAST(unsigned int, bytes_max); in uncompressxzlib() 733 size_t bytes_max, size_t *n, int extra __attribute__((__unused__))) in uncompresszstd() argument [all …]
|
| D | magic.c | 445 if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL) in file_or_fd() 507 CAST(size_t, ms->bytes_max - nbytes), 1)) > 0) { in file_or_fd() 527 ms->bytes_max; in file_or_fd() 644 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam() 683 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
|
| D | file.h | 493 size_t bytes_max; /* number of bytes to read from file */ member
|
| D | apprentice.c | 590 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()
|