Home
last modified time | relevance | path

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

/external/icu4c/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);
Duobjtest.cpp356 …TESTCLASSID_CTOR(RuleBasedNumberFormat, (UnicodeString("%default: -x: minus >>;"), parseError, sta… in testIDs()
/external/icu4c/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();
989 RuleBasedNumberFormat(); // default constructor not implemented
[all …]
/external/icu4c/i18n/
Drbnf.cpp63 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedNumberFormat)
648 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
666 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
684 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
701 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
718 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, in RuleBasedNumberFormat() function in RuleBasedNumberFormat
736 RuleBasedNumberFormat::RuleBasedNumberFormat(URBNFRuleSetTag tag, const Locale& alocale, UErrorCode… in RuleBasedNumberFormat() function in RuleBasedNumberFormat
795 RuleBasedNumberFormat::RuleBasedNumberFormat(const RuleBasedNumberFormat& rhs) in RuleBasedNumberFormat() function in RuleBasedNumberFormat
813 RuleBasedNumberFormat&
814 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.cpp92 retVal = new RuleBasedNumberFormat(pat, Locale(locale), *parseErr, *status); in unum_open()
96 retVal = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale(locale), *status); in unum_open()
100 retVal = new RuleBasedNumberFormat(URBNF_ORDINAL, Locale(locale), *status); in unum_open()
104 retVal = new RuleBasedNumberFormat(URBNF_DURATION, Locale(locale), *status); in unum_open()
108 retVal = new RuleBasedNumberFormat(URBNF_NUMBERING_SYSTEM, Locale(locale), *status); in unum_open()
143 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone()
576 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_getTextAttribute()
639 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf); in unum_setTextAttribute()
674 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);
Dnfrule.cpp31 NFRule::NFRule(const RuleBasedNumberFormat* _rbnf) in NFRule()
91 const RuleBasedNumberFormat *rbnf, in makeRules()
373 const RuleBasedNumberFormat* rbnf, in extractSubstitutions()
397 const RuleBasedNumberFormat* rbnf, in extractSubstitution()
Dnumfmt.cpp1334 RuleBasedNumberFormat *r = new RuleBasedNumberFormat(desiredRulesType,nsLoc,status); in makeInstance()
Dnfrs.cpp182 NFRuleSet::parseRules(UnicodeString& description, const RuleBasedNumberFormat* owner, UErrorCode& s… in parseRules()
Dmsgfmt.cpp1448 RuleBasedNumberFormat* fmt = new RuleBasedNumberFormat(tag, locale, ec); in makeRBNF()
/external/webkit/Source/JavaScriptGlue/icu/unicode/
Durename.h1381 #define RuleBasedNumberFormat RuleBasedNumberFormat_3_2 macro
/external/webkit/Source/WebCore/icu/unicode/
Durename.h1381 #define RuleBasedNumberFormat RuleBasedNumberFormat_3_2 macro
/external/webkit/Source/WebKit/mac/icu/unicode/
Durename.h1381 #define RuleBasedNumberFormat RuleBasedNumberFormat_3_2 macro
/external/webkit/Source/JavaScriptCore/icu/unicode/
Durename.h1381 #define RuleBasedNumberFormat RuleBasedNumberFormat_3_2 macro