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

/freebsd-11-stable/contrib/file/src/
H A Dcompress.c287 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz);
524 size_t bytes_max, size_t *n)
552 return uncompresszlib(old, newch, bytes_max, n, 0);
559 size_t bytes_max, size_t *n, int zlib)
564 if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL)
570 z.avail_out = CAST(unsigned int, bytes_max);
594 strlcpy(RCAST(char *, *newch), z.msg ? z.msg : zError(rc), bytes_max); local
603 size_t bytes_max, size_t *n)
613 if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL)
619 bz.avail_out = CAST(unsigned int, bytes_max);
523 uncompressgzipped(const unsigned char *old, unsigned char **newch, size_t bytes_max, size_t *n) argument
558 uncompresszlib(const unsigned char *old, unsigned char **newch, size_t bytes_max, size_t *n, int zlib) argument
602 uncompressbzlib(const unsigned char *old, unsigned char **newch, size_t bytes_max, size_t *n) argument
637 snprintf(RCAST(char *, *newch), bytes_max, "bunzip error %d", rc); local
645 uncompressxzlib(const unsigned char *old, unsigned char **newch, size_t bytes_max, size_t *n) argument
677 snprintf(RCAST(char *, *newch), bytes_max, "unxz error %d", rc); local
811 uncompressbuf(int fd, size_t bytes_max, size_t method, const unsigned char *old, unsigned char **newch, size_t* n) argument
[all...]
H A Dmagic.c420 if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL)
474 * try looking at the first ms->bytes_max bytes
481 CAST(size_t, ms->bytes_max - nbytes), 1)) > 0) {
501 ms->bytes_max;
615 ms->bytes_max = *CAST(const size_t *, val);
648 *CAST(size_t *, val) = ms->bytes_max;
H A Dascmagic.c203 been followed by a LF. If we have ms->bytes_max bytes, it indicates
206 if (seen_cr && nbytes < ms->bytes_max)
H A Dfile.h454 size_t bytes_max; /* number of bytes to read from file */ member in struct:magic_set
H A Dapprentice.c545 ms->bytes_max = FILE_BYTES_MAX;
2222 * #define offsetcheck {if (offset > ms->bytes_max -1)
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dcache-membuffer.c264 apr_size_t bytes_max; member in struct:prefix_pool_t
280 apr_size_t bytes_max,
295 bytes_max / ESTIMATED_BYTES_PER_ENTRY);
307 result->bytes_max = bytes_max;
360 assert(prefix_pool->bytes_max >= prefix_pool->bytes_used);
361 if (prefix_pool->bytes_max - prefix_pool->bytes_used < bytes_needed)
279 prefix_pool_create(prefix_pool_t **prefix_pool, apr_size_t bytes_max, svn_boolean_t mutex_required, apr_pool_t *result_pool) argument

Completed in 140 milliseconds