Searched refs:SSIZE_MIN (Results 1 – 2 of 2) sorted by relevance
/external/safe-iop/src/ |
D | safe_iop.c | 155 #ifndef SSIZE_MIN 157 # define SSIZE_MIN LONG_MIN macro 159 # define SSIZE_MIN LONG_LONG_MIN macro 250 a=SSIZE_MIN; b=-1; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_ssizet() 253 a=SSIZE_MIN; b=SSIZE_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_ssizet() 456 a=SSIZE_MIN; b=1; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_ssizet() 457 a=SSIZE_MIN; b=SSIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_ssizet() 458 a=SSIZE_MIN/2; b=SSIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_ssizet() 662 a=SSIZE_MIN; b=-1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_ssizet() 663 a=SSIZE_MIN; b=-2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_ssizet() [all …]
|
/external/safe-iop/include/ |
D | safe_iop.h | 552 #ifndef SSIZE_MIN 554 # define SSIZE_MIN LONG_MIN macro 556 # define SSIZE_MIN LONG_LONG_MIN macro 591 MAKE_SSUB(s, szt, ssize_t, SSIZE_MIN, SSIZE_MAX) 608 MAKE_SMUL(s, szt, ssize_t, SSIZE_MAX, SSIZE_MIN) 625 MAKE_SDIV(s, szt, ssize_t, SSIZE_MIN) 642 MAKE_SMOD(s, szt, ssize_t, SSIZE_MIN)
|