Home
last modified time | relevance | path

Searched refs:localeCode (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDayPeriodRules.java245 String localeCode = locale.getBaseName(); in getInstance() local
246 if (localeCode.isEmpty()) { localeCode = "root"; } in getInstance()
250 ruleSetNum = DATA.localesToRuleSetNumMap.get(localeCode); in getInstance()
252 localeCode = ULocale.getFallback(localeCode); in getInstance()
253 if (localeCode.isEmpty()) { in getInstance()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDayPeriodRules.java252 String localeCode = locale.getBaseName(); in getInstance() local
253 if (localeCode.isEmpty()) { localeCode = "root"; } in getInstance()
257 ruleSetNum = DATA.localesToRuleSetNumMap.get(localeCode); in getInstance()
259 localeCode = ULocale.getFallback(localeCode); in getInstance()
260 if (localeCode.isEmpty()) { in getInstance()
/external/cldr/tools/java/org/unicode/cldr/tool/
DFixDelimiters.java124 String localeCode = localeString.group(1);
125 locales2delimiters.put(localeCode, both); in locales2delimiters.put() argument
DShowData.java638 String localeCode = nameAndCode.getValue();
639 if (localeCode.equals(locale)) {
654 pw.print(getLinkedLocaleName(localeCode));
656 pw.print(getLocaleMinusBaseAndCode(localeCode));
DConvertLanguageData.java1374 public static String getProcessedParent(String localeCode) { in getProcessedParent() argument
1375 if (localeCode == null || localeCode.equals("root")) return null; in getProcessedParent()
1376 int pos = localeCode.lastIndexOf('_'); in getProcessedParent()
1379 String script = ltp.set(localeCode).getScript(); in getProcessedParent()
1381 return getFullyResolved(localeCode); in getProcessedParent()
1383 return localeCode.substring(0, pos); in getProcessedParent()
DShowLanguages.java1358 String localeCode = locale.equals("*") ? "und" : locale; in showCoverageGoals() local
1359 String alias = getAlias(localeCode); in showCoverageGoals()
1360 if (!alias.equals(localeCode)) { in showCoverageGoals()
1363 String baseLang = ltp.set(localeCode).getLanguage(); in showCoverageGoals()
1365 list.add("und".equals(localeCode) ? "other" : baseLangName); in showCoverageGoals()
/external/icu/icu4c/source/i18n/
Ddayperiodrules.cpp343 const char *localeCode = locale.getBaseName(); in getInstance() local
347 if (uprv_strlen(localeCode) < ULOC_FULLNAME_CAPACITY) { in getInstance()
348 uprv_strcpy(name, localeCode); in getInstance()
/external/cldr/tools/java/org/unicode/cldr/draft/
DMisc.java241 for (String localeCode : locales) { in showExemplarSize()
242 String baseLanguage = ltp.set(localeCode).getLanguage(); in showExemplarSize()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp861 const char *localeCode; member
959 if (uprv_strcmp(code, languageMap[i].localeCode) == 0) { in getLanguageCode()