Home | History | Annotate | Download | only in src

Lines Matching full:int_max

209   a=INT_MAX; b=1; EXPECT_FALSE(safe_add(NULL, a, b));
211 a=INT_MIN; b=INT_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
212 a=INT_MAX/2; b=INT_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b));
405 a=INT_MIN; b=INT_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
406 a=INT_MIN/2; b=INT_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
407 a=-2; b=INT_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
408 a=INT_MAX; b=INT_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
594 a=INT_MAX; b=INT_MAX; EXPECT_FALSE(safe_mul(NULL, a, b));
595 a=INT_MAX/2+1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b));
596 a=INT_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
599 a=INT_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
601 a=0; b=INT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
1064 EXPECT_TRUE(__sio(m)(smax)(((int32_t)0)) == INT_MAX);