Home
last modified time | relevance | path

Searched refs:KeywordStatus (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralSamples.java23 import com.ibm.icu.text.PluralRules.KeywordStatus;
256 …public KeywordStatus getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> u… in getStatus()
262 return KeywordStatus.INVALID; in getStatus()
266 return KeywordStatus.UNBOUNDED; in getStatus()
281 return KeywordStatus.UNIQUE; in getStatus()
283 return KeywordStatus.BOUNDED; in getStatus()
293 return KeywordStatus.SUPPRESSED; in getStatus()
300 return originalSize == 1 ? KeywordStatus.UNIQUE : KeywordStatus.BOUNDED; in getStatus()
DPluralRules.java2265 public enum KeywordStatus { enum in PluralRules
2319 public KeywordStatus getKeywordStatus(String keyword, int offset, Set<Double> explicits, in getKeywordStatus()
2342 public KeywordStatus getKeywordStatus(String keyword, int offset, Set<Double> explicits, in getKeywordStatus()
2349 return KeywordStatus.INVALID; in getKeywordStatus()
2353 return KeywordStatus.UNBOUNDED; in getKeywordStatus()
2371 return KeywordStatus.UNIQUE; in getKeywordStatus()
2373 return KeywordStatus.BOUNDED; in getKeywordStatus()
2383 return KeywordStatus.SUPPRESSED; in getKeywordStatus()
2390 return originalSize == 1 ? KeywordStatus.UNIQUE : KeywordStatus.BOUNDED; in getKeywordStatus()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java43 import com.ibm.icu.text.PluralRules.KeywordStatus;
795 …{ { "en", null }, { "one", KeywordStatus.UNIQUE, 1.0d }, { "other", KeywordStatus.UNBOUNDED, null …
796 … { { "pl", null }, { "one", KeywordStatus.UNIQUE, 1.0d }, { "few", KeywordStatus.UNBOUNDED, null },
797 { "many", KeywordStatus.UNBOUNDED, null },
798 … { "other", KeywordStatus.SUPPRESSED, null, KeywordStatus.UNBOUNDED, null } // note that it is
803 … { "one", KeywordStatus.SUPPRESSED, null }, { "other", KeywordStatus.UNBOUNDED, null } }, };
814 KeywordStatus statusExpected = (KeywordStatus) row[1];
817KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue);
822 statusExpected = (KeywordStatus) row[3];
832 KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, null, uniqueValue);
[all …]
/external/messageformat/java/com/ibm/icu/simple/
DPluralRules.java2202 public enum KeywordStatus { enum in PluralRules
2256 public KeywordStatus getKeywordStatus(String keyword, int offset, Set<Double> explicits, in getKeywordStatus()
2278 public KeywordStatus getKeywordStatus(String keyword, int offset, Set<Double> explicits, in getKeywordStatus()
2285 return KeywordStatus.INVALID; in getKeywordStatus()
2289 return KeywordStatus.UNBOUNDED; in getKeywordStatus()
2307 return KeywordStatus.UNIQUE; in getKeywordStatus()
2309 return KeywordStatus.BOUNDED; in getKeywordStatus()
2319 return KeywordStatus.SUPPRESSED; in getKeywordStatus()
2326 return originalSize == 1 ? KeywordStatus.UNIQUE : KeywordStatus.BOUNDED; in getKeywordStatus()
/external/clang/lib/Basic/
DIdentifierTable.cpp117 enum KeywordStatus { enum
127 static KeywordStatus getKeywordStatus(const LangOptions &LangOpts, in getKeywordStatus()
156 KeywordStatus AddResult = getKeywordStatus(LangOpts, Flags); in AddKeyword()
223 static KeywordStatus getTokenKwStatus(const LangOptions &LangOpts, in getTokenKwStatus()