HomeSort by relevance Sort by last modified time
    Searched refs:SAFE_INT64_MIN (Results 1 - 2 of 2) sorted by null

  /external/safe-iop/src/
safe_iop.c 133 # define SAFE_INT64_MIN (-SAFE_INT64_MAX - 1L)
137 # define SAFE_INT64_MIN (-SAFE_INT64_MAX - 1LL)
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; b=0; EXPECT_TRUE(safe_mul(NULL, a, b))
    [all...]
  /external/safe-iop/include/
safe_iop.h 541 # define SAFE_INT64_MIN (-SAFE_INT64_MAX - 1L)
545 # define SAFE_INT64_MIN (-SAFE_INT64_MAX - 1LL)
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 270 milliseconds