Lines Matching refs:SIZE_MAX
333 a=1; b=SIZE_MAX; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_sizet()
334 a=SIZE_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_sizet()
335 a=SIZE_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_sizet()
336 a=SIZE_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_sizet()
338 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_sizet()
543 a=SIZE_MAX-1; b=SIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_sizet()
544 a=SIZE_MAX; b=SIZE_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); in T_sub_sizet()
788 a=SIZE_MAX-1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet()
789 a=2; b=SIZE_MAX-1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet()
790 a=SIZE_MAX; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet()
791 a=2; b=SIZE_MAX; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet()
792 a=SIZE_MAX/2+1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet()
793 a=2; b=SIZE_MAX/2+1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet()
794 a=SIZE_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_sizet()
795 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_sizet()
796 a=1; b=SIZE_MAX; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_sizet()
797 a=SIZE_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_sizet()
798 a=SIZE_MAX; b=1; EXPECT_TRUE(safe_mul(NULL, a, b)); in T_mul_sizet()
922 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_mod(NULL, a, b)); in T_mod_sizet()
1047 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_div(NULL, a, b)); in T_div_sizet()
1073 EXPECT_TRUE(__sio(m)(umax)(((size_t)0)) == SIZE_MAX); in T_magic_constants()