Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dbrkiter.cpp282 static icu::ICULocaleService* gService = NULL; variable
292 if (gService) { in breakiterator_cleanup()
293 delete gService; in breakiterator_cleanup()
294 gService = NULL; in breakiterator_cleanup()
305 gService = new ICUBreakIteratorService(); in initService()
313 return gService; in getService()
345 return gService->unregister(key, status); in unregister()
377 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()
444 coll = (Collator*)gService->get(desiredLocale, &actualLoc, status); in createInstance()
582 return gService->getDisplayName(locNameStr, name, displayLocale); in getDisplayName()
793 return gService->unregister(key, status); in unregister()
Dnumfmt.cpp162 static icu::ICULocaleService* gService = NULL; variable
178 if (gService) { in numfmt_cleanup()
179 delete gService; in numfmt_cleanup()
180 gService = NULL; in numfmt_cleanup()
968 U_ASSERT(gService == NULL); in initNumberFormatService()
970 gService = new ICUNumberFormatService(); in initNumberFormatService()
977 return gService; in getNumberFormatService()
1013 return gService->unregister(key, status); in unregister()
1047 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()
581 gService = new CalendarService(); in initCalendarService()
582 if (gService == NULL) { in initCalendarService()
591 gService->registerFactory(new BasicCalendarFactory(),status); in initCalendarService()
601 delete gService; in initCalendarService()
602 gService = NULL; in initCalendarService()
610 return gService; in getCalendarService()