Home
last modified time | relevance | path

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

123

/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/iproute2/netem/
Dnormal.c41 if (value > SHRT_MAX) value = SHRT_MAX; in main()
Dparetonormal.c72 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/opencv3/modules/hal/include/opencv2/hal/
Ddefs.h652 …e<> inline short saturate_cast<short>(ushort v) { return (short)std::min((int)v, SHRT_MAX); }
653 …eturn (short)((unsigned)(v - SHRT_MIN) <= (unsigned)USHRT_MAX ? v : v > 0 ? SHRT_MAX : SHRT_MIN); }
654 …nline short saturate_cast<short>(unsigned v) { return (short)std::min(v, (unsigned)SHRT_MAX); }
657 …rn (short)((uint64)((int64)v - SHRT_MIN) <= (uint64)USHRT_MAX ? v : v > 0 ? SHRT_MAX : SHRT_MIN); }
658 … inline short saturate_cast<short>(uint64 v) { return (short)std::min(v, (uint64)SHRT_MAX); }
/external/pdfium/third_party/freetype/include/freetype/
Dftimage.h351 #define FT_OUTLINE_CONTOURS_MAX SHRT_MAX
352 #define FT_OUTLINE_POINTS_MAX SHRT_MAX
/external/freetype/include/
Dftimage.h351 #define FT_OUTLINE_CONTOURS_MAX SHRT_MAX
352 #define FT_OUTLINE_POINTS_MAX SHRT_MAX
/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/libcxx/include/
Dclimits27 SHRT_MAX
/external/opencv3/3rdparty/libjasper/jasper/
Djas_types.h162 #define INT_FAST16_MAX SHRT_MAX
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dmax.pass.cpp45 test<short>(SHRT_MAX); in main()
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dlimits.hpp84 __device__ __forceinline__ static short max() { return SHRT_MAX; } in max()
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dlimits.hpp84 __device__ __forceinline__ static short max() { return SHRT_MAX; } in max()
/external/opencv3/modules/imgproc/test/
Dtest_thresh.cpp95 max_val = SHRT_MAX+100.f; in get_test_array_types_and_sizes()
99 max_val = (float)SHRT_MAX; in get_test_array_types_and_sizes()
/external/opencv3/3rdparty/openexr/Imath/
DImathLimits.h169 static short max() {return SHRT_MAX;}
/external/svox/pico/lib/
Dpicoapi.h155 #if (SHRT_MAX == PICO_INT16_MAX)
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_array.c48 EXTRACT_FUNC(GLshort, float, SHRT_MAX);
/external/pdfium/third_party/lpng_v163/
Dpngconf.h483 #elif SHRT_MIN == -32768 && SHRT_MAX == 32767
/external/fec/
Dviterbi39_sse.c172 if(vp->new_metrics->s[0] >= SHRT_MAX-5000){ in update_viterbi39_blk_sse()
Dviterbi39_sse2.c166 if(vp->new_metrics->s[0] >= SHRT_MAX-5000){ in update_viterbi39_blk_sse2()
Dviterbi615_sse2.c171 if(vp->new_metrics->s[0] >= SHRT_MAX-12750){ in update_viterbi615_blk_sse2()
Dviterbi615_sse.c173 if(vp->new_metrics->s[0] >= SHRT_MAX-12750){ in update_viterbi615_blk_sse()

123