Home
last modified time | relevance | path

Searched refs:rule2 (Results 1 – 25 of 31) sorted by relevance

12

/third_party/icu/icu4c/source/i18n/
Dzrule.cpp38 zrule_equals(const ZRule* rule1, const ZRule* rule2) { in zrule_equals() argument
39 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2; in zrule_equals()
62 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2) { in zrule_isEquivalentTo() argument
63 return ((TimeZoneRule*)rule1)->TimeZoneRule::isEquivalentTo(*(TimeZoneRule*)rule2); in zrule_isEquivalentTo()
87 izrule_equals(const IZRule* rule1, const IZRule* rule2) { in izrule_equals() argument
88 return *(const InitialTimeZoneRule*)rule1 == *(const InitialTimeZoneRule*)rule2; in izrule_equals()
113 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2) { in izrule_isEquivalentTo() argument
114 …n ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)rule2); in izrule_isEquivalentTo()
Dzrule.h68 zrule_equals(const ZRule* rule1, const ZRule* rule2);
105 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2);
147 izrule_equals(const IZRule* rule1, const IZRule* rule2);
184 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2);
Dnfrule.cpp147 NFRule* rule2 = NULL; in makeRules() local
163 rule2 = new NFRule(rbnf, UnicodeString(), status); in makeRules()
165 if (rule2 == 0) { in makeRules()
170 rule2->baseValue = rule1->baseValue; in makeRules()
180 rule2->setType(kProperFractionRule); in makeRules()
187 rule2->baseValue = rule1->baseValue; in makeRules()
193 rule2->radix = rule1->radix; in makeRules()
194 rule2->exponent = rule1->exponent; in makeRules()
202 rule2->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
220 if (rule2 != NULL) { in makeRules()
[all …]
Dnfrs.cpp335 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument
338 if (rule2) { in util_equalRules()
339 return *rule1 == *rule2; in util_equalRules()
341 } else if (!rule2) { in util_equalRules()
Drbt_set.cpp140 const icu::TransliterationRule& rule2, in maskingError() argument
155 rule2.toRule(r, FALSE); in maskingError()
/third_party/node/deps/icu-small/source/i18n/
Dzrule.cpp38 zrule_equals(const ZRule* rule1, const ZRule* rule2) { in zrule_equals() argument
39 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2; in zrule_equals()
62 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2) { in zrule_isEquivalentTo() argument
63 return ((TimeZoneRule*)rule1)->TimeZoneRule::isEquivalentTo(*(TimeZoneRule*)rule2); in zrule_isEquivalentTo()
87 izrule_equals(const IZRule* rule1, const IZRule* rule2) { in izrule_equals() argument
88 return *(const InitialTimeZoneRule*)rule1 == *(const InitialTimeZoneRule*)rule2; in izrule_equals()
113 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2) { in izrule_isEquivalentTo() argument
114 …n ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)rule2); in izrule_isEquivalentTo()
Dzrule.h68 zrule_equals(const ZRule* rule1, const ZRule* rule2);
105 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2);
147 izrule_equals(const IZRule* rule1, const IZRule* rule2);
184 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2);
Dnfrule.cpp147 NFRule* rule2 = NULL; in makeRules() local
163 rule2 = new NFRule(rbnf, UnicodeString(), status); in makeRules()
165 if (rule2 == 0) { in makeRules()
170 rule2->baseValue = rule1->baseValue; in makeRules()
180 rule2->setType(kProperFractionRule); in makeRules()
187 rule2->baseValue = rule1->baseValue; in makeRules()
193 rule2->radix = rule1->radix; in makeRules()
194 rule2->exponent = rule1->exponent; in makeRules()
202 rule2->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
220 if (rule2 != NULL) { in makeRules()
[all …]
Dnfrs.cpp335 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument
338 if (rule2) { in util_equalRules()
339 return *rule1 == *rule2; in util_equalRules()
341 } else if (!rule2) { in util_equalRules()
Drbt_set.cpp140 const icu::TransliterationRule& rule2, in maskingError() argument
155 rule2.toRule(r, FALSE); in maskingError()
/third_party/skia/third_party/externals/icu/source/i18n/
Dzrule.cpp38 zrule_equals(const ZRule* rule1, const ZRule* rule2) { in zrule_equals() argument
39 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2; in zrule_equals()
62 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2) { in zrule_isEquivalentTo() argument
63 return ((TimeZoneRule*)rule1)->TimeZoneRule::isEquivalentTo(*(TimeZoneRule*)rule2); in zrule_isEquivalentTo()
87 izrule_equals(const IZRule* rule1, const IZRule* rule2) { in izrule_equals() argument
88 return *(const InitialTimeZoneRule*)rule1 == *(const InitialTimeZoneRule*)rule2; in izrule_equals()
113 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2) { in izrule_isEquivalentTo() argument
114 …n ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)rule2); in izrule_isEquivalentTo()
Dzrule.h68 zrule_equals(const ZRule* rule1, const ZRule* rule2);
105 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2);
147 izrule_equals(const IZRule* rule1, const IZRule* rule2);
184 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2);
Dnfrule.cpp147 NFRule* rule2 = NULL; in makeRules() local
163 rule2 = new NFRule(rbnf, UnicodeString(), status); in makeRules()
165 if (rule2 == 0) { in makeRules()
170 rule2->baseValue = rule1->baseValue; in makeRules()
180 rule2->setType(kProperFractionRule); in makeRules()
187 rule2->baseValue = rule1->baseValue; in makeRules()
193 rule2->radix = rule1->radix; in makeRules()
194 rule2->exponent = rule1->exponent; in makeRules()
202 rule2->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
220 if (rule2 != NULL) { in makeRules()
[all …]
Dnfrs.cpp335 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument
338 if (rule2) { in util_equalRules()
339 return *rule1 == *rule2; in util_equalRules()
341 } else if (!rule2) { in util_equalRules()
Drbt_set.cpp140 const icu::TransliterationRule& rule2, in maskingError() argument
155 rule2.toRule(r, FALSE); in maskingError()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dzrule.cpp38 zrule_equals(const ZRule* rule1, const ZRule* rule2) { in zrule_equals() argument
39 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2; in zrule_equals()
62 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2) { in zrule_isEquivalentTo() argument
63 return ((TimeZoneRule*)rule1)->TimeZoneRule::isEquivalentTo(*(TimeZoneRule*)rule2); in zrule_isEquivalentTo()
87 izrule_equals(const IZRule* rule1, const IZRule* rule2) { in izrule_equals() argument
88 return *(const InitialTimeZoneRule*)rule1 == *(const InitialTimeZoneRule*)rule2; in izrule_equals()
113 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2) { in izrule_isEquivalentTo() argument
114 …n ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)rule2); in izrule_isEquivalentTo()
Dzrule.h68 zrule_equals(const ZRule* rule1, const ZRule* rule2);
105 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2);
147 izrule_equals(const IZRule* rule1, const IZRule* rule2);
184 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2);
Dnfrule.cpp147 NFRule* rule2 = NULL; in makeRules() local
163 rule2 = new NFRule(rbnf, UnicodeString(), status); in makeRules()
165 if (rule2 == 0) { in makeRules()
170 rule2->baseValue = rule1->baseValue; in makeRules()
180 rule2->setType(kProperFractionRule); in makeRules()
187 rule2->baseValue = rule1->baseValue; in makeRules()
193 rule2->radix = rule1->radix; in makeRules()
194 rule2->exponent = rule1->exponent; in makeRules()
202 rule2->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
220 if (rule2 != NULL) { in makeRules()
[all …]
Dnfrs.cpp335 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument
338 if (rule2) { in util_equalRules()
339 return *rule1 == *rule2; in util_equalRules()
341 } else if (!rule2) { in util_equalRules()
Drbt_set.cpp140 const icu::TransliterationRule& rule2, in maskingError() argument
155 rule2.toRule(r, FALSE); in maskingError()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java163 NFRule rule2 = null; in makeRules()
180 rule2 = new NFRule(ownersOwner, null); in makeRules()
182 rule2.baseValue = rule1.baseValue; in makeRules()
191 rule2.baseValue = PROPER_FRACTION_RULE; in makeRules()
197 rule2.baseValue = rule1.baseValue; in makeRules()
203 rule2.radix = rule1.radix; in makeRules()
204 rule2.exponent = rule1.exponent; in makeRules()
212 rule2.extractSubstitutions(owner, sbuf.toString(), predecessor); in makeRules()
231 if (rule2 != null) { in makeRules()
232 if (rule2.baseValue >= 0) { in makeRules()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNFRule.java164 NFRule rule2 = null; in makeRules()
181 rule2 = new NFRule(ownersOwner, null); in makeRules()
183 rule2.baseValue = rule1.baseValue; in makeRules()
192 rule2.baseValue = PROPER_FRACTION_RULE; in makeRules()
198 rule2.baseValue = rule1.baseValue; in makeRules()
204 rule2.radix = rule1.radix; in makeRules()
205 rule2.exponent = rule1.exponent; in makeRules()
213 rule2.extractSubstitutions(owner, sbuf.toString(), predecessor); in makeRules()
232 if (rule2 != null) { in makeRules()
233 if (rule2.baseValue >= 0) { in makeRules()
[all …]
/third_party/libinput/tools/
Dlibinput-measure-fuzz.py408 rule2 = template.format(
418 print(rule2)
438 rule = rule2
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java603 String rule2 = col2.getRules();
606 doAssert(!rule1.equals(rule2), "Default collator getRules failed");
607 doAssert(!rule2.equals(rule3), "Default collator getRules failed");
611 col4 = new RuleBasedCollator(rule2);
618 doAssert(rule2.equals(rule4), "Default collator getRules failed");
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationAPITest.java606 String rule2 = col2.getRules();
609 doAssert(!rule1.equals(rule2), "Default collator getRules failed");
610 doAssert(!rule2.equals(rule3), "Default collator getRules failed");
614 col4 = new RuleBasedCollator(rule2);
621 doAssert(rule2.equals(rule4), "Default collator getRules failed");

12