Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dgender.cpp36 static icu::GenderInfo* gObjs = NULL;
60 GenderInfo::GenderInfo() { in GenderInfo() function in GenderInfo
63 GenderInfo::~GenderInfo() { in ~GenderInfo()
66 UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION(GenderInfo) in UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION()
68 const GenderInfo* GenderInfo::getInstance(const Locale& locale, UErrorCode& status) { in UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION()
79 gObjs = new GenderInfo[GENDER_STYLE_LENGTH]; in UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION()
97 const GenderInfo* result = NULL; in UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION()
101 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key); in UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION()
117 GenderInfo* temp = (GenderInfo*) uhash_get(gGenderInfoCache, key); in UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION()
130 const GenderInfo* GenderInfo::loadInstance(const Locale& locale, UErrorCode& status) { in loadInstance()
[all …]
/external/icu4c/i18n/unicode/
Dgender.h36 class U_I18N_API GenderInfo : public UObject {
53 static const GenderInfo* U_EXPORT2 getInstance(const Locale& locale, UErrorCode& status);
74 virtual ~GenderInfo();
89 GenderInfo(const GenderInfo& other);
94 GenderInfo& operator=(const GenderInfo&);
96 GenderInfo();
98 static const GenderInfo* getNeutralInstance();
100 static const GenderInfo* getMixedNeutralInstance();
102 static const GenderInfo* getMaleTaintsInstance();
104 static const GenderInfo* loadInstance(const Locale& locale, UErrorCode& status);
/external/icu4c/test/intltest/
Dgenderinfotest.cpp73 const GenderInfo* actual = GenderInfo::getInstance("xx", status); in TestFallback()
78 const GenderInfo* expected = GenderInfo::getNeutralInstance(); in TestFallback()
82 actual = GenderInfo::getInstance("fr_CA", status); in TestFallback()
87 expected = GenderInfo::getMaleTaintsInstance(); in TestFallback()
103 const GenderInfo* gi = GenderInfo::getInstance(locale, status); in checkLocale()