Home
last modified time | relevance | path

Searched refs:RuleBasedNumberFormat (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/icu/source/test/intltest/
Ditrbnfrt.cpp64 RuleBasedNumberFormat* formatter in TestEnglishSpelloutRT()
65 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestEnglishSpelloutRT()
82 RuleBasedNumberFormat* formatter in TestDurationsRT()
83 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status); in TestDurationsRT()
100 RuleBasedNumberFormat* formatter in TestSpanishSpelloutRT()
101 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("es", "es"), status); in TestSpanishSpelloutRT()
118 RuleBasedNumberFormat* formatter in TestFrenchSpelloutRT()
119 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getFrance(), status); in TestFrenchSpelloutRT()
136 RuleBasedNumberFormat* formatter in TestSwissFrenchSpelloutRT()
137 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("fr", "CH"), status); in TestSwissFrenchSpelloutRT()
[all …]
Ditrbnf.cpp102 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(URBNF_SPELLOUT, "he_IL", status); in TestHebrewFraction()
146 RuleBasedNumberFormat* formatter in TestAPI()
147 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestAPI()
158 RuleBasedNumberFormat* rbnfClone = (RuleBasedNumberFormat *)formatter->clone(); in TestAPI()
172 RuleBasedNumberFormat assignResult(URBNF_SPELLOUT, Locale("es", "ES", ""), status); in TestAPI()
203 RuleBasedNumberFormat ruleCtorResult(spelloutRules, Locale::getUS(), perror, status); in TestAPI()
209 RuleBasedNumberFormat nf(spelloutRules, (UnicodeString)"", Locale::getUS(), perror, status); in TestAPI()
222 RuleBasedNumberFormat fromRulesResult(rules, Locale::getUS(), perror, status); in TestAPI()
232 RuleBasedNumberFormat copyCtorResult(*formatter); in TestAPI()
399 RuleBasedNumberFormat formatter(fracRules, Locale::getEnglish(), perror, status); in TestFractionalRuleSet()
[all …]
Ditrbnfp.cpp125RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); in TestParse()
146 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status) { in testfmt()
159 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status) { in testfmt()
Ditrbnfp.h31 void testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status);
32 void testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status);
Ditrbnf.h132 …virtual void doTest(RuleBasedNumberFormat* formatter, const char* const testData[][2], UBool testP…
133 virtual void doLenientParseTest(RuleBasedNumberFormat* formatter, const char* testData[][2]);
Ditrbnfrt.h85 void doTest(const RuleBasedNumberFormat* formatter, double lowLimit, double highLimit);
/external/icu/icu4c/source/test/intltest/
Ditrbnfrt.cpp64 RuleBasedNumberFormat* formatter in TestEnglishSpelloutRT()
65 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestEnglishSpelloutRT()
82 RuleBasedNumberFormat* formatter in TestDurationsRT()
83 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status); in TestDurationsRT()
100 RuleBasedNumberFormat* formatter in TestSpanishSpelloutRT()
101 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("es", "es"), status); in TestSpanishSpelloutRT()
118 RuleBasedNumberFormat* formatter in TestFrenchSpelloutRT()
119 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getFrance(), status); in TestFrenchSpelloutRT()
136 RuleBasedNumberFormat* formatter in TestSwissFrenchSpelloutRT()
137 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("fr", "CH"), status); in TestSwissFrenchSpelloutRT()
[all …]
Ditrbnf.cpp103 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(URBNF_SPELLOUT, "he_IL", status); in TestHebrewFraction()
147 RuleBasedNumberFormat* formatter in TestAPI()
148 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestAPI()
159 RuleBasedNumberFormat* rbnfClone = (RuleBasedNumberFormat *)formatter->clone(); in TestAPI()
173 RuleBasedNumberFormat assignResult(URBNF_SPELLOUT, Locale("es", "ES", ""), status); in TestAPI()
204 RuleBasedNumberFormat ruleCtorResult(spelloutRules, Locale::getUS(), perror, status); in TestAPI()
210 RuleBasedNumberFormat nf(spelloutRules, (UnicodeString)"", Locale::getUS(), perror, status); in TestAPI()
223 RuleBasedNumberFormat fromRulesResult(rules, Locale::getUS(), perror, status); in TestAPI()
233 RuleBasedNumberFormat copyCtorResult(*formatter); in TestAPI()
400 RuleBasedNumberFormat formatter(fracRules, Locale::getEnglish(), perror, status); in TestFractionalRuleSet()
[all …]
Ditrbnfp.cpp125RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); in TestParse()
146 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status) { in testfmt()
159 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status) { in testfmt()
Ditrbnfp.h31 void testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status);
32 void testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status);
Ditrbnf.h137 …virtual void doTest(RuleBasedNumberFormat* formatter, const char* const testData[][2], UBool testP…
138 virtual void doLenientParseTest(RuleBasedNumberFormat* formatter, const char* testData[][2]);
Ditrbnfrt.h85 void doTest(const RuleBasedNumberFormat* formatter, double lowLimit, double highLimit);
/external/chromium_org/third_party/icu/source/i18n/unicode/
Drbnf.h503 class U_I18N_API RuleBasedNumberFormat : public NumberFormat {
520 RuleBasedNumberFormat(const UnicodeString& rules, UParseError& perror, UErrorCode& status);
545 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations,
563 RuleBasedNumberFormat(const UnicodeString& rules, const Locale& locale,
592 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations,
610 RuleBasedNumberFormat(URBNFRuleSetTag tag, const Locale& locale, UErrorCode& status);
621 RuleBasedNumberFormat(const RuleBasedNumberFormat& rhs);
628 RuleBasedNumberFormat& operator=(const RuleBasedNumberFormat& rhs);
634 virtual ~RuleBasedNumberFormat();
968 RuleBasedNumberFormat(); // default constructor not implemented
[all …]
/external/icu/icu4c/source/i18n/unicode/
Drbnf.h500 class U_I18N_API RuleBasedNumberFormat : public NumberFormat {
517 RuleBasedNumberFormat(const UnicodeString& rules, UParseError& perror, UErrorCode& status);
542 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations,
560 RuleBasedNumberFormat(const UnicodeString& rules, const Locale& locale,
589 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations,
607 RuleBasedNumberFormat(URBNFRuleSetTag tag, const Locale& locale, UErrorCode& status);
618 RuleBasedNumberFormat(const RuleBasedNumberFormat& rhs);
625 RuleBasedNumberFormat& operator=(const RuleBasedNumberFormat& rhs);
631 virtual ~RuleBasedNumberFormat();
944 RuleBasedNumberFormat(); // default constructor not implemented
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Drbnf.cpp67 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedNumberFormat)
650 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
667 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
684 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
700 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
716 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
733 RuleBasedNumberFormat::RuleBasedNumberFormat(URBNFRuleSetTag tag, const Locale& alocale, UErrorCode… in RuleBasedNumberFormat() function in RuleBasedNumberFormat
806 RuleBasedNumberFormat::RuleBasedNumberFormat(const RuleBasedNumberFormat& rhs) in RuleBasedNumberFormat() function in RuleBasedNumberFormat
822 RuleBasedNumberFormat&
823 RuleBasedNumberFormat::operator=(const RuleBasedNumberFormat& rhs) in operator =()
[all …]
Dnfrule.h28 class RuleBasedNumberFormat; variable
46 const RuleBasedNumberFormat* rbnf,
50 NFRule(const RuleBasedNumberFormat* rbnf);
79 …utions(const NFRuleSet* ruleSet, const NFRule* predecessor, const RuleBasedNumberFormat* rbnf, UEr…
80 …tution(const NFRuleSet* ruleSet, const NFRule* predecessor, const RuleBasedNumberFormat* rbnf, UEr…
101 const RuleBasedNumberFormat* formatter;
Dunum.cpp124 retVal = (UNumberFormat*)new RuleBasedNumberFormat(pat, Locale(locale), *parseErr, *status); in unum_open()
128 retVal = (UNumberFormat*)new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale(locale), *status); in unum_open()
132 retVal = (UNumberFormat*)new RuleBasedNumberFormat(URBNF_ORDINAL, Locale(locale), *status); in unum_open()
136 retVal = (UNumberFormat*)new RuleBasedNumberFormat(URBNF_DURATION, Locale(locale), *status); in unum_open()
140 …retVal = (UNumberFormat*)new RuleBasedNumberFormat(URBNF_NUMBERING_SYSTEM, Locale(locale), *status… in unum_open()
175 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone()
550 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_getAttribute()
651 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf); in unum_setAttribute()
736 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_getTextAttribute()
800 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf); in unum_setTextAttribute()
[all …]
Dnfsubs.cpp51 const RuleBasedNumberFormat* formatter,
74 const RuleBasedNumberFormat* formatter, in MultiplierSubstitution()
130 const RuleBasedNumberFormat* formatter,
177 const RuleBasedNumberFormat* formatter, in IntegralPartSubstitution()
200 const RuleBasedNumberFormat* formatter,
231 const RuleBasedNumberFormat* formatter, in AbsoluteValueSubstitution()
262 const RuleBasedNumberFormat* formatter, in NumeratorSubstitution()
300 const RuleBasedNumberFormat* formatter, in NullSubstitution()
332 const RuleBasedNumberFormat* formatter, in makeSubstitution()
418 const RuleBasedNumberFormat* formatter, in NFSubstitution()
[all …]
Dnfsubs.h40 const RuleBasedNumberFormat* rbnf,
61 const RuleBasedNumberFormat* rbnf,
/external/icu/icu4c/source/i18n/
Drbnf.cpp66 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedNumberFormat)
653 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
675 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
697 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
718 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
739 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
761 RuleBasedNumberFormat::RuleBasedNumberFormat(URBNFRuleSetTag tag, const Locale& alocale, UErrorCode… in RuleBasedNumberFormat() function in RuleBasedNumberFormat
824 RuleBasedNumberFormat::RuleBasedNumberFormat(const RuleBasedNumberFormat& rhs) in RuleBasedNumberFormat() function in RuleBasedNumberFormat
846 RuleBasedNumberFormat&
847 RuleBasedNumberFormat::operator=(const RuleBasedNumberFormat& rhs) in operator =()
[all …]
Dnfrule.h28 class RuleBasedNumberFormat; variable
46 const RuleBasedNumberFormat* rbnf,
50 NFRule(const RuleBasedNumberFormat* rbnf);
79 …utions(const NFRuleSet* ruleSet, const NFRule* predecessor, const RuleBasedNumberFormat* rbnf, UEr…
80 …tution(const NFRuleSet* ruleSet, const NFRule* predecessor, const RuleBasedNumberFormat* rbnf, UEr…
101 const RuleBasedNumberFormat* formatter;
Dunum.cpp96 retVal = new RuleBasedNumberFormat(pat, Locale(locale), *parseErr, *status); in unum_open()
100 retVal = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale(locale), *status); in unum_open()
104 retVal = new RuleBasedNumberFormat(URBNF_ORDINAL, Locale(locale), *status); in unum_open()
108 retVal = new RuleBasedNumberFormat(URBNF_DURATION, Locale(locale), *status); in unum_open()
112 retVal = new RuleBasedNumberFormat(URBNF_NUMBERING_SYSTEM, Locale(locale), *status); in unum_open()
147 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone()
580 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_getTextAttribute()
643 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf); in unum_setTextAttribute()
678 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_toPattern()
Dnfsubs.cpp51 const RuleBasedNumberFormat* formatter,
77 const RuleBasedNumberFormat* formatter, in MultiplierSubstitution()
136 const RuleBasedNumberFormat* formatter,
188 const RuleBasedNumberFormat* formatter, in IntegralPartSubstitution()
214 const RuleBasedNumberFormat* formatter,
248 const RuleBasedNumberFormat* formatter, in AbsoluteValueSubstitution()
282 const RuleBasedNumberFormat* formatter, in NumeratorSubstitution()
323 const RuleBasedNumberFormat* formatter, in NullSubstitution()
358 const RuleBasedNumberFormat* formatter, in makeSubstitution()
444 const RuleBasedNumberFormat* formatter, in NFSubstitution()
[all …]
Dnfsubs.h40 const RuleBasedNumberFormat* rbnf,
61 const RuleBasedNumberFormat* rbnf,
Dnfrs.h34 void parseRules(UnicodeString& rules, const RuleBasedNumberFormat* owner, UErrorCode& status);

12