HomeSort by relevance Sort by last modified time
    Searched refs:toCategory (Results 1 - 3 of 3) sorted by null

  /external/icu/icu4c/source/common/
pluralmap.cpp 19 PluralMapBase::toCategory(const char *pluralForm) {
29 PluralMapBase::toCategory(const UnicodeString &pluralForm) {
33 return U_FAILURE(status) ? NONE : toCategory(cCategory.data());
pluralmap.h 45 static Category toCategory(const char *categoryName);
52 static Category toCategory(const UnicodeString &categoryName);
186 return get(toCategory(category));
194 return get(toCategory(category));
221 return getMutable(toCategory(category), NULL, status);
  /external/icu/icu4c/source/test/intltest/
pluralmaptest.cpp 59 assertEquals("", (int32_t)PluralMapBase::OTHER, PluralMapBase::toCategory("other"));
60 assertEquals("", (int32_t)PluralMapBase::ZERO, PluralMapBase::toCategory("zero"));
61 assertEquals("", (int32_t)PluralMapBase::ONE, PluralMapBase::toCategory("one"));
62 assertEquals("", (int32_t)PluralMapBase::TWO, PluralMapBase::toCategory("two"));
63 assertEquals("", (int32_t)PluralMapBase::FEW, PluralMapBase::toCategory("few"));
64 assertEquals("", (int32_t)PluralMapBase::MANY, PluralMapBase::toCategory("many"));
65 assertEquals("", (int32_t)PluralMapBase::NONE, PluralMapBase::toCategory("Many"));
69 PluralMapBase::toCategory(UnicodeString("few")));
73 PluralMapBase::toCategory(UnicodeString("many")));
77 PluralMapBase::toCategory(UnicodeString("Many")))
    [all...]

Completed in 114 milliseconds