Home
last modified time | relevance | path

Searched refs:ChoiceFormat (Results 1 – 25 of 31) sorted by relevance

12

/external/icu4c/i18n/
Dchoicfmt.cpp45 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(ChoiceFormat)
70 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() function in ChoiceFormat
84 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() function in ChoiceFormat
97 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() function in ChoiceFormat
112 ChoiceFormat::ChoiceFormat(const ChoiceFormat& that) in ChoiceFormat() function in ChoiceFormat
126 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() function in ChoiceFormat
139 ChoiceFormat::operator==(const Format& that) const in operator ==()
143 ChoiceFormat& thatAlias = (ChoiceFormat&)that; in operator ==()
159 const ChoiceFormat&
160 ChoiceFormat::operator=(const ChoiceFormat& that) in operator =()
[all …]
Dmsgfmt.cpp840 else if (fmt->getDynamicClassID() == ChoiceFormat::getStaticClassID()) { in toPattern()
845 appendTo += ((ChoiceFormat*)fmt)->toPattern(buffer); in toPattern()
1249 if ((fmt->getDynamicClassID() == ChoiceFormat::getStaticClassID() || in format()
1596 fmt = new ChoiceFormat(segments[3], parseError, ec); in makeFormat()
Ducurr.cpp722 ChoiceFormat fmt(s, ec2); in getCurrencyNameCount()
845 ChoiceFormat fmt(s, ec2); in collectCurrencyNames()
1388 ChoiceFormat f(currname, ec); in uprv_getStaticCurrencyName()
Ddecimfmt.cpp650 fCurrencyChoice = (ChoiceFormat*) rhs.fCurrencyChoice->clone(); in operator =()
3072 ChoiceFormat* fmt = new ChoiceFormat(s, ec); in expandAffix()
/external/chromium/third_party/icu/source/i18n/
Dchoicfmt.cpp45 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(ChoiceFormat)
70 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() function in ChoiceFormat
84 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() function in ChoiceFormat
97 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() function in ChoiceFormat
112 ChoiceFormat::ChoiceFormat(const ChoiceFormat& that) in ChoiceFormat() function in ChoiceFormat
126 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() function in ChoiceFormat
139 ChoiceFormat::operator==(const Format& that) const in operator ==()
143 ChoiceFormat& thatAlias = (ChoiceFormat&)that; in operator ==()
159 const ChoiceFormat&
160 ChoiceFormat::operator=(const ChoiceFormat& that) in operator =()
[all …]
Dmsgfmt.cpp830 else if (fmt->getDynamicClassID() == ChoiceFormat::getStaticClassID()) { in toPattern()
835 appendTo += ((ChoiceFormat*)fmt)->toPattern(buffer); in toPattern()
1234 if ((fmt->getDynamicClassID() == ChoiceFormat::getStaticClassID() || in format()
1579 fmt = new ChoiceFormat(segments[3], parseError, ec); in makeFormat()
Ducurr.cpp736 ChoiceFormat fmt(s, ec2); in getCurrencyNameCount()
859 ChoiceFormat fmt(s, ec2); in collectCurrencyNames()
1407 ChoiceFormat f(currname, ec); in uprv_getStaticCurrencyName()
Ddecimfmt.cpp706 fCurrencyChoice = (ChoiceFormat*) rhs.fCurrencyChoice->clone(); in operator =()
3111 ChoiceFormat* fmt = new ChoiceFormat(s, ec); in expandAffix()
/external/icu4c/i18n/unicode/
Dchoicfmt.h259 class U_I18N_API ChoiceFormat: public NumberFormat {
270 ChoiceFormat(const UnicodeString& pattern,
284 ChoiceFormat(const double* limits,
305 ChoiceFormat(const double* limits,
316 ChoiceFormat(const ChoiceFormat& that);
324 const ChoiceFormat& operator=(const ChoiceFormat& that);
330 virtual ~ChoiceFormat();
663 ChoiceFormat(); // default constructor not implemented
676 ChoiceFormat(const UnicodeString& newPattern,
725 ChoiceFormat::format(const Formattable& obj, in format()
[all …]
Ddecimfmt.h46 class ChoiceFormat; variable
2106 ChoiceFormat* fCurrencyChoice;
/external/chromium/third_party/icu/public/i18n/unicode/
Dchoicfmt.h259 class U_I18N_API ChoiceFormat: public NumberFormat {
270 ChoiceFormat(const UnicodeString& pattern,
284 ChoiceFormat(const double* limits,
305 ChoiceFormat(const double* limits,
316 ChoiceFormat(const ChoiceFormat& that);
324 const ChoiceFormat& operator=(const ChoiceFormat& that);
330 virtual ~ChoiceFormat();
660 ChoiceFormat(); // default constructor not implemented
673 ChoiceFormat(const UnicodeString& newPattern,
722 ChoiceFormat::format(const Formattable& obj, in format()
[all …]
Ddecimfmt.h58 class ChoiceFormat; variable
1982 ChoiceFormat* fCurrencyChoice;
/external/icu4c/test/intltest/
Dtchcfmt.cpp46 ChoiceFormat* form = new ChoiceFormat(limits, monthNames, 7); in TestSimpleExample()
73 ChoiceFormat* formnew=new ChoiceFormat(filelimits, filepart, 3); in TestSimpleExample()
74 ChoiceFormat* formequal=new ChoiceFormat(limits, monthNames, 7); in TestSimpleExample()
121 ChoiceFormat* fileform = new ChoiceFormat( filelimits, filepart, 4); in TestComplexExample()
281 ChoiceFormat* form_A = new ChoiceFormat(limits_A, monthNames_A, 7); in TestComplexExample()
282 ChoiceFormat* form_A2 = new ChoiceFormat(limits_A, monthNames_A, 7); in TestComplexExample()
285 ChoiceFormat* form_B = new ChoiceFormat(limits_B, monthNames_B, 7); in TestComplexExample()
301 ChoiceFormat* form_A3 = (ChoiceFormat*) form_A->clone(); in TestComplexExample()
312 ChoiceFormat form_Assigned( *form_A ); in TestComplexExample()
328 ChoiceFormat form_pat( testPattern, status ); in TestComplexExample()
[all …]
Dmsfmrgts.cpp299 ChoiceFormat *f = new ChoiceFormat( in Test4052223()
337 ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length); in Test4104976()
392 ChoiceFormat *cf = new ChoiceFormat(limits, formats, 3); in Test4106660()
584 ChoiceFormat *fmt = new ChoiceFormat( in Test4106661()
642 ChoiceFormat *fmt = new ChoiceFormat(pattern, status); in Test4094906()
798 ChoiceFormat *fileform = new ChoiceFormat(filelimits, filepart, 3); in Test4105380()
924 ChoiceFormat *cf = new ChoiceFormat(DATA[i], status); in TestChoicePatternQuote()
937 ChoiceFormat *cf2 = new ChoiceFormat(pat, status); in TestChoicePatternQuote()
Dtmsgfmt.cpp157 ChoiceFormat *cf = new ChoiceFormat(limit, formats, 3); in testBug1()
496 ChoiceFormat* fileform = new ChoiceFormat(filelimits, filepart, 3); in testMsgFormatChoice()
1575 ChoiceFormat cf(limit, formats, 3); in testCoverage()
Duobjtest.cpp258 …TESTCLASSID_CTOR(ChoiceFormat, (UNICODE_STRING_SIMPLE("0#are no files|1#is one file|1<are many fil… in testIDs()
Ddtfmapts.cpp357 ChoiceFormat fmt("0#foo|1#foos|2#foos", status); in TestNameHiding()
/external/chromium/third_party/icu/source/test/intltest/
Dtchcfmt.cpp46 ChoiceFormat* form = new ChoiceFormat(limits, monthNames, 7); in TestSimpleExample()
73 ChoiceFormat* formnew=new ChoiceFormat(filelimits, filepart, 3); in TestSimpleExample()
74 ChoiceFormat* formequal=new ChoiceFormat(limits, monthNames, 7); in TestSimpleExample()
121 ChoiceFormat* fileform = new ChoiceFormat( filelimits, filepart, 4); in TestComplexExample()
281 ChoiceFormat* form_A = new ChoiceFormat(limits_A, monthNames_A, 7); in TestComplexExample()
282 ChoiceFormat* form_A2 = new ChoiceFormat(limits_A, monthNames_A, 7); in TestComplexExample()
285 ChoiceFormat* form_B = new ChoiceFormat(limits_B, monthNames_B, 7); in TestComplexExample()
301 ChoiceFormat* form_A3 = (ChoiceFormat*) form_A->clone(); in TestComplexExample()
312 ChoiceFormat form_Assigned( *form_A ); in TestComplexExample()
328 ChoiceFormat form_pat( testPattern, status ); in TestComplexExample()
[all …]
Dmsfmrgts.cpp298 ChoiceFormat *f = new ChoiceFormat( in Test4052223()
336 ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length); in Test4104976()
391 ChoiceFormat *cf = new ChoiceFormat(limits, formats, 3); in Test4106660()
583 ChoiceFormat *fmt = new ChoiceFormat( in Test4106661()
641 ChoiceFormat *fmt = new ChoiceFormat(pattern, status); in Test4094906()
797 ChoiceFormat *fileform = new ChoiceFormat(filelimits, filepart, 3); in Test4105380()
923 ChoiceFormat *cf = new ChoiceFormat(DATA[i], status); in TestChoicePatternQuote()
936 ChoiceFormat *cf2 = new ChoiceFormat(pat, status); in TestChoicePatternQuote()
Dtmsgfmt.cpp149 ChoiceFormat *cf = new ChoiceFormat(limit, formats, 3); in testBug1()
488 ChoiceFormat* fileform = new ChoiceFormat(filelimits, filepart, 3); in testMsgFormatChoice()
Ddtfmapts.cpp328 ChoiceFormat fmt("0#foo|1#foos|2#foos", status); in TestNameHiding()
Duobjtest.cpp256 …TESTCLASSID_CTOR(ChoiceFormat, (UNICODE_STRING_SIMPLE("0#are no files|1#is one file|1<are many fil… in testIDs()
/external/icu4c/samples/msgfmt/
DREADME.TXT58 Problem 2: ChoiceFormat (Medium)
64 This kind of value-based switching is done using a ChoiceFormat.
65 However, you seldom needs to create a ChoiceFormat by itself.
66 Instead, most of the time you will supply the ChoiceFormat pattern
69 Use a ChoiceFormat pattern within the MessageFormat pattern, instead
/external/chromium/third_party/icu/source/test/testdata/
DNumberFormatTestCases.txt81 # ChoiceFormat-based display names
/external/icu4c/test/testdata/
DNumberFormatTestCases.txt81 # ChoiceFormat-based display names

12