Home
last modified time | relevance | path

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

/external/icu4c/common/
Dusprep.cpp44 static UHashtable *SHARED_DATA_HASHTABLE = NULL; variable
146 if (SHARED_DATA_HASHTABLE == NULL) { in usprep_internal_flushCache()
152 while ((e = uhash_nextElement(SHARED_DATA_HASHTABLE, &pos)) != NULL) in usprep_internal_flushCache()
160 uhash_removeElement(SHARED_DATA_HASHTABLE, e); in usprep_internal_flushCache()
191 if (SHARED_DATA_HASHTABLE != NULL) { in usprep_cleanup()
193 if (SHARED_DATA_HASHTABLE != NULL && uhash_count(SHARED_DATA_HASHTABLE) == 0) { in usprep_cleanup()
194 uhash_close(SHARED_DATA_HASHTABLE); in usprep_cleanup()
195 SHARED_DATA_HASHTABLE = NULL; in usprep_cleanup()
202 return (SHARED_DATA_HASHTABLE == NULL); in usprep_cleanup()
211 UMTX_CHECK(&usprepMutex, (SHARED_DATA_HASHTABLE == NULL), makeCache); in initCache()
[all …]
Ducnv_bld.c153 static UHashtable *SHARED_DATA_HASHTABLE = NULL; variable
199 if (SHARED_DATA_HASHTABLE != NULL && uhash_count(SHARED_DATA_HASHTABLE) == 0) { in ucnv_cleanup()
200 uhash_close(SHARED_DATA_HASHTABLE); in ucnv_cleanup()
201 SHARED_DATA_HASHTABLE = NULL; in ucnv_cleanup()
217 return (SHARED_DATA_HASHTABLE == NULL); in ucnv_cleanup()
413 if (SHARED_DATA_HASHTABLE == NULL) in ucnv_shareConverterData()
415 SHARED_DATA_HASHTABLE = uhash_openSize(uhash_hashChars, uhash_compareChars, NULL, in ucnv_shareConverterData()
438 uhash_put(SHARED_DATA_HASHTABLE, in ucnv_shareConverterData()
457 if (SHARED_DATA_HASHTABLE == NULL) in ucnv_getSharedConverterData()
465 rc = (UConverterSharedData*)uhash_get(SHARED_DATA_HASHTABLE, name); in ucnv_getSharedConverterData()
[all …]