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) {
398 (pluralRulesWrapper.pluralRules == NULL) == (o.pluralRulesWrapper.pluralRules == NULL) &&
399 (pluralRulesWrapper.pluralRules == NULL ||
400 *pluralRulesWrapper.pluralRules == *o.pluralRulesWrapper.pluralRules);
580 delete pluralRules;
587 return pluralRules->select(*dec);
591 delete pluralRules;
592 pluralRules = NULL;