Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dchoicfmt.cpp49 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(ChoiceFormat)
77 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() function in ChoiceFormat
89 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() function in ChoiceFormat
100 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() function in ChoiceFormat
113 ChoiceFormat::ChoiceFormat(const ChoiceFormat& that) in ChoiceFormat() function in ChoiceFormat
125 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() function in ChoiceFormat
136 ChoiceFormat::operator==(const Format& that) const in operator ==()
140 ChoiceFormat& thatAlias = (ChoiceFormat&)that; in operator ==()
147 const ChoiceFormat&
148 ChoiceFormat::operator=(const ChoiceFormat& that) in operator =()
[all …]
Dmsgfmt.cpp1082 if (dynamic_cast<const ChoiceFormat*>(formatter) || in format()
1122 int32_t subMsgStart = ChoiceFormat::findSubMessage(msgPattern, i, number); in format()
1467 double choiceResult = ChoiceFormat::parseArgument(msgPattern, i, source, tempStatus); in parse()
/external/icu/icu4c/source/i18n/unicode/
Dchoicfmt.h173 class U_I18N_API ChoiceFormat: public NumberFormat {
183 ChoiceFormat(const UnicodeString& pattern,
199 ChoiceFormat(const double* limits,
217 ChoiceFormat(const double* limits,
228 ChoiceFormat(const ChoiceFormat& that);
236 const ChoiceFormat& operator=(const ChoiceFormat& that);
242 virtual ~ChoiceFormat();
478 ChoiceFormat(); // default constructor not implemented
490 ChoiceFormat(const UnicodeString& newPattern,
/external/icu/icu4c/source/test/intltest/
Dtchcfmt.cpp47 ChoiceFormat* form = new ChoiceFormat(limits, monthNames, 7); in TestSimpleExample()
74 ChoiceFormat* formnew=new ChoiceFormat(filelimits, filepart, 3); in TestSimpleExample()
75 ChoiceFormat* formequal=new ChoiceFormat(limits, monthNames, 7); in TestSimpleExample()
132 ChoiceFormat* fileform = new ChoiceFormat( filelimits, filepart, 4); in TestComplexExample()
294 ChoiceFormat* form_A = new ChoiceFormat(limits_A, monthNames_A, 7); in TestComplexExample()
295 ChoiceFormat* form_A2 = new ChoiceFormat(limits_A, monthNames_A, 7); in TestComplexExample()
298 ChoiceFormat* form_B = new ChoiceFormat(limits_B, monthNames_B, 7); in TestComplexExample()
314 ChoiceFormat* form_A3 = (ChoiceFormat*) form_A->clone(); in TestComplexExample()
325 ChoiceFormat form_Assigned( *form_A ); in TestComplexExample()
341 ChoiceFormat form_pat( testPattern, status ); in TestComplexExample()
[all …]
Dmsfmrgts.cpp304 ChoiceFormat *f = new ChoiceFormat( in Test4052223()
342 ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length); in Test4104976()
397 ChoiceFormat *cf = new ChoiceFormat(limits, formats, 3); in Test4106660()
589 ChoiceFormat *fmt = new ChoiceFormat( in Test4106661()
647 ChoiceFormat *fmt = new ChoiceFormat(pattern, status); in Test4094906()
803 ChoiceFormat *fileform = new ChoiceFormat(filelimits, filepart, 3); in Test4105380()
938 ChoiceFormat *cf = new ChoiceFormat(DATA[i], status); in TestChoicePatternQuote()
951 ChoiceFormat *cf2 = new ChoiceFormat(pat, status); in TestChoicePatternQuote()
Duobjtest.cpp361 …TESTCLASSID_CTOR(ChoiceFormat, (UNICODE_STRING_SIMPLE("0#are no files|1#is one file|1<are many fil… in testIDs()
593 if (dynamic_cast<DecimalFormat *>(nf) == NULL || dynamic_cast<ChoiceFormat *>(nf) != NULL) { in TestCompilerRTTI()
598 typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) || in TestCompilerRTTI()
Dtmsgfmt.cpp165 ChoiceFormat *cf = new ChoiceFormat(limit, formats, 3); in testBug1()
507 ChoiceFormat* fileform = new ChoiceFormat(filelimits, filepart, 3); in testMsgFormatChoice()
1741 ChoiceFormat cf(limit, formats, 3); in testCoverage()
Ddtfmapts.cpp365 ChoiceFormat fmt("0#foo|1#foos|2#foos", status); in TestNameHiding()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessageRegressionTest.java41 import java.text.ChoiceFormat;
186 ChoiceFormat f = new ChoiceFormat( in Test4052223()
209 ChoiceFormat cf = new ChoiceFormat(limits, formats); in Test4104976()
226 ChoiceFormat cf = null; in Test4106659()
228 cf = new ChoiceFormat(limits, formats); in Test4106659()
246 ChoiceFormat cf = new ChoiceFormat(limits, formats); in Test4106660()
398 ChoiceFormat fmt = new ChoiceFormat( in Test4106661()
419 ChoiceFormat fmt = new ChoiceFormat( in Test4094906()
492 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in Test4105380()
579 ChoiceFormat cf = new ChoiceFormat(DATA[i]); in TestChoicePatternQuote()
[all …]
DTestMessageFormat.java18 import java.text.ChoiceFormat;
130 ChoiceFormat cf = new ChoiceFormat(limit, formats); in TestBug1()
319 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in TestMsgFormatChoice()
1610 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in TestFormatToCharacterIterator()
1855 ChoiceFormat choice = new ChoiceFormat("0#1'2''3'''4''''."); in TestCompatibleApostrophe()
DNumberFormatTestCases.txt85 # ChoiceFormat-based display names
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegressionTest.java40 import java.text.ChoiceFormat;
185 ChoiceFormat f = new ChoiceFormat( in Test4052223()
208 ChoiceFormat cf = new ChoiceFormat(limits, formats); in Test4104976()
225 ChoiceFormat cf = null; in Test4106659()
227 cf = new ChoiceFormat(limits, formats); in Test4106659()
245 ChoiceFormat cf = new ChoiceFormat(limits, formats); in Test4106660()
397 ChoiceFormat fmt = new ChoiceFormat( in Test4106661()
418 ChoiceFormat fmt = new ChoiceFormat( in Test4094906()
491 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in Test4105380()
578 ChoiceFormat cf = new ChoiceFormat(DATA[i]); in TestChoicePatternQuote()
[all …]
DTestMessageFormat.java17 import java.text.ChoiceFormat;
129 ChoiceFormat cf = new ChoiceFormat(limit, formats); in TestBug1()
318 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in TestMsgFormatChoice()
1609 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in TestFormatToCharacterIterator()
1854 ChoiceFormat choice = new ChoiceFormat("0#1'2''3'''4''''."); in TestCompatibleApostrophe()
DNumberFormatTestCases.txt85 # ChoiceFormat-based display names
/external/icu/icu4c/source/samples/msgfmt/
DREADME.TXT69 Problem 2: ChoiceFormat (Medium)
75 This kind of value-based switching is done using a ChoiceFormat.
76 However, you seldom needs to create a ChoiceFormat by itself.
77 Instead, most of the time you will supply the ChoiceFormat pattern
80 Use a ChoiceFormat pattern within the MessageFormat pattern, instead
/external/icu/icu4c/source/test/testdata/
DNumberFormatTestCases.txt83 # ChoiceFormat-based display names
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DMessageFormat.java20 import java.text.ChoiceFormat;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java22 import java.text.ChoiceFormat;
1682 if ( formatter instanceof ChoiceFormat || in format()
DDecimalFormat.java17 import java.text.ChoiceFormat;
5699 private ChoiceFormat currencyChoice;
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessageFormat.java23 import java.text.ChoiceFormat;
1638 if ( formatter instanceof ChoiceFormat || in format()
DDecimalFormat.java18 import java.text.ChoiceFormat;
5610 private ChoiceFormat currencyChoice;
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java19 import java.text.ChoiceFormat;