Lines Matching refs:rule1
119 NFRule* rule1 = new NFRule(rbnf, description, status); in makeRules() local
121 if (rule1 == 0) { in makeRules()
125 description = rule1->fRuleText; in makeRules()
137 || rule1->getType() == kProperFractionRule in makeRules()
138 || rule1->getType() == kNegativeNumberRule in makeRules()
139 || rule1->getType() == kInfinityRule in makeRules()
140 || rule1->getType() == kNaNRule) in makeRules()
142 rule1->extractSubstitutions(owner, description, predecessor, status); in makeRules()
153 if ((rule1->baseValue > 0 in makeRules()
154 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0) in makeRules()
155 || rule1->getType() == kImproperFractionRule in makeRules()
156 || rule1->getType() == kDefaultRule) { in makeRules()
169 if (rule1->baseValue >= 0) { in makeRules()
170 rule2->baseValue = rule1->baseValue; in makeRules()
172 ++rule1->baseValue; in makeRules()
179 else if (rule1->getType() == kImproperFractionRule) { in makeRules()
186 else if (rule1->getType() == kDefaultRule) { in makeRules()
187 rule2->baseValue = rule1->baseValue; in makeRules()
188 rule1->setType(kImproperFractionRule); in makeRules()
193 rule2->radix = rule1->radix; in makeRules()
194 rule2->exponent = rule1->exponent; in makeRules()
213 rule1->extractSubstitutions(owner, sbuf, predecessor, status); in makeRules()
229 if (rule1->baseValue >= kNoBase) { in makeRules()
230 rules.add(rule1); in makeRules()
233 owner->setNonNumericalRule(rule1); in makeRules()