Home
last modified time | relevance | path

Searched refs:uprv_add32_overflow (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dputiltst.c133 doAssert(FALSE, uprv_add32_overflow(INT32_MAX - 2, 1, &overflow_result), "should not overflow"); in TestPUtilAPI()
135 doAssert(FALSE, uprv_add32_overflow(INT32_MAX - 2, 2, &overflow_result), "should not overflow"); in TestPUtilAPI()
137 doAssert(TRUE, uprv_add32_overflow(INT32_MAX - 2, 3, &overflow_result), "should overflow"); in TestPUtilAPI()
142 doAssert(FALSE, uprv_add32_overflow(-3, -2, &overflow_result), "should not overflow"); in TestPUtilAPI()
/external/icu/icu4c/source/common/
Dputilimp.h393 U_INTERNAL UBool U_EXPORT2 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res);
Dputil.cpp536 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res) { in uprv_add32_overflow() function
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp231 bool overflow = uprv_add32_overflow(scale, delta, &scale); in adjustMagnitude()
232 overflow = uprv_add32_overflow(origDelta, delta, &origDelta) || overflow; in adjustMagnitude()
235 overflow = overflow || uprv_add32_overflow(scale, precision, &dummy); in adjustMagnitude()
/external/icu/libandroidicu/include/unicode/
Durename.h1254 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
/external/icu/icu4c/source/common/unicode/
Durename.h1254 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro