Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormatServiceShim.java76 NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument
84 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, in createInstance()
96 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
DNumberFormat.java1310 public static NumberFormat getInstance(ULocale desiredLocale, int choice) { in getInstance() argument
1321 return getShim().createInstance(desiredLocale, choice); in getInstance()
1326 static NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument
1332 String pattern = getPattern(desiredLocale, choice); in createInstance()
1333 DecimalFormatSymbols symbols = new DecimalFormatSymbols(desiredLocale); in createInstance()
1355 NumberingSystem ns = NumberingSystem.getInstance(desiredLocale); in createInstance()
1383 nsLoc = desiredLocale; in createInstance()
DDateFormatSymbols.java1456 protected void initializeData(ULocale desiredLocale, String type) in initializeData() argument
1458 String key = desiredLocale.getBaseName() + "+" + type; in initializeData()
1459 String ns = desiredLocale.getKeywordValue("numbers"); in initializeData()
1466 CalendarData calData = new CalendarData(desiredLocale, type); in initializeData()
1467 initializeData(desiredLocale, calData); in initializeData()
1531 protected void initializeData(ULocale desiredLocale, CalendarData calData) in initializeData() argument
1646 requestedLocale = desiredLocale; in initializeData()
1650 ICUResourceBundle.ICU_BASE_NAME, desiredLocale); in initializeData()
1696 NumberingSystem ns = NumberingSystem.getInstance(desiredLocale); in initializeData()
/external/icu/icu4c/source/i18n/
Dnumfmt.cpp1276 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument
1279 return makeInstance(desiredLocale, style, false, status); in makeInstance()
1283 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument
1308 int32_t count = desiredLocale.getKeywordValue("compat", buffer, sizeof(buffer), status); in makeInstance()
1325 f = new Win32NumberFormat(desiredLocale, curr, status); in makeInstance()
1347 int32_t hashKey = desiredLocale.hashCode(); in makeInstance()
1352 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance()
1356 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance()
1372 LocalUResourceBundlePointer ownedResource(ures_open(NULL, desiredLocale.getName(), &status)); in makeInstance()
1378 …symbolsToAdopt.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(desiredLocale, status), stat… in makeInstance()
[all …]
Dcoll.cpp427 Collator* U_EXPORT2 Collator::createInstance(const Locale& desiredLocale, in createInstance() argument
432 if (desiredLocale.isBogus()) { in createInstance()
442 coll = (Collator*)gService->get(desiredLocale, &actualLoc, status); in createInstance()
446 coll = makeInstance(desiredLocale, status); in createInstance()
448 setAttributesFromKeywords(desiredLocale, *coll, status); in createInstance()
457 Collator* Collator::makeInstance(const Locale& desiredLocale, UErrorCode& status) { in makeInstance() argument
458 const CollationCacheEntry *entry = CollationLoader::loadTailoring(desiredLocale, status); in makeInstance()
Dcalendar.cpp3755 Calendar::setWeekData(const Locale& desiredLocale, const char *type, UErrorCode& status) in setWeekData() argument
3778 uloc_minimizeSubtags(desiredLocale.getName(),minLocaleID,ULOC_FULLNAME_CAPACITY,&myStatus); in setWeekData()
3781 if ( uprv_strlen(desiredLocale.getCountry()) == 0 || in setWeekData()
3782 (uprv_strlen(desiredLocale.getScript()) > 0 && uprv_strlen(min.getScript()) == 0) ) { in setWeekData()
3785 uloc_addLikelySubtags(desiredLocale.getName(),maxLocaleID,ULOC_FULLNAME_CAPACITY,&myStatus); in setWeekData()
3789 useLocale = Locale(desiredLocale); in setWeekData()
/external/icu/icu4c/source/i18n/unicode/
Dnumfmt.h707 static NumberFormat* U_EXPORT2 createInstance(const Locale& desiredLocale,
719 const Locale& desiredLocale,
1037 static NumberFormat* makeInstance(const Locale& desiredLocale,
1054 static NumberFormat* makeInstance(const Locale& desiredLocale,
Dcoll.h1188 static Collator* makeInstance(const Locale& desiredLocale,
Dcalendar.h2208 void setWeekData(const Locale& desiredLocale, const char *type, UErrorCode& success);
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollatorServiceShim.java167 private static final Collator makeInstance(ULocale desiredLocale) { in makeInstance() argument
170 CollationLoader.loadTailoring(desiredLocale, validLocale); in makeInstance()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java367 ULocale desiredLocale = new ULocale(localeString); in checkBuckets() local
370 …AlphabeticIndex<Integer> index = new AlphabeticIndex<Integer>(desiredLocale).addLabels(additionalL… in checkBuckets()
381 …logln(desiredLocale + "\t" + desiredLocale.getDisplayName(ULocale.ENGLISH) + " - " + desiredLocale in checkBuckets()
384 UI.append(desiredLocale + "\t"); in checkBuckets()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java452 double getScore(ULocale desiredLocale, ULocale dMax, String desiredRaw, String desiredMax, in getScore() argument
519 private double getRawScore(ULocale desiredLocale, ULocale supportedLocale) { in getRawScore() argument
521 … System.out.println("\t\t\t" + level + " Raw Score:\t" + desiredLocale + ";\t" + supportedLocale); in getRawScore()
524 if (datum.get0().matches(desiredLocale) in getRawScore()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...