Lines Matching refs:LocalPointer
128 LocalPointer<PluralRules> test(new PluralRules(status), status); in testAPI()
133 LocalPointer<PluralRules> newEnPlural(test->forLocale(Locale::getEnglish(), status), status); in testAPI()
140 LocalPointer<PluralRules> dupRule(defRule.clone()); in testAPI()
159 LocalPointer<PluralRules> empRule(test->createRules(UNICODE_STRING_SIMPLE("a:n"), status)); in testAPI()
175 LocalPointer<PluralRules> newRules(test->createRules(pluralTestData[i], status)); in testAPI()
204 LocalPointer<PluralRules> newRules(test->createRules(complexRule, status)); in testAPI()
249 LocalPointer<PluralRules> en_UK(test->forLocale(Locale::getUK(), status)); in testAPI()
250 LocalPointer<PluralRules> en(test->forLocale(Locale::getEnglish(), status)); in testAPI()
257 LocalPointer<PluralRules> zh_Hant(test->forLocale(Locale::getTaiwan(), status)); in testAPI()
258 LocalPointer<PluralRules> zh(test->forLocale(Locale::getChinese(), status)); in testAPI()
593 LocalPointer<PluralRules> pr(PluralRules::forLocale("en", UPLURAL_TYPE_ORDINAL, errorCode)); in testOrdinal()
606 void PluralRulesTest::checkSelect(const LocalPointer<PluralRules> &rules, UErrorCode &status, in checkSelect()
658 LocalPointer<PluralRules> pr(PluralRules::createRules("s: n in 1,3,4,6", status)); in testSelect()