| /freebsd-13.1/contrib/xz/src/common/ |
| H A D | sysdefs.h | 110 # undef SIZE_MAX 114 #ifndef SIZE_MAX 116 # define SIZE_MAX UINT32_MAX macro 118 # define SIZE_MAX UINT64_MAX macro 123 #if SIZE_MAX != UINT32_MAX && SIZE_MAX != UINT64_MAX
|
| /freebsd-13.1/sys/contrib/libsodium/test/default/ |
| H A D | sodium_utils2.c | 45 if (sodium_malloc(SIZE_MAX - 1U) != NULL) { in main() 51 if (sodium_allocarray(SIZE_MAX / 2U + 1U, SIZE_MAX / 2U) != NULL) { in main()
|
| /freebsd-13.1/contrib/diff/lib/ |
| H A D | cmpbuf.c | 67 #ifndef SIZE_MAX 68 # define SIZE_MAX TYPE_MAXIMUM (size_t) macro 115 return SIZE_MAX; in block_read()
|
| H A D | xmalloc.c | 36 #ifndef SIZE_MAX 37 # define SIZE_MAX ((size_t) -1) macro 196 if (SIZE_MAX / 2 / s < n) in x2nrealloc_inline()
|
| H A D | error.c | 93 # ifndef SIZE_MAX 94 # define SIZE_MAX ((size_t) -1) macro 152 : len <= SIZE_MAX / sizeof *wbuf in error_tail()
|
| /freebsd-13.1/crypto/openssl/crypto/evp/ |
| H A D | pbe_scrypt.c | 118 #ifndef SIZE_MAX 119 # define SIZE_MAX ((size_t)-1) macro 151 # define SCRYPT_MAX_MEM (SIZE_MAX/2) 228 if (maxmem > SIZE_MAX) in EVP_PBE_scrypt() 229 maxmem = SIZE_MAX; in EVP_PBE_scrypt()
|
| /freebsd-13.1/contrib/flex/src/ |
| H A D | flexint.h | 62 #ifndef SIZE_MAX 63 #define SIZE_MAX (~(size_t)0) macro
|
| /freebsd-13.1/crypto/openssh/openbsd-compat/ |
| H A D | recallocarray.c | 47 newnmemb > 0 && SIZE_MAX / newnmemb < size) { in recallocarray() 54 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray()
|
| /freebsd-13.1/contrib/mandoc/ |
| H A D | compat_recallocarray.c | 58 newnmemb > 0 && SIZE_MAX / newnmemb < size) { in recallocarray() 65 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray()
|
| H A D | out.c | 153 tbl->cols[++maxcol].spacing = SIZE_MAX; in tblcalc() 169 if (dp->layout->spacing != SIZE_MAX && in tblcalc() 170 (col->spacing == SIZE_MAX || in tblcalc() 217 if (tbl->cols[icol].spacing == SIZE_MAX || icol == maxcol) in tblcalc() 254 colwidth[icol] = SIZE_MAX; in tblcalc() 264 min1 = min2 = SIZE_MAX; in tblcalc()
|
| /freebsd-13.1/contrib/libfido2/openbsd-compat/ |
| H A D | recallocarray.c | 48 newnmemb > 0 && SIZE_MAX / newnmemb < size) { in recallocarray() 55 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray()
|
| /freebsd-13.1/crypto/openssl/include/internal/ |
| H A D | numbers.h | 63 # ifndef SIZE_MAX 64 # define SIZE_MAX __MAXUINT__(size_t) macro
|
| /freebsd-13.1/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/ |
| H A D | pwhash_scryptsalsa208sha256_nosse.c | 305 #if SIZE_MAX > UINT32_MAX in escrypt_kdf_nosse() 327 if ((r > SIZE_MAX / 128 / p) || in escrypt_kdf_nosse() 328 #if SIZE_MAX / 256 <= UINT32_MAX in escrypt_kdf_nosse() 329 (r > SIZE_MAX / 256) || in escrypt_kdf_nosse() 331 (N > SIZE_MAX / 128 / r)) { in escrypt_kdf_nosse()
|
| /freebsd-13.1/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/ |
| H A D | pwhash_scryptsalsa208sha256_sse.c | 320 # if SIZE_MAX > UINT32_MAX in escrypt_kdf_sse() 345 if ((r > SIZE_MAX / 128 / p) || in escrypt_kdf_sse() 346 # if SIZE_MAX / 256 <= UINT32_MAX in escrypt_kdf_sse() 347 (r > SIZE_MAX / 256) || in escrypt_kdf_sse() 349 (N > SIZE_MAX / 128 / r)) { in escrypt_kdf_sse()
|
| /freebsd-13.1/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_data_bcmraw.c | 192 if (SIZE_MAX - nbytes < name_len) in bhnd_nvram_bcmraw_serialize() 214 if (SIZE_MAX - nbytes < value_len) in bhnd_nvram_bcmraw_serialize() 224 if (nbytes == SIZE_MAX) in bhnd_nvram_bcmraw_serialize() 259 if (io_size == SIZE_MAX) in bhnd_nvram_bcmraw_init()
|
| H A D | bhnd_nvram_value_prf.c | 233 if (nbytes == SIZE_MAX) \ in bhnd_nvram_val_vprintf() 554 if (SIZE_MAX - nbytes < delim_len) in bhnd_nvram_val_vprintf() 757 if (SIZE_MAX - nbytes < arg_size) in bhnd_nvram_val_vprintf() 817 if (SIZE_MAX - nbytes < arg_size) in bhnd_nvram_val_vprintf() 869 if (nbytes < SIZE_MAX) in bhnd_nvram_val_vprintf()
|
| /freebsd-13.1/sys/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_pwhash_argon2i.h | 62 … ((SIZE_MAX >= 4398046510080U) ? 4398046510080U : (SIZE_MAX >= 2147483648U) ? 2147483648U : 32768U)
|
| H A D | crypto_pwhash_argon2id.h | 62 … ((SIZE_MAX >= 4398046510080U) ? 4398046510080U : (SIZE_MAX >= 2147483648U) ? 2147483648U : 32768U)
|
| /freebsd-13.1/contrib/elftoolchain/libelf/ |
| H A D | elf_data.c | 114 if (sh_size / fsz > SIZE_MAX) { in elf_getdata() 124 if (count > 0 && msz > SIZE_MAX / count) { in elf_getdata() 130 assert(count <= SIZE_MAX); in elf_getdata() 131 assert(msz * count <= SIZE_MAX); in elf_getdata()
|
| /freebsd-13.1/sys/contrib/libsodium/src/libsodium/randombytes/sysrandom/ |
| H A D | randombytes_sysrandom.c | 63 # define SSIZE_MAX (SIZE_MAX / 2 - 1) 327 #if defined(ULONG_LONG_MAX) && defined(SIZE_MAX) in randombytes_sysrandom_buf() 328 # if SIZE_MAX > ULONG_LONG_MAX in randombytes_sysrandom_buf()
|
| /freebsd-13.1/sys/x86/include/ |
| H A D | _stdint.h | 178 #define SIZE_MAX UINT64_MAX macro 184 #define SIZE_MAX UINT32_MAX macro
|
| /freebsd-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_platform.h | 133 #define SIZE_MAX (~(size_t)0) macro 136 #define SSIZE_MAX ((ssize_t)(SIZE_MAX >> 1))
|
| /freebsd-13.1/sys/mips/include/ |
| H A D | _stdint.h | 179 #define SIZE_MAX UINT64_MAX macro 186 #define SIZE_MAX UINT32_MAX macro
|
| /freebsd-13.1/sys/powerpc/include/ |
| H A D | _stdint.h | 182 #define SIZE_MAX UINT64_MAX macro 193 #define SIZE_MAX UINT32_MAX macro
|
| /freebsd-13.1/sys/contrib/libsodium/src/libsodium/randombytes/ |
| H A D | randombytes.c | 176 #if SIZE_MAX > 0x4000000000ULL in randombytes_buf_deterministic() 204 assert(buf_len <= SIZE_MAX); in randombytes()
|