| /xnu-8019.80.24/iokit/Kernel/ |
| H A D | IOReporterDefs.h | 56 #if (SIZE_T_MAX < INT_MAX) 65 } else if (__val > INT_MAX / (int)sizeof(__type)) { \ 75 } else if (__val > INT_MAX / (int)sizeof(__type)) { \
|
| H A D | IOHistogramReporter.cpp | 209 if (_histogramSegmentsConfig[cnt].segment_bucket_count > INT_MAX in initWith() 210 || _histogramSegmentsConfig[cnt].base_bucket_width > INT_MAX) { in initWith()
|
| H A D | IOReporter.cpp | 289 if (oldNChannels < 0 || oldNChannels > INT_MAX - 1) { in addChannel() 450 if (newNChannels < 0 || newNChannels > INT_MAX / _channelDimension) { in handleSwapPrepare() 579 if (!_channelDimension || swapNChannels > INT_MAX / _channelDimension) { in handleSwapCleanup()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | tty_subr.c | 191 if (cc > INT_MAX || (int)cc > count) { in q_to_b() 233 if (i > INT_MAX) { in ndqb() 253 if (count > INT_MAX) { in ndqb() 278 if (cc > INT_MAX || (int)cc > count) { in ndflush() 319 if (i > INT_MAX) { in putc() 422 if (cc > INT_MAX || (int)cc > count) { in b_to_q() 428 if (clp->c_cl - clp->c_cs > INT_MAX || cc > INT_MAX) { in b_to_q()
|
| H A D | kern_clock.c | 325 if (ticks > INT_MAX) { in tvtohz() 326 ticks = INT_MAX; in tvtohz()
|
| H A D | subr_sbuf.c | 100 if (target_size > INT_MAX) { in sbuf_extendsize() 114 if (new_size > INT_MAX) { in sbuf_extendsize() 156 if (length > INT_MAX || flags & ~SBUF_USRFLAGMSK) { in sbuf_new() 985 SBUF_ASSERT_EQ(-1, sbuf_extend(s, INT_MAX)); 1064 SBUF_ASSERT_EQ(-1, sbuf_bcat(s, "A", INT_MAX)); 1196 SBUF_ASSERT_EQ(-1, sbuf_bcpy(s, "A", INT_MAX));
|
| H A D | decmpfs.c | 1660 countInt = (uplSize > INT_MAX) ? INT_MAX : (int)uplSize; 1847 } else if (uplOff > INT_MAX) { 1858 int icount = (count > INT_MAX) ? INT_MAX : (int)count;
|
| H A D | kdebug.c | 2169 assert(size < INT_MAX); in kdbg_write_to_vnode() 2318 if (map_size >= INT_MAX) { in kdbg_write_v1_header() 2382 assert(map_size < INT_MAX); in kdbg_write_v1_header() 2401 assert(pad_size < INT_MAX); in kdbg_write_v1_header() 2432 assert(pad_size < INT_MAX); in kdbg_write_v1_header() 2694 kd_bufinfo.nkdthreads = kd_mapcount < INT_MAX ? (int)kd_mapcount : in kdbg_control() 2695 INT_MAX; in kdbg_control()
|
| H A D | kern_core.c | 578 error = vn_rdwr(UIO_WRITE, vp, (caddr_t)header, (int)MIN(header_size, INT_MAX), (off_t)0, in coredump()
|
| /xnu-8019.80.24/osfmk/i386/ |
| H A D | machlimits.h | 66 #define INT_MAX 2147483647 /* max value for an int */ macro 70 #define LONG_MAX INT_MAX /* max value for a long */
|
| /xnu-8019.80.24/bsd/netinet6/ |
| H A D | esp_rijndael.c | 196 VERIFY(ivoff <= INT_MAX); in esp_cbc_decrypt_aes() 397 VERIFY(ivoff <= INT_MAX); in esp_cbc_encrypt_aes() 698 VERIFY(off <= INT_MAX); in esp_gcm_encrypt_aes() 699 VERIFY(ivoff <= INT_MAX); in esp_gcm_encrypt_aes() 700 VERIFY(bodyoff <= INT_MAX); in esp_gcm_encrypt_aes() 943 VERIFY(off <= INT_MAX); in esp_gcm_decrypt_aes() 944 VERIFY(ivoff <= INT_MAX); in esp_gcm_decrypt_aes() 945 VERIFY(bodyoff <= INT_MAX); in esp_gcm_decrypt_aes()
|
| H A D | ah_input.c | 241 VERIFY((off + sizeof(struct ah) + sizoff + siz1) <= INT_MAX); in ah4_input() 681 VERIFY((sizeof(struct ah) + sizoff + siz1) <= INT_MAX); in ah6_input()
|
| H A D | esp_core.c | 746 VERIFY(ivoff <= INT_MAX); in esp_cbc_decrypt() 984 VERIFY(ivoff <= INT_MAX); in esp_cbc_encrypt()
|
| /xnu-8019.80.24/osfmk/arm/ |
| H A D | machlimits.h | 82 #define INT_MAX 2147483647 /* max value for an int */ macro
|
| /xnu-8019.80.24/bsd/arm/ |
| H A D | limits.h | 76 #define INT_MAX 2147483647 /* max value for an int */ macro
|
| /xnu-8019.80.24/bsd/i386/ |
| H A D | limits.h | 77 #define INT_MAX 2147483647 /* max value for an int */ macro
|
| /xnu-8019.80.24/iokit/IOKit/ |
| H A D | IOReportMacros.h | 353 *__nElements = INT_MAX; \ 537 *__nElements = INT_MAX; \ 699 *__nElements = INT_MAX; \
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | mptcp.c | 324 VERIFY(i <= INT_MAX); in mptcp_reass() 347 VERIFY(i <= INT_MAX); in mptcp_reass() 530 VERIFY(todrop <= INT_MAX); in mptcp_input() 562 VERIFY((mp_tp->mpt_rcvnxt - mb_dsn) <= INT_MAX); in mptcp_input() 844 int exp_rtt = INT_MAX, cheap_rtt = INT_MAX; in mptcp_get_subflow()
|
| H A D | ip_compat.h | 659 # undef INT_MAX 689 # undef INT_MAX
|
| /xnu-8019.80.24/libsyscall/mach/ |
| H A D | mach_error_string.c | 112 return (found)? ret : INT_MAX; in err_sparse_mapit()
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | kern_memorystatus_freeze.h | 73 #define FREEZE_PAGES_MAX (max_task_footprint_mb == 0 ? INT_MAX : (max_task_footprint_mb << (20 - …
|
| /xnu-8019.80.24/bsd/vfs/ |
| H A D | vfs_disk_conditioner.c | 166 assert(delay_usec <= INT_MAX); in disk_conditioner_delay()
|
| H A D | vfs_vnops.c | 1029 if (read_len < 0 || read_len > INT_MAX) { in vn_read() 1168 if (write_len < 0 || write_len > INT_MAX) { in vn_write() 1637 if (temp_nbytes > INT_MAX) { in vn_ioctl() 1638 *(int *)data = INT_MAX; in vn_ioctl()
|
| /xnu-8019.80.24/bsd/nfs/ |
| H A D | krpc_subr.c | 603 if (len > INT_MAX) { in krpc_call()
|
| /xnu-8019.80.24/bsd/dev/i386/ |
| H A D | sysctl.c | 284 old_value = (int)MIN(nstime / NSEC_PER_SEC, INT_MAX); in panic_set_restart_timeout() 1011 old = (int)MIN(NMI_count, INT_MAX); in misc_nmis()
|