• Home
  • Raw
  • Download

Lines Matching refs:createRules

173     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()
633 PluralRules *p = PluralRules::createRules(ruleDescription, status); in testGetAllKeywordValues()
734 LocalPointer<PluralRules> rules(PluralRules::createRules( in testCompactDecimalPluralKeyword()
879 LocalPointer<PluralRules> pr(PluralRules::createRules("s: n in 1,3,4,6", status)); in testSelect()
883 pr.adoptInstead(PluralRules::createRules("s: n not in 1,3,4,6", status)); in testSelect()
887 pr.adoptInstead(PluralRules::createRules("r: n in 1..4, 7..10, 14 .. 17;" in testSelect()
893 pr.adoptInstead(PluralRules::createRules("a: n mod 10 is 1; b: n mod 100 is 0 ", status)); in testSelect()
900 pr.adoptInstead(PluralRules::createRules("a: n is 1", status)); in testSelect()
904 pr.adoptInstead(PluralRules::createRules("a: n is 1 ", status)); in testSelect()
908 pr.adoptInstead(PluralRules::createRules("a: n is 1;", status)); in testSelect()
912 pr.adoptInstead(PluralRules::createRules("a: n is 1 ; ", status)); in testSelect()
918 …pr.adoptInstead(PluralRules::createRules("c: n in 5..15; b : n in 1..10 ;a:n in 10 .. 20", status… in testSelect()
925 pr.adoptInstead(PluralRules::createRules("a: n in 2..10; b: n within 8..15", status)); in testSelect()
931 …pr.adoptInstead(PluralRules::createRules("a: n in 2..10 and n in 4..12 and n not in 5..7", status)… in testSelect()
934 …pr.adoptInstead(PluralRules::createRules("a: n is 2 or n is 5 or n in 7..11 and n in 11..13", stat… in testSelect()
947 pr.adoptInstead(PluralRules::createRules("a: i is 123", status)); in testSelect()
951 pr.adoptInstead(PluralRules::createRules("a: f is 120", status)); in testSelect()
955 pr.adoptInstead(PluralRules::createRules("a: t is 12", status)); in testSelect()
959 pr.adoptInstead(PluralRules::createRules("a: v is 3", status)); in testSelect()
963 pr.adoptInstead(PluralRules::createRules("a: v is 0 and i is 123", status)); in testSelect()
968 pr.adoptInstead(PluralRules::createRules("a: n is 21; n: n is 22; i: n is 23; f: n is 24;" in testSelect()
982 pr.adoptInstead(PluralRules::createRules("not: n=31; and: n=32; or: n=33; mod: n=34;" in testSelect()
996 pr.adoptInstead(PluralRules::createRules("a: n is 1", status)); in testSelect()
998 pr.adoptInstead(PluralRules::createRules("a: n mod 10 is 2", status)); in testSelect()
1000 pr.adoptInstead(PluralRules::createRules("a: n is not 1", status)); in testSelect()
1002 pr.adoptInstead(PluralRules::createRules("a: n mod 3 is not 1", status)); in testSelect()
1004 pr.adoptInstead(PluralRules::createRules("a: n in 2..5", status)); in testSelect()
1006 pr.adoptInstead(PluralRules::createRules("a: n within 2..5", status)); in testSelect()
1008 pr.adoptInstead(PluralRules::createRules("a: n not in 2..5", status)); in testSelect()
1010 pr.adoptInstead(PluralRules::createRules("a: n not within 2..5", status)); in testSelect()
1012 pr.adoptInstead(PluralRules::createRules("a: n mod 10 in 2..5", status)); in testSelect()
1014 pr.adoptInstead(PluralRules::createRules("a: n mod 10 within 2..5", status)); in testSelect()
1016 pr.adoptInstead(PluralRules::createRules("a: n mod 10 is 2 and n is not 12", status)); in testSelect()
1018 pr.adoptInstead(PluralRules::createRules("a: n mod 10 in 2..3 or n mod 10 is 5", status)); in testSelect()
1020 pr.adoptInstead(PluralRules::createRules("a: n mod 10 within 2..3 or n mod 10 is 5", status)); in testSelect()
1022 pr.adoptInstead(PluralRules::createRules("a: n is 1 or n is 4 or n is 23", status)); in testSelect()
1024 …pr.adoptInstead(PluralRules::createRules("a: n mod 2 is 1 and n is not 3 and n in 1..11", status)); in testSelect()
1026 …pr.adoptInstead(PluralRules::createRules("a: n mod 2 is 1 and n is not 3 and n within 1..11", stat… in testSelect()
1028 …pr.adoptInstead(PluralRules::createRules("a: n mod 2 is 1 or n mod 5 is 1 and n is not 6", status)… in testSelect()
1030 … pr.adoptInstead(PluralRules::createRules("a: n in 2..5; b: n in 5..8; c: n mod 2 is 1", status)); in testSelect()
1034 …pr.adoptInstead(PluralRules::createRules("a: n within 2..5; b: n within 5..8; c: n mod 2 is 1", st… in testSelect()
1038 … pr.adoptInstead(PluralRules::createRules("a: n in 2, 4..6; b: n within 7..9,11..12,20", status)); in testSelect()
1041 pr.adoptInstead(PluralRules::createRules("a: n in 2..8, 12 and n not in 4..6", status)); in testSelect()
1043 pr.adoptInstead(PluralRules::createRules("a: n mod 10 in 2, 3,5..7 and n is not 12", status)); in testSelect()
1045 pr.adoptInstead(PluralRules::createRules("a: n in 2..6, 3..7", status)); in testSelect()
1049 pr.adoptInstead(PluralRules::createRules("a: n = 1..8 and n!= 2,3,4,5", status)); in testSelect()
1052 pr.adoptInstead(PluralRules::createRules("a:n % 10 != 1", status)); in testSelect()
1089 PluralRules::createRules(u"a: i = 0,1", status), status); in testSelectRange()
1212 PluralRules *pr = PluralRules::createRules(UnicodeString(rules), status); in testParseErrors()