Home
last modified time | relevance | path

Searched refs:LONG_MAX (Results 1 – 13 of 13) sorted by relevance

/xnu-8792.41.9/bsd/arm/
H A Dlimits.h81 #define LONG_MAX 0x7fffffffffffffffL /* max signed long */ macro
85 #define LONG_MAX 2147483647L /* max signed long */ macro
99 #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
/xnu-8792.41.9/bsd/i386/
H A Dlimits.h82 #define LONG_MAX 0x7fffffffffffffffL /* max signed long */ macro
86 #define LONG_MAX 2147483647L /* max signed long */ macro
100 #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */
/xnu-8792.41.9/bsd/kern/
H A Dkern_clock.c316 } else if (sec <= LONG_MAX / 1000000) { in tvtohz()
319 } else if (sec <= LONG_MAX / hz) { in tvtohz()
323 ticks = LONG_MAX; in tvtohz()
H A Dkern_subr.c1119 if (uiovp[i].iov_len > LONG_MAX) { in uio_calculateresid()
1123 if (resid > LONG_MAX) { in uio_calculateresid()
1142 if (kiovp[i].iov_len > LONG_MAX) { in uio_calculateresid()
1146 if (resid > LONG_MAX) { in uio_calculateresid()
H A Dsys_pipe.c920 if (orig_resid > LONG_MAX) { in pipe_write()
1034 if (size > LONG_MAX) { in pipe_write()
H A Duipc_socket.c4948 if (tv64.tv_sec < 0 || tv64.tv_sec > LONG_MAX || in sooptcopyin_timeval()
4977 if (tv32.tv_sec < 0 || tv32.tv_sec > LONG_MAX || in sooptcopyin_timeval()
H A Duipc_syscalls.c1395 if (uap->len > LONG_MAX) { in sendto_nocancel()
/xnu-8792.41.9/osfmk/i386/
H A Dmachlimits.h70 #define LONG_MAX INT_MAX /* max value for a long */ macro
/xnu-8792.41.9/iokit/Kernel/
H A DIOStringFuncs.c180 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX; in strtol()
203 acc = neg ? LONG_MIN : LONG_MAX; in strtol()
/xnu-8792.41.9/tests/
H A Dpwrite_avoid_sigxfsz_28581610.c75 "<rdar://problem/28581610>", LONG_MAX);
/xnu-8792.41.9/bsd/netinet/
H A Dip_compat.h661 # undef LONG_MAX
691 # undef LONG_MAX
/xnu-8792.41.9/bsd/dev/dtrace/
H A Ddtrace.c6349 if (regs[r2] > LONG_MAX) { in dtrace_dif_emulate()
10446 if (sval > LONG_MAX) in dtrace_difo_chunksize()
10514 if (size > LONG_MAX) in dtrace_difo_chunksize()
13948 VERIFY(dstate->dtds_chunksize < (LONG_MAX - sizeof (dtrace_dynhash_t))); in dtrace_dstate_init()
14853 if (val >= LONG_MAX) { in dtrace_state_option()
14868 val = LONG_MAX - (1 << 27) + 1; in dtrace_state_option()
/xnu-8792.41.9/bsd/vfs/
H A Dvfs_subr.c276 long reusablevnodes_max = LONG_MAX;