Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dgender.cpp34 static UHashtable* gGenderInfoCache = NULL; variable
52 if (gGenderInfoCache != NULL) { in gender_cleanup()
53 uhash_close(gGenderInfoCache); in gender_cleanup()
54 gGenderInfoCache = NULL; in gender_cleanup()
67 U_ASSERT(gGenderInfoCache == NULL); in GenderInfo_initCache()
79 gGenderInfoCache = uhash_open(uhash_hashChars, uhash_compareChars, NULL, &status); in GenderInfo_initCache()
84 uhash_setKeyDeleter(gGenderInfoCache, uprv_free); in GenderInfo_initCache()
105 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
121 GenderInfo* temp = (GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
125 uhash_put(gGenderInfoCache, uprv_strdup(key), (void*) result, &status); in getInstance()