Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/file/src/
H A Dcompress.c524 size_t bytes_max, size_t *n) in uncompressgzipped() argument
552 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped()
559 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument
570 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib()
603 size_t bytes_max, size_t *n) in uncompressbzlib() argument
619 bz.avail_out = CAST(unsigned int, bytes_max); in uncompressbzlib()
646 size_t bytes_max, size_t *n) in uncompressxzlib() argument
662 xz.avail_out = CAST(unsigned int, bytes_max); in uncompressxzlib()
824 return uncompressgzipped(old, newch, bytes_max, n); in uncompressbuf()
830 return uncompressbzlib(old, newch, bytes_max, n); in uncompressbuf()
[all …]
H A Dmagic.c422 if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL) in file_or_fd()
486 CAST(size_t, ms->bytes_max - nbytes), 1)) > 0) { in file_or_fd()
506 ms->bytes_max; in file_or_fd()
620 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam()
656 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
H A Dascmagic.c210 if (seen_cr && nbytes < ms->bytes_max) in file_ascmagic_with_encoding()
H A Dfile.h468 size_t bytes_max; /* number of bytes to read from file */ member
H A Dapprentice.c547 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dcache-membuffer.c264 apr_size_t bytes_max; member
280 apr_size_t bytes_max, in prefix_pool_create() argument
295 bytes_max / ESTIMATED_BYTES_PER_ENTRY); in prefix_pool_create()
307 result->bytes_max = bytes_max; in prefix_pool_create()
360 assert(prefix_pool->bytes_max >= prefix_pool->bytes_used); in prefix_pool_get_internal()
361 if (prefix_pool->bytes_max - prefix_pool->bytes_used < bytes_needed) in prefix_pool_get_internal()