Home
last modified time | relevance | path

Searched refs:INT_MAX (Results 1 – 25 of 36) sorted by relevance

12

/bionic/libc/bionic/
Dsleep.cpp36 if (s > INT_MAX) return s - INT_MAX + sleep(INT_MAX); in sleep()
D__cxa_guard.cpp115 __futex_wake_ex(&gv->state, false, INT_MAX); in __cxa_guard_release()
124 __futex_wake_ex(&gv->state, false, INT_MAX); in __cxa_guard_abort()
Dpthread_once.cpp77 __futex_wake_ex(once_control_ptr, 0, INT_MAX); in pthread_once()
Dsemaphore.cpp296 __futex_wake_ex(sem_count_ptr, shared, INT_MAX); in sem_post()
Dpthread_cond.cpp214 return __pthread_cond_pulse(__get_internal_cond(cond_interface), INT_MAX); in pthread_cond_broadcast()
/bionic/libc/kernel/uapi/linux/
Dnetfilter_ipv4.h31 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX,
32 NF_IP_PRI_LAST = INT_MAX,
Dnetfilter_bridge.h30 NF_BR_PRI_LAST = INT_MAX,
Dnetfilter_ipv6.h31 NF_IP6_PRI_LAST = INT_MAX,
/bionic/tests/
Dlimits_test.cpp50 #if !defined(INT_MAX) in TEST()
51 #error INT_MAX in TEST()
Dstdlib_test.cpp965 ASSERT_EQ(INT_MAX, abs(-INT_MAX)); in TEST()
966 ASSERT_EQ(INT_MAX, abs(INT_MAX)); in TEST()
994 ASSERT_EQ(3, getloadavg(load, INT_MAX)); in TEST()
/bionic/libc/include/
Dlimits.h83 #define INT_MAX 0x7fffffff /* max value for an int */ macro
129 #define SSIZE_MAX INT_MAX
Dmath.h54 #define FP_ILOGB0 (-INT_MAX)
55 #define FP_ILOGBNAN INT_MAX
/bionic/libc/stdio/
Dscanf_common.h90 if ((val) > INT_MAX / 10) \
94 if ((val) > INT_MAX - to_digit((dig))) \
Dvfprintf.cpp169 if (m < 0 || m > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
379 if (expt == INT_MAX) ox[1] = '\0'; in FUNCTION_NAME()
414 if (expt == 9999) expt = INT_MAX; in FUNCTION_NAME()
425 if (expt == INT_MAX) { /* inf or nan */ in FUNCTION_NAME()
530 if ((len = CHAR_TYPE_STRLEN(cp)) > INT_MAX) goto overflow; in FUNCTION_NAME()
712 if (width > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
Dvfwprintf.cpp172 if (m < 0 || m > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
371 if (expt == INT_MAX) ox[1] = '\0'; in FUNCTION_NAME()
406 if (expt == 9999) expt = INT_MAX; in FUNCTION_NAME()
417 if (expt == INT_MAX) { /* inf or nan */ in FUNCTION_NAME()
508 if ((len = CHAR_TYPE_STRLEN(cp)) > INT_MAX) goto overflow; in FUNCTION_NAME()
690 if (width > INT_MAX - ret) goto overflow; in FUNCTION_NAME()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dldtoa.c104 *decpt = INT_MAX; in __ldtoa()
119 *decpt = INT_MAX; in __ldtoa()
Dhdtoa.c145 *decpt = INT_MAX; in __hdtoa()
148 *decpt = INT_MAX; in __hdtoa()
244 *decpt = INT_MAX; in __hldtoa()
247 *decpt = INT_MAX; in __hldtoa()
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_ilogbf.c39 else return INT_MAX; in ilogbf()
Ds_ilogb.c47 else return INT_MAX; in ilogb()
Ds_ilogbl.c52 return (INT_MAX); in ilogbl()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfvwrite.c85 w = (*fp->_write)(fp->_cookie, p, MIN(len, INT_MAX)); in __sfvwrite()
148 w = MIN(w * (len / w), INT_MAX); in __sfvwrite()
Dsetvbuf.c56 if ((mode != _IOFBF && mode != _IOLBF) || size > INT_MAX) in setvbuf()
Dmktemp.c74 tries = INT_MAX; in mktemp_internal()
/bionic/libc/tzcode/
Dprivate.h341 # if INT_MAX >> 31 == 0
347 # define INT_FAST32_MAX INT_MAX
848 int: INT_MAX, long: LONG_MAX, long long: LLONG_MAX, \
/bionic/tests/headers/posix/
Dlimits_h.c199 MACRO(INT_MAX); in limits_h()

12