Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dputiltst.c136 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/
Dputilimp.h339 U_CAPI UBool U_EXPORT2 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res);
/external/icu/icu4c/source/common/
Dputilimp.h339 U_CAPI UBool U_EXPORT2 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res);
Dputil.cpp529 uprv_add32_overflow(int32_t a, int32_t b, int32_t* res) { in uprv_add32_overflow() function
Dunistr.cpp1567 if (uprv_add32_overflow(oldLength, srcLength, &newLength)) { in doAppend()
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp247 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/
Durename.h1308 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
/external/icu/icu4c/source/common/unicode/
Durename.h1308 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
/external/icu/libandroidicu/include/unicode/
Durename.h1308 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro
/external/icu/libicu/ndk_headers/unicode/
Durename.h1308 #define uprv_add32_overflow U_ICU_ENTRY_POINT_RENAME(uprv_add32_overflow) macro