Lines Matching refs:NFRule
219 NFRule::makeRules(currentDescription, this, rules.last(), owner, rules, status); in parseRules()
234 NFRule* rule = rules[i]; in parseRules()
266 void NFRuleSet::setNonNumericalRule(NFRule *rule) { in setNonNumericalRule()
268 if (baseValue == NFRule::kNegativeNumberRule) { in setNonNumericalRule()
272 else if (baseValue == NFRule::kImproperFractionRule) { in setNonNumericalRule()
275 else if (baseValue == NFRule::kProperFractionRule) { in setNonNumericalRule()
278 else if (baseValue == NFRule::kMasterRule) { in setNonNumericalRule()
281 else if (baseValue == NFRule::kInfinityRule) { in setNonNumericalRule()
285 else if (baseValue == NFRule::kNaNRule) { in setNonNumericalRule()
298 void NFRuleSet::setBestFractionRule(int32_t originalIndex, NFRule *newRule, UBool rememberRule) { in setBestFractionRule()
302 NFRule *bestResult = nonNumericalRules[originalIndex]; in setBestFractionRule()
332 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules()
378 NFRule *fractionRule = fractionRules[fIdx]; in setDecimalFormatSymbols()
387 NFRule *rule = nonNumericalRules[nnrIdx]; in setDecimalFormatSymbols()
404 const NFRule *rule = findNormalRule(number); in format()
418 const NFRule *rule = findDoubleRule(number); in format()
424 const NFRule*
433 const NFRule *rule = nonNumericalRules[NAN_RULE_INDEX]; in findDoubleRule()
452 const NFRule *rule = nonNumericalRules[INFINITY_RULE_INDEX]; in findDoubleRule()
483 const NFRule *
538 NFRule *result = rules[hi - 1]; in findNormalRule()
572 const NFRule*
785 NFRule *rule = nonNumericalRules[i]; in appendRules()
787 if (rule->getBaseValue() == NFRule::kImproperFractionRule in appendRules()
788 || rule->getBaseValue() == NFRule::kProperFractionRule in appendRules()
789 || rule->getBaseValue() == NFRule::kMasterRule) in appendRules()
792 NFRule *fractionRule = fractionRules[fIdx]; in appendRules()