Searched refs:uprv_add32_overflow (Results 1 – 10 of 10) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | putiltst.c | 136 doAssert(FALSE, uprv_add32_overflow(INT32_MAX - 2, 1, &overflow_result), "should not overflow"); in TestPUtilAPI() 138 doAssert(FALSE, uprv_add32_overflow(INT32_MAX - 2, 2, &overflow_result), "should not overflow"); in TestPUtilAPI() 140 doAssert(TRUE, uprv_add32_overflow(INT32_MAX - 2, 3, &overflow_result), "should overflow"); in TestPUtilAPI() 145 doAssert(FALSE, uprv_add32_overflow(-3, -2, &overflow_result), "should not overflow"); in TestPUtilAPI()
|
/external/icu/libicu/cts_headers/ |
D | putilimp.h | 339 U_CAPI UBool U_EXPORT2 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res);
|
/external/icu/icu4c/source/common/ |
D | putilimp.h | 339 U_CAPI UBool U_EXPORT2 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res);
|
D | putil.cpp | 529 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res) { in uprv_add32_overflow() function
|
D | unistr.cpp | 1567 if (uprv_add32_overflow(oldLength, srcLength, &newLength)) { in doAppend()
|
/external/icu/icu4c/source/i18n/ |
D | number_decimalquantity.cpp | 247 bool overflow = uprv_add32_overflow(scale, delta, &scale); in adjustMagnitude() 248 overflow = uprv_add32_overflow(origDelta, delta, &origDelta) || overflow; in adjustMagnitude() 251 overflow = overflow || uprv_add32_overflow(scale, precision, &dummy); in adjustMagnitude()
|
/external/icu/libicu/cts_headers/unicode/ |
D | urename.h | 1308 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
|
/external/icu/icu4c/source/common/unicode/ |
D | urename.h | 1308 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
|
/external/icu/libandroidicu/include/unicode/ |
D | urename.h | 1308 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
|
/external/icu/libicu/ndk_headers/unicode/ |
D | urename.h | 1308 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
|