Searched refs:SAFE_INT64_MIN (Results 1 - 2 of 2) sorted by relevance
/external/safe-iop/src/ |
H A D | safe_iop.c | 133 # define SAFE_INT64_MIN (-SAFE_INT64_MAX - 1L) macro 137 # define SAFE_INT64_MIN (-SAFE_INT64_MAX - 1LL) macro 219 a=SAFE_INT64_MIN; b=-1; EXPECT_FALSE(safe_add(NULL, a, b)); 222 a=SAFE_INT64_MIN; b=SAFE_INT64_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); 417 a=SAFE_INT64_MIN; b=1; EXPECT_FALSE(safe_sub(NULL, a, b)); 418 a=SAFE_INT64_MIN; b=SAFE_INT64_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); 419 a=SAFE_INT64_MIN/2; b=SAFE_INT64_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); 610 a=SAFE_INT64_MIN; b=-1; EXPECT_FALSE(safe_mul(NULL, a, b)); 611 a=SAFE_INT64_MIN; b=-2; EXPECT_FALSE(safe_mul(NULL, a, b)); 618 a=SAFE_INT64_MIN; [all...] |
/external/safe-iop/include/ |
H A D | safe_iop.h | 541 # define SAFE_INT64_MIN (-SAFE_INT64_MAX - 1L) macro 545 # define SAFE_INT64_MIN (-SAFE_INT64_MAX - 1LL) macro 589 MAKE_SSUB(s, 64, int64_t, SAFE_INT64_MIN, SAFE_INT64_MAX) 606 MAKE_SMUL(s, 64, int64_t, SAFE_INT64_MAX, SAFE_INT64_MIN) 623 MAKE_SDIV(s, 64, int64_t, SAFE_INT64_MIN) 640 MAKE_SMOD(s, 64, int64_t, SAFE_INT64_MIN)
|
Completed in 105 milliseconds