Home
last modified time | relevance | path

Searched refs:currencyPluralInfo (Results 1 – 11 of 11) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalFormatProperties.java88 private transient CurrencyPluralInfo currencyPluralInfo; field in DecimalFormatProperties
160 currencyPluralInfo = null; in _clear()
206 currencyPluralInfo = other.currencyPluralInfo; in _copyFrom()
253 eq = eq && _equalsHelper(currencyPluralInfo, other.currencyPluralInfo); in _equals()
316 hashCode ^= _hashCodeHelper(currencyPluralInfo); in _hashCode()
425 return currencyPluralInfo; in getCurrencyPluralInfo()
700 public DecimalFormatProperties setCurrencyPluralInfo(CurrencyPluralInfo currencyPluralInfo) { in setCurrencyPluralInfo() argument
703 if (currencyPluralInfo != null) { in setCurrencyPluralInfo()
704 currencyPluralInfo = (CurrencyPluralInfo) currencyPluralInfo.clone(); in setCurrencyPluralInfo()
706 this.currencyPluralInfo = currencyPluralInfo; in setCurrencyPluralInfo()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalFormatProperties.java83 private transient CurrencyPluralInfo currencyPluralInfo; field in DecimalFormatProperties
155 currencyPluralInfo = null; in _clear()
201 currencyPluralInfo = other.currencyPluralInfo; in _copyFrom()
248 eq = eq && _equalsHelper(currencyPluralInfo, other.currencyPluralInfo); in _equals()
311 hashCode ^= _hashCodeHelper(currencyPluralInfo); in _hashCode()
420 return currencyPluralInfo; in getCurrencyPluralInfo()
695 public DecimalFormatProperties setCurrencyPluralInfo(CurrencyPluralInfo currencyPluralInfo) { in setCurrencyPluralInfo() argument
698 if (currencyPluralInfo != null) { in setCurrencyPluralInfo()
699 currencyPluralInfo = (CurrencyPluralInfo) currencyPluralInfo.clone(); in setCurrencyPluralInfo()
701 this.currencyPluralInfo = currencyPluralInfo; in setCurrencyPluralInfo()
/external/icu/icu4c/source/i18n/
Dnumber_decimfmtprops.cpp37 currencyPluralInfo.fPtr.adoptInstead(nullptr); in clear()
86 eq = eq && currencyPluralInfo.fPtr.getAlias() == other.currencyPluralInfo.fPtr.getAlias(); in _equals()
Dnumber_mapper.cpp58 if (!properties.currencyPluralInfo.fPtr.isNull()) { in oldToNew()
59 macros.rules = properties.currencyPluralInfo.fPtr->getPluralRules(); in oldToNew()
67 if (properties.currencyPluralInfo.fPtr.isNull()) { in oldToNew()
72 … warehouse.currencyPluralInfoAPP.setTo(*properties.currencyPluralInfo.fPtr, properties, status); in oldToNew()
83 !properties.currency.isNull() || !properties.currencyPluralInfo.fPtr.isNull() || in oldToNew()
Ddecimfmt.cpp93 fields->properties->currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in DecimalFormat()
613 return fields->properties->currencyPluralInfo.fPtr.getAlias(); in getCurrencyPluralInfo()
617 fields->properties->currencyPluralInfo.fPtr.adoptInstead(toAdopt); in adoptCurrencyPluralInfo()
622 if (fields->properties->currencyPluralInfo.fPtr.isNull()) { in setCurrencyPluralInfo()
623 fields->properties->currencyPluralInfo.fPtr.adoptInstead(info.clone()); in setCurrencyPluralInfo()
625 *fields->properties->currencyPluralInfo.fPtr = info; // copy-assignment operator in setCurrencyPluralInfo()
936 bool useCurrency = ((!tprops.currency.isNull()) || !tprops.currencyPluralInfo.fPtr.isNull() || in toPattern()
Dnumber_decimfmtprops.h98 CurrencyPluralInfoWrapper currencyPluralInfo; member
Dnumparse_impl.cpp89 if (properties.currencyPluralInfo.fPtr.isNull()) { in createParserFromProperties()
93 localCPIAP.setTo(*properties.currencyPluralInfo.fPtr, properties, status); in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat_ICU58_Android.java647 currencyPluralInfo = new CurrencyPluralInfo(def); in DecimalFormat_ICU58_Android()
680 currencyPluralInfo = new CurrencyPluralInfo(def); in DecimalFormat_ICU58_Android()
719 currencyPluralInfo = new CurrencyPluralInfo(symbols.getULocale()); in createFromPatternAndSymbols()
767 currencyPluralInfo = info; in create()
774 currencyPluralInfo.getCurrencyPluralPattern("other"); in create()
1293 return subformat(currencyPluralInfo.select(getFixedDecimal(number)), in subformat()
1352 return subformat(currencyPluralInfo.select(getFixedDecimal(number)), in subformat()
1375 String currencyPluralPattern = currencyPluralInfo.getCurrencyPluralPattern(pluralCount); in subformat()
2209 if (currencyPluralInfo == null) { in setupCurrencyAffixForAllPatterns()
2210 currencyPluralInfo = new CurrencyPluralInfo(symbols.getULocale()); in setupCurrencyAffixForAllPatterns()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat_ICU58_Android.java648 currencyPluralInfo = new CurrencyPluralInfo(def); in DecimalFormat_ICU58_Android()
680 currencyPluralInfo = new CurrencyPluralInfo(def); in DecimalFormat_ICU58_Android()
718 currencyPluralInfo = new CurrencyPluralInfo(symbols.getULocale()); in createFromPatternAndSymbols()
765 currencyPluralInfo = info; in create()
772 currencyPluralInfo.getCurrencyPluralPattern("other"); in create()
1283 return subformat(currencyPluralInfo.select(getFixedDecimal(number)), in subformat()
1342 return subformat(currencyPluralInfo.select(getFixedDecimal(number)), in subformat()
1365 String currencyPluralPattern = currencyPluralInfo.getCurrencyPluralPattern(pluralCount); in subformat()
2197 if (currencyPluralInfo == null) { in setupCurrencyAffixForAllPatterns()
2198 currencyPluralInfo = new CurrencyPluralInfo(symbols.getULocale()); in setupCurrencyAffixForAllPatterns()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatHandler.java1744 CurrencyPluralInfo currencyPluralInfo[] = { in getTestObjects() local
1749 for(int i=0; i<currencyPluralInfo.length; i++){ in getTestObjects()
1750 currencyPluralInfo[i].setPluralRules("one: n is 1; few: n in 2..4"); in getTestObjects()
1751 currencyPluralInfo[i].setCurrencyPluralPattern("few", "few currency"); in getTestObjects()
1753 return currencyPluralInfo; in getTestObjects()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatHandler.java1741 CurrencyPluralInfo currencyPluralInfo[] = { in getTestObjects() local
1746 for(int i=0; i<currencyPluralInfo.length; i++){ in getTestObjects()
1747 currencyPluralInfo[i].setPluralRules("one: n is 1; few: n in 2..4"); in getTestObjects()
1748 currencyPluralInfo[i].setCurrencyPluralPattern("few", "few currency"); in getTestObjects()
1750 return currencyPluralInfo; in getTestObjects()