/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberPropertyMapper.java | 137 BigDecimal roundingIncrement = properties.getRoundingIncrement(); in oldToNew() local 174 } else if (roundingIncrement != null) { in oldToNew() 175 if (PatternStringUtils.ignoreRoundingIncrement(roundingIncrement, maxFrac)) { in oldToNew() 178 if (minFrac > roundingIncrement.scale()) { in oldToNew() 179 roundingIncrement = roundingIncrement.setScale(minFrac); in oldToNew() 181 rounding = Precision.constructIncrement(roundingIncrement); in oldToNew()
|
D | Precision.java | 306 public static Precision increment(BigDecimal roundingIncrement) { in increment() argument 307 if (roundingIncrement != null && roundingIncrement.compareTo(BigDecimal.ZERO) > 0) { in increment() 308 return constructIncrement(roundingIncrement); in increment()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalFormatProperties.java | 126 private transient BigDecimal roundingIncrement; field in DecimalFormatProperties 199 roundingIncrement = null; in _clear() 246 roundingIncrement = other.roundingIncrement; in _copyFrom() 294 eq = eq && _equalsHelper(roundingIncrement, other.roundingIncrement); in _equals() 358 hashCode ^= _hashCodeHelper(roundingIncrement); in _hashCode() 576 return roundingIncrement; in getRoundingIncrement() 1310 public DecimalFormatProperties setRoundingIncrement(BigDecimal roundingIncrement) { in setRoundingIncrement() argument 1311 this.roundingIncrement = roundingIncrement; in setRoundingIncrement()
|
D | DecimalQuantity_AbstractBCD.java | 173 public void roundToIncrement(BigDecimal roundingIncrement, MathContext mathContext) { in roundToIncrement() argument 178 assert roundingIncrement.stripTrailingZeros().precision() != 1 in roundToIncrement() 179 || roundingIncrement.stripTrailingZeros().unscaledValue().intValue() != 5 in roundToIncrement() 180 || roundingIncrement.stripTrailingZeros().unscaledValue().intValue() != 1; in roundToIncrement() 182 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement() 183 .multiply(roundingIncrement) in roundToIncrement()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | DecimalFormatProperties.java | 130 private transient BigDecimal roundingIncrement; field in DecimalFormatProperties 202 roundingIncrement = null; in _clear() 248 roundingIncrement = other.roundingIncrement; in _copyFrom() 295 eq = eq && _equalsHelper(roundingIncrement, other.roundingIncrement); in _equals() 358 hashCode ^= _hashCodeHelper(roundingIncrement); in _hashCode() 572 return roundingIncrement; in getRoundingIncrement() 1294 public DecimalFormatProperties setRoundingIncrement(BigDecimal roundingIncrement) { in setRoundingIncrement() argument 1295 this.roundingIncrement = roundingIncrement; in setRoundingIncrement()
|
D | DecimalQuantity_AbstractBCD.java | 175 public void roundToIncrement(BigDecimal roundingIncrement, MathContext mathContext) { in roundToIncrement() argument 180 assert roundingIncrement.stripTrailingZeros().precision() != 1 in roundToIncrement() 181 || roundingIncrement.stripTrailingZeros().unscaledValue().intValue() != 5 in roundToIncrement() 182 || roundingIncrement.stripTrailingZeros().unscaledValue().intValue() != 1; in roundToIncrement() 184 temp = temp.divide(roundingIncrement, 0, mathContext.getRoundingMode()) in roundToIncrement() 185 .multiply(roundingIncrement) in roundToIncrement()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | number_mapper.cpp | 94 double roundingIncrement = properties.roundingIncrement; in oldToNew() local 133 } else if (roundingIncrement != 0.0) { in oldToNew() 134 if (PatternStringUtils::ignoreRoundingIncrement(roundingIncrement, maxFrac)) { in oldToNew() 137 precision = Precision::constructIncrement(roundingIncrement, minFrac); in oldToNew() 308 exportedProperties->roundingIncrement = increment_; in oldToNew()
|
D | number_decimfmtprops.cpp | 74 roundingIncrement = 0.0; in clear() 106 eq = eq && roundingIncrement == other.roundingIncrement; in _equals()
|
D | number_decimalquantity.cpp | 184 void DecimalQuantity::roundToIncrement(double roundingIncrement, RoundingMode roundingMode, in roundToIncrement() argument 189 U_ASSERT(roundingIncrement != 0.01); in roundToIncrement() 190 U_ASSERT(roundingIncrement != 0.05); in roundToIncrement() 191 U_ASSERT(roundingIncrement != 0.1); in roundToIncrement() 192 U_ASSERT(roundingIncrement != 0.5); in roundToIncrement() 193 U_ASSERT(roundingIncrement != 1); in roundToIncrement() 194 U_ASSERT(roundingIncrement != 5); in roundToIncrement() 197 incrementDN.setTo(roundingIncrement, status); in roundToIncrement()
|
D | number_patternstring.cpp | 532 properties.roundingIncrement = 0.0; in patternInfoToProperties() 539 properties.roundingIncrement = positive.rounding.toDouble(); in patternInfoToProperties() 543 properties.roundingIncrement = 0.0; in patternInfoToProperties() 551 properties.roundingIncrement = 0.0; in patternInfoToProperties() 555 properties.roundingIncrement = 0.0; in patternInfoToProperties() 705 double roundingInterval = properties.roundingIncrement; in propertiesToPatternString()
|
D | number_rounding.cpp | 202 IncrementPrecision Precision::increment(double roundingIncrement) { in increment() argument 203 if (roundingIncrement > 0.0) { in increment() 204 return constructIncrement(roundingIncrement, 0); in increment()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyMetaInfo.java | 382 public final int roundingIncrement; field in CurrencyMetaInfo.CurrencyDigits 390 public CurrencyDigits(int fractionDigits, int roundingIncrement) { in CurrencyDigits() argument 392 this.roundingIncrement = roundingIncrement; in CurrencyDigits()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | CurrencyMetaInfo.java | 355 public final int roundingIncrement; field in CurrencyMetaInfo.CurrencyDigits 362 public CurrencyDigits(int fractionDigits, int roundingIncrement) { in CurrencyDigits() argument 364 this.roundingIncrement = roundingIncrement; in CurrencyDigits()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | number_mapper.cpp | 94 double roundingIncrement = properties.roundingIncrement; in oldToNew() local 133 } else if (roundingIncrement != 0.0) { in oldToNew() 134 if (PatternStringUtils::ignoreRoundingIncrement(roundingIncrement, maxFrac)) { in oldToNew() 138 precision = Precision::increment(roundingIncrement).withMinFraction(minFrac); in oldToNew() 312 exportedProperties->roundingIncrement = increment_; in oldToNew()
|
D | number_decimfmtprops.cpp | 75 roundingIncrement = 0.0; in clear() 108 eq = eq && roundingIncrement == other.roundingIncrement; in _equals()
|
D | number_patternstring.cpp | 577 properties.roundingIncrement = 0.0; in patternInfoToProperties() 584 properties.roundingIncrement = positive.rounding.toDouble(); in patternInfoToProperties() 588 properties.roundingIncrement = 0.0; in patternInfoToProperties() 596 properties.roundingIncrement = 0.0; in patternInfoToProperties() 600 properties.roundingIncrement = 0.0; in patternInfoToProperties() 753 double increment = properties.roundingIncrement; in propertiesToPatternString()
|
/third_party/icu/icu4c/source/i18n/ |
D | number_mapper.cpp | 94 double roundingIncrement = properties.roundingIncrement; in oldToNew() local 133 } else if (roundingIncrement != 0.0) { in oldToNew() 134 if (PatternStringUtils::ignoreRoundingIncrement(roundingIncrement, maxFrac)) { in oldToNew() 138 precision = Precision::increment(roundingIncrement).withMinFraction(minFrac); in oldToNew() 312 exportedProperties->roundingIncrement = increment_; in oldToNew()
|
D | number_decimfmtprops.cpp | 75 roundingIncrement = 0.0; in clear() 108 eq = eq && roundingIncrement == other.roundingIncrement; in _equals()
|
D | number_patternstring.cpp | 577 properties.roundingIncrement = 0.0; in patternInfoToProperties() 584 properties.roundingIncrement = positive.rounding.toDouble(); in patternInfoToProperties() 588 properties.roundingIncrement = 0.0; in patternInfoToProperties() 596 properties.roundingIncrement = 0.0; in patternInfoToProperties() 600 properties.roundingIncrement = 0.0; in patternInfoToProperties() 753 double increment = properties.roundingIncrement; in propertiesToPatternString()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
D | NumberPropertyMapper.java | 138 BigDecimal roundingIncrement = properties.getRoundingIncrement(); in oldToNew() local 175 } else if (roundingIncrement != null) { in oldToNew() 176 if (PatternStringUtils.ignoreRoundingIncrement(roundingIncrement, maxFrac)) { in oldToNew() 179 rounding = Precision.constructIncrement(roundingIncrement); in oldToNew()
|
D | Precision.java | 292 public static Precision increment(BigDecimal roundingIncrement) { in increment() argument 293 if (roundingIncrement != null && roundingIncrement.compareTo(BigDecimal.ZERO) > 0) { in increment() 294 return constructIncrement(roundingIncrement); in increment()
|
/third_party/skia/third_party/externals/icu/source/samples/numfmt/ |
D | main.cpp | 145 double roundingIncrement; in setNumberFormatCurrency_2_4() member 174 dnf->setRoundingIncrement(currencyMap[i].roundingIncrement); in setNumberFormatCurrency_2_4()
|
/third_party/icu/icu4c/source/samples/numfmt/ |
D | main.cpp | 145 double roundingIncrement; in setNumberFormatCurrency_2_4() member 174 dnf->setRoundingIncrement(currencyMap[i].roundingIncrement); in setNumberFormatCurrency_2_4()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 224 if (tuple.roundingIncrement != null) { 225 fmt.setRoundingIncrement(tuple.roundingIncrement.doubleValue()); 397 if (tuple.roundingIncrement != null) { 504 if (tuple.roundingIncrement != null) { in propertiesFromTuple() 505 properties.setRoundingIncrement(new BigDecimal(tuple.roundingIncrement.toString())); in propertiesFromTuple()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 221 if (tuple.roundingIncrement != null) { 222 fmt.setRoundingIncrement(tuple.roundingIncrement.doubleValue()); 394 if (tuple.roundingIncrement != null) { 501 if (tuple.roundingIncrement != null) { in propertiesFromTuple() 502 properties.setRoundingIncrement(new BigDecimal(tuple.roundingIncrement.toString())); in propertiesFromTuple()
|