Searched refs:PluralFormat (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/third_party/icu/source/i18n/
H A Dplurfmt.cpp30 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat)
32 PluralFormat::PluralFormat(UErrorCode& status) function in class:PluralFormat
40 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) function in class:PluralFormat
48 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) function in class:PluralFormat
56 PluralFormat::PluralFormat(const Locale& loc, function in class:PluralFormat
66 PluralFormat function in class:PluralFormat
76 PluralFormat::PluralFormat(const UnicodeString& pat, function in class:PluralFormat
86 PluralFormat::PluralFormat(const Locale& loc, function in class:PluralFormat
97 PluralFormat::PluralFormat(const PluralRules& rules, function in class:PluralFormat
108 PluralFormat::PluralFormat(const Locale& loc, function in class:PluralFormat
120 PluralFormat::PluralFormat(const Locale& loc, function in class:PluralFormat
132 PluralFormat::PluralFormat(const PluralFormat& other) function in class:PluralFormat
[all...]
H A Dmsgfmt.cpp1084 dynamic_cast<const PluralFormat*>(formatter) ||
1137 int32_t subMsgStart = PluralFormat::findSubMessage(
/external/icu/icu4c/source/i18n/
H A Dplurfmt.cpp30 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat)
32 PluralFormat::PluralFormat(UErrorCode& status) function in class:PluralFormat
40 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) function in class:PluralFormat
48 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) function in class:PluralFormat
56 PluralFormat::PluralFormat(const Locale& loc, function in class:PluralFormat
66 PluralFormat function in class:PluralFormat
76 PluralFormat::PluralFormat(const UnicodeString& pat, function in class:PluralFormat
86 PluralFormat::PluralFormat(const Locale& loc, function in class:PluralFormat
97 PluralFormat::PluralFormat(const PluralRules& rules, function in class:PluralFormat
108 PluralFormat::PluralFormat(const Locale& loc, function in class:PluralFormat
120 PluralFormat::PluralFormat(const Locale& loc, function in class:PluralFormat
132 PluralFormat::PluralFormat(const PluralFormat& other) function in class:PluralFormat
[all...]
H A Dmsgfmt.cpp1084 dynamic_cast<const PluralFormat*>(formatter) ||
1137 int32_t subMsgStart = PluralFormat::findSubMessage(
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dplurfmt.h19 * \brief C++ API: PluralFormat object
34 * <code>PluralFormat</code> supports the creation of internationalized
38 * <code>PluralFormat</code> selects the appropriate message based on
55 * <code>PluralFormat</code> deals with this by breaking the problem
71 * <h4>Usage of <code>PluralFormat</code></h4>
74 * rather than using a stand-alone <code>PluralFormat</code>.
76 * This discussion assumes that you use <code>PluralFormat</code> with
119 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you
129 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can
131 * <code>PluralFormat</cod
143 class U_I18N_API PluralFormat : public Format { class in inherits:Format
[all...]
H A Dmsgfmt.h117 * pluralStyle: see {@link PluralFormat}
312 * See {@link PluralFormat} and {@link PluralRules} for details.
875 class U_I18N_API PluralSelectorProvider : public PluralFormat::PluralSelector {
1013 * @param partIndex the index of the first PluralFormat argument style part.
/external/icu/icu4c/source/i18n/unicode/
H A Dplurfmt.h19 * \brief C++ API: PluralFormat object
34 * <code>PluralFormat</code> supports the creation of internationalized
38 * <code>PluralFormat</code> selects the appropriate message based on
55 * <code>PluralFormat</code> deals with this by breaking the problem
71 * <h4>Usage of <code>PluralFormat</code></h4>
74 * rather than using a stand-alone <code>PluralFormat</code>.
76 * This discussion assumes that you use <code>PluralFormat</code> with
119 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you
129 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can
131 * <code>PluralFormat</cod
143 class U_I18N_API PluralFormat : public Format { class in inherits:Format
[all...]
H A Dmsgfmt.h117 * pluralStyle: see {@link PluralFormat}
312 * See {@link PluralFormat} and {@link PluralRules} for details.
875 class U_I18N_API PluralSelectorProvider : public PluralFormat::PluralSelector {
1013 * @param partIndex the index of the first PluralFormat argument style part.
/external/chromium_org/ui/base/l10n/
H A Dl10n_util_plurals.h23 // Returns a PluralFormat from |message_ids|. |message_ids| must be size 6 and
25 scoped_ptr<icu::PluralFormat> BuildPluralFormat(
H A Dl10n_util_plurals.cc26 scoped_ptr<icu::PluralFormat> BuildPluralFormat(
57 scoped_ptr<icu::PluralFormat> format = scoped_ptr<icu::PluralFormat>(
58 new icu::PluralFormat(*rules, pattern, err));
60 return scoped_ptr<icu::PluralFormat>();
H A Dformatter.h69 scoped_ptr<icu::PluralFormat> CreateFallbackFormat(
73 scoped_ptr<icu::PluralFormat> InitFormat(const Pluralities& pluralities);
75 scoped_ptr<icu::PluralFormat> simple_format_[UNIT_COUNT];
76 scoped_ptr<icu::PluralFormat> detailed_format_[TWO_UNITS_COUNT][2];
H A Dformatter.cc219 DCHECK(U_SUCCESS(error)) << "Error in icu::PluralFormat::format().";
239 scoped_ptr<icu::PluralFormat> Formatter::CreateFallbackFormat(
248 scoped_ptr<icu::PluralFormat> format(
249 new icu::PluralFormat(rules, pattern, error));
254 scoped_ptr<icu::PluralFormat> Formatter::InitFormat(
261 scoped_ptr<icu::PluralFormat> format = l10n_util::BuildPluralFormat(ids);
H A Dl10n_util.cc830 scoped_ptr<icu::PluralFormat> format = BuildPluralFormat(message_ids);
/external/chromium_org/third_party/icu/source/samples/plurfmtsample/
H A Dplurfmtsample.cpp20 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/icu4c/source/samples/plurfmtsample/
H A Dplurfmtsample.cpp20 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/chromium_org/third_party/icu/source/test/intltest/
H A Dplurfmts.h36 void numberFormatTest(PluralFormat* plFmt,
H A Dplurfmts.cpp35 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(otherPatter
[all...]
H A Duobjtest.cpp362 TESTCLASSID_CTOR(PluralFormat, (status));
/external/icu/icu4c/source/test/intltest/
H A Dplurfmts.h36 void numberFormatTest(PluralFormat* plFmt,
H A Dplurfmts.cpp35 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(otherPatter
[all...]
H A Duobjtest.cpp362 TESTCLASSID_CTOR(PluralFormat, (status));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 2426 milliseconds