Home
last modified time | relevance | path

Searched refs:getRoundingMode (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java301 (comp1.getRoundingMode() != resultICU.getRoundingMode())) in testJB4971()
313 (comp2.getRoundingMode() != resultICU.getRoundingMode())) in testJB4971()
325 (comp3.getRoundingMode() != result.getRoundingMode())) in testJB4971()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java304 (comp1.getRoundingMode() != resultICU.getRoundingMode())) in testJB4971()
316 (comp2.getRoundingMode() != resultICU.getRoundingMode())) in testJB4971()
328 (comp3.getRoundingMode() != result.getRoundingMode())) in testJB4971()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DRoundingUtils.java177 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited()
197 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits()
DDecimalQuantity_AbstractBCD.java184 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement()
880 .roundsAtMidpoint(mathContext.getRoundingMode().ordinal()); in roundToMagnitude()
918 mathContext.getRoundingMode().ordinal(), in roundToMagnitude()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java175 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOrUnlimited()
195 RoundingMode roundingMode = properties.getRoundingMode(); in getMathContextOr34Digits()
DDecimalQuantity_AbstractBCD.java182 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement()
878 .roundsAtMidpoint(mathContext.getRoundingMode().ordinal()); in roundToMagnitude()
916 mathContext.getRoundingMode().ordinal(), in roundToMagnitude()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java109 public RoundingMode getRoundingMode() { in getRoundingMode() method in NumberFormatICU
110 int icuMode = fIcuNfmt.getRoundingMode(); in getRoundingMode()
DDecimalFormatICU.java198 public RoundingMode getRoundingMode() { in getRoundingMode() method in DecimalFormatICU
199 int icuMode = fIcuDecfmt.getRoundingMode(); in getRoundingMode()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java379 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
399 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode());
419 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode());
475 fallback = fallback.divide(divisor, -scale, mathContext.getRoundingMode());
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java372 d = d.divide(roundingInterval, 0, mathContext.getRoundingMode()).multiply(roundingInterval);
392 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode());
412 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode());
468 fallback = fallback.divide(divisor, -scale, mathContext.getRoundingMode());
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java149 public int getRoundingMode() { in getRoundingMode() method in NumberFormatJDK
150 RoundingMode jdkMode = fJdkNfmt.getRoundingMode(); in getRoundingMode()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DMathContext.java524 public int getRoundingMode(){ in getRoundingMode() method in MathContext
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/
DMathContext.java504 public int getRoundingMode(){ in getRoundingMode() method in MathContext
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1264 public synchronized int getRoundingMode() { in getRoundingMode() method in DecimalFormat
1265 RoundingMode mode = exportedProperties.getRoundingMode(); in getRoundingMode()
1351 mathContext.getRoundingMode().ordinal()); in getMathContextICU()
1376 mathContextICU.getDigits(), RoundingMode.valueOf(mathContextICU.getRoundingMode())); in setMathContextICU()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDecimalFormat.java1203 public synchronized int getRoundingMode() { in getRoundingMode() method in DecimalFormat
1204 RoundingMode mode = exportedProperties.getRoundingMode(); in getRoundingMode()
1282 mathContext.getRoundingMode().ordinal()); in getMathContextICU()
1305 mathContextICU.getDigits(), RoundingMode.valueOf(mathContextICU.getRoundingMode())); in setMathContextICU()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIntrinsicInst.cpp105 Optional<fp::RoundingMode> ConstrainedFPIntrinsic::getRoundingMode() const { in getRoundingMode() function in ConstrainedFPIntrinsic
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Drbnf.h1017 virtual ERoundingMode getRoundingMode(void) const;
/third_party/node/deps/icu-small/source/i18n/unicode/
Drbnf.h997 virtual ERoundingMode getRoundingMode(void) const override;
/third_party/icu/icu4c/source/i18n/unicode/
Drbnf.h997 virtual ERoundingMode getRoundingMode(void) const;
Dnumfmt.h1048 virtual ERoundingMode getRoundingMode(void) const;
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Drbnf.h997 virtual ERoundingMode getRoundingMode(void) const;
/third_party/node/deps/icu-small/source/i18n/
Drbnf.cpp916 setRoundingMode(rhs.getRoundingMode()); in operator =()
1253 …if (getRoundingMode() != DecimalFormat::ERoundingMode::kRoundUnnecessary && !uprv_isNaN(number) &&… in format()
1258 static_cast<UNumberFormatRoundingMode>(getRoundingMode()), in format()
1975 DecimalFormat::ERoundingMode RuleBasedNumberFormat::getRoundingMode() const { in getRoundingMode() function in RuleBasedNumberFormat
/third_party/skia/third_party/externals/icu/source/i18n/
Drbnf.cpp916 setRoundingMode(rhs.getRoundingMode()); in operator =()
1253 …if (getRoundingMode() != DecimalFormat::ERoundingMode::kRoundUnnecessary && !uprv_isNaN(number) &&… in format()
1258 static_cast<UNumberFormatRoundingMode>(getRoundingMode()), in format()
1975 DecimalFormat::ERoundingMode RuleBasedNumberFormat::getRoundingMode() const { in getRoundingMode() function in RuleBasedNumberFormat
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Drbnf.cpp910 setRoundingMode(rhs.getRoundingMode()); in operator =()
1286 …if (getRoundingMode() != DecimalFormat::ERoundingMode::kRoundUnnecessary && !uprv_isNaN(number) &&… in format()
1291 static_cast<UNumberFormatRoundingMode>(getRoundingMode()), in format()
2008 DecimalFormat::ERoundingMode RuleBasedNumberFormat::getRoundingMode() const { in getRoundingMode() function in RuleBasedNumberFormat
/third_party/icu/icu4c/source/i18n/
Drbnf.cpp916 setRoundingMode(rhs.getRoundingMode()); in operator =()
1253 …if (getRoundingMode() != DecimalFormat::ERoundingMode::kRoundUnnecessary && !uprv_isNaN(number) &&… in format()
1258 static_cast<UNumberFormatRoundingMode>(getRoundingMode()), in format()
1975 DecimalFormat::ERoundingMode RuleBasedNumberFormat::getRoundingMode() const { in getRoundingMode() function in RuleBasedNumberFormat

1234