/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalFormatProperties.java | 125 private transient BigDecimal roundingIncrement; field in DecimalFormatProperties 197 roundingIncrement = null; in _clear() 243 roundingIncrement = other.roundingIncrement; in _copyFrom() 290 eq = eq && _equalsHelper(roundingIncrement, other.roundingIncrement); in _equals() 353 hashCode ^= _hashCodeHelper(roundingIncrement); in _hashCode() 567 return roundingIncrement; in getRoundingIncrement() 1289 public DecimalFormatProperties setRoundingIncrement(BigDecimal roundingIncrement) { in setRoundingIncrement() argument 1290 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()
|
/external/icu/android_icu4j/src/main/java/android/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()
|
/external/icu/icu4c/source/i18n/ |
D | number_decimfmtprops.cpp | 74 roundingIncrement = 0.0; in clear() 106 eq = eq && roundingIncrement == other.roundingIncrement; in _equals()
|
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_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_rounding.cpp | 196 IncrementPrecision Precision::increment(double roundingIncrement) { in increment() argument 197 if (roundingIncrement > 0.0) { in increment() 198 return constructIncrement(roundingIncrement, 0); in increment()
|
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_decimfmtprops.h | 140 double roundingIncrement; member
|
/external/icu/android_icu4j/src/main/java/android/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()
|
/external/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()
|
/external/icu/android_icu4j/src/main/java/android/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 | 291 public static Precision increment(BigDecimal roundingIncrement) { in increment() argument 292 if (roundingIncrement != null && roundingIncrement.compareTo(BigDecimal.ZERO) > 0) { in increment() 293 return constructIncrement(roundingIncrement); in increment()
|
/external/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 rounding = Precision.constructIncrement(roundingIncrement); in oldToNew()
|
D | Precision.java | 302 public static Precision increment(BigDecimal roundingIncrement) { in increment() argument 303 if (roundingIncrement != null && roundingIncrement.compareTo(BigDecimal.ZERO) > 0) { in increment() 304 return constructIncrement(roundingIncrement); in increment()
|
/external/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()
|
/external/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()
|
D | DataDrivenNumberFormatTestData.java | 95 public Double roundingIncrement = null; field in DataDrivenNumberFormatTestData 320 roundingIncrement = Double.valueOf(value); in setRoundingIncrement()
|
/external/icu/android_icu4j/src/main/tests/android/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()
|
D | DataDrivenNumberFormatTestData.java | 98 public Double roundingIncrement = null; field in DataDrivenNumberFormatTestData 323 roundingIncrement = Double.valueOf(value); in setRoundingIncrement()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ICUServiceBuilder.java | 484 double roundingIncrement; 491 this.roundingIncrement = currencyNumberInfo.getRoundingIncrement(); 531 return roundingIncrement; 548 return roundingIncrement == that.roundingIncrement 556 return Objects.hash(roundingIncrement, fractDigits, symbol, displayName);
|
/external/icu/libicu/cts_headers/ |
D | number_decimfmtprops.h | 140 double roundingIncrement; member
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CurrencyTest.java | 958 double roundingIncrement = currency.getRoundingIncrement(); in testGetRoundingIncrement() local 959 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement() 965 double roundingIncrement = currency.getRoundingIncrement(Currency.CurrencyUsage.CASH); in testGetRoundingIncrement_CurrencyUsage() local 966 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement_CurrencyUsage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CurrencyTest.java | 961 double roundingIncrement = currency.getRoundingIncrement(); in testGetRoundingIncrement() local 962 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement() 968 double roundingIncrement = currency.getRoundingIncrement(Currency.CurrencyUsage.CASH); in testGetRoundingIncrement_CurrencyUsage() local 969 assertEquals("Rounding increment not zero", 0.0, roundingIncrement, 0.0); in testGetRoundingIncrement_CurrencyUsage()
|