Home
last modified time | relevance | path

Searched refs:UMTX_CHECK (Results 1 – 25 of 41) sorted by relevance

12

/external/icu4c/common/
Dlocavailable.cpp58 UMTX_CHECK(NULL, availableLocaleList == NULL, needInit); in getAvailableLocales()
128 UMTX_CHECK(NULL, _installedLocales != NULL, localesLoaded); in _load_installedLocales()
Dumutex.h108 #define UMTX_CHECK(pMutex, expression, result) \ macro
Dbrkiter.cpp287 UMTX_CHECK(NULL, (UBool)(gService == NULL), needsInit); in getService()
309 UMTX_CHECK(NULL, gService != NULL, retVal); in hasService()
Dlocid.cpp152 UMTX_CHECK(NULL, (gDefaultLocale == NULL), isOnlyLocale); in locale_set_default_internal()
180 UMTX_CHECK(NULL, (gDefaultLocalesHashT == NULL), hashTableNeedsInit); in locale_set_default_internal()
665 UMTX_CHECK(NULL, gDefaultLocale, retLocale); in getDefault()
Dresbund.cpp373 UMTX_CHECK(NULL, (fLocale == NULL), needInit); in getLocale()
/external/icu4c/i18n/
Dbuddhcal.cpp155 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStart()
172 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStartYear()
Dtaiwncal.cpp162 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStart()
179 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStartYear()
Dpersncal.cpp405 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStart()
422 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStartYear()
Dsmpdtfst.cpp95 UMTX_CHECK(NULL, gStaticSets, p); in initSets()
Dislamcal.cpp489 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStart()
506 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStartYear()
Dzonemeta.cpp226 UMTX_CHECK(&gZoneMetaLock, gCanonicalIDCacheInitialized, initialized); in getCanonicalCLDRID()
419 UMTX_CHECK(&gZoneMetaLock, gCountryInfoVectorsInitialized, initialized); in getSingleCountry()
539 UMTX_CHECK(&gZoneMetaLock, gOlsonToMetaInitialized, initialized); in getMetazoneMappings()
759 UMTX_CHECK(&gZoneMetaLock, gMetaZoneIDsInitialized, initialized); in initAvailableMetaZoneIDs()
Dcoptccal.cpp128 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in initializeSystemDefaultCentury()
Dhebrwcal.cpp699 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStart()
716 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStartYear()
Dcoll.cpp197 UMTX_CHECK(NULL, (UBool)(gService == NULL), needInit); in getService()
224 UMTX_CHECK(NULL, gService != NULL, retVal); in hasService()
256 UMTX_CHECK(NULL, availableLocaleList == NULL, needInit); in isAvailableLocaleListInitialized()
Drbt.cpp252 UMTX_CHECK(NULL, (&text != gLockedText), needToLock); in handleTransliterate()
Dnumfmt.cpp859 UMTX_CHECK(NULL, (UBool)(gService == NULL), needInit); in getNumberFormatService()
903 UMTX_CHECK(NULL, gService != NULL, haveService); in unregister()
930 UMTX_CHECK(NULL, gService != NULL, haveService); in createInstance()
1194 UMTX_CHECK(&nscacheMutex, NumberingSystem_cache, cache); in makeInstance()
Dethpccal.cpp165 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in initializeSystemDefaultCentury()
Dregexst.cpp268 UMTX_CHECK(NULL, gStaticSets, p); in initGlobals()
Dtimezone.cpp304 UMTX_CHECK(&LOCK, (_GMT == NULL), needsInit); /* This is here to prevent race conditions. */ in getGMT()
482 UMTX_CHECK(&LOCK, (DEFAULT_ZONE != NULL), initialized); in initDefault()
546 UMTX_CHECK(&LOCK, (DEFAULT_ZONE == NULL), needsInit); in createDefault()
693 UMTX_CHECK(&LOCK, (len == 0), needsInit); in getMap()
1542 UMTX_CHECK(&LOCK, !TZDataVersionInitialized, needsInit); in getTZDataVersion()
Ddecfmtst.cpp186 UMTX_CHECK(NULL, gStaticSets, p); in initSets()
Dtzfmt.cpp103 UMTX_CHECK(&gZoneMetaLock, (fTimeZoneGenericNames == NULL), create); in getTimeZoneGenericNames()
396 UMTX_CHECK(&gTimeZoneFormatLock, gTimeZoneFormatCacheInitialized, initialized); in TimeZoneFormatDelegate()
Dcolldata.cpp1042 UMTX_CHECK(NULL, collDataCache, cache); in getCollDataCache()
1072 UMTX_CHECK(NULL, collDataCache, cache); in freeCollDataCache()
1091 UMTX_CHECK(NULL, collDataCache, cache); in flushCollDataCache()
Dchnsecal.cpp805 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStart()
822 UMTX_CHECK(NULL, (fgSystemDefaultCenturyStart == fgSystemDefaultCentury), needsUpdate); in internalGetDefaultCenturyStartYear()
Dcsdetect.cpp81 UMTX_CHECK(NULL, (UBool) (fCSRecognizers == NULL), needsInit); in setRecognizers()
/external/icu4c/io/
Dlocbund.c53 UMTX_CHECK(NULL, gPosixNumberFormat[style-1] == NULL, needsInit); in copyInvariantFormatter()

12