Home
last modified time | relevance | path

Searched full:int_max (Results 1 – 25 of 767) sorted by relevance

12345678910>>...31

/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_abs.c55 { INT_MAX, INT_MAX }, in ATF_TC_BODY()
56 { -INT_MAX, INT_MAX }, in ATF_TC_BODY()
76 { INT_MAX, INT_MAX }, in ATF_TC_BODY()
77 { -INT_MAX, INT_MAX }, in ATF_TC_BODY()
82 { INT_MAX, INT_MAX }, in ATF_TC_BODY()
83 { -INT_MAX, INT_MAX }, in ATF_TC_BODY()
108 { INT_MAX, INT_MAX }, in ATF_TC_BODY()
109 { -INT_MAX, INT_MAX }, in ATF_TC_BODY()
132 { INT_MAX, INT_MAX }, in ATF_TC_BODY()
133 { -INT_MAX, INT_MAX }, in ATF_TC_BODY()
/freebsd/lib/libc/tests/stdio/
H A Dsnprintf_test.c40 SNPRINTF_TEST("1111111111111111111111111111111", "%b", INT_MAX); in ATF_TC_BODY()
47 SNPRINTF_TEST("0b1111111111111111111111111111111", "%#b", INT_MAX); in ATF_TC_BODY()
59 SNPRINTF_TEST("1111111111111111111111111111111", "%B", INT_MAX); in ATF_TC_BODY()
66 SNPRINTF_TEST("0B1111111111111111111111111111111", "%#B", INT_MAX); in ATF_TC_BODY()
78 SNPRINTF_TEST("2147483647", "%d", INT_MAX); in ATF_TC_BODY()
79 SNPRINTF_TEST(" 2147483647", "%12d", INT_MAX); in ATF_TC_BODY()
80 SNPRINTF_TEST("002147483647", "%012d", INT_MAX); in ATF_TC_BODY()
81 SNPRINTF_TEST("2,147,483,647", "%'d", INT_MAX); in ATF_TC_BODY()
93 SNPRINTF_TEST("7fffffff", "%x", INT_MAX); in ATF_TC_BODY()
94 SNPRINTF_TEST(" 7fffffff", "%12x", INT_MAX); in ATF_TC_BODY()
[all …]
H A Dswprintf_test.c41 SWPRINTF_TEST("1111111111111111111111111111111", "%b", INT_MAX); in ATF_TC_BODY()
48 SWPRINTF_TEST("0b1111111111111111111111111111111", "%#b", INT_MAX); in ATF_TC_BODY()
60 SWPRINTF_TEST("1111111111111111111111111111111", "%B", INT_MAX); in ATF_TC_BODY()
67 SWPRINTF_TEST("0B1111111111111111111111111111111", "%#B", INT_MAX); in ATF_TC_BODY()
79 SWPRINTF_TEST("2147483647", "%d", INT_MAX); in ATF_TC_BODY()
80 SWPRINTF_TEST(" 2147483647", "%12d", INT_MAX); in ATF_TC_BODY()
81 SWPRINTF_TEST("002147483647", "%012d", INT_MAX); in ATF_TC_BODY()
82 SWPRINTF_TEST("2,147,483,647", "%'d", INT_MAX); in ATF_TC_BODY()
94 SWPRINTF_TEST("7fffffff", "%x", INT_MAX); in ATF_TC_BODY()
95 SWPRINTF_TEST(" 7fffffff", "%12x", INT_MAX); in ATF_TC_BODY()
[all …]
/freebsd/tests/include/
H A Dstdckdint_test.c17 ATF_CHECK(!ckd_add(&result, INT_MAX, 0)); in ATF_TC_BODY()
18 ATF_CHECK_EQ(INT_MAX, result); in ATF_TC_BODY()
19 ATF_CHECK(ckd_add(&result, INT_MAX, 1)); in ATF_TC_BODY()
31 ATF_CHECK_EQ(INT_MAX, result); in ATF_TC_BODY()
39 ATF_CHECK(!ckd_mul(&result, INT_MAX / 2, 2)); in ATF_TC_BODY()
40 ATF_CHECK_EQ(INT_MAX - 1, result); in ATF_TC_BODY()
41 ATF_CHECK(ckd_mul(&result, INT_MAX / 2 + 1, 2)); in ATF_TC_BODY()
/freebsd/share/man/man3/
H A Dstdckdint.365 assert(!ckd_add(&result, INT_MAX, 0));
66 assert(result == INT_MAX);
67 assert(ckd_add(&result, INT_MAX, 1));
73 assert(result == INT_MAX);
75 assert(!ckd_mul(&result, INT_MAX / 2, 2));
76 assert(result == INT_MAX - 1);
77 assert(ckd_mul(&result, INT_MAX / 2 + 1, 2));
/freebsd/crypto/openssl/test/
H A Dsanitytest.c63 if (!TEST_int_eq(-(INT_MIN + 1), INT_MAX) in test_sanity_sign()
72 if (!TEST_int_eq((int)((unsigned int)INT_MAX + 1), INT_MIN) in test_sanity_unsigned_conversion()
113 if (SIZE_MAX < INT_MAX) { in test_sanity_range()
118 /* SIZE_MAX is always greater than 2*INT_MAX */ in test_sanity_range()
119 if (SIZE_MAX - INT_MAX <= INT_MAX) { in test_sanity_range()
120 TEST_error("SIZE_MAX must exceed 2*INT_MAX"); in test_sanity_range()
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_ilogb.c87 ATF_CHECK(ilogbf(INFINITY) == INT_MAX); in ATF_TC_BODY()
89 ATF_CHECK(ilogb(INFINITY) == INT_MAX); in ATF_TC_BODY()
92 ATF_CHECK(ilogbl(INFINITY) == INT_MAX); in ATF_TC_BODY()
96 ATF_CHECK(ilogbf(-INFINITY) == INT_MAX); in ATF_TC_BODY()
98 ATF_CHECK(ilogb(-INFINITY) == INT_MAX); in ATF_TC_BODY()
101 ATF_CHECK(ilogbl(-INFINITY) == INT_MAX); in ATF_TC_BODY()
/freebsd/crypto/openssh/regress/unittests/conversion/
H A Dtests.c42 snprintf(buf, sizeof buf, "%llu", (unsigned long long)INT_MAX); in tests()
43 ASSERT_INT_EQ(convtime(buf), INT_MAX); in tests()
44 snprintf(buf, sizeof buf, "%llu", (unsigned long long)INT_MAX + 1); in tests()
48 snprintf(buf, sizeof buf, "%lluM", (unsigned long long)INT_MAX/60 + 1); in tests()
/freebsd/contrib/unbound/compat/
H A Dfake-rfc2553.h118 #ifndef INT_MAX
119 #define INT_MAX 0xffffffff macro
123 # define EAI_NODATA (INT_MAX - 1)
126 # define EAI_MEMORY (INT_MAX - 2)
129 # define EAI_NONAME (INT_MAX - 3)
132 # define EAI_SYSTEM (INT_MAX - 4)
/freebsd/contrib/ldns/compat/
H A Dfake-rfc2553.h123 #ifndef INT_MAX
124 #define INT_MAX 0xffffffff macro
128 # define EAI_NODATA (INT_MAX - 1)
131 # define EAI_MEMORY (INT_MAX - 2)
134 # define EAI_NONAME (INT_MAX - 3)
137 # define EAI_SYSTEM (INT_MAX - 4)
/freebsd/lib/libsysdecode/
H A Dsysdecode_abi_to_freebsd_errno.353 .Dv INT_MAX
69 .Dv INT_MAX
77 .Dv INT_MAX .
82 .Dv INT_MAX
/freebsd/lib/libc/gen/
H A Dsleep.c51 * the maximum value for a time_t is >= INT_MAX. in __sleep()
53 if (seconds > INT_MAX) in __sleep()
54 return (seconds - INT_MAX + __sleep(INT_MAX)); in __sleep()
/freebsd/contrib/sendmail/libsm/
H A Dsnprintf.c29 ** a maximum of INT_MAX
37 ** up to a maximum of INT_MAX, as if there was
62 if (n > INT_MAX)
63 n = INT_MAX;
H A Dvsnprintf.c37 ** Limits the size ('n') to INT_MAX.
52 if (n > INT_MAX)
53 n = INT_MAX;
/freebsd/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.h122 # define EAI_NODATA (INT_MAX - 1)
125 # define EAI_MEMORY (INT_MAX - 2)
128 # define EAI_NONAME (INT_MAX - 3)
131 # define EAI_SYSTEM (INT_MAX - 4)
134 # define EAI_FAMILY (INT_MAX - 5)
/freebsd/contrib/ntp/include/
H A Dsafecast.h7 if (v > INT_MAX) in size2int_chk()
14 return (v > INT_MAX) ? INT_MAX : (int)v; in size2int_sat()
/freebsd/contrib/mandoc/
H A Dtag.h27 #define TAG_WEAK (INT_MAX - 2) /* Dubious automatic tagging. */
28 #define TAG_FALLBACK (INT_MAX - 1) /* Tag only used if unique. */
29 #define TAG_DELETE (INT_MAX) /* Tag not used at all. */
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_storage_tbl.c153 if (next_storage_index > INT_MAX) { in storage_entry_create()
352 (tmp_size > INT_MAX ? INT_MAX : (int32_t)tmp_size); in storage_OS_get_memstat()
356 (tmp_size > INT_MAX ? INT_MAX : (int32_t)tmp_size); in storage_OS_get_memstat()
360 (tmp_size > INT_MAX ? INT_MAX : (int32_t)tmp_size); in storage_OS_get_memstat()
364 (tmp_size > INT_MAX ? INT_MAX : (int32_t)tmp_size); in storage_OS_get_memstat()
494 while (size > INT_MAX) { in storage_OS_get_fs()
/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_convtime.c52 snprintf(buf, sizeof buf, "%llu", (long long unsigned)INT_MAX); in test_convtime()
53 ASSERT_INT_EQ(convtime(buf), INT_MAX); in test_convtime()
54 snprintf(buf, sizeof buf, "%llu", (long long unsigned)INT_MAX + 1); in test_convtime()
57 #if INT_MAX == 2147483647 in test_convtime()
/freebsd/contrib/pam_modules/pam_passwdqc/
H A Dpam_passwdqc.c65 {INT_MAX, 24, 12, 8, 7}, /* min */
206 v = INT_MAX; in parse()
213 if (v > INT_MAX) break; in parse()
221 if (*e || v < 8 || v > INT_MAX) break; in parse()
226 if (*e || v > INT_MAX) break; in parse()
231 if (*e || v > INT_MAX) break; in parse()
247 params->qc.min[4] = INT_MAX; in parse()
249 if (*e || v > INT_MAX) break; in parse()
269 if (*e || v > INT_MAX) break; in parse()
/freebsd/contrib/netbsd-tests/lib/librt/
H A Dt_sched.c84 if (INT_MAX > SCHED_RR) in ATF_TC_BODY()
85 ATF_REQUIRE(sched_get_priority_max(INT_MAX) != 0); in ATF_TC_BODY()
87 if (-INT_MAX < SCHED_OTHER) in ATF_TC_BODY()
88 ATF_REQUIRE(sched_get_priority_max(-INT_MAX) != 0); in ATF_TC_BODY()
207 ATF_REQUIRE(sched_rr_get_interval(-INT_MAX, &tv) != 0); in ATF_TC_BODY()
/freebsd/sys/fs/fuse/
H A Dfuse_internal.h168 if (attr_valid >= INT_MAX || attr_valid + now.tv_sec + 2 >= INT_MAX) { in fuse_validity_2_bintime()
169 timeout->sec = INT_MAX; in fuse_validity_2_bintime()
190 if (feo->entry_valid >= INT_MAX || in fuse_validity_2_timespec()
191 feo->entry_valid + now.tv_sec + 2 >= INT_MAX) { in fuse_validity_2_timespec()
192 timeout->tv_sec = INT_MAX; in fuse_validity_2_timespec()
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_meth.c74 if (datal > INT_MAX) in bwrite_conv()
75 datal = INT_MAX; in bwrite_conv()
120 if (datal > INT_MAX) in bread_conv()
121 datal = INT_MAX; in bread_conv()
/freebsd/tools/test/stress2/misc/
H A Drdwr.sh29 # Test with read/write length of INT_MAX (i386) or INT_MAX+1 (amd64)
96 len = (size_t)INT_MAX; /* i386 */
98 len = (size_t)INT_MAX + 1; /* amd64 */
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-cardinalities.cc111 } else if (max_ == INT_MAX) { in DescribeTo()
118 } else if (max_ == INT_MAX) { in DescribeTo()
121 // 0 < min_ < max_ < INT_MAX in DescribeTo()
139 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } in AtLeast()

12345678910>>...31