Home
last modified time | relevance | path

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

/external/bison/lib/
Dgetdelim.c33 #ifndef SSIZE_MAX
34 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) macro
98 SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX; in getdelim()
/external/marisa-trie/lib/marisa/
Dreader.cc71 const ::size_t count = (size < SSIZE_MAX) ? size : SSIZE_MAX; in read_data()
Dwriter.cc83 const ::size_t count = (size < SSIZE_MAX) ? size : SSIZE_MAX; in write_data()
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dreader.cc71 const ::size_t count = (size < SSIZE_MAX) ? size : SSIZE_MAX; in read_data()
Dwriter.cc83 const ::size_t count = (size < SSIZE_MAX) ? size : SSIZE_MAX; in write_data()
/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)