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

  /external/icu/icu4c/source/i18n/unicode/
gender.h 35 * GenderInfo computes the gender of a list as a whole given the gender of
39 class U_I18N_API GenderInfo : public UObject {
43 * Provides access to the predefined GenderInfo object for a given
46 * @param locale The locale for which a <code>GenderInfo</code> object is
50 * @return The predefined <code>GenderInfo</code> object pointer for
56 static const GenderInfo* U_EXPORT2 getInstance(const Locale& locale, UErrorCode& status);
76 virtual ~GenderInfo();
83 * must never copy GenderInfo objects.
85 GenderInfo(const GenderInfo& other)
    [all...]
  /external/icu/icu4c/source/i18n/
gender.cpp 37 static icu::GenderInfo* gObjs = NULL;
69 gObjs = new GenderInfo[GENDER_STYLE_LENGTH];
86 GenderInfo::GenderInfo() {
89 GenderInfo::~GenderInfo() {
92 const GenderInfo* GenderInfo::getInstance(const Locale& locale, UErrorCode& status) {
99 const GenderInfo* result = NULL;
103 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
GenderInfo.java 29 public class GenderInfo {
61 * Create GenderInfo from a ULocale.
67 public static GenderInfo getInstance(ULocale uLocale) {
72 * Create GenderInfo from a Locale.
78 public static GenderInfo getInstance(Locale locale) {
216 public GenderInfo(ListGenderStyle genderStyle) {
220 private static GenderInfo neutral = new GenderInfo(ListGenderStyle.NEUTRAL);
223 private final ICUCache<ULocale, GenderInfo> cache =
224 new SimpleCache<ULocale, GenderInfo>();
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
GenderInfoTest.java 14 import android.icu.util.GenderInfo;
15 import android.icu.util.GenderInfo.Gender;
26 public static GenderInfo NEUTRAL_LOCALE = GenderInfo.getInstance(ULocale.ENGLISH);
27 public static GenderInfo MIXED_NEUTRAL_LOCALE = GenderInfo.getInstance(new ULocale("is"));
28 public static GenderInfo MALE_TAINTS_LOCALE = GenderInfo.getInstance(ULocale.FRENCH);
65 assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.ROOT), GenderInfo.getInstance(new ULocale("xxx")))
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
GenderInfo.java 27 public class GenderInfo {
59 * Create GenderInfo from a ULocale.
65 public static GenderInfo getInstance(ULocale uLocale) {
70 * Create GenderInfo from a Locale.
76 public static GenderInfo getInstance(Locale locale) {
214 public GenderInfo(ListGenderStyle genderStyle) {
218 private static GenderInfo neutral = new GenderInfo(ListGenderStyle.NEUTRAL);
221 private final ICUCache<ULocale, GenderInfo> cache =
222 new SimpleCache<ULocale, GenderInfo>();
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
GenderInfoTest.java 13 import com.ibm.icu.util.GenderInfo;
14 import com.ibm.icu.util.GenderInfo.Gender;
22 public static GenderInfo NEUTRAL_LOCALE = GenderInfo.getInstance(ULocale.ENGLISH);
23 public static GenderInfo MIXED_NEUTRAL_LOCALE = GenderInfo.getInstance(new ULocale("is"));
24 public static GenderInfo MALE_TAINTS_LOCALE = GenderInfo.getInstance(ULocale.FRENCH);
61 assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.ROOT), GenderInfo.getInstance(new ULocale("xxx")))
    [all...]
  /external/icu/icu4c/source/test/intltest/
genderinfotest.cpp 72 const GenderInfo* actual = GenderInfo::getInstance("xx", status);
74 errcheckln(status, "Fail to create GenderInfo - %s", u_errorName(status));
77 const GenderInfo* expected = GenderInfo::getNeutralInstance();
81 actual = GenderInfo::getInstance("fr_CA", status);
83 errcheckln(status, "Fail to create GenderInfo - %s", u_errorName(status));
86 expected = GenderInfo::getMaleTaintsInstance();
102 const GenderInfo* gi = GenderInfo::getInstance(locale, status)
    [all...]
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/
icu4j-53.1.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar 

Completed in 834 milliseconds