Lines Matching refs:UINT_MAX
285 a=1; b=UINT_MAX; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_u32()
286 a=UINT_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_u32()
287 a=UINT_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_u32()
288 a=UINT_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_u32()
290 a=0; b=UINT_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_u32()
495 a=UINT_MAX-1; b=UINT_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_u32()
496 a=UINT_MAX; b=UINT_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); in T_sub_u32()
716 a=UINT_MAX-1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u32()
717 a=2; b=UINT_MAX-1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u32()
718 a=UINT_MAX; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u32()
719 a=2; b=UINT_MAX; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u32()
720 a=UINT_MAX/2+1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u32()
721 a=2; b=UINT_MAX/2+1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u32()
722 a=UINT_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_u32()
723 a=0; b=UINT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_u32()
724 a=1; b=UINT_MAX; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_u32()
725 a=UINT_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_u32()
726 a=UINT_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_u32()
886 a=0; b=UINT_MAX; EXPECT_TRUE(safe_mod(NULL, a, b)); in T_mod_u32()
1011 a=0; b=UINT_MAX; EXPECT_TRUE(safe_div(NULL, a, b)); in T_div_u32()
1065 EXPECT_TRUE(__sio(m)(umax)(((uint32_t)0)) == UINT_MAX); in T_magic_constants()