/external/icu/icu4j/main/classes/core/src/com/ibm/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() 199 rounding = Precision.constructCurrency(currencyUsage); in oldToNew()
|
D | Precision.java | 330 public static CurrencyPrecision currency(CurrencyUsage currencyUsage) { in currency() argument 331 if (currencyUsage != null) { in currency() 332 return constructCurrency(currencyUsage); in currency()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberPropertyMapper.java | 125 CurrencyUsage currencyUsage = properties.getCurrencyUsage(); in oldToNew() local 126 boolean explicitCurrencyUsage = currencyUsage != null; in oldToNew() 128 currencyUsage = CurrencyUsage.STANDARD; in oldToNew() 153 minFrac = currency.getDefaultFractionDigits(currencyUsage); in oldToNew() 154 maxFrac = currency.getDefaultFractionDigits(currencyUsage); in oldToNew() 156 minFrac = Math.min(maxFrac, currency.getDefaultFractionDigits(currencyUsage)); in oldToNew() 158 maxFrac = Math.max(minFrac, currency.getDefaultFractionDigits(currencyUsage)); in oldToNew() 182 rounding = Precision.constructCurrency(currencyUsage).withCurrency(currency); in oldToNew() 200 rounding = Precision.constructCurrency(currencyUsage); in oldToNew()
|
D | Precision.java | 318 public static CurrencyPrecision currency(CurrencyUsage currencyUsage) { in currency() argument 319 if (currencyUsage != null) { in currency() 320 return constructCurrency(currencyUsage); in currency()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalFormatProperties.java | 91 private transient CurrencyUsage currencyUsage; field in DecimalFormatProperties 163 currencyUsage = null; in _clear() 209 currencyUsage = other.currencyUsage; in _copyFrom() 256 eq = eq && _equalsHelper(currencyUsage, other.currencyUsage); in _equals() 319 hashCode ^= _hashCodeHelper(currencyUsage); in _hashCode() 431 return currencyUsage; in getCurrencyUsage() 724 public DecimalFormatProperties setCurrencyUsage(CurrencyUsage currencyUsage) { in setCurrencyUsage() argument 725 this.currencyUsage = currencyUsage; in setCurrencyUsage()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalFormatProperties.java | 99 private transient CurrencyUsage currencyUsage; field in DecimalFormatProperties 171 currencyUsage = null; in _clear() 217 currencyUsage = other.currencyUsage; in _copyFrom() 264 eq = eq && _equalsHelper(currencyUsage, other.currencyUsage); in _equals() 327 hashCode ^= _hashCodeHelper(currencyUsage); in _hashCode() 439 return currencyUsage; in getCurrencyUsage() 732 public DecimalFormatProperties setCurrencyUsage(CurrencyUsage currencyUsage) { in setCurrencyUsage() argument 733 this.currencyUsage = currencyUsage; in setCurrencyUsage()
|
/external/icu/icu4c/source/i18n/ |
D | number_mapper.cpp | 85 !properties.currencyUsage.isNull() || in oldToNew() 88 UCurrencyUsage currencyUsage = properties.currencyUsage.getOrDefault(UCURR_USAGE_STANDARD); in oldToNew() local 116 currency.getISOCurrency(), currencyUsage, &status); in oldToNew() 143 if (!properties.currencyUsage.isNull()) { in oldToNew() 144 precision = Precision::constructCurrency(currencyUsage).withCurrency(currency); in oldToNew() 159 precision = Precision::constructCurrency(currencyUsage); in oldToNew()
|
D | number_rounding.cpp | 168 CurrencyPrecision Precision::currency(UCurrencyUsage currencyUsage) { in currency() argument 169 return constructCurrency(currencyUsage); in currency() 195 double increment = ucurr_getRoundingIncrementForUsage(isoCode, fUnion.currencyUsage, &status); in withCurrency() 197 isoCode, fUnion.currencyUsage, &status); in withCurrency() 283 union_.currencyUsage = usage; in constructCurrency()
|
D | number_decimfmtprops.cpp | 39 currencyUsage.nullify(); in clear() 88 eq = eq && currencyUsage == other.currencyUsage; in _equals()
|
D | number_decimfmtprops.h | 103 NullableValue<UCurrencyUsage> currencyUsage; member
|
D | decimfmt.cpp | 1302 !tprops.currencyUsage.isNull() || in toPattern() 1522 …if (!fields->properties.currencyUsage.isNull() && newUsage == fields->properties.currencyUsage.get… in setCurrencyUsage() 1525 fields->properties.currencyUsage = newUsage; in setCurrencyUsage() 1532 if (fields == nullptr || fields->properties.currencyUsage.isNull()) { in getCurrencyUsage() 1535 return fields->properties.currencyUsage.getNoError(); in getCurrencyUsage()
|
D | number_skeletons.cpp | 1437 UCurrencyUsage usage = macros.precision.fUnion.currencyUsage; in precision()
|
/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); 415 if (tuple.currencyUsage != null) { 522 if (tuple.currencyUsage != null) { in propertiesFromTuple() 523 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/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 245 if (tuple.currencyUsage != null) { 246 fmt.setCurrencyUsage(tuple.currencyUsage); 418 if (tuple.currencyUsage != null) { 525 if (tuple.currencyUsage != null) { in propertiesFromTuple() 526 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/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 | CurrencyMetaInfo.java | 556 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyUsage) { in currencyDigits() argument
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyMetaInfo.java | 514 public CurrencyDigits currencyDigits(String isoCode, CurrencyUsage currencyUsage) { in currencyDigits() argument
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numberformatter.h | 651 static CurrencyPrecision currency(UCurrencyUsage currencyUsage); 699 UCurrencyUsage currencyUsage; // For RND_CURRENCY member
|
/external/icu/icu4c/source/test/testdata/ |
D | numberformattestspecification.txt | 586 format currency currencyUsage output breaks 595 currency currencyUsage toPattern breaks
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
D | numberformattestspecification.txt | 586 format currency currencyUsage output breaks 595 currency currencyUsage toPattern breaks
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
D | numberformattestspecification.txt | 586 format currency currencyUsage output breaks 595 currency currencyUsage toPattern breaks
|