Home
last modified time | relevance | path

Searched refs:affixProvider (Results 1 – 15 of 15) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMacroProps.java33 public AffixPatternProvider affixProvider; // not in API; for JDK compatibility mode only field in MacroProps
69 if (affixProvider == null) in fallback()
70 affixProvider = fallback.affixProvider; in fallback()
93 affixProvider, in hashCode()
120 && Objects.equals(affixProvider, other.affixProvider) in equals()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMacroProps.java37 public AffixPatternProvider affixProvider; // not in API; for JDK compatibility mode only field in MacroProps
73 if (affixProvider == null) in fallback()
74 affixProvider = fallback.affixProvider; in fallback()
97 affixProvider, in hashCode()
124 && Objects.equals(affixProvider, other.affixProvider) in equals()
/external/icu/icu4c/source/i18n/
Dnumparse_impl.cpp88 AffixPatternProvider* affixProvider; in createParserFromProperties() local
91 affixProvider = &localPAPP; in createParserFromProperties()
94 affixProvider = &localCPIAP; in createParserFromProperties()
96 if (affixProvider == nullptr || U_FAILURE(status)) { return nullptr; } in createParserFromProperties()
102 if (affixProvider == nullptr || U_FAILURE(status)) { return nullptr; } in createParserFromProperties()
123 if (parseCurrency || affixProvider->hasCurrencySign()) { in createParserFromProperties()
146 *affixProvider, *parser, ignorables, parseFlags, status); in createParserFromProperties()
152 if (parseCurrency || affixProvider->hasCurrencySign()) { in createParserFromProperties()
162 if (!isStrict && affixProvider->containsSymbolType(AffixPatternType::TYPE_PERCENT, status)) { in createParserFromProperties()
165 if (!isStrict && affixProvider->containsSymbolType(AffixPatternType::TYPE_PERMILLE, status)) { in createParserFromProperties()
Dnumber_mapper.cpp66 AffixPatternProvider* affixProvider; in oldToNew() local
70 affixProvider = &warehouse.propertiesAPP; in oldToNew()
74 affixProvider = &warehouse.currencyPluralInfoAPP; in oldToNew()
76 macros.affixProvider = affixProvider; in oldToNew()
84 !properties.currencyUsage.isNull() || affixProvider->hasCurrencySign()); in oldToNew()
264 macros.affixProvider = nullptr; in oldToNew()
Dnumber_formatimpl.cpp346 macros.affixProvider != nullptr ? macros.affixProvider in macrosToMicroGenerator()
Dnumber_skeletons.cpp804 if (macros.affixProvider != nullptr) { in generateSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberPropertyMapper.java107 AffixPatternProvider affixProvider; in oldToNew() local
109 affixProvider = new PropertiesAffixPatternProvider(properties); in oldToNew()
111affixProvider = new CurrencyPluralInfoAffixProvider(properties.getCurrencyPluralInfo(), properties… in oldToNew()
113 macros.affixProvider = affixProvider; in oldToNew()
122 || affixProvider.hasCurrencySign()); in oldToNew()
306 macros.affixProvider = null; in oldToNew()
DNumberFormatterImpl.java324 … patternMod.setPatternInfo((macros.affixProvider != null) ? macros.affixProvider : patternInfo); in macrosToMicroGenerator()
DNumberSkeletonImpl.java862 if (macros.affixProvider != null) { in generateSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DNumberParserImpl.java143 AffixPatternProvider affixProvider; in createParserFromProperties() local
145 affixProvider = new PropertiesAffixPatternProvider(properties); in createParserFromProperties()
147affixProvider = new CurrencyPluralInfoAffixProvider(properties.getCurrencyPluralInfo(), properties… in createParserFromProperties()
176 if (parseCurrency || affixProvider.hasCurrencySign()) { in createParserFromProperties()
198 AffixMatcher.createMatchers(affixProvider, parser, factory, ignorables, parseFlags); in createParserFromProperties()
204 if (parseCurrency || affixProvider.hasCurrencySign()) { in createParserFromProperties()
214 if (!isStrict && affixProvider.containsSymbolType(AffixUtils.TYPE_PERCENT)) { in createParserFromProperties()
217 if (!isStrict && affixProvider.containsSymbolType(AffixUtils.TYPE_PERMILLE)) { in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DNumberParserImpl.java141 AffixPatternProvider affixProvider; in createParserFromProperties() local
143 affixProvider = new PropertiesAffixPatternProvider(properties); in createParserFromProperties()
145affixProvider = new CurrencyPluralInfoAffixProvider(properties.getCurrencyPluralInfo(), properties… in createParserFromProperties()
174 if (parseCurrency || affixProvider.hasCurrencySign()) { in createParserFromProperties()
196 AffixMatcher.createMatchers(affixProvider, parser, factory, ignorables, parseFlags); in createParserFromProperties()
202 if (parseCurrency || affixProvider.hasCurrencySign()) { in createParserFromProperties()
212 if (!isStrict && affixProvider.containsSymbolType(AffixUtils.TYPE_PERCENT)) { in createParserFromProperties()
215 if (!isStrict && affixProvider.containsSymbolType(AffixUtils.TYPE_PERMILLE)) { in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberPropertyMapper.java106 AffixPatternProvider affixProvider; in oldToNew() local
108 affixProvider = new PropertiesAffixPatternProvider(properties); in oldToNew()
110affixProvider = new CurrencyPluralInfoAffixProvider(properties.getCurrencyPluralInfo(), properties… in oldToNew()
112 macros.affixProvider = affixProvider; in oldToNew()
121 || affixProvider.hasCurrencySign()); in oldToNew()
305 macros.affixProvider = null; in oldToNew()
DNumberFormatterImpl.java323 … patternMod.setPatternInfo((macros.affixProvider != null) ? macros.affixProvider : patternInfo); in macrosToMicroGenerator()
DNumberSkeletonImpl.java861 if (macros.affixProvider != null) { in generateSkeleton()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1453 const AffixPatternProvider* affixProvider = nullptr; // no ownership member