Searched refs:bytes_max (Results 1 – 5 of 5) sorted by relevance
/dragonfly/contrib/file/src/ |
H A D | compress.c | 541 size_t bytes_max, size_t *n) in uncompressgzipped() argument 569 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped() 576 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument 587 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib() 620 size_t bytes_max, size_t *n) in uncompressbzlib() argument 636 bz.avail_out = CAST(unsigned int, bytes_max); in uncompressbzlib() 663 size_t bytes_max, size_t *n) in uncompressxzlib() argument 679 xz.avail_out = CAST(unsigned int, bytes_max); in uncompressxzlib() 890 return uncompressgzipped(old, newch, bytes_max, n); in uncompressbuf() 896 return uncompressbzlib(old, newch, bytes_max, n); 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() 635 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam() 671 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
|
H A D | ascmagic.c | 210 if (seen_cr && nbytes < ms->bytes_max) in file_ascmagic_with_encoding()
|
H A D | file.h | 483 size_t bytes_max; /* number of bytes to read from file */ member
|
H A D | apprentice.c | 585 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()
|