Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/i18n/
Dgender.cpp32 static UHashtable* gGenderInfoCache = NULL; variable
50 if (gGenderInfoCache != NULL) { in gender_cleanup()
51 uhash_close(gGenderInfoCache); in gender_cleanup()
52 gGenderInfoCache = NULL; in gender_cleanup()
65 U_ASSERT(gGenderInfoCache == NULL); in GenderInfo_initCache()
77 gGenderInfoCache = uhash_open(uhash_hashChars, uhash_compareChars, NULL, &status); in GenderInfo_initCache()
82 uhash_setKeyDeleter(gGenderInfoCache, uprv_free); in GenderInfo_initCache()
103 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
119 GenderInfo* temp = (GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
123 uhash_put(gGenderInfoCache, uprv_strdup(key), (void*) result, &status); in getInstance()
/external/icu/icu4c/source/i18n/
Dgender.cpp32 static UHashtable* gGenderInfoCache = NULL; variable
50 if (gGenderInfoCache != NULL) { in gender_cleanup()
51 uhash_close(gGenderInfoCache); in gender_cleanup()
52 gGenderInfoCache = NULL; in gender_cleanup()
65 U_ASSERT(gGenderInfoCache == NULL); in GenderInfo_initCache()
77 gGenderInfoCache = uhash_open(uhash_hashChars, uhash_compareChars, NULL, &status); in GenderInfo_initCache()
82 uhash_setKeyDeleter(gGenderInfoCache, uprv_free); in GenderInfo_initCache()
103 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
119 GenderInfo* temp = (GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance()
123 uhash_put(gGenderInfoCache, uprv_strdup(key), (void*) result, &status); in getInstance()