Searched refs:uprv_add32_overflow (Results 1 – 6 of 6) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | putiltst.c | 133 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/ |
D | putilimp.h | 393 U_INTERNAL UBool U_EXPORT2 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res);
|
D | putil.cpp | 536 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res) { in uprv_add32_overflow() function
|
/external/icu/icu4c/source/i18n/ |
D | number_decimalquantity.cpp | 231 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/ |
D | urename.h | 1254 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
|
/external/icu/icu4c/source/common/unicode/ |
D | urename.h | 1254 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
|