Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dusprep.cpp45 static UHashtable *SHARED_DATA_HASHTABLE = NULL; variable
148 if (SHARED_DATA_HASHTABLE == NULL) { in usprep_internal_flushCache()
154 while ((e = uhash_nextElement(SHARED_DATA_HASHTABLE, &pos)) != NULL) in usprep_internal_flushCache()
162 uhash_removeElement(SHARED_DATA_HASHTABLE, e); in usprep_internal_flushCache()
193 if (SHARED_DATA_HASHTABLE != NULL) { in usprep_cleanup()
195 if (SHARED_DATA_HASHTABLE != NULL && uhash_count(SHARED_DATA_HASHTABLE) == 0) { in usprep_cleanup()
196 uhash_close(SHARED_DATA_HASHTABLE); in usprep_cleanup()
197 SHARED_DATA_HASHTABLE = NULL; in usprep_cleanup()
201 return (SHARED_DATA_HASHTABLE == NULL); in usprep_cleanup()
209 SHARED_DATA_HASHTABLE = uhash_open(hashEntry, compareEntries, NULL, &status); in createCache()
[all …]
Ducnv_bld.cpp194 static UHashtable *SHARED_DATA_HASHTABLE = NULL; variable
244 if (SHARED_DATA_HASHTABLE != NULL && uhash_count(SHARED_DATA_HASHTABLE) == 0) { in ucnv_cleanup()
245 uhash_close(SHARED_DATA_HASHTABLE); in ucnv_cleanup()
246 SHARED_DATA_HASHTABLE = NULL; in ucnv_cleanup()
259 return (SHARED_DATA_HASHTABLE == NULL); in ucnv_cleanup()
455 if (SHARED_DATA_HASHTABLE == NULL) in ucnv_shareConverterData()
457 SHARED_DATA_HASHTABLE = uhash_openSize(uhash_hashChars, uhash_compareChars, NULL, in ucnv_shareConverterData()
480 uhash_put(SHARED_DATA_HASHTABLE, in ucnv_shareConverterData()
499 if (SHARED_DATA_HASHTABLE == NULL) in ucnv_getSharedConverterData()
507 rc = (UConverterSharedData*)uhash_get(SHARED_DATA_HASHTABLE, name); in ucnv_getSharedConverterData()
[all …]