Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java141 NFRule rule1 = new NFRule(ownersOwner, description); in makeRules() local
142 description = rule1.ruleText; in makeRules()
154 || rule1.baseValue == PROPER_FRACTION_RULE in makeRules()
155 || rule1.baseValue == NEGATIVE_NUMBER_RULE in makeRules()
156 || rule1.baseValue == INFINITY_RULE in makeRules()
157 || rule1.baseValue == NAN_RULE) in makeRules()
159 rule1.extractSubstitutions(owner, description, predecessor); in makeRules()
170 if ((rule1.baseValue > 0 in makeRules()
171 && rule1.baseValue % (power(rule1.radix, rule1.exponent)) == 0) in makeRules()
172 || rule1.baseValue == IMPROPER_FRACTION_RULE in makeRules()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java140 NFRule rule1 = new NFRule(ownersOwner, description); in makeRules() local
141 description = rule1.ruleText; in makeRules()
153 || rule1.baseValue == PROPER_FRACTION_RULE in makeRules()
154 || rule1.baseValue == NEGATIVE_NUMBER_RULE in makeRules()
155 || rule1.baseValue == INFINITY_RULE in makeRules()
156 || rule1.baseValue == NAN_RULE) in makeRules()
158 rule1.extractSubstitutions(owner, description, predecessor); in makeRules()
169 if ((rule1.baseValue > 0 in makeRules()
170 && rule1.baseValue % (power(rule1.radix, rule1.exponent)) == 0) in makeRules()
171 || rule1.baseValue == IMPROPER_FRACTION_RULE in makeRules()
[all …]
/external/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 …return ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)r… in izrule_isEquivalentTo()
Dnfrule.cpp118 NFRule* rule1 = new NFRule(rbnf, description, status); in makeRules() local
120 if (rule1 == 0) { in makeRules()
124 description = rule1->ruleText; in makeRules()
136 || rule1->getType() == kProperFractionRule in makeRules()
137 || rule1->getType() == kNegativeNumberRule in makeRules()
138 || rule1->getType() == kInfinityRule in makeRules()
139 || rule1->getType() == kNaNRule) in makeRules()
141 rule1->extractSubstitutions(owner, description, predecessor, status); in makeRules()
152 if ((rule1->baseValue > 0 in makeRules()
153 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0) in makeRules()
[all …]
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);
Drbtz.cpp300 TimeZoneRule *rule1 = (TimeZoneRule*)fFinalRules->elementAt(1); in complete() local
303 …UBool avail1 = rule1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… in complete()
324rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); in complete()
326 final1->to = rule1; in complete()
330 final0->to = rule1; in complete()
331 … rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); in complete()
332 final1->from = rule1; in complete()
Drbt_set.cpp139 static void maskingError(const icu::TransliterationRule& rule1, in maskingError() argument
148 rule1.toRule(r, FALSE); in maskingError()
Dnfrs.cpp334 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument
336 if (rule1) { in util_equalRules()
338 return *rule1 == *rule2; in util_equalRules()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTreeNodeStream.java336 Tree rule1 = nodes[2]; in testDeepTree() local
346 rules.addChild(rule1); in testDeepTree()
347 rule1.addChild(id); in testDeepTree()
348 rule1.addChild(block); in testDeepTree()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c2271 const char* rule1 = in TestBeforePrefixFailure()
2283 genericRulesStarter(rule1, test, UPRV_LENGTHOF(test)); in TestBeforePrefixFailure()
2297 uStringLen = u_unescape(rule1, string, 256); in TestBeforePrefixFailure()
2323 const char* rule1 = in TestPrefixCompose() local
2340 uStringLen = u_unescape(rule1, string, 256); in TestPrefixCompose()
3773 static const UChar rule1[]={ in TestTailor6179() local
3813 ruleLen = u_strlen(rule1); in TestTailor6179()
3814 coll = ucol_openRules(rule1, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestTailor6179()
3879 UChar rule1[256]= {0x26, 0xb7, 0x3c, 0x61, 0}; /* & middle-dot < a */ in TestUCAPrecontext() local
3942 ruleLen = u_strlen(rule1); in TestUCAPrecontext()
[all …]
Dcapitst.c455 const UChar *rule1, *rule2, *rule3, *rule4; in TestRuleBasedColl() local
489 rule1 = ucol_getRules(col1, &tempLength); in TestRuleBasedColl()
493 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
495 doAssert((u_strcmp(rule1, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java602 String rule1 = col1.getRules();
606 doAssert(!rule1.equals(rule2), "Default collator getRules failed");
608 doAssert(!rule1.equals(rule3), "Default collator getRules failed");
DCollationMiscTest.java375 String rule1 = "&\u30a7<<<\u30ab|\u30fc=\u30ac|\u30fc"; in TestPrefixCompose() local
377 String string = rule1; in TestPrefixCompose()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java601 String rule1 = col1.getRules();
605 doAssert(!rule1.equals(rule2), "Default collator getRules failed");
607 doAssert(!rule1.equals(rule3), "Default collator getRules failed");
DCollationMiscTest.java374 String rule1 = "&\u30a7<<<\u30ab|\u30fc=\u30ac|\u30fc"; in TestPrefixCompose() local
376 String string = rule1; in TestPrefixCompose()
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp284 UnicodeString rule1 = col1->getRules(); in TestRuleBasedColl() local
288 doAssert(rule1 != rule2, "Default collator getRules failed"); in TestRuleBasedColl()
290 doAssert(rule1 != rule3, "Default collator getRules failed"); in TestRuleBasedColl()
/external/bison/doc/
Dbison.texi3391 @var{rule1-components}@dots{}