Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dudata.cpp108 static UHashtable *gCommonDataCache = NULL; /* Global hash table of opened ICU data files. */ variable
119 if (gCommonDataCache) { /* Delete the cache of user data mappings. */ in udata_cleanup()
120 uhash_close(gCommonDataCache); /* Table owns the contents, and will delete them. */ in udata_cleanup()
121 gCommonDataCache = NULL; /* Cleanup is not thread safe. */ in udata_cleanup()
273 U_ASSERT(gCommonDataCache == NULL); in udata_initHashTable()
274 gCommonDataCache = uhash_open(uhash_hashChars, uhash_compareChars, NULL, &err); in udata_initHashTable()
277 gCommonDataCache = NULL; in udata_initHashTable()
279 if (gCommonDataCache != NULL) { in udata_initHashTable()
280 uhash_setValueDeleter(gCommonDataCache, DataCacheElement_deleter); in udata_initHashTable()
291 return gCommonDataCache; in udata_getHashTable()