/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberPropertyMapper.java | 124 CurrencyUsage currencyUsage = properties.getCurrencyUsage(); in oldToNew() local 125 boolean explicitCurrencyUsage = currencyUsage != null; in oldToNew() 127 currencyUsage = CurrencyUsage.STANDARD; in oldToNew() 152 minFrac = currency.getDefaultFractionDigits(currencyUsage); in oldToNew() 153 maxFrac = currency.getDefaultFractionDigits(currencyUsage); in oldToNew() 155 minFrac = Math.min(maxFrac, currency.getDefaultFractionDigits(currencyUsage)); in oldToNew() 157 maxFrac = Math.max(minFrac, currency.getDefaultFractionDigits(currencyUsage)); in oldToNew() 181 rounding = Precision.constructCurrency(currencyUsage).withCurrency(currency); in oldToNew() 195 rounding = Precision.constructCurrency(currencyUsage); in oldToNew()
|
D | Precision.java | 358 public static CurrencyPrecision currency(CurrencyUsage currencyUsage) { in currency() argument 359 if (currencyUsage != null) { in currency() 360 return constructCurrency(currencyUsage); in currency()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberPropertyMapper.java | 123 CurrencyUsage currencyUsage = properties.getCurrencyUsage(); in oldToNew() local 124 boolean explicitCurrencyUsage = currencyUsage != null; in oldToNew() 126 currencyUsage = CurrencyUsage.STANDARD; in oldToNew() 151 minFrac = currency.getDefaultFractionDigits(currencyUsage); in oldToNew() 152 maxFrac = currency.getDefaultFractionDigits(currencyUsage); in oldToNew() 154 minFrac = Math.min(maxFrac, currency.getDefaultFractionDigits(currencyUsage)); in oldToNew() 156 maxFrac = Math.max(minFrac, currency.getDefaultFractionDigits(currencyUsage)); in oldToNew() 180 rounding = Precision.constructCurrency(currencyUsage).withCurrency(currency); in oldToNew() 194 rounding = Precision.constructCurrency(currencyUsage); in oldToNew()
|
D | Precision.java | 369 public static CurrencyPrecision currency(CurrencyUsage currencyUsage) { in currency() argument 370 if (currencyUsage != null) { in currency() 371 return constructCurrency(currencyUsage); in currency()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalFormatProperties.java | 89 private transient CurrencyUsage currencyUsage; field in DecimalFormatProperties 161 currencyUsage = null; in _clear() 207 currencyUsage = other.currencyUsage; in _copyFrom() 254 eq = eq && _equalsHelper(currencyUsage, other.currencyUsage); in _equals() 317 hashCode ^= _hashCodeHelper(currencyUsage); in _hashCode() 429 return currencyUsage; in getCurrencyUsage() 722 public DecimalFormatProperties setCurrencyUsage(CurrencyUsage currencyUsage) { in setCurrencyUsage() argument 723 this.currencyUsage = currencyUsage; in setCurrencyUsage()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalFormatProperties.java | 84 private transient CurrencyUsage currencyUsage; field in DecimalFormatProperties 156 currencyUsage = null; in _clear() 202 currencyUsage = other.currencyUsage; in _copyFrom() 249 eq = eq && _equalsHelper(currencyUsage, other.currencyUsage); in _equals() 312 hashCode ^= _hashCodeHelper(currencyUsage); in _hashCode() 424 return currencyUsage; in getCurrencyUsage() 717 public DecimalFormatProperties setCurrencyUsage(CurrencyUsage currencyUsage) { in setCurrencyUsage() argument 718 this.currencyUsage = currencyUsage; in setCurrencyUsage()
|
/external/icu/icu4c/source/i18n/ |
D | number_mapper.cpp | 84 !properties.currencyUsage.isNull() || affixProvider->hasCurrencySign()); in oldToNew() 86 UCurrencyUsage currencyUsage = properties.currencyUsage.getOrDefault(UCURR_USAGE_STANDARD); in oldToNew() local 114 currency.getISOCurrency(), currencyUsage, &status); in oldToNew() 141 if (!properties.currencyUsage.isNull()) { in oldToNew() 142 precision = Precision::constructCurrency(currencyUsage).withCurrency(currency); in oldToNew() 153 precision = Precision::constructCurrency(currencyUsage); in oldToNew()
|
D | number_rounding.cpp | 160 CurrencyPrecision Precision::currency(UCurrencyUsage currencyUsage) { in currency() argument 161 return constructCurrency(currencyUsage); in currency() 194 double increment = ucurr_getRoundingIncrementForUsage(isoCode, fUnion.currencyUsage, &status); in withCurrency() 196 isoCode, fUnion.currencyUsage, &status); in withCurrency() 269 union_.currencyUsage = usage; in constructCurrency()
|
D | number_decimfmtprops.cpp | 38 currencyUsage.nullify(); in clear() 87 eq = eq && currencyUsage == other.currencyUsage; in _equals()
|
D | number_decimfmtprops.h | 99 NullableValue<UCurrencyUsage> currencyUsage; member
|
D | decimfmt.cpp | 937 !tprops.currencyUsage.isNull() || AffixUtils::hasCurrencySymbols( in toPattern() 1099 …if (!fields->properties->currencyUsage.isNull() && newUsage == fields->properties->currencyUsage.g… in setCurrencyUsage() 1102 fields->properties->currencyUsage = newUsage; in setCurrencyUsage() 1109 if (fields->properties->currencyUsage.isNull()) { in getCurrencyUsage() 1112 return fields->properties->currencyUsage.getNoError(); in getCurrencyUsage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 245 if (tuple.currencyUsage != null) { 246 fmt.setCurrencyUsage(tuple.currencyUsage); 606 if (tuple.currencyUsage != null) { 713 if (tuple.currencyUsage != null) { in propertiesFromTuple() 714 properties.setCurrencyUsage(tuple.currencyUsage); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 105 public Currency.CurrencyUsage currencyUsage = null; field in DataDrivenNumberFormatTestData 351 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 242 if (tuple.currencyUsage != null) { 243 fmt.setCurrencyUsage(tuple.currencyUsage); 603 if (tuple.currencyUsage != null) { 710 if (tuple.currencyUsage != null) { in propertiesFromTuple() 711 properties.setCurrencyUsage(tuple.currencyUsage); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 102 public Currency.CurrencyUsage currencyUsage = null; field in DataDrivenNumberFormatTestData 348 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage()
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.cpp | 223 UCurrencyUsage currencyUsage = in currencyUsageToStr() local 228 currencyUsage, in currencyUsageToStr() 316 FIELD_INIT(currencyUsage, &gCurrencyUsageOps),
|
D | numberformattesttuple.h | 112 UCurrencyUsage currencyUsage; variable
|
D | numfmtdatadriventest.cpp | 133 fmt.setCurrencyUsage(tuple.currencyUsage, &status); in adjustDecimalFormat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormat_ICU58_Android.java | 3995 other.currencyUsage = currencyUsage; 4038 && currencyUsage.equals(other.currencyUsage); 5238 setRoundingIncrement(theCurrency.getRoundingIncrement(currencyUsage)); in applyPatternWithoutExpandAffix() 5239 int d = theCurrency.getDefaultFractionDigits(currencyUsage); in applyPatternWithoutExpandAffix() 5401 setRoundingIncrement(theCurrency.getRoundingIncrement(currencyUsage)); in setCurrency() 5402 int d = theCurrency.getDefaultFractionDigits(currencyUsage); in setCurrency() 5425 currencyUsage = newUsage; in setCurrencyUsage() 5430 setRoundingIncrement(theCurrency.getRoundingIncrement(currencyUsage)); in setCurrencyUsage() 5431 int d = theCurrency.getDefaultFractionDigits(currencyUsage); in setCurrencyUsage() 5442 return currencyUsage; in getCurrencyUsage() [all …]
|
D | CurrencyMetaInfo.java | 556 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyUsage) { in currencyDigits() argument
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormat_ICU58_Android.java | 3936 other.currencyUsage = currencyUsage; 3978 && currencyUsage.equals(other.currencyUsage); 5169 setRoundingIncrement(theCurrency.getRoundingIncrement(currencyUsage)); in applyPatternWithoutExpandAffix() 5170 int d = theCurrency.getDefaultFractionDigits(currencyUsage); in applyPatternWithoutExpandAffix() 5323 setRoundingIncrement(theCurrency.getRoundingIncrement(currencyUsage)); in setCurrency() 5324 int d = theCurrency.getDefaultFractionDigits(currencyUsage); in setCurrency() 5346 currencyUsage = newUsage; in setCurrencyUsage() 5351 setRoundingIncrement(theCurrency.getRoundingIncrement(currencyUsage)); in setCurrencyUsage() 5352 int d = theCurrency.getDefaultFractionDigits(currencyUsage); in setCurrencyUsage() 5362 return currencyUsage; in getCurrencyUsage() [all …]
|
D | CurrencyMetaInfo.java | 514 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyUsage) { in currencyDigits() argument
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numberformatter.h | 694 static CurrencyPrecision currency(UCurrencyUsage currencyUsage); 745 UCurrencyUsage currencyUsage; // For RND_CURRENCY member
|
/external/icu/icu4c/source/test/testdata/ |
D | numberformattestspecification.txt | 567 format currency currencyUsage output breaks 576 currency currencyUsage toPattern breaks
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
D | numberformattestspecification.txt | 567 format currency currencyUsage output breaks 576 currency currencyUsage toPattern breaks
|