Lines Matching refs:rule1
116 NFRule* rule1 = new NFRule(rbnf, description, status); in makeRules() local
118 if (rule1 == 0) { in makeRules()
122 description = rule1->ruleText; in makeRules()
134 || rule1->getType() == kProperFractionRule in makeRules()
135 || rule1->getType() == kNegativeNumberRule in makeRules()
136 || rule1->getType() == kInfinityRule in makeRules()
137 || rule1->getType() == kNaNRule) in makeRules()
139 rule1->extractSubstitutions(owner, description, predecessor, status); in makeRules()
150 if ((rule1->baseValue > 0 in makeRules()
151 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0) in makeRules()
152 || rule1->getType() == kImproperFractionRule in makeRules()
153 || rule1->getType() == kMasterRule) { in makeRules()
166 if (rule1->baseValue >= 0) { in makeRules()
167 rule2->baseValue = rule1->baseValue; in makeRules()
169 ++rule1->baseValue; in makeRules()
176 else if (rule1->getType() == kImproperFractionRule) { in makeRules()
183 else if (rule1->getType() == kMasterRule) { in makeRules()
184 rule2->baseValue = rule1->baseValue; in makeRules()
185 rule1->setType(kImproperFractionRule); in makeRules()
190 rule2->radix = rule1->radix; in makeRules()
191 rule2->exponent = rule1->exponent; in makeRules()
210 rule1->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
226 if (rule1->baseValue >= kNoBase) { in makeRules()
227 rules.add(rule1); in makeRules()
230 owner->setNonNumericalRule(rule1); in makeRules()