Home
last modified time | relevance | path

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

/external/icu4c/common/
Dusprep.cpp43 static UHashtable *SHARED_DATA_HASHTABLE = NULL; variable
127 if (SHARED_DATA_HASHTABLE == NULL) { in usprep_internal_flushCache()
133 while ((e = uhash_nextElement(SHARED_DATA_HASHTABLE, &pos)) != NULL) in usprep_internal_flushCache()
141 uhash_removeElement(SHARED_DATA_HASHTABLE, e); in usprep_internal_flushCache()
172 if (SHARED_DATA_HASHTABLE != NULL) { in usprep_cleanup()
174 if (SHARED_DATA_HASHTABLE != NULL && uhash_count(SHARED_DATA_HASHTABLE) == 0) { in usprep_cleanup()
175 uhash_close(SHARED_DATA_HASHTABLE); in usprep_cleanup()
176 SHARED_DATA_HASHTABLE = NULL; in usprep_cleanup()
183 return (SHARED_DATA_HASHTABLE == NULL); in usprep_cleanup()
196 UMTX_CHECK(&usprepMutex, (SHARED_DATA_HASHTABLE == NULL), makeCache); in initCache()
[all …]
Ducnv_bld.c153 static UHashtable *SHARED_DATA_HASHTABLE = NULL; variable
185 if (SHARED_DATA_HASHTABLE != NULL && uhash_count(SHARED_DATA_HASHTABLE) == 0) { in ucnv_cleanup()
186 uhash_close(SHARED_DATA_HASHTABLE); in ucnv_cleanup()
187 SHARED_DATA_HASHTABLE = NULL; in ucnv_cleanup()
201 return (SHARED_DATA_HASHTABLE == NULL); in ucnv_cleanup()
397 if (SHARED_DATA_HASHTABLE == NULL) in ucnv_shareConverterData()
399 SHARED_DATA_HASHTABLE = uhash_openSize(uhash_hashChars, uhash_compareChars, NULL, in ucnv_shareConverterData()
422 uhash_put(SHARED_DATA_HASHTABLE, in ucnv_shareConverterData()
441 if (SHARED_DATA_HASHTABLE == NULL) in ucnv_getSharedConverterData()
449 rc = (UConverterSharedData*)uhash_get(SHARED_DATA_HASHTABLE, name); in ucnv_getSharedConverterData()
[all …]