Home
last modified time | relevance | path

Searched refs:GenderInfo (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4c/source/i18n/unicode/
Dgender.h41 class U_I18N_API GenderInfo : public UObject {
58 static const GenderInfo* U_EXPORT2 getInstance(const Locale& locale, UErrorCode& status);
78 virtual ~GenderInfo();
87 GenderInfo(const GenderInfo& other);
92 GenderInfo& operator=(const GenderInfo&);
94 GenderInfo();
96 static const GenderInfo* getNeutralInstance();
98 static const GenderInfo* getMixedNeutralInstance();
100 static const GenderInfo* getMaleTaintsInstance();
102 static const GenderInfo* loadInstance(const Locale& locale, UErrorCode& status);
/external/icu/icu4c/source/i18n/
Dgender.cpp39 static icu::GenderInfo* gObjs = NULL;
71 gObjs = new GenderInfo[GENDER_STYLE_LENGTH]; in GenderInfo_initCache()
88 GenderInfo::GenderInfo() { in GenderInfo() function in GenderInfo
91 GenderInfo::~GenderInfo() { in ~GenderInfo()
94 const GenderInfo* GenderInfo::getInstance(const Locale& locale, UErrorCode& status) { in getInstance()
101 const GenderInfo* result = NULL; in getInstance()
105 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
121 GenderInfo* temp = (GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
134 const GenderInfo* GenderInfo::loadInstance(const Locale& locale, UErrorCode& status) { in loadInstance()
176 UGender GenderInfo::getListGender(const UGender* genders, int32_t length, UErrorCode& status) const… in getListGender()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DGenderInfoTest.java17 import com.ibm.icu.util.GenderInfo;
18 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);
65 …assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.ROOT), GenderInfo.getInstance… in TestFallback()
66 …assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.FRANCE), GenderInfo.getInstan… in TestFallback()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DGenderInfoTest.java18 import android.icu.util.GenderInfo;
19 import android.icu.util.GenderInfo.Gender;
23 public static GenderInfo NEUTRAL_LOCALE = GenderInfo.getInstance(ULocale.ENGLISH);
24 public static GenderInfo MIXED_NEUTRAL_LOCALE = GenderInfo.getInstance(new ULocale("is"));
25 public static GenderInfo MALE_TAINTS_LOCALE = GenderInfo.getInstance(ULocale.FRENCH);
66 …assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.ROOT), GenderInfo.getInstance… in TestFallback()
67 …assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.FRANCE), GenderInfo.getInstan… in TestFallback()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGenderInfo.java32 public class GenderInfo { class
70 public static GenderInfo getInstance(ULocale uLocale) { in getInstance()
81 public static GenderInfo getInstance(Locale locale) { in getInstance()
219 public GenderInfo(ListGenderStyle genderStyle) { in GenderInfo() method in GenderInfo
223 private static GenderInfo neutral = new GenderInfo(ListGenderStyle.NEUTRAL);
226 private final ICUCache<ULocale, GenderInfo> cache =
227 new SimpleCache<ULocale, GenderInfo>();
229 public GenderInfo get(ULocale locale) { in get()
230 GenderInfo result = cache.get(locale); in get()
246 private static GenderInfo load(ULocale ulocale) { in load()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DGenderInfo.java30 public class GenderInfo { class
68 public static GenderInfo getInstance(ULocale uLocale) { in getInstance()
79 public static GenderInfo getInstance(Locale locale) { in getInstance()
217 public GenderInfo(ListGenderStyle genderStyle) { in GenderInfo() method in GenderInfo
221 private static GenderInfo neutral = new GenderInfo(ListGenderStyle.NEUTRAL);
224 private final ICUCache<ULocale, GenderInfo> cache =
225 new SimpleCache<ULocale, GenderInfo>();
227 public GenderInfo get(ULocale locale) { in get()
228 GenderInfo result = cache.get(locale); in get()
244 private static GenderInfo load(ULocale ulocale) { in load()
[all …]
/external/icu/icu4c/source/test/intltest/
Dgenderinfotest.cpp74 const GenderInfo* actual = GenderInfo::getInstance("xx", status); in TestFallback()
79 const GenderInfo* expected = GenderInfo::getNeutralInstance(); in TestFallback()
83 actual = GenderInfo::getInstance("fr_CA", status); in TestFallback()
88 expected = GenderInfo::getMaleTaintsInstance(); in TestFallback()
104 const GenderInfo* gi = GenderInfo::getInstance(locale, status); in checkLocale()
/external/icu/icu4j/
Dcoverage-exclusion.txt936 com/ibm/icu/util/GenderInfo#getInstance:(Ljava/util/Locale;)Lcom/ibm/icu/util/GenderInfo;
937 com/ibm/icu/util/GenderInfo#getListGender:([Lcom/ibm/icu/util/GenderInfo$Gender;)Lcom/ibm/icu/util/
938 com/ibm/icu/util/GenderInfo$Gender#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/util/GenderInfo$Gender;
939 com/ibm/icu/util/GenderInfo$ListGenderStyle#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/util/GenderInf…
/external/icu/icu4j/tools/build/
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j51.api3.gz
Dicu4j52.api3.gz
Dicu4j49.api3.gz
Dicu4j53.api3.gz
Dicu4j57.api3.gz
Dicu4j54.api3.gz
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j58.api3.gz12;ICU4J 58.1;; 2ST@3.6;PB;NS;NF;NS; ...