Home
last modified time | relevance | path

Searched refs:SSIZE_MAX (Results 1 – 5 of 5) sorted by relevance

/external/openssl/crypto/bio/
Dbss_bio.c90 # undef SSIZE_MAX
92 #ifndef SSIZE_MAX
93 # define SSIZE_MAX INT_MAX macro
323 if (num_ > SSIZE_MAX) in bio_nread()
324 num = SSIZE_MAX; in bio_nread()
484 if (num_ > SSIZE_MAX) in bio_nwrite()
485 num = SSIZE_MAX; in bio_nwrite()
/external/safe-iop/src/
Dsafe_iop.c156 # if SSIZE_MAX == LONG_MAX
158 # elif SSIZE_MAX == LONG_LONG_MAX
251 a=SSIZE_MAX; 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()
254 a=SSIZE_MAX/2; b=SSIZE_MAX/2; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_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()
459 a=-2; b=SSIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_ssizet()
460 a=SSIZE_MAX; b=SSIZE_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); in T_sub_ssizet()
664 a=SSIZE_MAX; b=SSIZE_MAX; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_ssizet()
[all …]
/external/safe-iop/include/
Dsafe_iop.h553 # if SSIZE_MAX == LONG_MAX
555 # elif SSIZE_MAX == LONG_LONG_MAX
575 MAKE_SADD(s, szt, ssize_t, SSIZE_MAX)
591 MAKE_SSUB(s, szt, ssize_t, SSIZE_MIN, SSIZE_MAX)
608 MAKE_SMUL(s, szt, ssize_t, SSIZE_MAX, SSIZE_MIN)
/external/bluetooth/glib/glib/
Dgiounix.c185 if (count > SSIZE_MAX) /* At least according to the Debian manpage for read */ in g_io_unix_read()
186 count = SSIZE_MAX; in g_io_unix_read()
/external/bluetooth/glib/
DChangeLog.pre-2-4586 * glib/giounix.c: #define _POSIX_SOURCE for SSIZE_MAX. Fixes #128853.