Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dzrule.cpp36 zrule_equals(const ZRule* rule1, const ZRule* rule2) { in zrule_equals() argument
37 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2; in zrule_equals()
60 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2) { in zrule_isEquivalentTo() argument
61 return ((TimeZoneRule*)rule1)->TimeZoneRule::isEquivalentTo(*(TimeZoneRule*)rule2); in zrule_isEquivalentTo()
85 izrule_equals(const IZRule* rule1, const IZRule* rule2) { in izrule_equals() argument
86 return *(const InitialTimeZoneRule*)rule1 == *(const InitialTimeZoneRule*)rule2; in izrule_equals()
111 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2) { in izrule_isEquivalentTo() argument
112 …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.cpp144 NFRule* rule2 = NULL; in makeRules() local
160 rule2 = new NFRule(rbnf, UnicodeString(), status); in makeRules()
162 if (rule2 == 0) { in makeRules()
167 rule2->baseValue = rule1->baseValue; in makeRules()
177 rule2->setType(kProperFractionRule); in makeRules()
184 rule2->baseValue = rule1->baseValue; in makeRules()
190 rule2->radix = rule1->radix; in makeRules()
191 rule2->exponent = rule1->exponent; in makeRules()
199 rule2->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
217 if (rule2 != NULL) { in makeRules()
[all …]
Dnfrs.cpp332 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument
335 if (rule2) { in util_equalRules()
336 return *rule1 == *rule2; in util_equalRules()
338 } else if (!rule2) { in util_equalRules()
Drbt_set.cpp138 const icu::TransliterationRule& rule2, in maskingError() argument
153 rule2.toRule(r, FALSE); in maskingError()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java161 NFRule rule2 = null; in makeRules()
178 rule2 = new NFRule(ownersOwner, null); in makeRules()
180 rule2.baseValue = rule1.baseValue; in makeRules()
189 rule2.baseValue = PROPER_FRACTION_RULE; in makeRules()
195 rule2.baseValue = rule1.baseValue; in makeRules()
201 rule2.radix = rule1.radix; in makeRules()
202 rule2.exponent = rule1.exponent; in makeRules()
210 rule2.extractSubstitutions(owner, sbuf.toString(), predecessor); in makeRules()
229 if (rule2 != null) { in makeRules()
230 if (rule2.baseValue >= 0) { in makeRules()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java162 NFRule rule2 = null; in makeRules()
179 rule2 = new NFRule(ownersOwner, null); in makeRules()
181 rule2.baseValue = rule1.baseValue; in makeRules()
190 rule2.baseValue = PROPER_FRACTION_RULE; in makeRules()
196 rule2.baseValue = rule1.baseValue; in makeRules()
202 rule2.radix = rule1.radix; in makeRules()
203 rule2.exponent = rule1.exponent; in makeRules()
211 rule2.extractSubstitutions(owner, sbuf.toString(), predecessor); in makeRules()
230 if (rule2 != null) { in makeRules()
231 if (rule2.baseValue >= 0) { in makeRules()
[all …]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTreeNodeStream.java341 Tree rule2 = nodes[7]; in testDeepTree() local
351 rules.addChild(rule2); in testDeepTree()
352 rule2.addChild(id2); in testDeepTree()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java584 String rule2 = col2.getRules();
587 doAssert(!rule1.equals(rule2), "Default collator getRules failed");
588 doAssert(!rule2.equals(rule3), "Default collator getRules failed");
592 col4 = new RuleBasedCollator(rule2);
599 doAssert(rule2.equals(rule4), "Default collator getRules failed");
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java588 String rule2 = col2.getRules();
591 doAssert(!rule1.equals(rule2), "Default collator getRules failed");
592 doAssert(!rule2.equals(rule3), "Default collator getRules failed");
596 col4 = new RuleBasedCollator(rule2);
603 doAssert(rule2.equals(rule4), "Default collator getRules failed");
/external/icu/icu4c/source/test/cintltst/
Dcapitst.c453 const UChar *rule1, *rule2, *rule3, *rule4; in TestRuleBasedColl() local
488 rule2 = ucol_getRules(col2, &tempLength); in TestRuleBasedColl()
491 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
492 doAssert((u_strcmp(rule2, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
495 col4=ucol_openRules(rule2, u_strlen(rule2), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestRuleBasedColl()
501 doAssert((u_strcmp(rule2, rule4) == 0), "Default collator getRules failed"); in TestRuleBasedColl()
Dcmsccoll.c2276 const char* rule2 = in TestBeforePrefixFailure()
2285 genericRulesStarter(rule2, test, sizeof(test)/sizeof(test[0])); in TestBeforePrefixFailure()
3589 UChar rule2[256]={0x26, 0x7a, 0x3c, 0x0161, 0}; /* &z<s with caron*/ in TestVI5913() local
3721 ruleLen = u_strlen(rule2); in TestVI5913()
3722 coll = ucol_openRules(rule2, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestVI5913()
3780 static const UChar rule2[]={ in TestTailor6179() local
3843 ruleLen = u_strlen(rule2); in TestTailor6179()
3844 coll = ucol_openRules(rule2, ruleLen, UCOL_OFF, UCOL_TERTIARY, &parseError, &status); in TestTailor6179()
3881 UChar rule2[256]= {0x26, 0x4C, 0xb7, 0x3c, 0x3c, 0x61, 0}; in TestUCAPrecontext() local
3966 ruleLen = u_strlen(rule2); in TestUCAPrecontext()
[all …]
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp283 UnicodeString rule2 = col2->getRules(); in TestRuleBasedColl() local
286 doAssert(rule1 != rule2, "Default collator getRules failed"); in TestRuleBasedColl()
287 doAssert(rule2 != rule3, "Default collator getRules failed"); in TestRuleBasedColl()
290 col4 = new RuleBasedCollator(rule2, status); in TestRuleBasedColl()
297 doAssert(rule2 == rule4, "Default collator getRules failed"); in TestRuleBasedColl()
Dtranstst.cpp3662 …UnicodeString rule2 =CharsToUnicodeString("(.) <> &hex/unicode($1) &name($1); . > $1; [{}] >\\u002… in TestInvalidBackRef() local
3666 Transliterator *t2 = Transliterator::createFromRules("Test2", rule2, UTRANS_FORWARD, pe, ec); in TestInvalidBackRef()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorTest.java2837 String rule2 ="(.) <> &hex/unicode($1) &name($1); . > $1; [{}] >\u0020;"; in TestInvalidBackRef() local
2844 … Transliterator t2= Transliterator.createFromRules("Test2", rule2, Transliterator.FORWARD); in TestInvalidBackRef()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java2833 String rule2 ="(.) <> &hex/unicode($1) &name($1); . > $1; [{}] >\u0020;"; in TestInvalidBackRef() local
2840 … Transliterator t2= Transliterator.createFromRules("Test2", rule2, Transliterator.FORWARD); in TestInvalidBackRef()
/external/bison/doc/
Dbison.texi3392 | @var{rule2-components}@dots{}