Home
last modified time | relevance | path

Searched refs:NFRuleSet (Results 1 - 25 of 37) sorted by relevance

12

/third_party/icu/icu4c/source/i18n/
H A Dnfrs.h33 class NFRuleSet : public UMemory { class
35 NFRuleSet(RuleBasedNumberFormat *owner, UnicodeString* descriptions, int32_t index, UErrorCode& status);
41 ~NFRuleSet();
43 bool operator==(const NFRuleSet& rhs) const;
44 bool operator!=(const NFRuleSet& rhs) const { return !operator==(rhs); } in operator !=()
82 NFRuleSet(const NFRuleSet &other); // forbid copying of this class
83 NFRuleSet &operator=(const NFRuleSet &other); // forbid copying of this class
H A Dnfsubs.h36 const NFRuleSet* ruleSet;
41 const NFRuleSet* ruleSet,
49 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
61 const NFRuleSet* ruleSet,
H A Dnfrs.cpp136 NFRuleSet::NFRuleSet(RuleBasedNumberFormat *_owner, UnicodeString* descriptions, int32_t index, UErrorCode& status) in NFRuleSet() function in NFRuleSet
192 // all of the other members of NFRuleSet are initialized in NFRuleSet()
197 NFRuleSet::parseRules(UnicodeString& description, UErrorCode& status) in parseRules()
269 void NFRuleSet::setNonNumericalRule(NFRule *rule) { in setNonNumericalRule()
301 void NFRuleSet::setBestFractionRule(int32_t originalIndex, NFRule *newRule, UBool rememberRule) { in setBestFractionRule()
321 NFRuleSet::~NFRuleSet() in ~NFRuleSet()
348 NFRuleSet::operator==(const NFRuleSet
[all...]
H A Dnfrule.h26 class NFRuleSet;
48 NFRuleSet* ruleSet,
91 void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* predecessor, UErrorCode& status);
92 NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCode& status);
H A Dnfsubs.cpp56 const NFRuleSet* ruleset,
80 const NFRuleSet* _ruleSet, in MultiplierSubstitution()
135 const NFRuleSet* ruleSet,
186 const NFRuleSet* _ruleSet, in IntegralPartSubstitution()
211 const NFRuleSet* ruleSet,
245 const NFRuleSet* _ruleSet, in AbsoluteValueSubstitution()
278 NFRuleSet* _ruleSet, in NumeratorSubstitution()
320 const NFRuleSet* ruleSet, in makeSubstitution()
406 const NFRuleSet* _ruleSet, in NFSubstitution()
794 const NFRuleSet* _ruleSe in SameValueSubstitution()
[all...]
H A Drbnf.cpp959 NFRuleSet** p = fRuleSets; in operator ==()
960 NFRuleSet** q = rhs.fRuleSets; in operator ==()
982 for (NFRuleSet** p = fRuleSets; *p; ++p) { in getRules()
998 for (NFRuleSet** p = fRuleSets; *p; ++p) { in getRuleSetName()
999 NFRuleSet* rs = *p; in getRuleSetName()
1020 for (NFRuleSet** p = fRuleSets; *p; ++p) { in getNumberOfRuleSetNames()
1104 NFRuleSet*
1108 for (NFRuleSet** p = fRuleSets; *p; ++p) { in findRuleSet()
1109 NFRuleSet* rs = *p; in findRuleSet()
1215 NFRuleSet *r in format()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dnfrs.h33 class NFRuleSet : public UMemory { class
35 NFRuleSet(RuleBasedNumberFormat *owner, UnicodeString* descriptions, int32_t index, UErrorCode& status);
41 ~NFRuleSet();
43 bool operator==(const NFRuleSet& rhs) const;
44 bool operator!=(const NFRuleSet& rhs) const { return !operator==(rhs); } in operator !=()
82 NFRuleSet(const NFRuleSet &other); // forbid copying of this class
83 NFRuleSet &operator=(const NFRuleSet &other); // forbid copying of this class
H A Dnfsubs.h36 const NFRuleSet* ruleSet;
41 const NFRuleSet* ruleSet,
49 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
61 const NFRuleSet* ruleSet,
H A Dnfrs.cpp136 NFRuleSet::NFRuleSet(RuleBasedNumberFormat *_owner, UnicodeString* descriptions, int32_t index, UErrorCode& status) in NFRuleSet() function in NFRuleSet
192 // all of the other members of NFRuleSet are initialized in NFRuleSet()
197 NFRuleSet::parseRules(UnicodeString& description, UErrorCode& status) in parseRules()
269 void NFRuleSet::setNonNumericalRule(NFRule *rule) { in setNonNumericalRule()
301 void NFRuleSet::setBestFractionRule(int32_t originalIndex, NFRule *newRule, UBool rememberRule) { in setBestFractionRule()
321 NFRuleSet::~NFRuleSet() in ~NFRuleSet()
348 NFRuleSet::operator==(const NFRuleSet
[all...]
H A Dnfrule.h26 class NFRuleSet;
48 NFRuleSet* ruleSet,
91 void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* predecessor, UErrorCode& status);
92 NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCode& status);
H A Dnfsubs.cpp56 const NFRuleSet* ruleset,
80 const NFRuleSet* _ruleSet, in MultiplierSubstitution()
153 const NFRuleSet* ruleSet,
204 const NFRuleSet* _ruleSet, in IntegralPartSubstitution()
229 const NFRuleSet* ruleSet,
263 const NFRuleSet* _ruleSet, in AbsoluteValueSubstitution()
296 NFRuleSet* _ruleSet, in NumeratorSubstitution()
338 const NFRuleSet* ruleSet, in makeSubstitution()
424 const NFRuleSet* _ruleSet, in NFSubstitution()
812 const NFRuleSet* _ruleSe in SameValueSubstitution()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnfrs.h33 class NFRuleSet : public UMemory { class
35 NFRuleSet(RuleBasedNumberFormat *owner, UnicodeString* descriptions, int32_t index, UErrorCode& status);
41 ~NFRuleSet();
43 UBool operator==(const NFRuleSet& rhs) const;
44 UBool operator!=(const NFRuleSet& rhs) const { return !operator==(rhs); } in operator !=()
82 NFRuleSet(const NFRuleSet &other); // forbid copying of this class
83 NFRuleSet &operator=(const NFRuleSet &other); // forbid copying of this class
H A Dnfsubs.h36 const NFRuleSet* ruleSet;
41 const NFRuleSet* ruleSet,
49 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
61 const NFRuleSet* ruleSet,
H A Dnfrs.cpp136 NFRuleSet::NFRuleSet(RuleBasedNumberFormat *_owner, UnicodeString* descriptions, int32_t index, UErrorCode& status) in NFRuleSet() function in NFRuleSet
192 // all of the other members of NFRuleSet are initialized in NFRuleSet()
197 NFRuleSet::parseRules(UnicodeString& description, UErrorCode& status) in parseRules()
269 void NFRuleSet::setNonNumericalRule(NFRule *rule) { in setNonNumericalRule()
301 void NFRuleSet::setBestFractionRule(int32_t originalIndex, NFRule *newRule, UBool rememberRule) { in setBestFractionRule()
321 NFRuleSet::~NFRuleSet() in ~NFRuleSet()
348 NFRuleSet::operator==(const NFRuleSet
[all...]
H A Dnfrule.h26 class NFRuleSet;
48 NFRuleSet* ruleSet,
91 void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* predecessor, UErrorCode& status);
92 NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCode& status);
H A Dnfsubs.cpp56 const NFRuleSet* ruleset,
80 const NFRuleSet* _ruleSet, in MultiplierSubstitution()
135 const NFRuleSet* ruleSet,
186 const NFRuleSet* _ruleSet, in IntegralPartSubstitution()
211 const NFRuleSet* ruleSet,
245 const NFRuleSet* _ruleSet, in AbsoluteValueSubstitution()
278 NFRuleSet* _ruleSet, in NumeratorSubstitution()
320 const NFRuleSet* ruleSet, in makeSubstitution()
406 const NFRuleSet* _ruleSet, in NFSubstitution()
794 const NFRuleSet* _ruleSe in SameValueSubstitution()
[all...]
/third_party/icu/icu4c/source/i18n/unicode/
H A Drbnf.h46 class NFRuleSet;
1076 NFRuleSet* findRuleSet(const UnicodeString& name, UErrorCode& status) const;
1081 friend class NFRuleSet;
1084 inline NFRuleSet * getDefaultRuleSet() const;
1094 UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& status) const;
1095 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
1098 NFRuleSet **fRuleSets;
1101 NFRuleSet *defaultRuleSet;
1129 inline NFRuleSet*
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Drbnf.h46 class NFRuleSet;
1078 NFRuleSet* findRuleSet(const UnicodeString& name, UErrorCode& status) const;
1083 friend class NFRuleSet;
1086 inline NFRuleSet * getDefaultRuleSet() const;
1096 UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& status) const;
1097 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
1100 NFRuleSet **fRuleSets;
1103 NFRuleSet *defaultRuleSet;
1131 inline NFRuleSet*
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Drbnf.h46 class NFRuleSet;
1055 NFRuleSet* findRuleSet(const UnicodeString& name, UErrorCode& status) const;
1060 friend class NFRuleSet;
1063 inline NFRuleSet * getDefaultRuleSet() const;
1073 UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& status) const;
1074 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
1077 NFRuleSet **fRuleSets;
1080 NFRuleSet *defaultRuleSet;
1108 inline NFRuleSet*
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNFRuleSet.java27 final class NFRuleSet { class
104 public NFRuleSet(RuleBasedNumberFormat owner, String[] descriptions, int index) throws IllegalArgumentException { in NFRuleSet() method in NFRuleSet
147 // all of the other members of NFRuleSet are initialized in NFRuleSet()
238 nonNumericalRules[NFRuleSet.NEGATIVE_RULE_INDEX] = rule; in setNonNumericalRule()
241 setBestFractionRule(NFRuleSet.IMPROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
244 setBestFractionRule(NFRuleSet.PROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
247 setBestFractionRule(NFRuleSet.DEFAULT_RULE_INDEX, rule, true); in setNonNumericalRule()
250 nonNumericalRules[NFRuleSet.INFINITY_RULE_INDEX] = rule; in setNonNumericalRule()
253 nonNumericalRules[NFRuleSet.NAN_RULE_INDEX] = rule; in setNonNumericalRule()
309 if (!(that instanceof NFRuleSet)) { in equals()
[all...]
H A DRuleBasedNumberFormat.java580 private transient NFRuleSet[] ruleSets = null;
585 private transient Map<String, NFRuleSet> ruleSetsMap = null;
591 private transient NFRuleSet defaultRuleSet = null;
966 for (NFRuleSet ruleSet : ruleSets) { in toString()
1498 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1574 NFRuleSet getDefaultRuleSet() { in getDefaultRuleSet()
1730 ruleSets = new NFRuleSet[numRuleSets]; in init()
1756 NFRuleSet ruleSet = new NFRuleSet(this, ruleSetDescriptions, curRuleSet); in init()
1945 private String format(double number, NFRuleSet ruleSe
[all...]
H A DNFSubstitution.java39 final NFRuleSet ruleSet;
72 NFRuleSet ruleSet, in makeSubstitution()
162 NFRuleSet ruleSet, in NFSubstitution()
578 NFRuleSet ruleSet, in SameValueSubstitution()
684 NFRuleSet ruleSet, in MultiplierSubstitution()
845 NFRuleSet ruleSet, in ModulusSubstitution()
1007 // do some of the other work of NFRuleSet.parse() in doParse()
1093 NFRuleSet ruleSet, in IntegralPartSubstitution()
1202 NFRuleSet ruleSet, in FractionalPartSubstitution()
1403 NFRuleSet ruleSe in AbsoluteValueSubstitution()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DNFRuleSet.java28 final class NFRuleSet { class
105 public NFRuleSet(RuleBasedNumberFormat owner, String[] descriptions, int index) throws IllegalArgumentException { in NFRuleSet() method in NFRuleSet
148 // all of the other members of NFRuleSet are initialized in NFRuleSet()
239 nonNumericalRules[NFRuleSet.NEGATIVE_RULE_INDEX] = rule; in setNonNumericalRule()
242 setBestFractionRule(NFRuleSet.IMPROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
245 setBestFractionRule(NFRuleSet.PROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule()
248 setBestFractionRule(NFRuleSet.MASTER_RULE_INDEX, rule, true); in setNonNumericalRule()
251 nonNumericalRules[NFRuleSet.INFINITY_RULE_INDEX] = rule; in setNonNumericalRule()
254 nonNumericalRules[NFRuleSet.NAN_RULE_INDEX] = rule; in setNonNumericalRule()
310 if (!(that instanceof NFRuleSet)) { in equals()
[all...]
H A DRuleBasedNumberFormat.java577 private transient NFRuleSet[] ruleSets = null;
582 private transient Map<String, NFRuleSet> ruleSetsMap = null;
588 private transient NFRuleSet defaultRuleSet = null;
951 for (NFRuleSet ruleSet : ruleSets) { in toString()
1462 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1535 NFRuleSet getDefaultRuleSet() { in getDefaultRuleSet()
1691 ruleSets = new NFRuleSet[numRuleSets]; in init()
1717 NFRuleSet ruleSet = new NFRuleSet(this, ruleSetDescriptions, curRuleSet); in init()
1906 private String format(double number, NFRuleSet ruleSe
[all...]
H A DNFSubstitution.java40 final NFRuleSet ruleSet;
73 NFRuleSet ruleSet, in makeSubstitution()
163 NFRuleSet ruleSet, in NFSubstitution()
579 NFRuleSet ruleSet, in SameValueSubstitution()
685 NFRuleSet ruleSet, in MultiplierSubstitution()
846 NFRuleSet ruleSet, in ModulusSubstitution()
1008 // do some of the other work of NFRuleSet.parse() in doParse()
1094 NFRuleSet ruleSet, in IntegralPartSubstitution()
1203 NFRuleSet ruleSet, in FractionalPartSubstitution()
1404 NFRuleSet ruleSe in AbsoluteValueSubstitution()
[all...]

Completed in 29 milliseconds

12