/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | XLocaleMatcher.java | 270 ULocale desiredLocale = desiredLsrAndLocale.getValue(); 273 if (exactSupportedLocales.contains(desiredLocale)) { 275 outputBestDesired.value = desiredLocale; 277 return desiredLocale; 284 outputBestDesired.value = desiredLocale; 294 bestDesiredLocale = desiredLocale; 327 public ULocale getBestMatch(ULocale desiredLocale, Output<ULocale> outputBestDesired) { 333 …final LSR desiredLSR = desiredLocale.equals(UND_LOCALE) ? UND : LSR.fromMaximalized(desiredLocale); 335 if (exactSupportedLocales.contains(desiredLocale)) { 337 outputBestDesired.value = desiredLocale; [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | XLocaleMatcher.java | 283 for (ULocale desiredLocale : desiredLsrAndLocales.getValue()) { 286 if (exactSupportedLocales.contains(desiredLocale)) { 288 outputBestDesired.value = desiredLocale; 293 desiredLocale); 295 return desiredLocale; 303 outputBestDesired.value = desiredLocale; 322 bestDesiredLocale = desiredLocale; 367 public ULocale getBestMatch(ULocale desiredLocale, Output<ULocale> outputBestDesired) { 373 …final LSR desiredLSR = desiredLocale.equals(UND_LOCALE) ? UND : LSR.fromMaximalized(desiredLocale); 375 if (exactSupportedLocales.contains(desiredLocale)) { [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | XLocaleMatcher.java | 288 for (ULocale desiredLocale : desiredLsrAndLocales.getValue()) { 291 if (exactSupportedLocales.contains(desiredLocale)) { 293 outputBestDesired.value = desiredLocale; 298 desiredLocale); 300 return desiredLocale; 308 outputBestDesired.value = desiredLocale; 327 bestDesiredLocale = desiredLocale; 372 public ULocale getBestMatch(ULocale desiredLocale, Output<ULocale> outputBestDesired) { 378 …final LSR desiredLSR = desiredLocale.equals(UND_LOCALE) ? UND : LSR.fromMaximalized(desiredLocale); 380 if (exactSupportedLocales.contains(desiredLocale)) { [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberFormatServiceShim.java | 79 NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument 87 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, in createInstance() 99 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
|
D | NumberFormat.java | 1272 public static NumberFormat getInstance(ULocale desiredLocale, int choice) { in getInstance() argument 1283 return getShim().createInstance(desiredLocale, choice); in getInstance() 1288 static NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument 1294 String pattern = getPattern(desiredLocale, choice); in createInstance() 1295 DecimalFormatSymbols symbols = new DecimalFormatSymbols(desiredLocale); in createInstance() 1317 NumberingSystem ns = NumberingSystem.getInstance(desiredLocale); in createInstance() 1345 nsLoc = desiredLocale; in createInstance() 1370 f.setCurrencyPluralInfo(CurrencyPluralInfo.getInstance(desiredLocale)); in createInstance()
|
D | DateFormatSymbols.java | 1498 protected void initializeData(ULocale desiredLocale, String type) in initializeData() argument 1500 String key = desiredLocale.getBaseName() + '+' + type; in initializeData() 1501 String ns = desiredLocale.getKeywordValue("numbers"); in initializeData() 1505 DateFormatSymbols dfs = DFSCACHE.getInstance(key, desiredLocale); in initializeData() 1807 private DateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, String calendarType) { in DateFormatSymbols() argument 1808 initializeData(desiredLocale, b, calendarType); in DateFormatSymbols() 1821 protected void initializeData(ULocale desiredLocale, ICUResourceBundle b, String calendarType) in initializeData() argument 1827 .getBundleInstance(ICUData.ICU_BASE_NAME, desiredLocale); in initializeData() 1842 + desiredLocale.getBaseName(), getClass().getName(), "gregorian"); in initializeData() 1968 requestedLocale = desiredLocale; in initializeData() [all …]
|
D | CollatorServiceShim.java | 182 private static final Collator makeInstance(ULocale desiredLocale) { in makeInstance() argument 185 CollationLoader.loadTailoring(desiredLocale, validLocale); in makeInstance()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormatServiceShim.java | 78 NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument 86 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, in createInstance() 98 fmt.setCurrency(Currency.getInstance(desiredLocale)); in createInstance()
|
D | NumberFormat.java | 1424 public static NumberFormat getInstance(ULocale desiredLocale, int choice) { in getInstance() argument 1435 return getShim().createInstance(desiredLocale, choice); in getInstance() 1440 static NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument 1446 String pattern = getPattern(desiredLocale, choice); in createInstance() 1447 DecimalFormatSymbols symbols = new DecimalFormatSymbols(desiredLocale); in createInstance() 1469 NumberingSystem ns = NumberingSystem.getInstance(desiredLocale); in createInstance() 1497 nsLoc = desiredLocale; in createInstance() 1522 f.setCurrencyPluralInfo(CurrencyPluralInfo.getInstance(desiredLocale)); in createInstance()
|
D | DateFormatSymbols.java | 1540 protected void initializeData(ULocale desiredLocale, String type) in initializeData() argument 1542 String key = desiredLocale.getBaseName() + '+' + type; in initializeData() 1543 String ns = desiredLocale.getKeywordValue("numbers"); in initializeData() 1547 DateFormatSymbols dfs = DFSCACHE.getInstance(key, desiredLocale); in initializeData() 1849 private DateFormatSymbols(ULocale desiredLocale, ICUResourceBundle b, String calendarType) { in DateFormatSymbols() argument 1850 initializeData(desiredLocale, b, calendarType); in DateFormatSymbols() 1863 protected void initializeData(ULocale desiredLocale, ICUResourceBundle b, String calendarType) in initializeData() argument 1869 .getBundleInstance(ICUData.ICU_BASE_NAME, desiredLocale); in initializeData() 1884 + desiredLocale.getBaseName(), getClass().getName(), "gregorian"); in initializeData() 2010 requestedLocale = desiredLocale; in initializeData() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | numfmt.cpp | 1293 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument 1296 return makeInstance(desiredLocale, style, false, status); in makeInstance() 1300 NumberFormat::makeInstance(const Locale& desiredLocale, in makeInstance() argument 1325 int32_t count = desiredLocale.getKeywordValue("compat", buffer, sizeof(buffer), status); in makeInstance() 1344 … LocalPointer<Win32NumberFormat> f(new Win32NumberFormat(desiredLocale, curr, status), status); in makeInstance() 1364 int32_t hashKey = desiredLocale.hashCode(); in makeInstance() 1369 ns = NumberingSystem::createInstance(desiredLocale,status); in makeInstance() 1373 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1389 LocalUResourceBundlePointer ownedResource(ures_open(NULL, desiredLocale.getName(), &status)); in makeInstance() 1395 …symbolsToAdopt.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(desiredLocale, status), stat… in makeInstance() [all …]
|
D | coll.cpp | 431 Collator* U_EXPORT2 Collator::createInstance(const Locale& desiredLocale, in createInstance() argument 436 if (desiredLocale.isBogus()) { in createInstance() 446 coll = (Collator*)gService->get(desiredLocale, &actualLoc, status); in createInstance() 450 coll = makeInstance(desiredLocale, status); in createInstance() 459 setAttributesFromKeywords(desiredLocale, *coll, status); in createInstance() 468 Collator* Collator::makeInstance(const Locale& desiredLocale, UErrorCode& status) { in makeInstance() argument 469 const CollationCacheEntry *entry = CollationLoader::loadTailoring(desiredLocale, status); in makeInstance()
|
D | calendar.cpp | 3766 Calendar::setWeekData(const Locale& desiredLocale, const char *type, UErrorCode& status) in setWeekData() argument 3789 uloc_minimizeSubtags(desiredLocale.getName(),minLocaleID,ULOC_FULLNAME_CAPACITY,&myStatus); in setWeekData() 3792 if ( uprv_strlen(desiredLocale.getCountry()) == 0 || in setWeekData() 3793 (uprv_strlen(desiredLocale.getScript()) > 0 && uprv_strlen(min.getScript()) == 0) ) { in setWeekData() 3796 uloc_addLikelySubtags(desiredLocale.getName(),maxLocaleID,ULOC_FULLNAME_CAPACITY,&myStatus); in setWeekData() 3800 useLocale = desiredLocale; in setWeekData() 3839 …(void)ulocimp_getRegionForSupplementalData(desiredLocale.getName(), TRUE, region, sizeof(region), … in setWeekData()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numfmt.h | 740 static NumberFormat* U_EXPORT2 createInstance(const Locale& desiredLocale, 752 const Locale& desiredLocale, 1103 static NumberFormat* makeInstance(const Locale& desiredLocale, 1120 static NumberFormat* makeInstance(const Locale& desiredLocale,
|
D | coll.h | 1193 static Collator* makeInstance(const Locale& desiredLocale,
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Level.java | 77 public static int getDefaultWeight(String organization, String desiredLocale) { in getDefaultWeight() argument 78 Level level = sc.getLocaleCoverageLevel(organization, desiredLocale); in getDefaultWeight()
|
D | StandardCodes.java | 399 public Level getLocaleCoverageLevel(String organization, String desiredLocale) { in getLocaleCoverageLevel() argument 400 return getLocaleCoverageLevel(Organization.fromString(organization), desiredLocale); in getLocaleCoverageLevel() 403 public Level getLocaleCoverageLevel(Organization organization, String desiredLocale) { in getLocaleCoverageLevel() argument 404 … return getLocaleCoverageLevel(organization, desiredLocale, new Output<LocaleCoverageType>()); in getLocaleCoverageLevel() 415 …public Level getLocaleCoverageLevel(Organization organization, String desiredLocale, Output<Locale… in getLocaleCoverageLevel() argument 430 String originalLocale = desiredLocale; in getLocaleCoverageLevel() 431 while (desiredLocale != null) { in getLocaleCoverageLevel() 432 Level status = locale_status.get(desiredLocale); in getLocaleCoverageLevel() 434 …coverageType.value = originalLocale == desiredLocale ? LocaleCoverageType.explicit : LocaleCoverag… in getLocaleCoverageLevel() 437 desiredLocale = LocaleIDParser.getParent(desiredLocale); in getLocaleCoverageLevel()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | CollatorServiceShim.java | 181 private static final Collator makeInstance(ULocale desiredLocale) { in makeInstance() argument 184 CollationLoader.loadTailoring(desiredLocale, validLocale); in makeInstance()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | AlphabeticIndexTest.java | 399 ULocale desiredLocale = new ULocale(localeString); in checkBuckets() local 402 …AlphabeticIndex<Integer> index = new AlphabeticIndex<Integer>(desiredLocale).addLabels(additionalL… in checkBuckets() 414 …logln(desiredLocale + "\t" + desiredLocale.getDisplayName(ULocale.ENGLISH) + " - " + desiredLocale… in checkBuckets() 417 UI.append(desiredLocale + "\t"); in checkBuckets()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | AlphabeticIndexTest.java | 396 ULocale desiredLocale = new ULocale(localeString); in checkBuckets() local 399 …AlphabeticIndex<Integer> index = new AlphabeticIndex<Integer>(desiredLocale).addLabels(additionalL… in checkBuckets() 411 …logln(desiredLocale + "\t" + desiredLocale.getDisplayName(ULocale.ENGLISH) + " - " + desiredLocale… in checkBuckets() 414 UI.append(desiredLocale + "\t"); in checkBuckets()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | LocaleMatcher.java | 539 private double getRawScore(ULocale desiredLocale, ULocale supportedLocale) { in getRawScore() argument 541 … System.out.println("\t\t\t" + level + " Raw Score:\t" + desiredLocale + ";\t" + supportedLocale); in getRawScore() 544 if (datum.get0().matches(desiredLocale) in getRawScore()
|
/external/cldr/tools/java/com/ibm/icu/util/ |
D | LocaleMatcher.java | 520 private double getRawScore(ULocale desiredLocale, ULocale supportedLocale) { in getRawScore() argument 522 … System.out.println("\t\t\t" + level + " Raw Score:\t" + desiredLocale + ";\t" + supportedLocale); in getRawScore() 525 if (datum.get0().matches(desiredLocale) in getRawScore()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 546 private double getRawScore(ULocale desiredLocale, ULocale supportedLocale) { in getRawScore() argument 548 … System.out.println("\t\t\t" + level + " Raw Score:\t" + desiredLocale + ";\t" + supportedLocale); in getRawScore() 551 if (datum.get0().matches(desiredLocale) in getRawScore()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | NumberFormat.java | 1117 public static NumberFormat getInstance(ULocale desiredLocale, int choice) { in getInstance() argument 1118 Locale locale = desiredLocale.toLocale(); in getInstance()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | TestMisc.java | 230 for (String desiredLocale : cldrFactory.getAvailable()) { in testWeights() 231 int vote = Level.getDefaultWeight("google", desiredLocale); in testWeights() 232 rel.add(new Pair<Integer, String>(vote, desiredLocale)); in testWeights()
|