/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | NumberFormatICU.java | 208 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() method in NumberFormatICU 210 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING); in setRoundingMode() 212 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN); in setRoundingMode() 214 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode() 216 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN); in setRoundingMode() 218 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN); in setRoundingMode() 220 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_UP); in setRoundingMode() 222 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY); in setRoundingMode() 224 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP); in setRoundingMode()
|
D | DecimalFormatICU.java | 366 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() method in DecimalFormatICU 368 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING); in setRoundingMode() 370 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN); in setRoundingMode() 372 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_FLOOR); in setRoundingMode() 374 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN); in setRoundingMode() 376 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN); in setRoundingMode() 378 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_HALF_UP); in setRoundingMode() 380 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY); in setRoundingMode() 382 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_UP); in setRoundingMode()
|
/external/icu/icu4c/source/test/intltest/ |
D | dcfmtest.cpp | 421 fmtr.setRoundingMode(DecimalFormat::kRoundCeiling); in execFormatTest() 423 fmtr.setRoundingMode(DecimalFormat::kRoundFloor); in execFormatTest() 425 fmtr.setRoundingMode(DecimalFormat::kRoundDown); in execFormatTest() 427 fmtr.setRoundingMode(DecimalFormat::kRoundUp); in execFormatTest() 429 fmtr.setRoundingMode(DecimalFormat::kRoundHalfEven); in execFormatTest() 431 fmtr.setRoundingMode(DecimalFormat::kRoundHalfDown); in execFormatTest() 433 fmtr.setRoundingMode(DecimalFormat::kRoundHalfUp); in execFormatTest() 437 fmtr.setRoundingMode(DecimalFormat::kRoundUnnecessary); in execFormatTest() 439 fmtr.setRoundingMode(DecimalFormat::kRoundFloor); in execFormatTest()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 68 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 78 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 91 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 347 pat.setRoundingMode(BigDecimal.ROUND_UP); in testJB6354()
|
D | RbnfTest.java | 1700 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding() 1717 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding() 1733 enFormatter.setRoundingMode(BigDecimal.ROUND_DOWN); in TestRounding() 1809 rbnf.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testRoundingUnrealNumbers()
|
D | NumberFormatTest.java | 181 format.setRoundingMode(roundingModes[i]); in verifyRounding() 202 nff.setRoundingMode(((Integer) item[0]).intValue()); in Test10419RoundingWith0FractionDigits() 2480 nf.setRoundingMode(BigDecimal.ROUND_HALF_UP); in TestRounding() 2488 nf.setRoundingMode(mode); in TestRounding() 2558 f.setRoundingMode(BigDecimal.ROUND_DOWN); in TestBigDecimalRounding() 2562 f.setRoundingMode(BigDecimal.ROUND_HALF_UP); in TestBigDecimalRounding() 3612 tgrm.setRoundingMode(0); in TestRoundingMode() 3715 df.setRoundingMode(MathContext.ROUND_HALF_UP); in TestNegZeroRounding() 3953 fmt.setRoundingMode(roundingMode); in TestRoundingBehavior() 4741 df.setRoundingMode(BigDecimal.ROUND_UNNECESSARY); [all …]
|
D | NumberFormatDataDrivenTest.java | 243 fmt.setRoundingMode(tuple.roundingMode); 523 properties.setRoundingMode(RoundingMode.valueOf(tuple.roundingMode)); in propertiesFromTuple()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 65 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 75 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 88 dec.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testJB1871() 344 pat.setRoundingMode(BigDecimal.ROUND_UP); in testJB6354()
|
D | RbnfTest.java | 1697 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding() 1714 enFormatter.setRoundingMode(BigDecimal.ROUND_HALF_EVEN); in TestRounding() 1730 enFormatter.setRoundingMode(BigDecimal.ROUND_DOWN); in TestRounding() 1806 rbnf.setRoundingMode(BigDecimal.ROUND_HALF_UP); in testRoundingUnrealNumbers()
|
D | NumberFormatTest.java | 178 format.setRoundingMode(roundingModes[i]); in verifyRounding() 199 nff.setRoundingMode(((Integer) item[0]).intValue()); in Test10419RoundingWith0FractionDigits() 2477 nf.setRoundingMode(BigDecimal.ROUND_HALF_UP); in TestRounding() 2485 nf.setRoundingMode(mode); in TestRounding() 2555 f.setRoundingMode(BigDecimal.ROUND_DOWN); in TestBigDecimalRounding() 2559 f.setRoundingMode(BigDecimal.ROUND_HALF_UP); in TestBigDecimalRounding() 3609 tgrm.setRoundingMode(0); in TestRoundingMode() 3712 df.setRoundingMode(MathContext.ROUND_HALF_UP); in TestNegZeroRounding() 3950 fmt.setRoundingMode(roundingMode); in TestRoundingBehavior() 4738 df.setRoundingMode(BigDecimal.ROUND_UNNECESSARY); [all …]
|
D | NumberFormatDataDrivenTest.java | 240 fmt.setRoundingMode(tuple.roundingMode); 520 properties.setRoundingMode(RoundingMode.valueOf(tuple.roundingMode)); in propertiesFromTuple()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 252 public void setRoundingMode(int roundingMode) { in setRoundingMode() method in NumberFormatJDK 283 fJdkNfmt.setRoundingMode(mode); in setRoundingMode()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | LangOptions.h | 419 setRoundingMode(static_cast<RoundingMode>(LangOptions::FPR_ToNearest)); in FPOptions() 431 setRoundingMode(LO.getFPRoundingMode()); in FPOptions()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | BigReal.java | 206 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() method in BigReal
|
/external/icu/libicu/cts_headers/unicode/ |
D | rbnf.h | 1004 virtual void setRoundingMode(ERoundingMode roundingMode);
|
D | numfmt.h | 1055 virtual void setRoundingMode(ERoundingMode roundingMode);
|
D | decimfmt.h | 1412 virtual void setRoundingMode(ERoundingMode roundingMode) U_OVERRIDE;
|
/external/icu/icu4c/source/i18n/unicode/ |
D | rbnf.h | 1004 virtual void setRoundingMode(ERoundingMode roundingMode);
|
D | numfmt.h | 1055 virtual void setRoundingMode(ERoundingMode roundingMode);
|
D | decimfmt.h | 1412 virtual void setRoundingMode(ERoundingMode roundingMode) U_OVERRIDE;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat.java | 586 setRoundingMode(fieldGetter.get("roundingMode", 0)); in readObject() 1223 public synchronized void setRoundingMode(int roundingMode) { in setRoundingMode() method in DecimalFormat 1224 properties.setRoundingMode(RoundingMode.valueOf(roundingMode)); in setRoundingMode()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat.java | 599 setRoundingMode(fieldGetter.get("roundingMode", 0)); in readObject() 1292 public synchronized void setRoundingMode(int roundingMode) { in setRoundingMode() method in DecimalFormat 1293 properties.setRoundingMode(RoundingMode.valueOf(roundingMode)); in setRoundingMode()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberPropertyMapper.java | 320 exportedProperties.setRoundingMode(mathContext.getRoundingMode()); in oldToNew()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberPropertyMapper.java | 319 exportedProperties.setRoundingMode(mathContext.getRoundingMode()); in oldToNew()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpField.java | 258 public void setRoundingMode(final RoundingMode mode) {
|