Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/file/src/
H A Dcompress.c240 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); in file_zmagic()
472 size_t bytes_max, size_t *n) in uncompressgzipped() argument
500 return uncompresszlib(old, newch, bytes_max, n, 0); in uncompressgzipped()
507 size_t bytes_max, size_t *n, int zlib) in uncompresszlib() argument
518 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib()
542 strlcpy((char *)*newch, z.msg ? z.msg : zError(rc), bytes_max); in uncompresszlib()
684 return uncompressgzipped(old, newch, bytes_max, n); in uncompressbuf()
686 return uncompresszlib(old, newch, bytes_max, n, 1); in uncompressbuf()
729 *newch = CAST(unsigned char *, malloc(bytes_max + 1)); in uncompressbuf()
736 if ((r = sread(fdp[STDOUT_FILENO][0], *newch, bytes_max, 0)) > 0) in uncompressbuf()
[all …]
H A Dmagic.c420 if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL) in file_or_fd()
490 (size_t)(ms->bytes_max - nbytes), 1)) > 0) { in file_or_fd()
509 ms->bytes_max; in file_or_fd()
621 ms->bytes_max = *(const size_t *)val; in magic_setparam()
652 *(size_t *)val = ms->bytes_max; in magic_getparam()
H A Dascmagic.c196 if (seen_cr && nbytes < ms->bytes_max) in file_ascmagic_with_encoding()
H A Dfile.h435 size_t bytes_max; /* number of bytes to read from file */ member
H A Dapprentice.c533 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()
/freebsd-12.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()