Searched refs:bytes_max (Results 1 – 6 of 6) sorted by relevance
| /freebsd-11-stable/contrib/file/src/ |
| HD | compress.c | 287 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); in file_zmagic() 524 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 564 if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL) in uncompresszlib() 570 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib() 594 strlcpy(RCAST(char *, *newch), z.msg ? z.msg : zError(rc), bytes_max); in uncompresszlib() 603 size_t bytes_max, size_t *n) in uncompressbzlib() argument 613 if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL) in uncompressbzlib() 619 bz.avail_out = CAST(unsigned int, bytes_max); in uncompressbzlib() [all …]
|
| HD | magic.c | 420 if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL) in file_or_fd() 481 CAST(size_t, ms->bytes_max - nbytes), 1)) > 0) { in file_or_fd() 501 ms->bytes_max; in file_or_fd() 615 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam() 648 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
|
| HD | ascmagic.c | 206 if (seen_cr && nbytes < ms->bytes_max) in file_ascmagic_with_encoding()
|
| HD | file.h | 454 size_t bytes_max; /* number of bytes to read from file */ member
|
| HD | apprentice.c | 545 ms->bytes_max = FILE_BYTES_MAX; in file_ms_alloc()
|
| /freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
| HD | cache-membuffer.c | 264 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()
|