Home | History | Annotate | Download | only in i18n

Lines Matching full:rhs

94     virtual UBool operator==(const LocalizationInfo* rhs) const;
95 inline UBool operator!=(const LocalizationInfo* rhs) const { return !operator==(rhs); }
114 streq(const UChar* lhs, const UChar* rhs) {
115 if (rhs == lhs) {
118 if (lhs && rhs) {
119 return u_strcmp(lhs, rhs) == 0;
125 LocalizationInfo::operator==(const LocalizationInfo* rhs) const {
126 if (rhs) {
127 if (this == rhs) {
132 if (rsc == rhs->getNumberOfRuleSets()) {
134 if (!streq(getRuleSetName(i), rhs->getRuleSetName(i))) {
139 if (dlc == rhs->getNumberOfDisplayLocales()) {
142 int32_t ix = rhs->indexForLocale(locale);
144 if (!streq(locale, rhs->getLocaleName(ix))) {
148 if (!streq(getDisplayName(i, j), rhs->getDisplayName(ix, j))) {
804 RuleBasedNumberFormat::RuleBasedNumberFormat(const RuleBasedNumberFormat& rhs)
805 : NumberFormat(rhs)
808 , locale(rhs.locale)
815 this->operator=(rhs);
821 RuleBasedNumberFormat::operator=(const RuleBasedNumberFormat& rhs)
825 locale = rhs.locale;
826 lenient = rhs.lenient;
828 UnicodeString rules = rhs.getRules();
830 init(rules, rhs.localizations ? rhs.localizations->ref() : NULL, perror, status);
833 noParse = rhs.noParse;
876 const RuleBasedNumberFormat& rhs = (const RuleBasedNumberFormat&)other;
877 if (locale == rhs.locale &&
878 lenient == rhs.lenient &&
880 ? rhs.localizations == NULL
881 : (rhs.localizations == NULL
883 : *localizations == rhs.localizations))) {
886 NFRuleSet** q = rhs.ruleSets;