Home
last modified time | relevance | path

Searched refs:gService (Results 1 – 4 of 4) sorted by relevance

/external/icu4c/common/
Dbrkiter.cpp284 static U_NAMESPACE_QUALIFIER ICULocaleService* gService = NULL; variable
292 if (gService) { in breakiterator_cleanup()
293 delete gService; in breakiterator_cleanup()
294 gService = NULL; in breakiterator_cleanup()
306 UMTX_CHECK(NULL, (UBool)(gService == NULL), needsInit); in getService()
311 if (gService == NULL) { in getService()
312 gService = tService; in getService()
319 return gService; in getService()
328 UMTX_CHECK(NULL, gService != NULL, retVal); in hasService()
347 return gService->unregister(key, status); in unregister()
[all …]
/external/icu4c/i18n/
Dcoll.cpp56 static U_NAMESPACE_QUALIFIER ICULocaleService* gService = NULL; variable
64 if (gService) { in collator_cleanup()
65 delete gService; in collator_cleanup()
66 gService = NULL; in collator_cleanup()
196 UMTX_CHECK(NULL, (UBool)(gService == NULL), needInit); in getService()
201 if(gService == NULL) { in getService()
202 gService = newservice; in getService()
214 return gService; in getService()
223 UMTX_CHECK(NULL, gService != NULL, retVal); in hasService()
236 Collator *col = (Collator*)gService->get(desiredLocale, *status); in createUCollator()
[all …]
Dnumfmt.cpp469 static ICULocaleService* gService = NULL; variable
476 if (gService) { in numfmt_cleanup()
477 delete gService; in numfmt_cleanup()
478 gService = NULL; in numfmt_cleanup()
589 UMTX_CHECK(NULL, (UBool)(gService == NULL), needInit); in getNumberFormatService()
594 if (gService == NULL) { in getNumberFormatService()
595 gService = newservice; in getNumberFormatService()
607 return gService; in getNumberFormatService()
630 UMTX_CHECK(NULL, gService != NULL, haveService); in unregister()
632 return gService->unregister(key, status); in unregister()
[all …]
Dcalendar.cpp50 static U_NAMESPACE_QUALIFIER ICULocaleService* gService = NULL; variable
58 if (gService) { in calendar_cleanup()
59 delete gService; in calendar_cleanup()
60 gService = NULL; in calendar_cleanup()
387 UMTX_CHECK(NULL, gService != NULL, retVal); in isCalendarServiceUsed()
397 UMTX_CHECK(NULL, (UBool)(gService == NULL), needInit); in getCalendarService()
424 if (gService == NULL) { in getCalendarService()
425 gService = newservice; in getCalendarService()
437 return gService; in getCalendarService()