Lines Matching refs:rules

138   , rules(0)  in NFRuleSet()
209 rules.deleteAll(); in parseRules()
222 NFRule::makeRules(currentDescription, this, rules.last(), owner, rules, status); in parseRules()
235 int32_t rulesSize = rules.size(); in parseRules()
237 NFRule* rule = rules[i]; in parseRules()
350 if (rules.size() == rhs.rules.size() && in operator ==()
362 for (uint32_t i = 0; i < rules.size(); ++i) { in operator ==()
363 if (*rules[i] != *rhs.rules[i]) { in operator ==()
374 for (uint32_t i = 0; i < rules.size(); ++i) { in setDecimalFormatSymbols()
375 rules[i]->setDecimalFormatSymbols(newSymbols, status); in setDecimalFormatSymbols()
521 int32_t hi = rules.size(); in findNormalRule()
527 if (rules[mid]->getBaseValue() == number) { in findNormalRule()
528 return rules[mid]; in findNormalRule()
530 else if (rules[mid]->getBaseValue() > number) { in findNormalRule()
541 NFRule *result = rules[hi - 1]; in findNormalRule()
552 result = rules[hi - 2]; in findNormalRule()
587 int64_t leastCommonMultiple = rules[0]->getBaseValue(); in findFractionRuleSetRule()
590 for (uint32_t i = 1; i < rules.size(); ++i) { in findFractionRuleSetRule()
591 leastCommonMultiple = util_lcm(leastCommonMultiple, rules[i]->getBaseValue()); in findFractionRuleSetRule()
599 for (uint32_t i = 0; i < rules.size(); ++i) { in findFractionRuleSetRule()
606 tempDifference = numerator * rules[i]->getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()
635 if ((unsigned)(winner + 1) < rules.size() && in findFractionRuleSetRule()
636 rules[winner + 1]->getBaseValue() == rules[winner]->getBaseValue()) { in findFractionRuleSetRule()
637 double n = ((double)rules[winner]->getBaseValue()) * number; in findFractionRuleSetRule()
644 return rules[winner]; in findFractionRuleSetRule()
749 for (int32_t i = rules.size(); --i >= 0 && highWaterMark.getIndex() < text.length();) { in parse()
750 if ((!fIsFractionRuleSet) && (rules[i]->getBaseValue() >= ub)) { in parse()
754 …UBool success = rules[i]->doParse(text, workingPos, fIsFractionRuleSet, upperBound, nonNumericalEx… in parse()
784 for (i = 0; i < rules.size(); i++) { in appendRules()
785 rules[i]->_appendRuleText(result); in appendRules()