Lines Matching refs:ULONG_MAX
309 a=1; b=ULONG_MAX; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_ulong()
310 a=ULONG_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_ulong()
311 a=ULONG_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_ulong()
312 a=ULONG_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_ulong()
314 a=0; b=ULONG_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_ulong()
519 a=ULONG_MAX-1; b=ULONG_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_ulong()
520 a=ULONG_MAX; b=ULONG_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); in T_sub_ulong()
752 a=ULONG_MAX-1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_ulong()
753 a=2; b=ULONG_MAX-1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_ulong()
754 a=ULONG_MAX; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_ulong()
755 a=2; b=ULONG_MAX; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_ulong()
756 a=ULONG_MAX/2+1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_ulong()
757 a=2; b=ULONG_MAX/2+1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_ulong()
758 a=ULONG_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_ulong()
759 a=0; b=ULONG_MAX; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_ulong()
760 a=1; b=ULONG_MAX; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_ulong()
761 a=ULONG_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_ulong()
762 a=ULONG_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_ulong()
1077 EXPECT_TRUE(__sio(m)(umax)(((unsigned long)0)) == ULONG_MAX); in T_magic_constants()