Lines Matching defs:GenderInfo
44 static icu::GenderInfo* gObjs = nullptr;
76 gObjs = new GenderInfo[GENDER_STYLE_LENGTH];
93 GenderInfo::GenderInfo() {
96 GenderInfo::~GenderInfo() {
99 const GenderInfo* GenderInfo::getInstance(const Locale& locale, UErrorCode& status) {
107 const GenderInfo* result = nullptr;
111 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key);
117 // On cache miss, try to create GenderInfo from CLDR data
123 // Try to put our GenderInfo object in cache. If there is a race condition,
124 // favor the GenderInfo object that is already in the cache.
127 GenderInfo* temp = (GenderInfo*) uhash_get(gGenderInfoCache, key);
140 const GenderInfo* GenderInfo::loadInstance(const Locale& locale, UErrorCode& status) {
188 UGender GenderInfo::getListGender(const UGender* genders, int32_t length, UErrorCode& status) const {
241 const GenderInfo* GenderInfo::getNeutralInstance() {
245 const GenderInfo* GenderInfo::getMixedNeutralInstance() {
249 const GenderInfo* GenderInfo::getMaleTaintsInstance() {
257 return (const UGenderInfo*) icu::GenderInfo::getInstance(locale, *status);
262 return ((const icu::GenderInfo *)genderInfo)->getListGender(genders, size, *status);