Lines Matching refs:SHARED_DATA_HASHTABLE
45 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()
211 SHARED_DATA_HASHTABLE = NULL; in createCache()
325 profile = (UStringPrepProfile*) (uhash_get(SHARED_DATA_HASHTABLE,&stackKey)); in usprep_getProfile()
367 profile = (UStringPrepProfile*) (uhash_get(SHARED_DATA_HASHTABLE,&stackKey)); in usprep_getProfile()
384 uhash_put(SHARED_DATA_HASHTABLE, key.orphan(), profile, status); in usprep_getProfile()