Home
last modified time | relevance | path

Searched refs:PluralFormat (Results 1 – 19 of 19) sorted by relevance

/external/icu4c/i18n/
Dplurfmt.cpp33 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
35 PluralFormat::PluralFormat(UErrorCode& status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
43 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) in PluralFormat() function in PluralFormat
51 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) in PluralFormat() function in PluralFormat
59 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
69 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
79 PluralFormat::PluralFormat(const UnicodeString& pat, in PluralFormat() function in PluralFormat
89 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
100 PluralFormat::PluralFormat(const PluralRules& rules, in PluralFormat() function in PluralFormat
111 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
[all …]
Dmsgfmt.cpp1022 dynamic_cast<const PluralFormat*>(formatter) || in format()
1069 const PluralFormat::PluralSelector &selector = in format()
1074 int32_t subMsgStart = PluralFormat::findSubMessage(msgPattern, i, selector, number, in format()
/external/chromium_org/third_party/icu/source/i18n/
Dplurfmt.cpp32 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
36 PluralFormat::PluralFormat(UErrorCode& status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
40 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) { in PluralFormat() function in PluralFormat
44 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) { in PluralFormat() function in PluralFormat
48 PluralFormat::PluralFormat(const Locale& loc, const PluralRules& rules, UErrorCode& status) { in PluralFormat() function in PluralFormat
52 PluralFormat::PluralFormat(const UnicodeString& pat, UErrorCode& status) { in PluralFormat() function in PluralFormat
57 PluralFormat::PluralFormat(const Locale& loc, const UnicodeString& pat, UErrorCode& status) { in PluralFormat() function in PluralFormat
62 PluralFormat::PluralFormat(const PluralRules& rules, const UnicodeString& pat, UErrorCode& status) { in PluralFormat() function in PluralFormat
67 PluralFormat::PluralFormat(const Locale& loc, const PluralRules& rules, const UnicodeString& pat, U… in PluralFormat() function in PluralFormat
72 PluralFormat::PluralFormat(const PluralFormat& other) : Format(other) { in PluralFormat() function in PluralFormat
[all …]
Dmsgfmt.cpp727 PluralFormat* plfmt; in toPattern()
839 else if ((plfmt = dynamic_cast<PluralFormat*>(fmt)) != NULL) { in toPattern()
1242 dynamic_cast<PluralFormat*>(fmt) != NULL || in format()
1629 fmt = new PluralFormat(fLocale, unquotedPattern, ec); in makeFormat()
/external/icu4c/i18n/unicode/
Dplurfmt.h147 class U_I18N_API PluralFormat : public Format {
158 PluralFormat(UErrorCode& status);
169 PluralFormat(const Locale& locale, UErrorCode& status);
180 PluralFormat(const PluralRules& rules, UErrorCode& status);
193 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status);
206 PluralFormat(const Locale& locale, UPluralType type, UErrorCode& status);
219 PluralFormat(const UnicodeString& pattern, UErrorCode& status);
235 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status);
248 PluralFormat(const PluralRules& rules,
266 PluralFormat(const Locale& locale,
[all …]
Dmsgfmt.h894 class U_I18N_API PluralSelectorProvider : public PluralFormat::PluralSelector {
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dplurfmt.h179 class U_I18N_API PluralFormat : public Format {
190 PluralFormat(UErrorCode& status);
201 PluralFormat(const Locale& locale, UErrorCode& status);
212 PluralFormat(const PluralRules& rules, UErrorCode& status);
225 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status);
237 PluralFormat(const UnicodeString& pattern, UErrorCode& status);
253 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status);
266 PluralFormat(const PluralRules& rules,
284 PluralFormat(const Locale& locale,
293 PluralFormat(const PluralFormat& other);
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dplurfmts.cpp49 PluralFormat* plFmt[8]; in pluralFormatBasicTest()
68 plFmt[0] = new PluralFormat(status[0]); in pluralFormatBasicTest()
69 plFmt[1] = new PluralFormat(*plRules, status[1]); in pluralFormatBasicTest()
70 plFmt[2] = new PluralFormat(locale, status[2]); in pluralFormatBasicTest()
71 plFmt[3] = new PluralFormat(locale, *plRules, status[3]); in pluralFormatBasicTest()
72 plFmt[4] = new PluralFormat(otherPattern, status[4]); in pluralFormatBasicTest()
73 plFmt[5] = new PluralFormat(*plRules, otherPattern, status[5]); in pluralFormatBasicTest()
74 plFmt[6] = new PluralFormat(locale, otherPattern, status[6]); in pluralFormatBasicTest()
75 plFmt[7] = new PluralFormat(locale, *plRules, otherPattern, status[7]); in pluralFormatBasicTest()
88 plFmt[0]= new PluralFormat(status[0]); in pluralFormatBasicTest()
[all …]
Dplurfmts.h32 void numberFormatTest(PluralFormat* plFmt,
Duobjtest.cpp352 TESTCLASSID_CTOR(PluralFormat, (status)); in testIDs()
/external/icu4c/test/intltest/
Dplurfmts.cpp50 PluralFormat* plFmt[8]; in pluralFormatBasicTest()
69 plFmt[0] = new PluralFormat(status[0]); in pluralFormatBasicTest()
70 plFmt[1] = new PluralFormat(*plRules, status[1]); in pluralFormatBasicTest()
71 plFmt[2] = new PluralFormat(locale, status[2]); in pluralFormatBasicTest()
72 plFmt[3] = new PluralFormat(locale, *plRules, status[3]); in pluralFormatBasicTest()
73 plFmt[4] = new PluralFormat(otherPattern, status[4]); in pluralFormatBasicTest()
74 plFmt[5] = new PluralFormat(*plRules, otherPattern, status[5]); in pluralFormatBasicTest()
75 plFmt[6] = new PluralFormat(locale, otherPattern, status[6]); in pluralFormatBasicTest()
76 plFmt[7] = new PluralFormat(locale, *plRules, otherPattern, status[7]); in pluralFormatBasicTest()
89 plFmt[0]= new PluralFormat(status[0]); in pluralFormatBasicTest()
[all …]
Dplurfmts.h35 void numberFormatTest(PluralFormat* plFmt,
Duobjtest.cpp362 TESTCLASSID_CTOR(PluralFormat, (status)); in testIDs()
/external/chromium_org/ui/base/l10n/
Dtime_format.cc164 const std::vector<icu::PluralFormat*>& formatter(FormatType format_type) { in formatter()
226 ScopedVector<icu::PluralFormat> short_formatter_;
227 ScopedVector<icu::PluralFormat> time_left_formatter_;
228 ScopedVector<icu::PluralFormat> time_left_long_formatter_;
229 ScopedVector<icu::PluralFormat> time_duration_long_formatter_;
230 ScopedVector<icu::PluralFormat> time_elapsed_formatter_;
232 ScopedVector<icu::PluralFormat>* time_formats);
233 static icu::PluralFormat* createFallbackFormat(
243 FormatType format_type, ScopedVector<icu::PluralFormat>* time_formats) { in BuildFormats()
252 scoped_ptr<icu::PluralFormat> format = l10n_util::BuildPluralFormat(ids); in BuildFormats()
[all …]
Dl10n_util_plurals.cc25 scoped_ptr<icu::PluralFormat> BuildPluralFormat( in BuildPluralFormat()
56 scoped_ptr<icu::PluralFormat> format = scoped_ptr<icu::PluralFormat>( in BuildPluralFormat()
57 new icu::PluralFormat(*rules, pattern, err)); in BuildPluralFormat()
59 return scoped_ptr<icu::PluralFormat>(); in BuildPluralFormat()
Dl10n_util_plurals.h25 scoped_ptr<icu::PluralFormat> BuildPluralFormat(
Dl10n_util.cc843 scoped_ptr<icu::PluralFormat> format = BuildPluralFormat(message_ids); in GetPluralStringFUTF16()
/external/chromium/chrome/common/
Dtime_format.cc116 const std::vector<icu::PluralFormat*>& formatter(FormatType format_type) { in formatter()
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) { in BuildFormats()
224 icu::PluralFormat* format = new icu::PluralFormat(*rules, pattern, err); in BuildFormats()
238 icu::PluralFormat* TimeFormatter::createFallbackFormat( in createFallbackFormat()
253 icu::PluralFormat* format = new icu::PluralFormat(rules, pattern, err); in createFallbackFormat()
[all …]
/external/chromium_org/third_party/icu/source/common/unicode/
Durename.h2071 #define PluralFormat U_ICU_ENTRY_POINT_RENAME(PluralFormat) macro