Home
last modified time | relevance | path

Searched refs:explicits (Results 1 – 9 of 9) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DPluralRulesUtil.java59 …eywordStatus getKeywordStatus(PluralRules rules, String keyword, int offset, Set<Double> explicits, in getKeywordStatus() argument
72 if (explicits == null) { in getKeywordStatus()
73 explicits = Collections.emptySet(); in getKeywordStatus()
75 if (originalSize > explicits.size()) { in getKeywordStatus()
82 for (Double explicit : explicits) { in getKeywordStatus()
DLogicalGrouping.java213 Set<Double> explicits = new HashSet<Double>(); in isOptional() local
215 explicits.add(0.0); in isOptional()
219 explicits.add(1.0); in isOptional()
221 if (!explicits.isEmpty()) { in isOptional()
225 pluralRules, pluralType, 0, explicits, true); in isOptional()
DSupplementalDataInfo.java3314 static final Set<Double> explicits = new HashSet<Double>();
3316 explicits.add(0.0d);
3317 explicits.add(1.0d);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralSamples.java245 …public KeywordStatus getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> u… in getStatus() argument
259 if (explicits == null) { in getStatus()
260 explicits = Collections.emptySet(); in getStatus()
265 if (originalSize > explicits.size()) { in getStatus()
278 for (Double explicit : explicits) { in getStatus()
DPluralRules.java2362 public KeywordStatus getKeywordStatus(String keyword, int offset, Set<Double> explicits, in getKeywordStatus() argument
2364 return getKeywordStatus(keyword, offset, explicits, uniqueValue, SampleType.INTEGER); in getKeywordStatus()
2385 public KeywordStatus getKeywordStatus(String keyword, int offset, Set<Double> explicits, in getKeywordStatus() argument
2403 if (explicits == null) { in getKeywordStatus()
2404 explicits = Collections.emptySet(); in getKeywordStatus()
2409 if (originalSize > explicits.size()) { in getKeywordStatus()
2422 for (Double explicit : explicits) { in getKeywordStatus()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralSamples.java247 …public KeywordStatus getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> u… in getStatus() argument
261 if (explicits == null) { in getStatus()
262 explicits = Collections.emptySet(); in getStatus()
267 if (originalSize > explicits.size()) { in getStatus()
280 for (Double explicit : explicits) { in getStatus()
DPluralRules.java2415 public KeywordStatus getKeywordStatus(String keyword, int offset, Set<Double> explicits, in getKeywordStatus() argument
2417 return getKeywordStatus(keyword, offset, explicits, uniqueValue, SampleType.INTEGER); in getKeywordStatus()
2439 public KeywordStatus getKeywordStatus(String keyword, int offset, Set<Double> explicits, in getKeywordStatus() argument
2457 if (explicits == null) { in getKeywordStatus()
2458 explicits = Collections.emptySet(); in getKeywordStatus()
2463 if (originalSize > explicits.size()) { in getKeywordStatus()
2476 for (Double explicit : explicits) { in getKeywordStatus()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java837 Set<Double> explicits = (Set<Double>) test[0][1];
846 … KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue);
853 … status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue, SampleType.DECIMAL);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java834 Set<Double> explicits = (Set<Double>) test[0][1];
843 … KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue);
850 … status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue, SampleType.DECIMAL);