Lines Matching refs:LocalPointer
132 LocalPointer<PluralRules> test(new PluralRules(status), status); in testAPI()
137 LocalPointer<PluralRules> newEnPlural(test->forLocale(Locale::getEnglish(), status), status); in testAPI()
144 LocalPointer<PluralRules> dupRule(defRule.clone()); in testAPI()
163 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()
253 LocalPointer<PluralRules> en_UK(test->forLocale(Locale::getUK(), status)); in testAPI()
254 LocalPointer<PluralRules> en(test->forLocale(Locale::getEnglish(), status)); in testAPI()
261 LocalPointer<PluralRules> zh_Hant(test->forLocale(Locale::getTaiwan(), status)); in testAPI()
262 LocalPointer<PluralRules> zh(test->forLocale(Locale::getChinese(), status)); in testAPI()
597 LocalPointer<PluralRules> pr(PluralRules::forLocale("en", UPLURAL_TYPE_ORDINAL, errorCode)); in testOrdinal()
610 void PluralRulesTest::checkSelect(const LocalPointer<PluralRules> &rules, UErrorCode &status, in checkSelect()
662 LocalPointer<PluralRules> pr(PluralRules::createRules("s: n in 1,3,4,6", status)); in testSelect()