Lines Matching defs:gGenderInfoCache
39 static UHashtable* gGenderInfoCache = nullptr;
57 if (gGenderInfoCache != nullptr) {
58 uhash_close(gGenderInfoCache);
59 gGenderInfoCache = nullptr;
72 U_ASSERT(gGenderInfoCache == nullptr);
84 gGenderInfoCache = uhash_open(uhash_hashChars, uhash_compareChars, nullptr, &status);
89 uhash_setKeyDeleter(gGenderInfoCache, uprv_free);
111 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key);
127 GenderInfo* temp = (GenderInfo*) uhash_get(gGenderInfoCache, key);
131 uhash_put(gGenderInfoCache, uprv_strdup(key), (void*) result, &status);