Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dudata.cpp110 static UHashtable *gCommonDataCache = NULL; /* Global hash table of opened ICU data files. */ variable
125 if (gCommonDataCache) { /* Delete the cache of user data mappings. */ in udata_cleanup()
126 uhash_close(gCommonDataCache); /* Table owns the contents, and will delete them. */ in udata_cleanup()
127 gCommonDataCache = NULL; /* Cleanup is not thread safe. */ in udata_cleanup()
282 U_ASSERT(gCommonDataCache == NULL); in udata_initHashTable()
283 gCommonDataCache = uhash_open(uhash_hashChars, uhash_compareChars, NULL, &err); in udata_initHashTable()
287 U_ASSERT(gCommonDataCache != NULL); in udata_initHashTable()
288 uhash_setValueDeleter(gCommonDataCache, DataCacheElement_deleter); in udata_initHashTable()
298 return gCommonDataCache; in udata_getHashTable()