Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/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 …return ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)r… in izrule_isEquivalentTo()
Dnfrule.cpp99 NFRule* rule1 = new NFRule(rbnf); in makeRules() local
101 if (rule1 == 0) { in makeRules()
105 rule1->parseRuleDescriptor(description, status); in makeRules()
117 || rule1->getType() == kProperFractionRule in makeRules()
118 || rule1->getType() == kNegativeNumberRule) { in makeRules()
119 rule1->ruleText = description; in makeRules()
120 rule1->extractSubstitutions(ruleSet, predecessor, rbnf, status); in makeRules()
121 rules.add(rule1); in makeRules()
131 if ((rule1->baseValue > 0 in makeRules()
132 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0) in makeRules()
[all …]
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);
Drbtz.cpp298 TimeZoneRule *rule1 = (TimeZoneRule*)fFinalRules->elementAt(1); in complete() local
301 …UBool avail1 = rule1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… in complete()
322rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); in complete()
324 final1->to = rule1; in complete()
328 final0->to = rule1; in complete()
329 … rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); in complete()
330 final1->from = rule1; in complete()
Drbt_set.cpp137 static void maskingError(const icu::TransliterationRule& rule1, in maskingError() argument
146 rule1.toRule(r, FALSE); in maskingError()
Dnfrs.cpp302 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument
304 if (rule1) { in util_equalRules()
306 return *rule1 == *rule2; in util_equalRules()
/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 …return ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)r… in izrule_isEquivalentTo()
Dnfrule.cpp100 NFRule* rule1 = new NFRule(rbnf); in makeRules() local
102 if (rule1 == 0) { in makeRules()
106 rule1->parseRuleDescriptor(description, status); in makeRules()
118 || rule1->getType() == kProperFractionRule in makeRules()
119 || rule1->getType() == kNegativeNumberRule) { in makeRules()
120 rule1->ruleText = description; in makeRules()
121 rule1->extractSubstitutions(ruleSet, predecessor, rbnf, status); in makeRules()
122 rules.add(rule1); in makeRules()
132 if ((rule1->baseValue > 0 in makeRules()
133 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0) in makeRules()
[all …]
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);
Drbtz.cpp298 TimeZoneRule *rule1 = (TimeZoneRule*)fFinalRules->elementAt(1); in complete() local
301 …UBool avail1 = rule1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… in complete()
322rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); in complete()
324 final1->to = rule1; in complete()
328 final0->to = rule1; in complete()
329 … rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); in complete()
330 final1->from = rule1; in complete()
Drbt_set.cpp137 static void maskingError(const icu::TransliterationRule& rule1, in maskingError() argument
146 rule1.toRule(r, FALSE); in maskingError()
Dnfrs.cpp302 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument
304 if (rule1) { in util_equalRules()
306 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/chromium_org/tools/gyp/test/same-rule-output-file-name/src/subdir1/
Dsubdir1.gyp15 'rule_name': 'rule1',
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/
Dbase_rule_store.js418 cvox.BaseRuleStore.comparePreconditions_ = function(rule1, rule2) { argument
419 var prec1 = rule1.precondition;
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c2268 const char* rule1 = in TestBeforePrefixFailure()
2280 genericRulesStarter(rule1, test, sizeof(test)/sizeof(test[0])); in TestBeforePrefixFailure()
2294 uStringLen = u_unescape(rule1, string, 256); in TestBeforePrefixFailure()
2320 const char* rule1 = in TestPrefixCompose() local
2337 uStringLen = u_unescape(rule1, string, 256); in TestPrefixCompose()
3770 static const UChar rule1[]={ in TestTailor6179() local
3810 ruleLen = u_strlen(rule1); in TestTailor6179()
3811 coll = ucol_openRules(rule1, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestTailor6179()
3876 UChar rule1[256]= {0x26, 0xb7, 0x3c, 0x61, 0}; /* & middle-dot < a */ in TestUCAPrecontext() local
3939 ruleLen = u_strlen(rule1); in TestUCAPrecontext()
[all …]
Dcapitst.c441 const UChar *rule1, *rule2, *rule3, *rule4; in TestRuleBasedColl() local
475 rule1 = ucol_getRules(col1, &tempLength); in TestRuleBasedColl()
479 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
481 doAssert((u_strcmp(rule1, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcmsccoll.c3578 const char* rule1 = in TestBeforePrefixFailure()
3590 genericRulesStarter(rule1, test, sizeof(test)/sizeof(test[0])); in TestBeforePrefixFailure()
3604 uStringLen = u_unescape(rule1, string, 256); in TestBeforePrefixFailure()
3630 const char* rule1 = in TestPrefixCompose() local
3647 uStringLen = u_unescape(rule1, string, 256); in TestPrefixCompose()
5129 static const UChar rule1[]={ in TestTailor6179() local
5165 ruleLen = u_strlen(rule1); in TestTailor6179()
5166 coll = ucol_openRules(rule1, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestTailor6179()
5194 ruleLen = u_strlen(rule1); in TestTailor6179()
5231 UChar rule1[256]= {0x26, 0xb7, 0x3c, 0x61, 0}; /* & middle-dot < a */ in TestUCAPrecontext() local
[all …]
Dcapitst.c439 const UChar *rule1, *rule2, *rule3, *rule4; in TestRuleBasedColl() local
473 rule1 = ucol_getRules(col1, &tempLength); in TestRuleBasedColl()
477 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
479 doAssert((u_strcmp(rule1, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
/external/chromium_org/third_party/icu/source/test/intltest/
Dapicoll.cpp337 UnicodeString rule1 = col1->getRules(); in TestRuleBasedColl() local
341 doAssert(rule1 != rule2, "Default collator getRules failed"); in TestRuleBasedColl()
343 doAssert(rule1 != rule3, "Default collator getRules failed"); in TestRuleBasedColl()
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp295 UnicodeString rule1 = col1->getRules(); in TestRuleBasedColl() local
299 doAssert(rule1 != rule2, "Default collator getRules failed"); in TestRuleBasedColl()
301 doAssert(rule1 != rule3, "Default collator getRules failed"); in TestRuleBasedColl()
/external/bison/doc/
Dbison.texi3391 @var{rule1-components}@dots{}