Home | History | Annotate | Download | only in src

Lines Matching full:size_max

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