Home | History | Annotate | Download | only in src

Lines Matching full:long_max

156 #  if SSIZE_MAX == LONG_MAX
231 a=LONG_MAX; b=1; EXPECT_FALSE(safe_add(NULL, a, b));
233 a=LONG_MIN; b=LONG_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
234 a=LONG_MAX/2; b=LONG_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b));
431 a=LONG_MIN; b=LONG_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
432 a=LONG_MIN/2; b=LONG_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
433 a=-2; b=LONG_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
434 a=LONG_MAX; b=LONG_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
630 a=LONG_MAX; b=LONG_MAX; EXPECT_FALSE(safe_mul(NULL, a, b));
631 a=LONG_MAX/2+1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b));
632 a=LONG_MAX/2; b=2; EXPECT_TRUE(safe_mul(NULL, a, b));
635 a=LONG_MAX; b=0; EXPECT_TRUE(safe_mul(NULL, a, b));
637 a=0; b=LONG_MAX; EXPECT_TRUE(safe_mul(NULL, a, b));
904 a=0; b=LONG_MAX; EXPECT_TRUE(safe_mod(NULL, a, b));
1029 a=0; b=LONG_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1076 EXPECT_TRUE(__sio(m)(smax)(((long)0)) == LONG_MAX);