Lines Matching refs:PluralRules
51 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status)
60 const PluralRules& rules,
100 PluralFormat::PluralFormat(const PluralRules& rules,
112 const PluralRules& rules,
150 if (pluralRulesWrapper.pluralRules != NULL) {
151 delete pluralRulesWrapper.pluralRules;
159 if (other.pluralRulesWrapper.pluralRules == NULL) {
160 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, status);
162 pluralRulesWrapper.pluralRules = other.pluralRulesWrapper.pluralRules->clone();
172 PluralFormat::init(const PluralRules* rules, UPluralType type, UErrorCode& status) {
178 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, type, status);
180 pluralRulesWrapper.pluralRules = rules->clone();
181 if (pluralRulesWrapper.pluralRules == NULL) {
353 (pluralRulesWrapper.pluralRules == NULL) == (o.pluralRulesWrapper.pluralRules == NULL) &&
354 (pluralRulesWrapper.pluralRules == NULL ||
355 *pluralRulesWrapper.pluralRules == *o.pluralRulesWrapper.pluralRules);
463 delete pluralRules;
468 return pluralRules->select(number);
472 delete pluralRules;
473 pluralRules = NULL;