Home
last modified time | relevance | path

Searched refs:NFRuleSet (Results 1 – 21 of 21) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnfrs.h31 class NFRuleSet : public UMemory {
33NFRuleSet(RuleBasedNumberFormat *owner, UnicodeString* descriptions, int32_t index, UErrorCode& st…
39 ~NFRuleSet();
41 UBool operator==(const NFRuleSet& rhs) const;
42 UBool operator!=(const NFRuleSet& rhs) const { return !operator==(rhs); }
80 NFRuleSet(const NFRuleSet &other); // forbid copying of this class
81 NFRuleSet &operator=(const NFRuleSet &other); // forbid copying of this class
Dnfrs.cpp133 NFRuleSet::NFRuleSet(RuleBasedNumberFormat *_owner, UnicodeString* descriptions, int32_t index, UEr… in NFRuleSet() function in NFRuleSet
194 NFRuleSet::parseRules(UnicodeString& description, UErrorCode& status) in parseRules()
266 void NFRuleSet::setNonNumericalRule(NFRule *rule) { in setNonNumericalRule()
298 void NFRuleSet::setBestFractionRule(int32_t originalIndex, NFRule *newRule, UBool rememberRule) { in setBestFractionRule()
318 NFRuleSet::~NFRuleSet() in ~NFRuleSet()
345 NFRuleSet::operator==(const NFRuleSet& rhs) const in operator ==()
370 NFRuleSet::setDecimalFormatSymbols(const DecimalFormatSymbols &newSymbols, UErrorCode& status) { in setDecimalFormatSymbols()
397 NFRuleSet::format(int64_t number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, U… in format()
411 NFRuleSet::format(double number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UE… in format()
425 NFRuleSet::findDoubleRule(double number) const in findDoubleRule()
[all …]
Dnfsubs.h34 const NFRuleSet* ruleSet;
39 const NFRuleSet* ruleSet,
47 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
59 const NFRuleSet* ruleSet,
Dnfrule.h25 class NFRuleSet; variable
47 NFRuleSet* ruleSet,
89 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p…
90 …NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCod…
Drbnf.cpp919 NFRuleSet** p = ruleSets; in operator ==()
920 NFRuleSet** q = rhs.ruleSets; in operator ==()
942 for (NFRuleSet** p = ruleSets; *p; ++p) { in getRules()
958 for (NFRuleSet** p = ruleSets; *p; ++p) { in getRuleSetName()
959 NFRuleSet* rs = *p; in getRuleSetName()
980 for (NFRuleSet** p = ruleSets; *p; ++p) { in getNumberOfRuleSetNames()
1064 NFRuleSet*
1068 for (NFRuleSet** p = ruleSets; *p; ++p) { in findRuleSet()
1069 NFRuleSet* rs = *p; in findRuleSet()
1136 NFRuleSet *rs = findRuleSet(ruleSetName, status); in format()
[all …]
Dnfsubs.cpp50 const NFRuleSet* ruleset,
75 const NFRuleSet* _ruleSet, in MultiplierSubstitution()
133 const NFRuleSet* ruleSet,
184 const NFRuleSet* _ruleSet, in IntegralPartSubstitution()
209 const NFRuleSet* ruleSet,
242 const NFRuleSet* _ruleSet, in AbsoluteValueSubstitution()
275 NFRuleSet* _ruleSet, in NumeratorSubstitution()
316 const NFRuleSet* ruleSet, in makeSubstitution()
402 const NFRuleSet* _ruleSet, in NFSubstitution()
774 const NFRuleSet* _ruleSet, in SameValueSubstitution()
[all …]
Dnfrule.cpp106 NFRuleSet *owner, in makeRules()
410 NFRule::extractSubstitutions(const NFRuleSet* ruleSet, in extractSubstitutions()
465 NFRule::extractSubstitution(const NFRuleSet* ruleSet, in extractSubstitution()
/external/icu/icu4c/source/i18n/unicode/
Drbnf.h42 class NFRuleSet; variable
1008 void format(double number, NFRuleSet& ruleSet);
1009 NFRuleSet* findRuleSet(const UnicodeString& name, UErrorCode& status) const;
1014 friend class NFRuleSet; variable
1017 inline NFRuleSet * getDefaultRuleSet() const;
1029 NFRuleSet **ruleSets;
1032 NFRuleSet *defaultRuleSet;
1059 inline NFRuleSet*
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRuleSet.java26 final class NFRuleSet { class
103 …public NFRuleSet(RuleBasedNumberFormat owner, String[] descriptions, int index) throws IllegalArgu… in NFRuleSet() method in NFRuleSet
237 nonNumericalRules[NFRuleSet.NEGATIVE_RULE_INDEX] = rule; in setNonNumericalRule()
240 setBestFractionRule(NFRuleSet.IMPROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
243 setBestFractionRule(NFRuleSet.PROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
246 setBestFractionRule(NFRuleSet.MASTER_RULE_INDEX, rule, true); in setNonNumericalRule()
249 nonNumericalRules[NFRuleSet.INFINITY_RULE_INDEX] = rule; in setNonNumericalRule()
252 nonNumericalRules[NFRuleSet.NAN_RULE_INDEX] = rule; in setNonNumericalRule()
307 if (!(that instanceof NFRuleSet)) { in equals()
311 NFRuleSet that2 = (NFRuleSet)that; in equals()
DRuleBasedNumberFormat.java574 private transient NFRuleSet[] ruleSets = null;
579 private transient Map<String, NFRuleSet> ruleSetsMap = null;
585 private transient NFRuleSet defaultRuleSet = null;
948 for (NFRuleSet ruleSet : ruleSets) { in toString()
1443 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1517 NFRuleSet getDefaultRuleSet() { in getDefaultRuleSet()
1673 ruleSets = new NFRuleSet[numRuleSets]; in init()
1674 ruleSetsMap = new HashMap<String, NFRuleSet>(numRuleSets * 2 + 1); in init()
1699 NFRuleSet ruleSet = new NFRuleSet(this, ruleSetDescriptions, curRuleSet); in init()
1888 private String format(double number, NFRuleSet ruleSet) { in format()
[all …]
DNFSubstitution.java36 final NFRuleSet ruleSet;
69 NFRuleSet ruleSet, in makeSubstitution()
159 NFRuleSet ruleSet, in NFSubstitution()
557 NFRuleSet ruleSet, in SameValueSubstitution()
658 NFRuleSet ruleSet, in MultiplierSubstitution()
812 NFRuleSet ruleSet, in ModulusSubstitution()
1049 NFRuleSet ruleSet, in IntegralPartSubstitution()
1153 NFRuleSet ruleSet, in FractionalPartSubstitution()
1353 NFRuleSet ruleSet, in AbsoluteValueSubstitution()
1455 NFRuleSet ruleSet, in NumeratorSubstitution()
DRBNFPostProcessor.java29 void process(StringBuffer output, NFRuleSet ruleSet); in process()
DRBNFChinesePostProcessor.java34 public void process(StringBuffer buf, NFRuleSet ruleSet) { in process()
DNFRule.java131 NFRuleSet owner, in makeRules()
413 private void extractSubstitutions(NFRuleSet owner, in extractSubstitutions()
460 private NFSubstitution extractSubstitution(NFRuleSet owner, in extractSubstitution()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRuleSet.java25 final class NFRuleSet { class
102 …public NFRuleSet(RuleBasedNumberFormat owner, String[] descriptions, int index) throws IllegalArgu… in NFRuleSet() method in NFRuleSet
236 nonNumericalRules[NFRuleSet.NEGATIVE_RULE_INDEX] = rule; in setNonNumericalRule()
239 setBestFractionRule(NFRuleSet.IMPROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
242 setBestFractionRule(NFRuleSet.PROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
245 setBestFractionRule(NFRuleSet.MASTER_RULE_INDEX, rule, true); in setNonNumericalRule()
248 nonNumericalRules[NFRuleSet.INFINITY_RULE_INDEX] = rule; in setNonNumericalRule()
251 nonNumericalRules[NFRuleSet.NAN_RULE_INDEX] = rule; in setNonNumericalRule()
306 if (!(that instanceof NFRuleSet)) { in equals()
310 NFRuleSet that2 = (NFRuleSet)that; in equals()
DRuleBasedNumberFormat.java577 private transient NFRuleSet[] ruleSets = null;
582 private transient Map<String, NFRuleSet> ruleSetsMap = null;
588 private transient NFRuleSet defaultRuleSet = null;
962 for (NFRuleSet ruleSet : ruleSets) { in toString()
1478 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1553 NFRuleSet getDefaultRuleSet() { in getDefaultRuleSet()
1709 ruleSets = new NFRuleSet[numRuleSets]; in init()
1710 ruleSetsMap = new HashMap<String, NFRuleSet>(numRuleSets * 2 + 1); in init()
1735 NFRuleSet ruleSet = new NFRuleSet(this, ruleSetDescriptions, curRuleSet); in init()
1924 private String format(double number, NFRuleSet ruleSet) { in format()
[all …]
DNFSubstitution.java35 final NFRuleSet ruleSet;
68 NFRuleSet ruleSet, in makeSubstitution()
158 NFRuleSet ruleSet, in NFSubstitution()
556 NFRuleSet ruleSet, in SameValueSubstitution()
657 NFRuleSet ruleSet, in MultiplierSubstitution()
811 NFRuleSet ruleSet, in ModulusSubstitution()
1048 NFRuleSet ruleSet, in IntegralPartSubstitution()
1152 NFRuleSet ruleSet, in FractionalPartSubstitution()
1352 NFRuleSet ruleSet, in AbsoluteValueSubstitution()
1454 NFRuleSet ruleSet, in NumeratorSubstitution()
DRBNFPostProcessor.java28 void process(StringBuffer output, NFRuleSet ruleSet); in process()
DRBNFChinesePostProcessor.java33 public void process(StringBuffer buf, NFRuleSet ruleSet) { in process()
DNFRule.java130 NFRuleSet owner, in makeRules()
412 private void extractSubstitutions(NFRuleSet owner, in extractSubstitutions()
459 private NFSubstitution extractSubstitution(NFRuleSet owner, in extractSubstitution()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...