| /freebsd/contrib/libfido2/openbsd-compat/ |
| H A D | types.h | 34 #ifndef SSIZE_MAX 36 #define SSIZE_MAX _I64_MAX macro 38 #define SSIZE_MAX INT_MAX macro
|
| /freebsd/bin/dd/ |
| H A D | args.c | 187 if (res < 1 || res > SSIZE_MAX) in f_bs() 188 errx(1, "bs must be between 1 and %zd", (ssize_t)SSIZE_MAX); in f_bs() 198 if (res < 1 || res > SSIZE_MAX) in f_cbs() 199 errx(1, "cbs must be between 1 and %zd", (ssize_t)SSIZE_MAX); in f_cbs() 243 if (res < 1 || res > SSIZE_MAX) in f_ibs() 245 (ssize_t)SSIZE_MAX); in f_ibs() 297 if (res < 1 || res > SSIZE_MAX) in f_obs() 299 (ssize_t)SSIZE_MAX); in f_obs()
|
| /freebsd/tests/sys/kern/tty/ |
| H A D | readsz.c | 50 reps = strtonum(optarg, 0, SSIZE_MAX, &errstr); in main() 56 reps = strtonum(optarg, 1, SSIZE_MAX, &errstr); in main() 64 bufsz = strtonum(optarg, 1, SSIZE_MAX, &errstr); in main()
|
| /freebsd/lib/libc/stdio/ |
| H A D | getdelim.c | 70 if (len > (size_t)SSIZE_MAX + 1) { in expandtofit() 75 if (len == (size_t)SSIZE_MAX + 1) /* avoid overflow */ in expandtofit() 76 newcap = (size_t)SSIZE_MAX + 1; in expandtofit()
|
| H A D | open_memstream.c | 59 if (newoff < 0 || newoff >= SSIZE_MAX) in memstream_grow() 60 newsize = SSIZE_MAX - 1; in memstream_grow()
|
| H A D | open_wmemstream.c | 60 if (newoff < 0 || newoff >= SSIZE_MAX / sizeof(wchar_t)) in wmemstream_grow() 61 newsize = SSIZE_MAX / sizeof(wchar_t) - 1; in wmemstream_grow()
|
| /freebsd/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_decls.h | 67 #ifndef SSIZE_MAX 68 # define SSIZE_MAX ((ssize_t)(SIZE_T_MAX >> 1)) 61 # define SSIZE_MAX global() macro
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | clonefile.c | 208 size_t len = SSIZE_MAX; in main() 223 len = SSIZE_MAX; in main() 230 if (len2 < SSIZE_MAX) in main() 327 if (len == SSIZE_MAX) { in do_copyfilerange()
|
| /freebsd/sys/contrib/libsodium/src/libsodium/randombytes/sysrandom/ |
| H A D | randombytes_sysrandom.c | 62 #ifndef SSIZE_MAX 63 # define SSIZE_MAX (SIZE_MAX / 2 - 1) macro 113 assert(size <= SSIZE_MAX); in safe_read()
|
| /freebsd/usr.bin/getconf/ |
| H A D | limits.gperf | 86 SSIZE_MAX, SSIZE_MAX keyword
|
| /freebsd/crypto/openssl/include/openssl/ |
| H A D | e_os2.h | 205 #if defined(SSIZE_MAX) 206 #define OSSL_SSIZE_MAX SSIZE_MAX
|
| /freebsd/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/ |
| H A D | randombytes_salsa20_random.c | 62 #ifndef SSIZE_MAX 63 # define SSIZE_MAX (SIZE_MAX / 2 - 1) macro 163 assert(size <= SSIZE_MAX); in safe_read()
|
| /freebsd/tests/sys/kern/ |
| H A D | copy_file_range.c | 99 copy_file_range(fd1, NULL, fd1, NULL, SSIZE_MAX, 0) == -1); in ATF_TC_BODY() 198 n = copy_file_range(fd1, NULL, fd2, NULL, SSIZE_MAX, 0); in ATF_TC_BODY()
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | glob.c | 203 if (pglob->gl_offs >= SSIZE_MAX || pglob->gl_pathc >= SSIZE_MAX || in glob() 204 pglob->gl_pathc >= SSIZE_MAX - pglob->gl_offs - 1) in glob() 808 if (pglob->gl_offs >= SSIZE_MAX || 809 pglob->gl_pathc >= SSIZE_MAX || 810 newn >= SSIZE_MAX ||
|
| /freebsd/sys/sys/ |
| H A D | limits.h | 92 #define SSIZE_MAX __SSIZE_MAX /* max value for an ssize_t */ macro
|
| /freebsd/contrib/netbsd-tests/include/sys/ |
| H A D | t_types.c | 60 size = SSIZE_MAX; in ATF_TC_BODY()
|
| /freebsd/contrib/netbsd-tests/lib/libbluetooth/ |
| H A D | t_sdp_set.c | 265 ATF_CHECK_EQ(sdp_set_seq(&test, SSIZE_MAX), false); /* size too big */ in ATF_TC_BODY() 324 ATF_CHECK_EQ(sdp_set_alt(&test, SSIZE_MAX), false); /* size too big */ in ATF_TC_BODY()
|
| /freebsd/usr.bin/bsdiff/bspatch/ |
| H A D | bspatch.c | 201 newsize < 0 || newsize > SSIZE_MAX) in main() 224 oldsize > SSIZE_MAX) in main()
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_filter_gzip.c | 470 if (UINT_MAX >= SSIZE_MAX) in gzip_filter_read() 471 max_in = SSIZE_MAX; in gzip_filter_read()
|
| H A D | archive_read_support_filter_program.c | 303 requested = buf_len > SSIZE_MAX ? SSIZE_MAX : buf_len; in child_read()
|
| H A D | archive_platform.h | 126 #define SSIZE_MAX ((ssize_t)(SIZE_MAX >> 1)) macro
|
| /freebsd/usr.bin/bsdiff/bsdiff/ |
| H A D | bsdiff.c | 144 if (oldsize > SSIZE_MAX || in main() 165 if (newsize > SSIZE_MAX || (uintmax_t)newsize >= SIZE_T_MAX || in main()
|
| /freebsd/usr.sbin/pw/ |
| H A D | cpdir.c | 137 SSIZE_MAX, 0); in copymkdir()
|
| /freebsd/lib/libprocstat/ |
| H A D | common_kvm.c | 69 if (nbytes >= SSIZE_MAX) in kvm_read_all()
|
| /freebsd/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_msgsnd.c | 213 SSIZE_MAX, IPC_NOWAIT) == -1); in ATF_TC_BODY()
|