Searched refs:SHARED_DATA_HASHTABLE (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/common/ |
D | usprep.cpp | 47 static UHashtable *SHARED_DATA_HASHTABLE = NULL; variable 152 if (SHARED_DATA_HASHTABLE == NULL) { in usprep_internal_flushCache() 158 while ((e = uhash_nextElement(SHARED_DATA_HASHTABLE, &pos)) != NULL) in usprep_internal_flushCache() 166 uhash_removeElement(SHARED_DATA_HASHTABLE, e); in usprep_internal_flushCache() 197 if (SHARED_DATA_HASHTABLE != NULL) { in usprep_cleanup() 199 if (SHARED_DATA_HASHTABLE != NULL && uhash_count(SHARED_DATA_HASHTABLE) == 0) { in usprep_cleanup() 200 uhash_close(SHARED_DATA_HASHTABLE); in usprep_cleanup() 201 SHARED_DATA_HASHTABLE = NULL; in usprep_cleanup() 205 return (SHARED_DATA_HASHTABLE == NULL); in usprep_cleanup() 213 SHARED_DATA_HASHTABLE = uhash_open(hashEntry, compareEntries, NULL, &status); in createCache() [all …]
|
D | ucnv_bld.cpp | 196 static UHashtable *SHARED_DATA_HASHTABLE = NULL; variable 246 if (SHARED_DATA_HASHTABLE != NULL && uhash_count(SHARED_DATA_HASHTABLE) == 0) { in ucnv_cleanup() 247 uhash_close(SHARED_DATA_HASHTABLE); in ucnv_cleanup() 248 SHARED_DATA_HASHTABLE = NULL; in ucnv_cleanup() 261 return (SHARED_DATA_HASHTABLE == NULL); in ucnv_cleanup() 442 if (SHARED_DATA_HASHTABLE == NULL) in ucnv_shareConverterData() 444 SHARED_DATA_HASHTABLE = uhash_openSize(uhash_hashChars, uhash_compareChars, NULL, in ucnv_shareConverterData() 467 uhash_put(SHARED_DATA_HASHTABLE, in ucnv_shareConverterData() 486 if (SHARED_DATA_HASHTABLE == NULL) in ucnv_getSharedConverterData() 494 rc = (UConverterSharedData*)uhash_get(SHARED_DATA_HASHTABLE, name); in ucnv_getSharedConverterData() [all …]
|