Lines Matching refs:cnvCacheMutex
154 static UMTX cnvCacheMutex = NULL; /* Mutex for synchronizing cnv cache access. */ variable
185 umtx_lock(&cnvCacheMutex); in ucnv_flushAvailableConverterCache()
189 umtx_unlock(&cnvCacheMutex); in ucnv_flushAvailableConverterCache()
214 umtx_destroy(&cnvCacheMutex); /* Don't worry about destroying the mutex even */ in ucnv_cleanup()
597 umtx_lock(&cnvCacheMutex); in ucnv_unloadSharedDataIfReady()
599 umtx_unlock(&cnvCacheMutex); in ucnv_unloadSharedDataIfReady()
612 umtx_lock(&cnvCacheMutex); in ucnv_incrementRefCount()
614 umtx_unlock(&cnvCacheMutex); in ucnv_incrementRefCount()
813 umtx_lock(&cnvCacheMutex); in ucnv_loadSharedData()
815 umtx_unlock(&cnvCacheMutex); in ucnv_loadSharedData()
1067 umtx_lock(&cnvCacheMutex); in ucnv_flushCache()
1096 umtx_unlock(&cnvCacheMutex); in ucnv_flushCache()
1108 UMTX_CHECK(&cnvCacheMutex, (gAvailableConverters == NULL), needInit); in haveAvailableConverterList()
1147 umtx_lock(&cnvCacheMutex); in haveAvailableConverterList()
1156 umtx_unlock(&cnvCacheMutex); in haveAvailableConverterList()
1215 umtx_lock(&cnvCacheMutex); in internalSetName()
1228 umtx_unlock(&cnvCacheMutex); in internalSetName()
1252 UMTX_CHECK(&cnvCacheMutex, gDefaultConverterName, name); in ucnv_getDefaultName()