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