Searched refs:gService (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/common/ |
D | brkiter.cpp | 267 static icu::ICULocaleService* gService = NULL; variable 277 if (gService) { in breakiterator_cleanup() 278 delete gService; in breakiterator_cleanup() 279 gService = NULL; in breakiterator_cleanup() 290 gService = new ICUBreakIteratorService(); in initService() 298 return gService; in getService() 330 return gService->unregister(key, status); in unregister() 362 BreakIterator *result = (BreakIterator*)gService->get(loc, kind, &actualLoc, status); in createInstance()
|
/external/icu/icu4c/source/i18n/ |
D | coll.cpp | 64 static icu::ICULocaleService* gService = NULL; variable 74 if (gService) { in collator_cleanup() 75 delete gService; in collator_cleanup() 76 gService = NULL; in collator_cleanup() 196 gService = new ICUCollatorService(); in initService() 205 return gService; in getService() 442 coll = (Collator*)gService->get(desiredLocale, &actualLoc, status); in createInstance() 573 return gService->getDisplayName(locNameStr, name, displayLocale); in getDisplayName() 784 return gService->unregister(key, status); in unregister()
|
D | numfmt.cpp | 163 static icu::ICULocaleService* gService = NULL; variable 179 if (gService) { in numfmt_cleanup() 180 delete gService; in numfmt_cleanup() 181 gService = NULL; in numfmt_cleanup() 968 U_ASSERT(gService == NULL); in initNumberFormatService() 970 gService = new ICUNumberFormatService(); in initNumberFormatService() 977 return gService; in getNumberFormatService() 1009 return gService->unregister(key, status); in unregister() 1043 return (NumberFormat*)gService->get(loc, kind, status); in internalCreateInstance()
|
D | calendar.cpp | 64 static icu::ICULocaleService* gService = NULL; variable 73 if (gService) { in calendar_cleanup() 74 delete gService; in calendar_cleanup() 75 gService = NULL; in calendar_cleanup() 571 gService = new CalendarService(); in initCalendarService() 572 if (gService == NULL) { in initCalendarService() 581 gService->registerFactory(new BasicCalendarFactory(),status); in initCalendarService() 591 delete gService; in initCalendarService() 592 gService = NULL; in initCalendarService() 600 return gService; in getCalendarService()
|