Lines Matching refs:SHRT_MAX
198 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()
581 a=SHRT_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_s16()
583 a=0; b=SHRT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_s16()
1060 EXPECT_TRUE(__sio(m)(smax)(((int16_t)0)) == SHRT_MAX); in T_magic_constants()