Home
last modified time | relevance | path

Searched refs:SHRT_MAX (Results 1 – 25 of 77) sorted by relevance

1234

/external/clang/test/Headers/
Dlimits.cpp9 _Static_assert(SHRT_MAX == -(SHRT_MIN+1), "");
14 _Static_assert(SHRT_MAX == USHRT_MAX/2, "");
19 _Static_assert(SHRT_MIN == -SHRT_MAX-1, "");
/external/python/cpython2/Lib/test/
Dtest_structmembers.py8 SHRT_MAX, SHRT_MIN, USHRT_MAX, \
34 ts.T_SHORT = SHRT_MAX
35 self.assertEqual(ts.T_SHORT, SHRT_MAX)
95 ts.T_SHORT = SHRT_MAX+1
/external/python/cpython3/Lib/test/
Dtest_structmembers.py8 SHRT_MAX, SHRT_MIN, USHRT_MAX, \
47 ts.T_SHORT = SHRT_MAX
48 self.assertEqual(ts.T_SHORT, SHRT_MAX)
132 ts.T_SHORT = SHRT_MAX+1
/external/iproute2/netem/
Dnormal.c41 if (value > SHRT_MAX) value = SHRT_MAX; in main()
Dparetonormal.c71 if (value > SHRT_MAX) value = SHRT_MAX; in main()
/external/libcxx/test/std/language.support/support.limits/c.limits/
Dclimits.pass.cpp46 #ifndef SHRT_MAX
47 #error SHRT_MAX not defined
/external/libcxx/test/std/depr/depr.c.headers/
Dlimits_h.pass.cpp46 #ifndef SHRT_MAX
47 #error SHRT_MAX not defined
/external/clang/lib/Headers/
Dlimits.h46 #undef SHRT_MAX
61 #define SHRT_MAX __SHRT_MAX__ macro
/external/valgrind/none/tests/s390x/
Dfpconv.c31 I2F(insn, SHRT_MAX, target_type); \
44 I2F(insn, SHRT_MAX, target_type); \
/external/python/cpython2/Modules/_ctypes/libffi_arm_wince/
Dffi.h95 #if SHRT_MAX == 32767
98 #elif SHRT_MAX == 2147483647
/external/python/cpython2/Modules/_ctypes/libffi_msvc/
Dffi.h95 #if SHRT_MAX == 32767
98 #elif SHRT_MAX == 2147483647
/external/python/cpython3/Modules/_ctypes/libffi_msvc/
Dffi.h95 #if SHRT_MAX == 32767
98 #elif SHRT_MAX == 2147483647
/external/safe-iop/src/
Dsafe_iop.c198 a=SHRT_MAX; b=1; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_s16()
200 a=SHRT_MIN; b=SHRT_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_s16()
201 a=SHRT_MAX/2; b=SHRT_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_s16()
392 a=SHRT_MIN; b=SHRT_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_s16()
393 a=SHRT_MIN/2; b=SHRT_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_s16()
394 a=-2; b=SHRT_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_s16()
395 a=SHRT_MAX; b=SHRT_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); in T_sub_s16()
576 a=SHRT_MAX; b=SHRT_MAX; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_s16()
577 a=SHRT_MAX/2+1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_s16()
578 a=SHRT_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_s16()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi_osx/include/
Dffi.h103 #if SHRT_MAX == 32767
106 #elif SHRT_MAX == 2147483647
/external/freetype/include/freetype/
Dftimage.h351 #define FT_OUTLINE_CONTOURS_MAX SHRT_MAX
352 #define FT_OUTLINE_POINTS_MAX SHRT_MAX
/external/python/cpython3/Modules/_ctypes/libffi_osx/include/
Dffi.h103 #if SHRT_MAX == 32767
106 #elif SHRT_MAX == 2147483647
/external/syslinux/com32/include/
Dlimits.h26 #define SHRT_MAX 32767 macro
/external/adhd/cras/src/tests/
Dlinear_resampler_unittest.cc69 *((int16_t *)(in_buf + i * 4)) = SHRT_MAX - i; in TEST()
70 *((int16_t *)(in_buf + i * 4 + 2)) = SHRT_MAX - i * 10; in TEST()
/external/syslinux/gpxe/src/arch/x86_64/include/
Dlimits.h20 #define SHRT_MAX 32767 macro
/external/syslinux/gpxe/src/arch/i386/include/
Dlimits.h22 #define SHRT_MAX 32767 macro
/external/python/cpython2/android_arm/libffi/
Dffi.h128 #if SHRT_MAX == 32767
131 #elif SHRT_MAX == 2147483647
/external/python/cpython2/linux_x86_64/libffi/
Dffi.h129 #if SHRT_MAX == 32767
132 #elif SHRT_MAX == 2147483647
/external/python/cpython2/android_x86_64/libffi/
Dffi.h129 #if SHRT_MAX == 32767
132 #elif SHRT_MAX == 2147483647
/external/python/cpython2/android_arm64/libffi/
Dffi.h128 #if SHRT_MAX == 32767
131 #elif SHRT_MAX == 2147483647
/external/python/cpython2/darwin_x86_64/libffi/
Dffi.h128 #if SHRT_MAX == 32767
131 #elif SHRT_MAX == 2147483647

1234