Home
last modified time | relevance | path

Searched refs:desiredLocale (Results 1 – 8 of 8) sorted by relevance

/external/icu4c/i18n/
Dcoll.cpp236 Locale desiredLocale(loc); in createUCollator() local
237 Collator *col = (Collator*)gService->get(desiredLocale, *status); in createUCollator()
311 Collator* U_EXPORT2 Collator::createInstance(const Locale& desiredLocale, in createInstance() argument
321 (Collator*)gService->get(desiredLocale, &actualLoc, status); in createInstance()
329 result->setLocales(desiredLocale, actualLoc, actualLoc); in createInstance()
334 return makeInstance(desiredLocale, status); in createInstance()
338 Collator* Collator::makeInstance(const Locale& desiredLocale, in makeInstance() argument
362 RuleBasedCollator* collation = new RuleBasedCollator(desiredLocale, in makeInstance()
Dnumfmt.cpp1091 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument
1115 int32_t count = desiredLocale.getKeywordValue("compat", buffer, sizeof(buffer), status); in makeInstance()
1130 f = new Win32NumberFormat(desiredLocale, curr, status); in makeInstance()
1147 LocalUResourceBundlePointer ownedResource(ures_open(NULL, desiredLocale.getName(), &status)); in makeInstance()
1163 symbolsToAdopt.adoptInstead(new DecimalFormatSymbols(desiredLocale, status)); in makeInstance()
1228 int32_t hashKey = desiredLocale.hashCode(); in makeInstance()
1233 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance()
1237 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance()
1271 nsLoc = desiredLocale; in makeInstance()
Dtblcoll.cpp689 RuleBasedCollator::RuleBasedCollator(const Locale& desiredLocale, in RuleBasedCollator() argument
719 setUCollator(desiredLocale, status); in RuleBasedCollator()
Dcalendar.cpp3254 Calendar::setWeekData(const Locale& desiredLocale, const char *type, UErrorCode& status) in setWeekData() argument
3277 uloc_minimizeSubtags(desiredLocale.getName(),minLocaleID,ULOC_FULLNAME_CAPACITY,&myStatus); in setWeekData()
3280 if ( uprv_strlen(desiredLocale.getCountry()) == 0 || in setWeekData()
3281 (uprv_strlen(desiredLocale.getScript()) > 0 && uprv_strlen(min.getScript()) == 0) ) { in setWeekData()
3284 uloc_addLikelySubtags(desiredLocale.getName(),maxLocaleID,ULOC_FULLNAME_CAPACITY,&myStatus); in setWeekData()
3288 useLocale = Locale(desiredLocale); in setWeekData()
/external/icu4c/i18n/unicode/
Dnumfmt.h650 static NumberFormat* U_EXPORT2 createInstance(const Locale& desiredLocale,
932 static NumberFormat* makeInstance(const Locale& desiredLocale,
Dcoll.h1050 static Collator* makeInstance(const Locale& desiredLocale,
Dtblcoll.h821 RuleBasedCollator(const Locale& desiredLocale, UErrorCode& status);
Dcalendar.h1986 void setWeekData(const Locale& desiredLocale, const char *type, UErrorCode& success);