Home
last modified time | relevance | path

Searched refs:pluralKeyword (Results 1 – 10 of 10) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DQuantityFormatter.java96 String pluralKeyword; in selectPlural() local
98 pluralKeyword = rules.select(((DecimalFormat) numberFormat).getFixedDecimal(number)); in selectPlural()
100 pluralKeyword = rules.select(number); in selectPlural()
102 return StandardPlural.orOtherFromString(pluralKeyword); in selectPlural()
117 String pluralKeyword = rules.select(fd); in selectPlural() local
120 return StandardPlural.orOtherFromString(pluralKeyword); in selectPlural()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DQuantityFormatter.java95 String pluralKeyword; in selectPlural() local
97 pluralKeyword = rules.select(((DecimalFormat) numberFormat).getFixedDecimal(number)); in selectPlural()
99 pluralKeyword = rules.select(number); in selectPlural()
101 return StandardPlural.orOtherFromString(pluralKeyword); in selectPlural()
116 String pluralKeyword = rules.select(fd); in selectPlural() local
119 return StandardPlural.orOtherFromString(pluralKeyword); in selectPlural()
/external/icu/icu4c/source/i18n/
Dquantityformatter.cpp151 UnicodeString pluralKeyword; in selectPlural() local
159 pluralKeyword = rules.select(dq); in selectPlural()
163 pluralKeyword = rules.select(number.getDouble()); in selectPlural()
165 pluralKeyword = rules.select(number.getLong()); in selectPlural()
167 pluralKeyword = rules.select((double) number.getInt64()); in selectPlural()
174 return StandardPlural::orOtherFromString(pluralKeyword); in selectPlural()
Dnumber_longnames.cpp28 static int32_t getIndex(const char* pluralKeyword, UErrorCode& status) { in getIndex() argument
30 if (uprv_strcmp(pluralKeyword, "dnam") == 0) { in getIndex()
32 } else if (uprv_strcmp(pluralKeyword, "per") == 0) { in getIndex()
35 StandardPlural::Form plural = StandardPlural::fromString(pluralKeyword, status); in getIndex()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLongNameHandler.java30 private static int getIndex(String pluralKeyword) { in getIndex() argument
32 if (pluralKeyword.equals("dnam")) { in getIndex()
34 } else if (pluralKeyword.equals("per")) { in getIndex()
37 return StandardPlural.fromString(pluralKeyword).ordinal(); in getIndex()
113 String pluralKeyword = e.getKey(); in getCurrencyLongNameData() local
114 int index = getIndex(pluralKeyword); in getCurrencyLongNameData()
115 … String longName = currency.getName(locale, Currency.PLURAL_LONG_NAME, pluralKeyword, null); in getCurrencyLongNameData()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLongNameHandler.java34 private static int getIndex(String pluralKeyword) { in getIndex() argument
36 if (pluralKeyword.equals("dnam")) { in getIndex()
38 } else if (pluralKeyword.equals("per")) { in getIndex()
41 return StandardPlural.fromString(pluralKeyword).ordinal(); in getIndex()
117 String pluralKeyword = e.getKey(); in getCurrencyLongNameData() local
118 int index = getIndex(pluralKeyword); in getCurrencyLongNameData()
119 … String longName = currency.getName(locale, Currency.PLURAL_LONG_NAME, pluralKeyword, null); in getCurrencyLongNameData()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DCombinedCurrencyMatcher.java71 String pluralKeyword = StandardPlural.VALUES.get(i).getKeyword(); in CombinedCurrencyMatcher() local
73 .getName(dfs.getLocale(), Currency.PLURAL_LONG_NAME, pluralKeyword, null); in CombinedCurrencyMatcher()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DCombinedCurrencyMatcher.java69 String pluralKeyword = StandardPlural.VALUES.get(i).getKeyword(); in CombinedCurrencyMatcher() local
71 .getName(dfs.getLocale(), Currency.PLURAL_LONG_NAME, pluralKeyword, null); in CombinedCurrencyMatcher()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUCurrencyDisplayInfoProvider.java605 String pluralKeyword = key.toString(); in consumeCurrencyUnitPatternsTable() local
606 if (unitPatterns.get(pluralKeyword) == null) { in consumeCurrencyUnitPatternsTable()
607 unitPatterns.put(pluralKeyword, value.getString()); in consumeCurrencyUnitPatternsTable()
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyDisplayInfoProvider.java601 String pluralKeyword = key.toString(); in consumeCurrencyUnitPatternsTable() local
602 if (unitPatterns.get(pluralKeyword) == null) { in consumeCurrencyUnitPatternsTable()
603 unitPatterns.put(pluralKeyword, value.getString()); in consumeCurrencyUnitPatternsTable()