Home
last modified time | relevance | path

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

/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()
102 const GenderInfo* result = NULL; in getInstance()
106 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
122 GenderInfo* temp = (GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
135 const GenderInfo* GenderInfo::loadInstance(const Locale& locale, UErrorCode& status) { in loadInstance()
177 UGender GenderInfo::getListGender(const UGender* genders, int32_t length, UErrorCode& status) const… in getListGender()
[all …]
/external/icu/libicu/cts_headers/unicode/
Dgender.h48 class U_I18N_API GenderInfo : public UObject {
65 static const GenderInfo* U_EXPORT2 getInstance(const Locale& locale, UErrorCode& status);
85 virtual ~GenderInfo();
94 GenderInfo(const GenderInfo& other);
99 GenderInfo& operator=(const GenderInfo&);
101 GenderInfo();
103 static const GenderInfo* getNeutralInstance();
105 static const GenderInfo* getMixedNeutralInstance();
107 static const GenderInfo* getMaleTaintsInstance();
109 static const GenderInfo* loadInstance(const Locale& locale, UErrorCode& status);
/external/icu/icu4c/source/i18n/unicode/
Dgender.h48 class U_I18N_API GenderInfo : public UObject {
65 static const GenderInfo* U_EXPORT2 getInstance(const Locale& locale, UErrorCode& status);
85 virtual ~GenderInfo();
94 GenderInfo(const GenderInfo& other);
99 GenderInfo& operator=(const GenderInfo&);
101 GenderInfo();
103 static const GenderInfo* getNeutralInstance();
105 static const GenderInfo* getMixedNeutralInstance();
107 static const GenderInfo* getMaleTaintsInstance();
109 static const GenderInfo* loadInstance(const Locale& locale, UErrorCode& status);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DGenderInfoTest.java19 import com.ibm.icu.util.GenderInfo;
20 import com.ibm.icu.util.GenderInfo.Gender;
25 public static GenderInfo NEUTRAL_LOCALE = GenderInfo.getInstance(ULocale.ENGLISH);
26 public static GenderInfo MIXED_NEUTRAL_LOCALE = GenderInfo.getInstance(new ULocale("is"));
27 public static GenderInfo MALE_TAINTS_LOCALE = GenderInfo.getInstance(ULocale.FRENCH);
68 …assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.ROOT), GenderInfo.getInstance… in TestFallback()
69 …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.java20 import android.icu.util.GenderInfo;
21 import android.icu.util.GenderInfo.Gender;
28 public static GenderInfo NEUTRAL_LOCALE = GenderInfo.getInstance(ULocale.ENGLISH);
29 public static GenderInfo MIXED_NEUTRAL_LOCALE = GenderInfo.getInstance(new ULocale("is"));
30 public static GenderInfo MALE_TAINTS_LOCALE = GenderInfo.getInstance(ULocale.FRENCH);
71 …assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.ROOT), GenderInfo.getInstance… in TestFallback()
72 …assertEquals("Strange locale = root", GenderInfo.getInstance(ULocale.FRANCE), GenderInfo.getInstan… in TestFallback()
/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/android_icu4j/src/main/java/android/icu/util/
DGenderInfo.java32 public class GenderInfo { class
71 public static GenderInfo getInstance(ULocale uLocale) { in getInstance()
82 public static GenderInfo getInstance(Locale locale) { in getInstance()
221 public GenderInfo(ListGenderStyle genderStyle) { in GenderInfo() method in GenderInfo
225 private static GenderInfo neutral = new GenderInfo(ListGenderStyle.NEUTRAL);
228 private final ICUCache<ULocale, GenderInfo> cache =
229 new SimpleCache<ULocale, GenderInfo>();
231 public GenderInfo get(ULocale locale) { in get()
232 GenderInfo result = cache.get(locale); in get()
248 private static GenderInfo load(ULocale ulocale) { in load()
[all …]
/external/cldr/tools/java/com/ibm/icu/dev/test/
DGenderInfoTest.java6 import com.ibm.icu.text.GenderInfo;
7 import com.ibm.icu.text.GenderInfo.Gender;
15 public static GenderInfo NEUTRAL_LOCALE = new GenderInfo(ULocale.ENGLISH);
16 public static GenderInfo MIXED_NEUTRAL_LOCALE = new GenderInfo(new ULocale("is"));
17 public static GenderInfo MALE_TAINTS_LOCALE = new GenderInfo(ULocale.FRANCE);
/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/cldr/tools/java/com/ibm/icu/text/
DGenderInfo.java17 public class GenderInfo { class
33 public GenderInfo(ULocale uLocale) { in GenderInfo() method in GenderInfo
45 public GenderInfo(Locale locale) { in GenderInfo() method in GenderInfo
/external/icu/icu4j/
Dcoverage-exclusion.txt1057 com/ibm/icu/util/GenderInfo#getInstance:(Ljava/util/Locale;)Lcom/ibm/icu/util/GenderInfo;
1058 com/ibm/icu/util/GenderInfo#getListGender:([Lcom/ibm/icu/util/GenderInfo$Gender;)Lcom/ibm/icu/util/
1059 com/ibm/icu/util/GenderInfo$Gender#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/util/GenderInfo$Gender;
1060 com/ibm/icu/util/GenderInfo$ListGenderStyle#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/util/GenderInf…
/external/icu/icu4j/tools/build/
Dicu4j61.api3.gz
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz
Dicu4j59.api3.gz
Dicu4j68.api3.gz
Dicu4j65.api3.gz
Dicu4j64.api3.gz
Dicu4j63.api3.gz12;ICU4J 63.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j66.api3.gz
Dicu4j67.api3.gz12;ICU4J 67.1;; 2ST@3.6;PB;NS;NF;NS; ...
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...