Searched refs:SSIZE_MIN (Results 1 - 2 of 2) sorted by relevance

/external/safe-iop/src/
H A Dsafe_iop.c155 #ifndef SSIZE_MIN
157 # define SSIZE_MIN LONG_MIN macro
159 # define SSIZE_MIN LONG_LONG_MIN macro
161 # error "SSIZE_MIN is not defined and could not be guessed"
250 a=SSIZE_MIN; b=-1; EXPECT_FALSE(safe_add(NULL, a, b));
253 a=SSIZE_MIN; b=SSIZE_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
456 a=SSIZE_MIN; b=1; EXPECT_FALSE(safe_sub(NULL, a, b));
457 a=SSIZE_MIN; b=SSIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
458 a=SSIZE_MIN/2; b=SSIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
662 a=SSIZE_MIN;
[all...]
/external/safe-iop/include/
H A Dsafe_iop.h552 #ifndef SSIZE_MIN
554 # define SSIZE_MIN LONG_MIN macro
556 # define SSIZE_MIN LONG_LONG_MIN macro
558 # error "SSIZE_MIN is not defined and could not be guessed"
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)

Completed in 53 milliseconds