Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dbrkiter.cpp281 static icu::ICULocaleService* gService = NULL; variable
291 if (gService) { in breakiterator_cleanup()
292 delete gService; in breakiterator_cleanup()
293 gService = NULL; in breakiterator_cleanup()
304 gService = new ICUBreakIteratorService(); in initService()
312 return gService; in getService()
344 return gService->unregister(key, status); in unregister()
376 BreakIterator *result = (BreakIterator*)gService->get(loc, kind, &actualLoc, status); in createInstance()
/external/icu/icu4c/source/i18n/
Dcoll.cpp67 static icu::ICULocaleService* gService = NULL; variable
78 if (gService) { in collator_cleanup()
79 delete gService; in collator_cleanup()
80 gService = NULL; in collator_cleanup()
200 gService = new ICUCollatorService(); in initService()
209 return gService; in getService()
446 coll = (Collator*)gService->get(desiredLocale, &actualLoc, status); in createInstance()
584 return gService->getDisplayName(locNameStr, name, displayLocale); in getDisplayName()
795 return gService->unregister(key, status); in unregister()
Dnumfmt.cpp163 static icu::ICULocaleService* gService = NULL; variable
179 if (gService) { in numfmt_cleanup()
180 delete gService; in numfmt_cleanup()
181 gService = NULL; in numfmt_cleanup()
969 U_ASSERT(gService == NULL); in initNumberFormatService()
971 gService = new ICUNumberFormatService(); in initNumberFormatService()
978 return gService; in getNumberFormatService()
1010 return gService->unregister(key, status); in unregister()
1044 return (NumberFormat*)gService->get(loc, kind, status); in internalCreateInstance()
Dcalendar.cpp67 static icu::ICULocaleService* gService = NULL; variable
74 if (gService) { in calendar_cleanup()
75 delete gService; in calendar_cleanup()
76 gService = NULL; in calendar_cleanup()
570 gService = new CalendarService(); in initCalendarService()
571 if (gService == NULL) { in initCalendarService()
580 gService->registerFactory(new BasicCalendarFactory(),status); in initCalendarService()
590 delete gService; in initCalendarService()
591 gService = NULL; in initCalendarService()
599 return gService; in getCalendarService()