Searched refs:digitList (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | numfmtdatadriventest.cpp | 27 strToDigitList(const UnicodeString& str, DecimalQuantity& digitList, UErrorCode& status) { in strToDigitList() argument 29 return digitList; in strToDigitList() 32 digitList.setToDouble(uprv_getNaN()); in strToDigitList() 33 return digitList; in strToDigitList() 36 digitList.setToDouble(-1 * uprv_getInfinity()); in strToDigitList() 37 return digitList; in strToDigitList() 40 digitList.setToDouble(uprv_getInfinity()); in strToDigitList() 41 return digitList; in strToDigitList() 45 digitList.setToDecNumber({formatValue.data(), formatValue.length()}, status); in strToDigitList() 46 return digitList; in strToDigitList() [all …]
|
D | numberformat2test.cpp | 322 DigitList digitList; in TestDigitListInterval() local 324 digitList.set((int32_t)12345); in TestDigitListInterval() 325 verifyInterval(digitList.getSmallestInterval(result), 0, 5); in TestDigitListInterval() 328 digitList.set(1000.00); in TestDigitListInterval() 329 verifyInterval(digitList.getSmallestInterval(result), 0, 4); in TestDigitListInterval() 332 digitList.set(43.125); in TestDigitListInterval() 333 verifyInterval(digitList.getSmallestInterval(result), -3, 2); in TestDigitListInterval() 336 digitList.set(.0078125); in TestDigitListInterval() 337 verifyInterval(digitList.getSmallestInterval(result), -7, 0); in TestDigitListInterval() 340 digitList.set(1000.00); in TestDigitListInterval() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat_ICU58_Android.java | 943 synchronized (digitList) { in format() 944 digitList.set(number, precision, !useExponentialNotation && in format() 1141 synchronized (digitList) { in format() 1142 digitList.set(number, precision(true)); in format() 1144 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1176 synchronized (digitList) { in format() 1177 digitList.set(number, precision(true)); in format() 1179 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1209 synchronized (digitList) { in format() 1210 digitList.set(number, precision(false), !useExponentialNotation && in format() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat_ICU58_Android.java | 940 synchronized (digitList) { in format() 941 digitList.set(number, precision, !useExponentialNotation && in format() 1137 synchronized (digitList) { in format() 1138 digitList.set(number, precision(true)); in format() 1140 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1170 synchronized (digitList) { in format() 1171 digitList.set(number, precision(true)); in format() 1173 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1201 synchronized (digitList) { in format() 1202 digitList.set(number, precision(false), !useExponentialNotation && in format() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | rbnf.cpp | 1287 DecimalQuantity digitList; in format() local 1288 digitList.setToDouble(number); in format() 1289 digitList.roundToMagnitude( in format() 1293 number = digitList.toDouble(); in format()
|