Home
last modified time | relevance | path

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

12

/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/pdfium/third_party/freetype/include/
Dftimage.h356 #define FT_OUTLINE_CONTOURS_MAX SHRT_MAX
357 #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
Dmodule.modulemap115 SHRT_MIN, SHRT_MAX, USHRT_MAX,
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dmax.pass.cpp45 test<short>(SHRT_MAX); in main()
/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/samples/fx_lpng/lpng_v163/
Dpngconf.h483 #elif SHRT_MIN == -32768 && SHRT_MAX == 32767
/external/libpng/
Dpngconf.h510 #elif SHRT_MIN == -32768 && SHRT_MAX == 32767
/external/ppp/pppd/plugins/pppoatm/
Dtext2atm.c62 if (part[0] > SHRT_MAX || part[2] > ATM_MAX_VCI) in try_pvc()
/external/skia/src/images/
Dbmpdecoderhelper.cpp18 static const int kMaxDim = SHRT_MAX / 2;
/external/safe-iop/include/
Dsafe_iop.h577 MAKE_SADD(s, 16, int16_t, SHRT_MAX)
593 MAKE_SSUB(s, 16, int16_t, SHRT_MIN, SHRT_MAX)
610 MAKE_SMUL(s, 16, int16_t, SHRT_MAX, SHRT_MIN)
/external/libavc/encoder/
Dih264e_process.c1087 ps_proc->i4_mb_distortion = SHRT_MAX; in ih264e_update_proc_ctxt()
1400 ps_proc->i4_mb_distortion = SHRT_MAX; in ih264e_init_proc_ctxt()
/external/pcre/dist/
Dpcrecpp.cc768 if (r < SHRT_MIN || r > SHRT_MAX) return false; // Out of range in parse_short_radix()
/external/opencv/cv/src/
Dcvstereobm.cpp307 __m128i minsad8 = _mm_set1_epi16(SHRT_MAX); in icvFindStereoCorrespondenceBM_SSE2()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp819 int16_t min_width = SHRT_MAX; in AddMacFont()
/external/opencv/cv/include/
Dcv.h1431 #define CV_STEREO_GC_OCCLUDED SHRT_MAX in LOAD_CHDL()

12