Lines Matching refs:NFRule
222 NFRule::makeRules(currentDescription, this, rules.last(), owner, rules, status); in parseRules()
237 NFRule* rule = rules[i]; in parseRules()
269 void NFRuleSet::setNonNumericalRule(NFRule *rule) { in setNonNumericalRule()
271 if (baseValue == NFRule::kNegativeNumberRule) { in setNonNumericalRule()
275 else if (baseValue == NFRule::kImproperFractionRule) { in setNonNumericalRule()
278 else if (baseValue == NFRule::kProperFractionRule) { in setNonNumericalRule()
281 else if (baseValue == NFRule::kDefaultRule) { in setNonNumericalRule()
284 else if (baseValue == NFRule::kInfinityRule) { in setNonNumericalRule()
288 else if (baseValue == NFRule::kNaNRule) { in setNonNumericalRule()
301 void NFRuleSet::setBestFractionRule(int32_t originalIndex, NFRule *newRule, UBool rememberRule) { in setBestFractionRule()
305 NFRule *bestResult = nonNumericalRules[originalIndex]; in setBestFractionRule()
335 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules()
381 NFRule *fractionRule = fractionRules[fIdx]; in setDecimalFormatSymbols()
390 NFRule *rule = nonNumericalRules[nnrIdx]; in setDecimalFormatSymbols()
407 const NFRule *rule = findNormalRule(number); in format()
421 const NFRule *rule = findDoubleRule(number); in format()
427 const NFRule*
436 const NFRule *rule = nonNumericalRules[NAN_RULE_INDEX]; in findDoubleRule()
455 const NFRule *rule = nonNumericalRules[INFINITY_RULE_INDEX]; in findDoubleRule()
486 const NFRule *
541 NFRule *result = rules[hi - 1]; in findNormalRule()
575 const NFRule*
791 NFRule *rule = nonNumericalRules[i]; in appendRules()
793 if (rule->getBaseValue() == NFRule::kImproperFractionRule in appendRules()
794 || rule->getBaseValue() == NFRule::kProperFractionRule in appendRules()
795 || rule->getBaseValue() == NFRule::kDefaultRule) in appendRules()
798 NFRule *fractionRule = fractionRules[fIdx]; in appendRules()