Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Dplurults.cpp173 LocalPointer<PluralRules> empRule(test->createRules(UNICODE_STRING_SIMPLE("a:n"), status)); in testAPI()
189 LocalPointer<PluralRules> newRules(test->createRules(pluralTestData[i], status)); in testAPI()
218 LocalPointer<PluralRules> newRules(test->createRules(complexRule, status)); in testAPI()
223 newRules.adoptInstead(test->createRules(complexRule2, status)); in testAPI()
233 newRules.adoptInstead(test->createRules(decimalRule, status)); in testAPI()
335 rules[totalRules]=test.createRules(testEquRules[i][totalRules], status); in testEquality()
369 PluralRules *pr = PluralRules::createRules(rule, status); in assertRuleKeyValue()
527 LocalPointer<PluralRules> test(PluralRules::createRules(description, status)); in testSamplesWithExponent()
544 LocalPointer<PluralRules> test2(PluralRules::createRules(description2, status)); in testSamplesWithExponent()
584 PluralRules *rules = PluralRules::createRules("a: n mod 10 in 5..8", status); in testWithin()
[all …]
Dplurfmts.cpp197 LocalPointer<PluralRules>plRules(PluralRules::createRules(oddAndEvenRule, status)); in pluralFormatUnitTest()
249 …plRules.adoptInstead(PluralRules::createRules(UNICODE_STRING_SIMPLE("odd: n mod 2 is 1"), status))… in pluralFormatUnitTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java177 PluralRules test = PluralRules.createRules(description);
207 PluralRules test = PluralRules.createRules(description);
308 PluralRules rules = PluralRules.createRules(pattern);
342 PluralRules rules = PluralRules.createRules(pattern);
376 PluralRules singleRule = PluralRules.createRules(rules2);
379 PluralRules.createRules(rules2); // for debugging
491 rules[j] = PluralRules.createRules(patterns[j]);
641 if (PluralRules.createRules(null) != null) {
678 PluralRules pr = PluralRules.createRules(rule);
811 PluralRules p = 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/tests/android/icu/dev/test/format/
DPluralRulesTest.java180 PluralRules test = PluralRules.createRules(description);
210 PluralRules test = PluralRules.createRules(description);
311 PluralRules rules = PluralRules.createRules(pattern);
345 PluralRules rules = PluralRules.createRules(pattern);
379 PluralRules singleRule = PluralRules.createRules(rules2);
382 PluralRules.createRules(rules2); // for debugging
494 rules[j] = PluralRules.createRules(patterns[j]);
644 if (PluralRules.createRules(null) != null) {
681 PluralRules pr = PluralRules.createRules(rule);
814 PluralRules p = 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/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.java393 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.java394 public static PluralRules createRules(String description) { in createRules() method in PluralRules
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPluralRuleGeneration.java48 PluralRules rules = PluralRules.createRules("one:i = 0 or n = 1"); in TestGeneration()
63 ….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()
95 .createRules("one: " + andPart); in TestAtoms()
/external/icu/libicu/cts_headers/unicode/
Dplurrule.h252 static PluralRules* U_EXPORT2 createRules(const UnicodeString& description,
/external/icu/icu4c/source/i18n/unicode/
Dplurrule.h252 static PluralRules* U_EXPORT2 createRules(const UnicodeString& description,
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSarifDiagnostics.cpp337 static json::Array createRules(std::vector<const PathDiagnostic *> &Diags, in createRules() function
361 {"rules", createRules(Diags, RuleMapping)}}}}; in createTool()
/external/cldr/tools/java/org/unicode/cldr/tool/
DWritePluralRules.java84 PluralRules rules = PluralRules.createRules(keyword + ":" + rule); in formatPluralRule()
DGeneratedPluralSamples.java627 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.cpp159 PluralRules::createRules(const UnicodeString& description, UErrorCode& status) { in createRules() function in PluralRules
178 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/android_icu4j/api/public/
Dcurrent.txt3214 method public static android.icu.text.PluralRules createRules(String);
/external/icu/icu4j/tools/build/
Dicu4j60.api3.gz
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j61.api3.gz

12