/third_party/icu/icu4c/source/i18n/ |
H A D | choicfmt.cpp | 44 // class ChoiceFormat 49 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(ChoiceFormat) 51 // Special characters used by ChoiceFormat. There are two characters 75 // Creates a ChoiceFormat instance based on the pattern. 77 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() function in ChoiceFormat 86 // Creates a ChoiceFormat instance with the limit array and 89 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() function in ChoiceFormat 100 ChoiceFormat function in ChoiceFormat 113 ChoiceFormat::ChoiceFormat(const ChoiceFormat& that) ChoiceFormat() function in ChoiceFormat 125 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, ChoiceFormat() function in ChoiceFormat [all...] |
H A D | msgfmt.cpp | 1090 if (dynamic_cast<const ChoiceFormat*>(formatter) || in format() 1130 int32_t subMsgStart = ChoiceFormat::findSubMessage(msgPattern, i, number); in format() 1475 double choiceResult = ChoiceFormat::parseArgument(msgPattern, i, source, tempStatus); in parse()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | choicfmt.cpp | 44 // class ChoiceFormat 49 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(ChoiceFormat) 51 // Special characters used by ChoiceFormat. There are two characters 75 // Creates a ChoiceFormat instance based on the pattern. 77 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() function in ChoiceFormat 86 // Creates a ChoiceFormat instance with the limit array and 89 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() function in ChoiceFormat 100 ChoiceFormat function in ChoiceFormat 113 ChoiceFormat::ChoiceFormat(const ChoiceFormat& that) ChoiceFormat() function in ChoiceFormat 125 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, ChoiceFormat() function in ChoiceFormat [all...] |
H A D | msgfmt.cpp | 1091 if (dynamic_cast<const ChoiceFormat*>(formatter) || in format() 1131 int32_t subMsgStart = ChoiceFormat::findSubMessage(msgPattern, i, number); in format() 1476 double choiceResult = ChoiceFormat::parseArgument(msgPattern, i, source, tempStatus); in parse()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | choicfmt.cpp | 44 // class ChoiceFormat 49 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(ChoiceFormat) 51 // Special characters used by ChoiceFormat. There are two characters 75 // Creates a ChoiceFormat instance based on the pattern. 77 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() function in ChoiceFormat 86 // Creates a ChoiceFormat instance with the limit array and 89 ChoiceFormat::ChoiceFormat(const double* limits, in ChoiceFormat() function in ChoiceFormat 100 ChoiceFormat function in ChoiceFormat 113 ChoiceFormat::ChoiceFormat(const ChoiceFormat& that) ChoiceFormat() function in ChoiceFormat 125 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, ChoiceFormat() function in ChoiceFormat [all...] |
H A D | msgfmt.cpp | 1088 if (dynamic_cast<const ChoiceFormat*>(formatter) || in format() 1128 int32_t subMsgStart = ChoiceFormat::findSubMessage(msgPattern, i, number); in format() 1473 double choiceResult = ChoiceFormat::parseArgument(msgPattern, i, source, tempStatus); in parse()
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | choicfmt.h | 51 * ChoiceFormat converts between ranges of numeric values and strings for those ranges. 54 * <p><em><code>ChoiceFormat</code> is probably not what you need. 59 * <p>A <code>ChoiceFormat</code> splits 65 * <p><code>ChoiceFormat</code> was originally intended 69 * are too complex for the capabilities of ChoiceFormat, 73 * <p>There are two methods of defining a <code>ChoiceFormat</code>; both 77 * <code>ChoiceFormat</code>.</p> 81 * rather than using a stand-alone <code>ChoiceFormat</code>.</p> 105 * <p>When a <code>ChoiceFormat</code> is constructed from 155 * ChoiceFormat fm 176 class U_I18N_API ChoiceFormat: public NumberFormat { global() class [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | choicfmt.h | 51 * ChoiceFormat converts between ranges of numeric values and strings for those ranges. 54 * <p><em><code>ChoiceFormat</code> is probably not what you need. 59 * <p>A <code>ChoiceFormat</code> splits 65 * <p><code>ChoiceFormat</code> was originally intended 69 * are too complex for the capabilities of ChoiceFormat, 73 * <p>There are two methods of defining a <code>ChoiceFormat</code>; both 77 * <code>ChoiceFormat</code>.</p> 81 * rather than using a stand-alone <code>ChoiceFormat</code>.</p> 105 * <p>When a <code>ChoiceFormat</code> is constructed from 155 * ChoiceFormat fm 176 class U_I18N_API ChoiceFormat: public NumberFormat { global() class [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | choicfmt.h | 51 * ChoiceFormat converts between ranges of numeric values and strings for those ranges. 54 * <p><em><code>ChoiceFormat</code> is probably not what you need. 59 * <p>A <code>ChoiceFormat</code> splits 65 * <p><code>ChoiceFormat</code> was originally intended 69 * are too complex for the capabilities of ChoiceFormat, 73 * <p>There are two methods of defining a <code>ChoiceFormat</code>; both 77 * <code>ChoiceFormat</code>.</p> 81 * rather than using a stand-alone <code>ChoiceFormat</code>.</p> 105 * <p>When a <code>ChoiceFormat</code> is constructed from 155 * ChoiceFormat fm 176 class U_I18N_API ChoiceFormat: public NumberFormat { global() class [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tchcfmt.cpp | 47 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() 88 #if 1 // ICU 4.8 deprecates and disables the ChoiceFormat getters. in TestSimpleExample() 132 ChoiceFormat* fileform = new ChoiceFormat( filelimits, filepart, 4); in TestComplexExample() 178 it_logln("ChoiceFormat toPatter in TestComplexExample() [all...] |
H A D | msfmrgts.cpp | 305 ChoiceFormat *f = new ChoiceFormat( in Test4052223() 307 failure(status, "new ChoiceFormat"); in Test4052223() 329 * ChoiceFormat.equals(null) throws NullPointerException 343 ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length); in Test4104976() 344 failure(status, "new ChoiceFormat"); in Test4104976() 349 errln("ChoiceFormat.equals(null) throws exception."); in Test4104976() 356 * ChoiceFormat.ctor(double[], String[]) doesn't check 371 ChoiceFormat *c in Test4106659() [all...] |
H A D | uobjtest.cpp | 362 TESTCLASSID_CTOR(ChoiceFormat, (UNICODE_STRING_SIMPLE("0#are no files|1#is one file|1<are many files"), status)); in testIDs() 591 if (dynamic_cast<DecimalFormat *>(nf) == NULL || dynamic_cast<ChoiceFormat *>(nf) != NULL) { in TestCompilerRTTI() 596 typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) || in TestCompilerRTTI()
|
H A D | tmsgfmt.cpp | 170 ChoiceFormat *cf = new ChoiceFormat(limit, formats, 3); in testBug1() 175 errln("ChoiceFormat cmp in testBug1"); in testBug1() 512 ChoiceFormat* fileform = new ChoiceFormat(filelimits, filepart, 3); in testMsgFormatChoice() 1683 // The JDK ChoiceFormat itself always performs one apostrophe-quoting pass. in TestCompatibleApostrophe() 1685 ChoiceFormat choice = new ChoiceFormat("0#1'2''3'''4''''."); in TestCompatibleApostrophe() 1686 assertEquals("unexpected JDK ChoiceFormat apostrophe behavior", in TestCompatibleApostrophe() 1690 assertEquals("unexpected JDK ChoiceFormat apostroph in TestCompatibleApostrophe() [all...] |
H A D | dtfmapts.cpp | 361 // ChoiceFormat calling Format & NumberFormat API in TestNameHiding() 363 logln("ChoiceFormat"); in TestNameHiding() 365 ChoiceFormat fmt("0#foo|1#foos|2#foos", status); in TestNameHiding()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | MessageRegressionTest.java | 40 import java.text.ChoiceFormat; 189 ChoiceFormat f = new ChoiceFormat( in Test4052223() 205 * ChoiceFormat.equals(null) throws NullPointerException 212 ChoiceFormat cf = new ChoiceFormat(limits, formats); in Test4104976() 217 errln("ChoiceFormat.equals(null) throws exception."); in Test4104976() 221 * ChoiceFormat.ctor(double[], String[]) doesn't check 229 ChoiceFormat cf = null; in Test4106659() 231 cf = new ChoiceFormat(limit in Test4106659() [all...] |
H A D | TestMessageFormat.java | 17 import java.text.ChoiceFormat; 135 ChoiceFormat cf = new ChoiceFormat(limit, formats); in TestBug1() 136 assertEquals("ChoiceFormat.format", formats[1], cf.format(1)); in TestBug1() 324 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in TestMsgFormatChoice() 1617 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in TestFormatToCharacterIterator() 1861 // The JDK ChoiceFormat itself always performs one apostrophe-quoting pass. in TestCompatibleApostrophe() 1862 ChoiceFormat choic in TestCompatibleApostrophe() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | MessageRegressionTest.java | 41 import java.text.ChoiceFormat; 192 ChoiceFormat f = new ChoiceFormat( in Test4052223() 208 * ChoiceFormat.equals(null) throws NullPointerException 215 ChoiceFormat cf = new ChoiceFormat(limits, formats); in Test4104976() 220 errln("ChoiceFormat.equals(null) throws exception."); in Test4104976() 224 * ChoiceFormat.ctor(double[], String[]) doesn't check 232 ChoiceFormat cf = null; in Test4106659() 234 cf = new ChoiceFormat(limit in Test4106659() [all...] |
H A D | TestMessageFormat.java | 18 import java.text.ChoiceFormat; 138 ChoiceFormat cf = new ChoiceFormat(limit, formats); in TestBug1() 139 assertEquals("ChoiceFormat.format", formats[1], cf.format(1)); in TestBug1() 327 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in TestMsgFormatChoice() 1620 ChoiceFormat fileform = new ChoiceFormat(filelimits, filepart); in TestFormatToCharacterIterator() 1864 // The JDK ChoiceFormat itself always performs one apostrophe-quoting pass. in TestCompatibleApostrophe() 1865 ChoiceFormat choic in TestCompatibleApostrophe() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | MessageFormat.java | 22 import java.text.ChoiceFormat; 117 * choiceStyle: see {@link ChoiceFormat} 257 * <p>ICU does not create a ChoiceFormat object for a choiceArg, pluralArg or selectArg 259 * The JDK MessageFormat does create and use a ChoiceFormat object 260 * (<code>new ChoiceFormat(argStyleText)</code>). 357 * @see ChoiceFormat 1711 if ( formatter instanceof ChoiceFormat || in format() 1893 // This lives here because ICU4J does not have its own ChoiceFormat class. 1895 * Finds the ChoiceFormat sub-message for the given number. 1897 * @param partIndex the index of the first ChoiceFormat argumen [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | MessageFormat.java | 23 import java.text.ChoiceFormat; 118 * choiceStyle: see {@link ChoiceFormat} 258 * <p>ICU does not create a ChoiceFormat object for a choiceArg, pluralArg or selectArg 260 * The JDK MessageFormat does create and use a ChoiceFormat object 261 * (<code>new ChoiceFormat(argStyleText)</code>). 358 * @see ChoiceFormat 1667 if ( formatter instanceof ChoiceFormat || in format() 1849 // This lives here because ICU4J does not have its own ChoiceFormat class. 1851 * Finds the ChoiceFormat sub-message for the given number. 1853 * @param partIndex the index of the first ChoiceFormat argumen [all...] |