Home
last modified time | relevance | path

Searched refs:rule2 (Results 1 – 25 of 26) 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.h64 zrule_equals(const ZRule* rule1, const ZRule* rule2);
101 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2);
143 izrule_equals(const IZRule* rule1, const IZRule* rule2);
180 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.h64 zrule_equals(const ZRule* rule1, const ZRule* rule2);
101 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2);
143 izrule_equals(const IZRule* rule1, const IZRule* rule2);
180 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2);
Dnfrule.cpp147 NFRule* rule2 = nullptr; 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 != nullptr) { 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/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/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");
/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/icu4c/source/test/cintltst/
Dcapitst.c459 const UChar *rule1, *rule2, *rule3, *rule4; in TestRuleBasedColl() local
494 rule2 = ucol_getRules(col2, &tempLength); in TestRuleBasedColl()
497 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
498 doAssert((u_strcmp(rule2, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
501 col4=ucol_openRules(rule2, u_strlen(rule2), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestRuleBasedColl()
507 doAssert((u_strcmp(rule2, rule4) == 0), "Default collator getRules failed"); in TestRuleBasedColl()
Dcmsccoll.c2275 const char* rule2 = in TestBeforePrefixFailure()
2284 genericRulesStarter(rule2, test, UPRV_LENGTHOF(test)); in TestBeforePrefixFailure()
3588 UChar rule2[256]={0x26, 0x7a, 0x3c, 0x0161, 0}; /* &z<s with caron*/ in TestVI5913() local
3720 ruleLen = u_strlen(rule2); in TestVI5913()
3721 coll = ucol_openRules(rule2, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestVI5913()
3779 static const UChar rule2[]={ in TestTailor6179() local
3842 ruleLen = u_strlen(rule2); in TestTailor6179()
3843 coll = ucol_openRules(rule2, ruleLen, UCOL_OFF, UCOL_TERTIARY, &parseError, &status); in TestTailor6179()
3880 UChar rule2[256]= {0x26, 0x4C, 0xb7, 0x3c, 0x3c, 0x61, 0}; in TestUCAPrecontext() local
3965 ruleLen = u_strlen(rule2); in TestUCAPrecontext()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dapicoll.cpp302 UnicodeString rule2 = col2->getRules(); in TestRuleBasedColl() local
305 doAssert(rule1 != rule2, "Default collator getRules failed"); in TestRuleBasedColl()
306 doAssert(rule2 != rule3, "Default collator getRules failed"); in TestRuleBasedColl()
309 col4 = new RuleBasedCollator(rule2, status); in TestRuleBasedColl()
316 doAssert(rule2 == rule4, "Default collator getRules failed"); in TestRuleBasedColl()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java2800 String rule2 ="(.) <> &hex/unicode($1) &name($1); . > $1; [{}] >\u0020;"; in TestInvalidBackRef() local
2807 … Transliterator t2= Transliterator.createFromRules("Test2", rule2, Transliterator.FORWARD); in TestInvalidBackRef()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
DTransliteratorTest.java2803 String rule2 ="(.) <> &hex/unicode($1) &name($1); . > $1; [{}] >\u0020;"; in TestInvalidBackRef() local
2810 … Transliterator t2= Transliterator.createFromRules("Test2", rule2, Transliterator.FORWARD); in TestInvalidBackRef()

12