Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dgender.cpp37 static icu::GenderInfo* gObjs = NULL;
69 gObjs = new GenderInfo[GENDER_STYLE_LENGTH]; in GenderInfo_initCache()
86 GenderInfo::GenderInfo() { in GenderInfo() function in GenderInfo
89 GenderInfo::~GenderInfo() { in ~GenderInfo()
92 const GenderInfo* GenderInfo::getInstance(const Locale& locale, UErrorCode& status) { in getInstance()
99 const GenderInfo* result = NULL; in getInstance()
103 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
119 GenderInfo* temp = (GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
132 const GenderInfo* GenderInfo::loadInstance(const Locale& locale, UErrorCode& status) { in loadInstance()
174 UGender GenderInfo::getListGender(const UGender* genders, int32_t length, UErrorCode& status) const… in getListGender()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dgender.h39 class U_I18N_API GenderInfo : public UObject {
56 static const GenderInfo* U_EXPORT2 getInstance(const Locale& locale, UErrorCode& status);
76 virtual ~GenderInfo();
85 GenderInfo(const GenderInfo& other);
90 GenderInfo& operator=(const GenderInfo&);
92 GenderInfo();
94 static const GenderInfo* getNeutralInstance();
96 static const GenderInfo* getMixedNeutralInstance();
98 static const GenderInfo* getMaleTaintsInstance();
100 static const GenderInfo* loadInstance(const Locale& locale, UErrorCode& status);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DGenderInfoTest.java13 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… in TestFallback()
62 …assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.FRANCE), GenderInfo.getInstan… in TestFallback()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGenderInfo.java29 public class GenderInfo { class
67 public static GenderInfo getInstance(ULocale uLocale) { in getInstance()
78 public static GenderInfo getInstance(Locale locale) { in getInstance()
216 public GenderInfo(ListGenderStyle genderStyle) { in GenderInfo() method in GenderInfo
220 private static GenderInfo neutral = new GenderInfo(ListGenderStyle.NEUTRAL);
223 private final ICUCache<ULocale, GenderInfo> cache =
224 new SimpleCache<ULocale, GenderInfo>();
226 public GenderInfo get(ULocale locale) { in get()
227 GenderInfo result = cache.get(locale); in get()
243 private static GenderInfo load(ULocale ulocale) { in load()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DGenderInfoTest.java14 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… in TestFallback()
66 …assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.FRANCE), GenderInfo.getInstan… in TestFallback()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DGenderInfo.java27 public class GenderInfo { class
65 public static GenderInfo getInstance(ULocale uLocale) { in getInstance()
76 public static GenderInfo getInstance(Locale locale) { in getInstance()
214 public GenderInfo(ListGenderStyle genderStyle) { in GenderInfo() method in GenderInfo
218 private static GenderInfo neutral = new GenderInfo(ListGenderStyle.NEUTRAL);
221 private final ICUCache<ULocale, GenderInfo> cache =
222 new SimpleCache<ULocale, GenderInfo>();
224 public GenderInfo get(ULocale locale) { in get()
225 GenderInfo result = cache.get(locale); in get()
241 private static GenderInfo load(ULocale ulocale) { in load()
[all …]
/external/icu/icu4c/source/test/intltest/
Dgenderinfotest.cpp72 const GenderInfo* actual = GenderInfo::getInstance("xx", status); in TestFallback()
77 const GenderInfo* expected = GenderInfo::getNeutralInstance(); in TestFallback()
81 actual = GenderInfo::getInstance("fr_CA", status); in TestFallback()
86 expected = GenderInfo::getMaleTaintsInstance(); in TestFallback()
102 const GenderInfo* gi = GenderInfo::getInstance(locale, status); in checkLocale()
/external/icu/icu4j/tools/build/
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j49.api3.gz
Dicu4j52.api3.gz
Dicu4j51.api3.gz
Dicu4j53.api3.gz
Dicu4j54.api3.gz
Dicu4j55.api3.gz
Dicu4j56.api3.gz