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

/external/icu4c/i18n/unicode/
H A Dplurfmt.h23 * \brief C++ API: PluralFormat object
37 * <code>PluralFormat</code> supports the creation of internationalized
41 * <code>PluralFormat</code> selects the appropriate message based on
58 * <code>PluralFormat</code> deals with this by breaking the problem
74 * <h4>Usage of <code>PluralFormat</code></h4>
76 * This discussion assumes that you use <code>PluralFormat</code> with
96 * rules of the <code>PluralFormat</code> object do not contain a plural case
109 * format patterns. <code>PluralFormat</code> preserves these so that you
110 * can use the strings produced by <code>PluralFormat</code> with other
111 * formatters. If you are using <code>PluralFormat</cod
179 class U_I18N_API PluralFormat : public Format { class in inherits:Format
[all...]
/external/icu4c/i18n/
H A Dplurfmt.cpp32 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat)
36 PluralFormat::PluralFormat(UErrorCode& status) { function in class:PluralFormat
40 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) { function in class:PluralFormat
44 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) { function in class:PluralFormat
48 PluralFormat::PluralFormat(const Locale& loc, const PluralRules& rules, UErrorCode& status) { function in class:PluralFormat
52 PluralFormat function in class:PluralFormat
57 PluralFormat::PluralFormat(const Locale& loc, const UnicodeString& pat, UErrorCode& status) { function in class:PluralFormat
62 PluralFormat::PluralFormat(const PluralRules& rules, const UnicodeString& pat, UErrorCode& status) { function in class:PluralFormat
67 PluralFormat::PluralFormat(const Locale& loc, const PluralRules& rules, const UnicodeString& pat, UErrorCode& status) { function in class:PluralFormat
72 PluralFormat::PluralFormat(const PluralFormat& other) : Format(other) { function in class:PluralFormat
[all...]
H A Dmsgfmt.cpp727 PluralFormat* plfmt;
847 else if ((plfmt = dynamic_cast<PluralFormat*>(fmt)) != NULL) {
1241 // a ChoiceFormat object, a PluralFormat object, a SelectFormat object.
1247 // Needs to reprocess the ChoiceFormat and PluralFormat and SelectFormat option by using the
1250 dynamic_cast<PluralFormat*>(fmt) != NULL ||
1637 fmt = new PluralFormat(fLocale, unquotedPattern, ec);
/external/icu4c/test/intltest/
H A Dplurfmts.cpp33 if (exec) logln("TestSuite PluralFormat");
44 * Test various generic API methods of PluralFormat for Basic usage.
49 PluralFormat* plFmt[8];
52 UnicodeString message=UnicodeString("ERROR: PluralFormat basic test");
55 logln(" Testing PluralFormat constructors ...");
68 plFmt[0] = new PluralFormat(status[0]);
69 plFmt[1] = new PluralFormat(*plRules, status[1]);
70 plFmt[2] = new PluralFormat(locale, status[2]);
71 plFmt[3] = new PluralFormat(locale, *plRules, status[3]);
72 plFmt[4] = new PluralFormat(otherPatter
[all...]
H A Dplurfmts.h32 void numberFormatTest(PluralFormat* plFmt,
H A Duobjtest.cpp352 TESTCLASSID_CTOR(PluralFormat, (status));
/external/chromium/chrome/common/
H A Dtime_format.cc116 const std::vector<icu::PluralFormat*>& formatter(FormatType format_type) {
173 std::vector<icu::PluralFormat*> short_formatter_;
174 std::vector<icu::PluralFormat*> time_left_formatter_;
175 std::vector<icu::PluralFormat*> time_elapsed_formatter_;
177 std::vector<icu::PluralFormat*>* time_formats);
178 static icu::PluralFormat* createFallbackFormat(
188 FormatType format_type, std::vector<icu::PluralFormat*>* time_formats) {
224 icu::PluralFormat* format = new icu::PluralFormat(*rules, pattern, err);
238 icu::PluralFormat* TimeFormatte
[all...]
/external/icu4c/common/unicode/
H A Durename.h2071 #define PluralFormat U_ICU_ENTRY_POINT_RENAME(PluralFormat) macro

Completed in 144 milliseconds