Home
last modified time | relevance | path

Searched refs:createRules (Results 1 – 25 of 29) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Dplurults.cpp163 LocalPointer<PluralRules> empRule(test->createRules(UNICODE_STRING_SIMPLE("a:n"), status)); in testAPI()
179 LocalPointer<PluralRules> newRules(test->createRules(pluralTestData[i], status)); in testAPI()
208 LocalPointer<PluralRules> newRules(test->createRules(complexRule, status)); in testAPI()
213 newRules.adoptInstead(test->createRules(complexRule2, status)); in testAPI()
223 newRules.adoptInstead(test->createRules(decimalRule, status)); in testAPI()
325 rules[totalRules]=test.createRules(testEquRules[i][totalRules], status); in testEquality()
359 PluralRules *pr = PluralRules::createRules(rule, status); in assertRuleKeyValue()
449 PluralRules *rules = PluralRules::createRules("a: n mod 10 in 5..8", status); in testWithin()
498 PluralRules *p = PluralRules::createRules(ruleDescription, status); in testGetAllKeywordValues()
662 LocalPointer<PluralRules> pr(PluralRules::createRules("s: n in 1,3,4,6", status)); in testSelect()
[all …]
Dplurfmts.cpp197 PluralRules* plRules = PluralRules::createRules(oddAndEvenRule, status); in pluralFormatUnitTest()
251 plRules = PluralRules::createRules(UNICODE_STRING_SIMPLE("odd: n mod 2 is 1"), status); in pluralFormatUnitTest()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPluralRuleGeneration.java28 PluralRules rules = PluralRules.createRules("one:i = 0 or n = 1"); in TestGeneration()
43 ….createRules("one:v = 0 and i = 1,2,3 or v = 0 and i % 10 != 4,6,9 or v != 0 and f % 10 != 4,6,9"); in TestFilipino()
75 .createRules("one: " + andPart); in TestAtoms()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java173 PluralRules test = PluralRules.createRules(description);
275 PluralRules rules = PluralRules.createRules(pattern);
309 PluralRules rules = PluralRules.createRules(pattern);
343 PluralRules singleRule = PluralRules.createRules(rules2);
346 PluralRules.createRules(rules2); // for debugging
455 rules[j] = PluralRules.createRules(patterns[j]);
542 if (PluralRules.createRules(null) != null) {
579 PluralRules pr = PluralRules.createRules(rule);
708 PluralRules p = PluralRules.createRules(ruleDescription);
710 PluralRules.createRules(ruleDescription);
[all …]
DPluralFormatUnitTest.java110 PluralRules oddAndEven = PluralRules.createRules("odd: n mod 2 is 1"); in TestApplyPatternAndFormat()
252 PluralRules oddAndEven = PluralRules.createRules("odd__: n mod 2 is 1"); in TestSetLocale()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java170 PluralRules test = PluralRules.createRules(description);
272 PluralRules rules = PluralRules.createRules(pattern);
306 PluralRules rules = PluralRules.createRules(pattern);
340 PluralRules singleRule = PluralRules.createRules(rules2);
343 PluralRules.createRules(rules2); // for debugging
452 rules[j] = PluralRules.createRules(patterns[j]);
539 if (PluralRules.createRules(null) != null) {
576 PluralRules pr = PluralRules.createRules(rule);
705 PluralRules p = PluralRules.createRules(ruleDescription);
707 PluralRules.createRules(ruleDescription);
[all …]
DPluralFormatUnitTest.java107 PluralRules oddAndEven = PluralRules.createRules("odd: n mod 2 is 1"); in TestApplyPatternAndFormat()
249 PluralRules oddAndEven = PluralRules.createRules("odd__: n mod 2 is 1"); in TestSetLocale()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRulesSerialProxy.java26 return PluralRules.createRules(data); in readResolve()
DCurrencyPluralInfo.java146 pluralRules = PluralRules.createRules(ruleDescription); in setPluralRules()
DPluralRules.java398 public static PluralRules createRules(String description) { in createRules() method in PluralRules
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRulesSerialProxy.java25 return PluralRules.createRules(data); in readResolve()
DCurrencyPluralInfo.java158 pluralRules = PluralRules.createRules(ruleDescription); in setPluralRules()
DPluralRules.java400 public static PluralRules createRules(String description) { in createRules() method in PluralRules
/external/icu/icu4c/source/i18n/unicode/
Dplurrule.h240 static PluralRules* U_EXPORT2 createRules(const UnicodeString& description,
/external/cldr/tools/java/org/unicode/cldr/tool/
DWritePluralRules.java74 PluralRules rules = PluralRules.createRules(keyword + ":" + rule); in formatPluralRule()
DGeneratedPluralSamples.java565 PluralRules pluralRules2 = PluralRules.createRules("one: n is 3..9; two: n is 7..12");
/external/icu/icu4c/source/i18n/
Dcurrpinf.cpp219 fPluralRules = PluralRules::createRules(ruleDescription, status); in setPluralRules()
Dplurrule.cpp138 PluralRules::createRules(const UnicodeString& description, UErrorCode& status) { in createRules() function in PluralRules
157 return createRules(UnicodeString(TRUE, PLURAL_DEFAULT_RULE, -1), status); in createDefaultRules()
/external/cldr/tools/java/org/unicode/cldr/util/
DPluralSnapshot.java86 PluralRules pluralRules = PluralRules.createRules(rules); in SnapshotInfo()
/external/icu/icu4j/tools/build/
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j57.api3.gz
Dicu4j54.api3.gz
Dicu4j59.api3.gz
Dicu4j58.api3.gz

12