INT_MAX 575 lib/common/nvpair.c || (value_ll < INT_MIN) || (value_ll > INT_MAX)) { INT_MAX 138 lib/common/strings.c } else if (result_ll > INT_MAX) { INT_MAX 139 lib/common/strings.c crm_warn("Clipped '%s' to maximum integer %d", text, INT_MAX); INT_MAX 140 lib/common/strings.c result_ll = (long long) INT_MAX; INT_MAX 1304 lib/common/strings.c } else if (result > INT_MAX) { INT_MAX 1310 lib/common/strings.c return INT_MAX; INT_MAX 57 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(INT_MAX, INT_MAX), CRM_SCORE_INFINITY); INT_MAX 45 lib/common/tests/strings/pcmk__scan_min_int_test.c assert_int_equal(result, INT_MAX); INT_MAX 309 lib/pacemaker/pcmk_graph_consumer.c && (fail_ll > 0LL) && (fail_ll <= INT_MAX)) { INT_MAX 283 lib/pengine/rules.c && (value != 0LL) && (value >= INT_MIN) && (value <= INT_MAX)) { INT_MAX 281 maint/gnulib/lib/argmatch.h const int screen_width = getenv ("HELP2MAN") ? INT_MAX : 80; \ INT_MAX 68 maint/gnulib/lib/c-snprintf.c if (INT_MAX < len) INT_MAX 49 maint/gnulib/lib/c-strcasecmp.c if (UCHAR_MAX <= INT_MAX) INT_MAX 49 maint/gnulib/lib/c-strncasecmp.c if (UCHAR_MAX <= INT_MAX) INT_MAX 36 maint/gnulib/lib/c-vasprintf.c if (length > INT_MAX) INT_MAX 67 maint/gnulib/lib/c-vsnprintf.c if (len > INT_MAX) INT_MAX 59 maint/gnulib/lib/dprintf.c if (len > INT_MAX) INT_MAX 269 maint/gnulib/lib/fcntl.in.h # if defined O_CLOEXEC && ! (INT_MIN <= O_CLOEXEC && O_CLOEXEC <= INT_MAX) INT_MAX 272 maint/gnulib/lib/fcntl.in.h # if defined O_NOFOLLOW && ! (INT_MIN <= O_NOFOLLOW && O_NOFOLLOW <= INT_MAX) INT_MAX 275 maint/gnulib/lib/fcntl.in.h # if defined O_TTY_INIT && ! (INT_MIN <= O_TTY_INIT && O_TTY_INIT <= INT_MAX) INT_MAX 171 maint/gnulib/lib/file-has-acl.c alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (aclent_t)) INT_MAX 245 maint/gnulib/lib/file-has-acl.c alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) INT_MAX 65 maint/gnulib/lib/fprintf.c if (len > INT_MAX) INT_MAX 50 maint/gnulib/lib/getdomainname.c if (len > INT_MAX) INT_MAX 51 maint/gnulib/lib/getdomainname.c len = INT_MAX; INT_MAX 59 maint/gnulib/lib/getdomainname.c ret = sysinfo (SI_SRPC_DOMAIN, name, len > INT_MAX ? INT_MAX : len); INT_MAX 115 maint/gnulib/lib/getdtablesize.c && 0 <= lim.rlim_cur && lim.rlim_cur <= INT_MAX INT_MAX 121 maint/gnulib/lib/getdtablesize.c return INT_MAX; INT_MAX 94 maint/gnulib/lib/gethostname.c if (len > INT_MAX) INT_MAX 95 maint/gnulib/lib/gethostname.c len = INT_MAX; INT_MAX 105 maint/gnulib/lib/getugroups.c if (count == INT_MAX) INT_MAX 66 maint/gnulib/lib/ilogb.c return INT_MAX; INT_MAX 450 maint/gnulib/lib/intprops.h int, INT_MIN, INT_MAX), \ INT_MAX 500 maint/gnulib/lib/intprops.h int, INT_MIN, INT_MAX) \ INT_MAX 61 maint/gnulib/lib/inttypes.in.h #if !(INT_MAX == 0x7fffffff && INT_MIN + INT_MAX == -1) INT_MAX 622 maint/gnulib/lib/javacomp.c return INT_MAX; INT_MAX 95 maint/gnulib/lib/limits.in.h # if LONG_MAX == INT_MAX INT_MAX 112 maint/gnulib/lib/limits.in.h # define INT_WIDTH _GL_INTEGER_WIDTH (INT_MIN, INT_MAX) INT_MAX 77 maint/gnulib/lib/mbmemcasecmp.c if (UCHAR_MAX <= INT_MAX) INT_MAX 90 maint/gnulib/lib/mbscasecmp.c if (UCHAR_MAX <= INT_MAX) INT_MAX 91 maint/gnulib/lib/mbsncasecmp.c if (UCHAR_MAX <= INT_MAX) INT_MAX 140 maint/gnulib/lib/mbswidth.c if (w > INT_MAX - width) INT_MAX 150 maint/gnulib/lib/mbswidth.c if (width == INT_MAX) INT_MAX 173 maint/gnulib/lib/mbswidth.c if (width == INT_MAX) INT_MAX 181 maint/gnulib/lib/mbswidth.c if (width == INT_MAX) INT_MAX 192 maint/gnulib/lib/mbswidth.c return INT_MAX; INT_MAX 43 maint/gnulib/lib/memcasecmp.c int diff = (UCHAR_MAX <= INT_MAX ? U1 - U2 : _GL_CMP (U1, U2)); INT_MAX 1582 maint/gnulib/lib/mini-gmp.c return mpz_cmp_si (u, INT_MAX) <= 0 && mpz_cmp_si (u, INT_MIN) >= 0; INT_MAX 121 maint/gnulib/lib/mktime.c #if INT_MAX <= LONG_MAX / 4 / 366 / 24 / 60 / 60 INT_MAX 126 maint/gnulib/lib/mktime.c verify (INT_MAX <= TYPE_MAXIMUM (long_int) / 4 / 366 / 24 / 60 / 60); INT_MAX 693 maint/gnulib/lib/nstrftime.c width = INT_MAX; INT_MAX 377 maint/gnulib/lib/poll.c if (nfd > INT_MAX) INT_MAX 475 maint/gnulib/lib/poll.c if (nfd > INT_MAX || timeout < -1) INT_MAX 53 maint/gnulib/lib/posixver.c return v < INT_MIN ? INT_MIN : v < INT_MAX ? v : INT_MAX; INT_MAX 877 maint/gnulib/lib/quotearg.c int nslots_max = MIN (INT_MAX, IDX_MAX); INT_MAX 187 maint/gnulib/lib/regex_internal.h # define IDX_MAX INT_MAX INT_MAX 76 maint/gnulib/lib/set-permissions.c alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) INT_MAX 64 maint/gnulib/lib/snprintf.c if (INT_MAX < len) INT_MAX 53 maint/gnulib/lib/sprintf.c lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX); INT_MAX 73 maint/gnulib/lib/sprintf.c if (len > INT_MAX) INT_MAX 472 maint/gnulib/lib/stdint.in.h # define INT_FAST32_MAX INT_MAX INT_MAX 55 maint/gnulib/lib/strcasecmp.c if (UCHAR_MAX <= INT_MAX) INT_MAX 185 maint/gnulib/lib/strerror_r.c if (buflen > INT_MAX) INT_MAX 186 maint/gnulib/lib/strerror_r.c buflen = INT_MAX; INT_MAX 55 maint/gnulib/lib/strncasecmp.c if (UCHAR_MAX <= INT_MAX) INT_MAX 129 maint/gnulib/lib/strtod.c return LDEXP (x, e < INT_MIN ? INT_MIN : INT_MAX < e ? INT_MAX : e); INT_MAX 40 maint/gnulib/lib/sys-limits.h enum { SYS_BUFSIZE_MAX = INT_MAX >> 20 << 20 }; INT_MAX 50 maint/gnulib/lib/ttyname_r.c : readlink (procfile, buf, buflen <= INT_MAX ? buflen : INT_MAX)); INT_MAX 71 maint/gnulib/lib/ttyname_r.c : ttyname_r (fd, buf, buflen <= INT_MAX ? buflen : INT_MAX)); INT_MAX 85 maint/gnulib/lib/ttyname_r.c : ttyname_r (fd, buf, buflen <= INT_MAX ? buflen : INT_MAX)); INT_MAX 33 maint/gnulib/lib/unistdio/u-vasprintf.h if (length > INT_MAX) INT_MAX 52 maint/gnulib/lib/unistdio/u-vsnprintf.h if (length > INT_MAX) INT_MAX 41 maint/gnulib/lib/unistdio/u-vsprintf.h length = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX); INT_MAX 58 maint/gnulib/lib/unistdio/u-vsprintf.h if (length > INT_MAX) INT_MAX 74 maint/gnulib/lib/unistdio/ulc-fprintf.c if (len > INT_MAX) INT_MAX 71 maint/gnulib/lib/unistdio/ulc-vfprintf.c if (len > INT_MAX) INT_MAX 90 maint/gnulib/lib/utimecmp.c if (TYPE_SIGNED (dev_t) && SIZE_MAX < MAX (INT_MAX, TYPE_MAXIMUM (dev_t))) INT_MAX 5218 maint/gnulib/lib/vasnprintf.c if (maxlen > INT_MAX / TCHARS_PER_DCHAR) INT_MAX 5219 maint/gnulib/lib/vasnprintf.c maxlen = INT_MAX / TCHARS_PER_DCHAR; INT_MAX 5486 maint/gnulib/lib/vasnprintf.c if (maxlen == INT_MAX / TCHARS_PER_DCHAR) INT_MAX 40 maint/gnulib/lib/vasprintf.c if (length > INT_MAX) INT_MAX 56 maint/gnulib/lib/vdprintf.c if (len > INT_MAX) INT_MAX 62 maint/gnulib/lib/vfprintf.c if (len > INT_MAX) INT_MAX 63 maint/gnulib/lib/vsnprintf.c if (len > INT_MAX) INT_MAX 52 maint/gnulib/lib/vsprintf.c lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX); INT_MAX 70 maint/gnulib/lib/vsprintf.c if (len > INT_MAX) INT_MAX 31 maint/gnulib/lib/wcswidth-impl.h if (width > INT_MAX - count) INT_MAX 42 maint/gnulib/lib/wcswidth-impl.h return INT_MAX; INT_MAX 54 maint/gnulib/lib/xvasprintf.c if (totalsize == SIZE_MAX || totalsize > INT_MAX) INT_MAX 61 maint/gnulib/tests/nap.h return INT_MAX; INT_MAX 135 maint/gnulib/tests/test-getcwd.c #elif ((INT_MAX / (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) \ INT_MAX 64 maint/gnulib/tests/test-ilogb.h ASSERT (ILOGB (INFINITY) == INT_MAX); INT_MAX 65 maint/gnulib/tests/test-ilogb.h ASSERT (ILOGB (- INFINITY) == INT_MAX); INT_MAX 102 maint/gnulib/tests/test-intprops.c VERIFY (INT_MIN + INT_MAX < 0); INT_MAX 116 maint/gnulib/tests/test-intprops.c VERIFY (TYPE_MAXIMUM (int) == INT_MAX); INT_MAX 191 maint/gnulib/tests/test-intprops.c VERIFY (INT_ADD_RANGE_OVERFLOW (INT_MAX, 1, INT_MIN, INT_MAX)); INT_MAX 192 maint/gnulib/tests/test-intprops.c VERIFY (INT_ADD_OVERFLOW (INT_MAX, 1)); INT_MAX 194 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (+, ADD, INT_MAX, 1, int, true, INT_MIN); INT_MAX 195 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (+, ADD, INT_MAX, -1, int, false, INT_MAX - 1); INT_MAX 197 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (+, ADD, INT_MIN, -1, int, true, INT_MAX); INT_MAX 201 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (-, SUBTRACT, INT_MAX, 1, int, false, INT_MAX - 1); INT_MAX 202 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (-, SUBTRACT, INT_MAX, -1, int, true, INT_MIN); INT_MAX 203 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (-, SUBTRACT, INT_MIN, 1, int, true, INT_MAX); INT_MAX 210 maint/gnulib/tests/test-intprops.c CHECK_UNOP (-, NEGATE, INT_MAX, int, false); INT_MAX 215 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (*, MULTIPLY, INT_MAX, INT_MAX, int, true, 1); INT_MAX 216 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (*, MULTIPLY, INT_MAX, INT_MIN, int, true, INT_MIN); INT_MAX 217 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (*, MULTIPLY, INT_MIN, INT_MAX, int, true, INT_MIN); INT_MAX 222 maint/gnulib/tests/test-intprops.c CHECK_SBINOP (*, MULTIPLY, LONG_MIN / INT_MAX, (long int) INT_MAX, INT_MAX 223 maint/gnulib/tests/test-intprops.c long int, false, LONG_MIN - LONG_MIN % INT_MAX); INT_MAX 228 maint/gnulib/tests/test-intprops.c CHECK_BINOP (/, DIVIDE, INT_MAX, 1, int, false, INT_MAX); INT_MAX 233 maint/gnulib/tests/test-intprops.c CHECK_BINOP (%, REMAINDER, INT_MAX, 1, int, false, 0); INT_MAX 262 maint/gnulib/tests/test-intprops.c INT_MIN == LONG_MIN ? INT_MAX : DONTCARE); INT_MAX 268 maint/gnulib/tests/test-intprops.c CHECK_SUM (1L, INT_MAX, long int, INT_MAX == LONG_MAX, INT_MAX 269 maint/gnulib/tests/test-intprops.c INT_MAX == LONG_MAX ? INT_MIN : DONTCARE); INT_MAX 270 maint/gnulib/tests/test-intprops.c CHECK_SUM (1u, INT_MAX, unsigned int, INT_MAX == UINT_MAX, 1u + INT_MAX); INT_MAX 276 maint/gnulib/tests/test-intprops.c CHECK_SUM_WRAPV (INT_MIN, UINT_MAX, int, false, DONTCARE, INT_MAX); INT_MAX 277 maint/gnulib/tests/test-intprops.c CHECK_SUM_WRAPV (1u, INT_MAX, int, true, INT_MIN, DONTCARE); INT_MAX 278 maint/gnulib/tests/test-intprops.c CHECK_SUM_WRAPV (INT_MAX, 1, long int, LONG_MAX <= INT_MAX, INT_MIN, INT_MAX 279 maint/gnulib/tests/test-intprops.c INT_MAX + 1L); INT_MAX 282 maint/gnulib/tests/test-intprops.c CHECK_SUM_WRAPV (INT_MAX, 1, unsigned long int, ULONG_MAX <= INT_MAX, 0, INT_MAX 283 maint/gnulib/tests/test-intprops.c INT_MAX + 1uL); INT_MAX 289 maint/gnulib/tests/test-intprops.c ASSERT (INT_ADD_WRAPV (1, INT_MAX, &result) == (INT_MAX == LONG_MAX)); INT_MAX 304 maint/gnulib/tests/test-intprops.c CHECK_DIFFERENCE (INT_MAX, 1u, unsigned int, UINT_MAX < INT_MAX - 1, INT_MAX 305 maint/gnulib/tests/test-intprops.c INT_MAX - 1u); INT_MAX 312 maint/gnulib/tests/test-intprops.c CHECK_SDIFFERENCE (-1, INT_MAX, int, false, -1 - INT_MAX); INT_MAX 313 maint/gnulib/tests/test-intprops.c CHECK_SDIFFERENCE (0, INT_MIN, int, INT_MIN < -INT_MAX, INT_MIN); INT_MAX 314 maint/gnulib/tests/test-intprops.c CHECK_SDIFFERENCE (0, INT_MAX, int, false, 0 - INT_MAX); INT_MAX 318 maint/gnulib/tests/test-intprops.c CHECK_SDIFFERENCE_WRAPV (0u, INT_MAX, int, false, DONTCARE); INT_MAX 322 maint/gnulib/tests/test-intprops.c ASSERT (INT_SUBTRACT_WRAPV (INT_MAX, -1, &result) == (INT_MAX == LONG_MAX)); INT_MAX 323 maint/gnulib/tests/test-intprops.c ASSERT (INT_SUBTRACT_WRAPV (INT_MIN, 1, &result) == (INT_MAX == LONG_MAX)); INT_MAX 355 maint/gnulib/tests/test-intprops.c CHECK_SPRODUCT (0, INT_MAX, int, false, DONTCARE); INT_MAX 362 maint/gnulib/tests/test-intprops.c CHECK_PRODUCT (0u, INT_MAX, unsigned int, false, DONTCARE); INT_MAX 365 maint/gnulib/tests/test-intprops.c CHECK_SPRODUCT (1, INT_MAX, int, false, DONTCARE); INT_MAX 369 maint/gnulib/tests/test-intprops.c CHECK_PRODUCT (1u, INT_MAX, unsigned int, UINT_MAX < INT_MAX, 1u * INT_MAX); INT_MAX 370 maint/gnulib/tests/test-intprops.c CHECK_PRODUCT (INT_MAX, UINT_MAX, unsigned int, true, INT_MAX * UINT_MAX); INT_MAX 371 maint/gnulib/tests/test-intprops.c CHECK_PRODUCT (INT_MAX, ULONG_MAX, unsigned long int, true, INT_MAX 372 maint/gnulib/tests/test-intprops.c INT_MAX * ULONG_MAX); INT_MAX 380 maint/gnulib/tests/test-intprops.c CHECK_SPRODUCT_WRAPV (-1, INT_MAX + 1u, int, false, DONTCARE); INT_MAX 386 maint/gnulib/tests/test-intprops.c ASSERT (INT_MULTIPLY_WRAPV (INT_MAX, INT_MAX, &result) INT_MAX 387 maint/gnulib/tests/test-intprops.c == (LONG_MAX / INT_MAX < INT_MAX)); INT_MAX 388 maint/gnulib/tests/test-intprops.c ASSERT (INT_MULTIPLY_WRAPV (INT_MAX, INT_MAX, &result) INT_MAX 389 maint/gnulib/tests/test-intprops.c || result == INT_MAX * (long int) INT_MAX); INT_MAX 438 maint/gnulib/tests/test-intprops.c CHECK_REMAINDER (LONG_MAX, -INT_MAX, false); INT_MAX 50 maint/gnulib/tests/test-limits-h.c verify_width (WORD_BIT, INT_MIN, INT_MAX); INT_MAX 75 maint/gnulib/tests/test-limits-h.c int limits6[] = { INT_MIN, INT_MAX }; INT_MAX 77 maint/gnulib/tests/test-limits-h.c verify (TYPE_MAXIMUM (int) == INT_MAX); INT_MAX 106 maint/gnulib/tests/test-limits-h.c verify_width (INT_WIDTH, INT_MIN, INT_MAX); INT_MAX 98 maint/gnulib/tests/test-math.c ASSERT (FP_ILOGB0 == INT_MIN || FP_ILOGB0 == - INT_MAX); INT_MAX 101 maint/gnulib/tests/test-math.c ASSERT (FP_ILOGBNAN == INT_MIN || FP_ILOGBNAN == INT_MAX); INT_MAX 260 maint/gnulib/tests/test-nstrftime.c int bigyear = LLONG_MAX - 1900 < INT_MAX ? LLONG_MAX - 1900 : INT_MAX; INT_MAX 79 maint/gnulib/tests/test-sigsegv-catch-stackoverflow1.c if (n < INT_MAX) INT_MAX 102 maint/gnulib/tests/test-sigsegv-catch-stackoverflow2.c if (n < INT_MAX) INT_MAX 51 maint/gnulib/tests/test-stddef.c verify ((offsetof (struct d, e) < -1) == (INT_MAX < (size_t) -1)); INT_MAX 49 maint/gnulib/tests/test-timespec.c { INT_MAX - 1, 0 }, INT_MAX 50 maint/gnulib/tests/test-timespec.c { INT_MAX - 1, 1 }, INT_MAX 51 maint/gnulib/tests/test-timespec.c { INT_MAX - 1, TIMESPEC_HZ - 1 }, INT_MAX 52 maint/gnulib/tests/test-timespec.c { INT_MAX, 0 }, INT_MAX 53 maint/gnulib/tests/test-timespec.c { INT_MAX, 1 }, INT_MAX 54 maint/gnulib/tests/test-timespec.c { INT_MAX, TIMESPEC_HZ - 1 }, INT_MAX 55 maint/gnulib/tests/test-timespec.c { INT_MAX, 2 * TIMESPEC_HZ } INT_MAX 108 maint/gnulib/tests/test-timespec.c : INT_MAX - 1 <= s ? s - INT_MAX + TYPE_MAXIMUM (time_t) INT_MAX 1219 tools/crm_resource_runtime.c && (result_ll >= 0) && (result_ll <= INT_MAX)) {