Lines Matching refs:rule1
118 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()
154 || rule1->getType() == kImproperFractionRule in makeRules()
155 || rule1->getType() == kMasterRule) { in makeRules()
168 if (rule1->baseValue >= 0) { in makeRules()
169 rule2->baseValue = rule1->baseValue; in makeRules()
171 ++rule1->baseValue; in makeRules()
178 else if (rule1->getType() == kImproperFractionRule) { in makeRules()
185 else if (rule1->getType() == kMasterRule) { in makeRules()
186 rule2->baseValue = rule1->baseValue; in makeRules()
187 rule1->setType(kImproperFractionRule); in makeRules()
192 rule2->radix = rule1->radix; in makeRules()
193 rule2->exponent = rule1->exponent; in makeRules()
212 rule1->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
228 if (rule1->baseValue >= kNoBase) { in makeRules()
229 rules.add(rule1); in makeRules()
232 owner->setNonNumericalRule(rule1); in makeRules()