/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
PluralFormatUnitTest.java | 25 import android.icu.text.PluralFormat; 45 PluralFormat plFmts[] = new PluralFormat[10]; 46 plFmts[0] = new PluralFormat(); 48 plFmts[1] = new PluralFormat(PluralRules.DEFAULT); 50 plFmts[2] = new PluralFormat(PluralRules.DEFAULT, "other{#}"); 51 plFmts[3] = new PluralFormat("other{#}"); 52 plFmts[4] = new PluralFormat(ULocale.getDefault()); 54 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT); 56 plFmts[6] = new PluralFormat(ULocale.getDefault() [all...] |
TestAll.java | 37 "TestAll$PluralFormat", 117 public static class PluralFormat extends TestGroup { 118 public PluralFormat() {
|
PluralFormatTest.java | 16 import android.icu.text.PluralFormat; 57 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
PluralFormatUnitTest.java | 24 import com.ibm.icu.text.PluralFormat; 41 PluralFormat plFmts[] = new PluralFormat[10]; 42 plFmts[0] = new PluralFormat(); 44 plFmts[1] = new PluralFormat(PluralRules.DEFAULT); 46 plFmts[2] = new PluralFormat(PluralRules.DEFAULT, "other{#}"); 47 plFmts[3] = new PluralFormat("other{#}"); 48 plFmts[4] = new PluralFormat(ULocale.getDefault()); 50 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT); 52 plFmts[6] = new PluralFormat(ULocale.getDefault() [all...] |
TestAll.java | 33 "TestAll$PluralFormat", 107 public static class PluralFormat extends TestGroup { 108 public PluralFormat() {
|
PluralFormatTest.java | 15 import com.ibm.icu.text.PluralFormat; 53 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern);
|
/external/icu/icu4c/source/i18n/ |
plurfmt.cpp | 33 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat) 35 PluralFormat::PluralFormat(UErrorCode& status) 43 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) 51 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) 59 PluralFormat::PluralFormat(const Locale& loc, 69 PluralFormat::PluralFormat(const Locale& loc [all...] |
nfrule.h | 28 class PluralFormat; 113 const PluralFormat* rulePatternFormat;
|
/external/icu/icu4c/source/i18n/unicode/ |
plurfmt.h | 19 * \brief C++ API: PluralFormat object 35 * <code>PluralFormat</code> supports the creation of internationalized 39 * <code>PluralFormat</code> selects the appropriate message based on 56 * <code>PluralFormat</code> deals with this by breaking the problem 72 * <h4>Usage of <code>PluralFormat</code></h4> 75 * rather than using a stand-alone <code>PluralFormat</code>. 77 * This discussion assumes that you use <code>PluralFormat</code> with 120 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you 130 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can 132 * <code>PluralFormat</code>'s constructor. If you also specify a locale in thi [all...] |
/external/icu/icu4c/source/test/intltest/ |
plurfmts.cpp | 35 if (exec) logln("TestSuite PluralFormat"); 48 * Test various generic API methods of PluralFormat for Basic usage. 53 PluralFormat* plFmt[8]; 56 UnicodeString message=UnicodeString("ERROR: PluralFormat basic test"); 59 logln(" Testing PluralFormat constructors ..."); 72 plFmt[0] = new PluralFormat(status[0]); 73 plFmt[1] = new PluralFormat(*plRules, status[1]); 74 plFmt[2] = new PluralFormat(locale, status[2]); 75 plFmt[3] = new PluralFormat(locale, *plRules, status[3]); 76 plFmt[4] = new PluralFormat(otherPattern, status[4]) [all...] |
plurfmts.h | 36 void numberFormatTest(PluralFormat* plFmt,
|
tmsgfmt.h | 59 * tests MesageFormat functionality with a PluralFormat.
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
PluralFormat.java | 25 * <code>PluralFormat</code> supports the creation of internationalized 29 * <code>PluralFormat</code> selects the appropriate message based on 46 * <code>PluralFormat</code> deals with this by breaking the problem 62 * <h4>Usage of <code>PluralFormat</code></h4> 65 * rather than using a stand-alone <code>PluralFormat</code>. 67 * This discussion assumes that you use <code>PluralFormat</code> with 109 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you 119 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can 121 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this 130 public class PluralFormat extends UFormat [all...] |
MessagePattern.java | 26 * Also handles patterns for ChoiceFormat, PluralFormat and SelectFormat. 199 * Parses a PluralFormat pattern string. 200 * @param pattern a PluralFormat pattern string 482 * Returns the "offset:" value of a PluralFormat argument, or 0 if none is specified. 483 * @param pluralStart the index of the first PluralFormat argument style part. (0..countParts()-1) 666 * in a PluralFormat style. 672 * in a PluralFormat style. 762 * The argument is a cardinal-number PluralFormat with an optional ARG_INT or ARG_DOUBLE offset 775 * The argument is an ordinal-number PluralFormat [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
PluralFormat.java | 24 * <code>PluralFormat</code> supports the creation of internationalized 28 * <code>PluralFormat</code> selects the appropriate message based on 45 * <code>PluralFormat</code> deals with this by breaking the problem 61 * <h4>Usage of <code>PluralFormat</code></h4> 64 * rather than using a stand-alone <code>PluralFormat</code>. 66 * This discussion assumes that you use <code>PluralFormat</code> with 108 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you 118 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can 120 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this 130 public class PluralFormat extends UFormat [all...] |
MessagePattern.java | 25 * Also handles patterns for ChoiceFormat, PluralFormat and SelectFormat. 207 * Parses a PluralFormat pattern string. 208 * @param pattern a PluralFormat pattern string 513 * Returns the "offset:" value of a PluralFormat argument, or 0 if none is specified. 514 * @param pluralStart the index of the first PluralFormat argument style part. (0..countParts()-1) 719 * in a PluralFormat style. 726 * in a PluralFormat style. 825 * The argument is a cardinal-number PluralFormat with an optional ARG_INT or ARG_DOUBLE offset 840 * The argument is an ordinal-number PluralFormat [all...] |
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/pluralformat/ |
PluralFormatSample.java | 8 package android.icu.samples.text.pluralformat; 13 import android.icu.text.PluralFormat; 28 System.out.println(" Use PluralFormat and Messageformat to get appropriate Plural Form for languages below:"); 38 // Create a new PluralFormat for a given locale locale and pattern string 39 PluralFormat plfmtEn = new PluralFormat(locEn, patEn); 40 PluralFormat plfmtSl = new PluralFormat(locSl, patSl); 46 System.out.println("Output by using PluralFormat and MessageFormat API\n");
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/pluralformat/ |
PluralFormatSample.java | 7 package com.ibm.icu.samples.text.pluralformat; 12 import com.ibm.icu.text.PluralFormat; 27 System.out.println(" Use PluralFormat and Messageformat to get appropriate Plural Form for languages below:"); 37 // Create a new PluralFormat for a given locale locale and pattern string 38 PluralFormat plfmtEn = new PluralFormat(locEn, patEn); 39 PluralFormat plfmtSl = new PluralFormat(locSl, patSl); 45 System.out.println("Output by using PluralFormat and MessageFormat API\n");
|
/external/messageformat/java/com/ibm/icu/simple/ |
PluralFormat.java | 23 * <code>PluralFormat</code> supports the creation of internationalized 27 * <code>PluralFormat</code> selects the appropriate message based on 44 * <code>PluralFormat</code> deals with this by breaking the problem 60 * <h4>Usage of <code>PluralFormat</code></h4> 63 * rather than using a stand-alone <code>PluralFormat</code>. 65 * This discussion assumes that you use <code>PluralFormat</code> with 108 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you 118 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can 120 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this 131 public class PluralFormat /* extends UFormat */ [all...] |
/external/icu/icu4c/source/samples/plurfmtsample/ |
plurfmtsample.cpp | 20 u_printf(" Use PluralFormat and Messageformat to get Plural Form for languages below:\n"); 32 // Create a new PluralFormat for a given locale locale and pattern string 33 PluralFormat plfmtEn = PluralFormat(locEn, patEn,status); 34 PluralFormat plfmtSl = PluralFormat(locSl, patSl,status); 40 u_printf("Output by using PluralFormat and MessageFormat API\n");
|
/external/icu/tools/srcgen/ |
common.sh | 55 ${SAMPLE_INPUT_DIR}/text/pluralformat/PluralFormatSample.java \
|
/external/icu/icu4c/source/common/unicode/ |
messagepattern.h | 190 * in a PluralFormat style. 197 * in a PluralFormat style. 236 * The argument is a cardinal-number PluralFormat with an optional ARG_INT or ARG_DOUBLE offset 251 * The argument is an ordinal-number PluralFormat 304 * Also handles patterns for ChoiceFormat, PluralFormat and SelectFormat. 463 * Parses a PluralFormat pattern string. 464 * @param pattern a PluralFormat pattern string 679 * Returns the "offset:" value of a PluralFormat argument, or 0 if none is specified. 680 * @param pluralStart the index of the first PluralFormat argument style part. (0..countParts()-1) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
CompatibilityTest.java | 142 // ICU 52+ PluralRules/PluralFormat/CurrencyPluralInfo are not 147 {"ICU_50.1", "android.icu.text.PluralFormat.dat"}, 148 {"ICU_51.1", "android.icu.text.PluralFormat.dat"},
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
CompatibilityTest.java | 138 // ICU 52+ PluralRules/PluralFormat/CurrencyPluralInfo are not 143 {"ICU_50.1", "com.ibm.icu.text.PluralFormat.dat"}, 144 {"ICU_51.1", "com.ibm.icu.text.PluralFormat.dat"},
|
/external/messageformat/java/com/ibm/icu/text/ |
MessagePattern.java | 25 * Also handles patterns for ChoiceFormat, PluralFormat and SelectFormat. 206 * Parses a PluralFormat pattern string. 207 * @param pattern a PluralFormat pattern string 512 * Returns the "offset:" value of a PluralFormat argument, or 0 if none is specified. 513 * @param pluralStart the index of the first PluralFormat argument style part. (0..countParts()-1) 718 * in a PluralFormat style. 725 * in a PluralFormat style. 824 * The argument is a cardinal-number PluralFormat with an optional ARG_INT or ARG_DOUBLE offset 839 * The argument is an ordinal-number PluralFormat [all...] |