Home
last modified time | relevance | path

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

12

/third_party/node/deps/icu-small/source/i18n/
Dnfrs.h33 class NFRuleSet : public UMemory {
35NFRuleSet(RuleBasedNumberFormat *owner, UnicodeString* descriptions, int32_t index, UErrorCode& st…
41 ~NFRuleSet();
43 bool operator==(const NFRuleSet& rhs) const;
44 bool operator!=(const NFRuleSet& rhs) const { return !operator==(rhs); }
82 NFRuleSet(const NFRuleSet &other); // forbid copying of this class
83 NFRuleSet &operator=(const NFRuleSet &other); // forbid copying of this class
Dnfrs.cpp136 NFRuleSet::NFRuleSet(RuleBasedNumberFormat *_owner, UnicodeString* descriptions, int32_t index, UEr… in NFRuleSet() function 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& rhs) const in operator ==()
373 NFRuleSet::setDecimalFormatSymbols(const DecimalFormatSymbols &newSymbols, UErrorCode& status) { in setDecimalFormatSymbols()
400 NFRuleSet::format(int64_t number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, U… in format()
414 NFRuleSet::format(double number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UE… in format()
428 NFRuleSet::findDoubleRule(double number) const in findDoubleRule()
[all …]
Dnfsubs.h36 const NFRuleSet* ruleSet;
41 const NFRuleSet* ruleSet,
49 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
61 const NFRuleSet* ruleSet,
Dnfrule.h26 class NFRuleSet; variable
48 NFRuleSet* ruleSet,
91 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p…
92 …NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCod…
/third_party/icu/icu4c/source/i18n/
Dnfrs.h33 class NFRuleSet : public UMemory {
35NFRuleSet(RuleBasedNumberFormat *owner, UnicodeString* descriptions, int32_t index, UErrorCode& st…
41 ~NFRuleSet();
43 UBool operator==(const NFRuleSet& rhs) const;
44 UBool operator!=(const NFRuleSet& rhs) const { return !operator==(rhs); }
82 NFRuleSet(const NFRuleSet &other); // forbid copying of this class
83 NFRuleSet &operator=(const NFRuleSet &other); // forbid copying of this class
Dnfrs.cpp136 NFRuleSet::NFRuleSet(RuleBasedNumberFormat *_owner, UnicodeString* descriptions, int32_t index, UEr… in NFRuleSet() function 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& rhs) const in operator ==()
373 NFRuleSet::setDecimalFormatSymbols(const DecimalFormatSymbols &newSymbols, UErrorCode& status) { in setDecimalFormatSymbols()
400 NFRuleSet::format(int64_t number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, U… in format()
414 NFRuleSet::format(double number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UE… in format()
428 NFRuleSet::findDoubleRule(double number) const in findDoubleRule()
[all …]
Dnfsubs.h36 const NFRuleSet* ruleSet;
41 const NFRuleSet* ruleSet,
49 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
61 const NFRuleSet* ruleSet,
Dnfrule.h26 class NFRuleSet; variable
48 NFRuleSet* ruleSet,
91 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p…
92 …NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCod…
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* _ruleSet, in SameValueSubstitution()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnfrs.h33 class NFRuleSet : public UMemory {
35NFRuleSet(RuleBasedNumberFormat *owner, UnicodeString* descriptions, int32_t index, UErrorCode& st…
41 ~NFRuleSet();
43 UBool operator==(const NFRuleSet& rhs) const;
44 UBool operator!=(const NFRuleSet& rhs) const { return !operator==(rhs); }
82 NFRuleSet(const NFRuleSet &other); // forbid copying of this class
83 NFRuleSet &operator=(const NFRuleSet &other); // forbid copying of this class
Dnfrs.cpp136 NFRuleSet::NFRuleSet(RuleBasedNumberFormat *_owner, UnicodeString* descriptions, int32_t index, UEr… in NFRuleSet() function 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& rhs) const in operator ==()
373 NFRuleSet::setDecimalFormatSymbols(const DecimalFormatSymbols &newSymbols, UErrorCode& status) { in setDecimalFormatSymbols()
400 NFRuleSet::format(int64_t number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, U… in format()
414 NFRuleSet::format(double number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UE… in format()
428 NFRuleSet::findDoubleRule(double number) const in findDoubleRule()
[all …]
Dnfsubs.h36 const NFRuleSet* ruleSet;
41 const NFRuleSet* ruleSet,
49 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
61 const NFRuleSet* ruleSet,
Dnfrule.h26 class NFRuleSet; variable
48 NFRuleSet* ruleSet,
91 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p…
92 …NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCod…
/third_party/skia/third_party/externals/icu/source/i18n/
Dnfrs.h33 class NFRuleSet : public UMemory {
35NFRuleSet(RuleBasedNumberFormat *owner, UnicodeString* descriptions, int32_t index, UErrorCode& st…
41 ~NFRuleSet();
43 UBool operator==(const NFRuleSet& rhs) const;
44 UBool operator!=(const NFRuleSet& rhs) const { return !operator==(rhs); }
82 NFRuleSet(const NFRuleSet &other); // forbid copying of this class
83 NFRuleSet &operator=(const NFRuleSet &other); // forbid copying of this class
Dnfrs.cpp136 NFRuleSet::NFRuleSet(RuleBasedNumberFormat *_owner, UnicodeString* descriptions, int32_t index, UEr… in NFRuleSet() function 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& rhs) const in operator ==()
373 NFRuleSet::setDecimalFormatSymbols(const DecimalFormatSymbols &newSymbols, UErrorCode& status) { in setDecimalFormatSymbols()
400 NFRuleSet::format(int64_t number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, U… in format()
414 NFRuleSet::format(double number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UE… in format()
428 NFRuleSet::findDoubleRule(double number) const in findDoubleRule()
[all …]
Dnfsubs.h36 const NFRuleSet* ruleSet;
41 const NFRuleSet* ruleSet,
49 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
61 const NFRuleSet* ruleSet,
Dnfrule.h26 class NFRuleSet; variable
48 NFRuleSet* ruleSet,
91 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p…
92 …NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCod…
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* _ruleSet, in SameValueSubstitution()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Drbnf.h44 class NFRuleSet; variable
1075 NFRuleSet* findRuleSet(const UnicodeString& name, UErrorCode& status) const;
1080 friend class NFRuleSet; variable
1083 inline NFRuleSet * getDefaultRuleSet() const;
1093 …UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& s…
1094 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
1097 NFRuleSet **fRuleSets;
1100 NFRuleSet *defaultRuleSet;
1128 inline NFRuleSet*
/third_party/icu/icu4c/source/i18n/unicode/
Drbnf.h46 class NFRuleSet; variable
1055 NFRuleSet* findRuleSet(const UnicodeString& name, UErrorCode& status) const;
1060 friend class NFRuleSet; variable
1063 inline NFRuleSet * getDefaultRuleSet() const;
1073 …UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& s…
1074 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
1077 NFRuleSet **fRuleSets;
1080 NFRuleSet *defaultRuleSet;
1108 inline NFRuleSet*
/third_party/node/deps/icu-small/source/i18n/unicode/
Drbnf.h46 class NFRuleSet; variable
1055 NFRuleSet* findRuleSet(const UnicodeString& name, UErrorCode& status) const;
1060 friend class NFRuleSet; variable
1063 inline NFRuleSet * getDefaultRuleSet() const;
1073 …UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& s…
1074 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
1077 NFRuleSet **fRuleSets;
1080 NFRuleSet *defaultRuleSet;
1108 inline NFRuleSet*
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Drbnf.h46 class NFRuleSet; variable
1055 NFRuleSet* findRuleSet(const UnicodeString& name, UErrorCode& status) const;
1060 friend class NFRuleSet; variable
1063 inline NFRuleSet * getDefaultRuleSet() const;
1073 …UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& s…
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/
DNFRuleSet.java27 final class NFRuleSet { class
104 …public NFRuleSet(RuleBasedNumberFormat owner, String[] descriptions, int index) throws IllegalArgu… in NFRuleSet() method 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()
313 NFRuleSet that2 = (NFRuleSet)that; in equals()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNFRuleSet.java28 final class NFRuleSet { class
105 …public NFRuleSet(RuleBasedNumberFormat owner, String[] descriptions, int index) throws IllegalArgu… in NFRuleSet() method 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()
314 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;
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 ruleSet) { in format()
1930 private String format(long number, NFRuleSet ruleSet) { in format()
[all …]

12