Home
last modified time | relevance | path

Searched refs:parentLocale (Results 1 – 10 of 10) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/tool/resolver/
DCldrResolver.java234 String parentLocale = locale; in resolveLocaleInternal() local
236 parentLocale = LocaleIDParser.getSimpleParent(parentLocale); in resolveLocaleInternal()
237 ancestors.add(resolveLocale(parentLocale)); in resolveLocaleInternal()
238 } while (!parentLocale.equals(ROOT)); in resolveLocaleInternal()
/external/cldr/tools/java/org/unicode/cldr/tool/
DDiffWithParent.java37 String parentLocale = LocaleIDParser.getParent(locale); in main() local
38 CLDRFile parent = cldrFactory.make(parentLocale, true); // use in main()
59 table.addRow().addCell(pathName).addCell(parentLocale).addCell( in main()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java492 ULocale parentLocale = locale; in searchInTree() local
494 while (parentLocale != null) { in searchInTree()
498 ICUData.ICU_UNIT_BASE_NAME, parentLocale); in searchInTree()
512 parentLocale = parentLocale.getFallback(); in searchInTree()
516 if (parentLocale == null && resourceKey.equals("unitsShort")) { in searchInTree()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java494 ULocale parentLocale = locale; in searchInTree() local
496 while (parentLocale != null) { in searchInTree()
500 ICUData.ICU_UNIT_BASE_NAME, parentLocale); in searchInTree()
514 parentLocale = parentLocale.getFallback(); in searchInTree()
518 if (parentLocale == null && resourceKey.equals("unitsShort")) { in searchInTree()
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRLocale.java225 private volatile CLDRLocale parentLocale; field in CLDRLocale
415 CLDRLocale result = parentLocale; in getParent()
418 result = parentLocale; in getParent()
420 parentLocale = result = CLDRLocale.getInstance(parentId); in getParent()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestInheritance.java346 String parentLocale = dataInfo.getExplicitParentLocale(loc); in TestParentLocaleInvariants() local
347 if (parentLocale != null) { in TestParentLocaleInvariants()
348 if (!"root".equals(parentLocale) in TestParentLocaleInvariants()
350 .equals(lp.set(parentLocale).getLanguage())) { in TestParentLocaleInvariants()
351 errln("Parent locale [" + parentLocale + "] for locale [" in TestParentLocaleInvariants()
354 if (!"root".equals(parentLocale) in TestParentLocaleInvariants()
356 .equals(lp.set(parentLocale).getScript())) { in TestParentLocaleInvariants()
357 errln("Parent locale [" + parentLocale + "] for locale [" in TestParentLocaleInvariants()
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp559 char parentLocale[ULOC_FULLNAME_CAPACITY]; in searchInLocaleChain() local
560 uprv_strcpy(parentLocale, localeName); in searchInLocaleChain()
563 while ((locNameLen = uloc_getParent(parentLocale, parentLocale, in searchInLocaleChain()
566 LocalUResourceBundlePointer rb(ures_open(U_ICUDATA_UNIT, parentLocale, &status)); in searchInLocaleChain()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/regex/
DRegexTransformerTest.java170 CldrValue parentLocale = CldrValue.parseValue( in testValueSplitting() local
174 assertSingleResult(transformer.transform(parentLocale), in testValueSplitting()
/external/icu/tools/cldr/cldr-to-icu/src/main/resources/
Dldml2icu_supplemental.txt227 //supplementalData/parentLocales/parentLocale[@parent="(%A)"][@locales="(%A)"] ; /parentLocales/$1 …
/external/cldr/tools/java/org/unicode/cldr/util/data/
DPathHeader.txt385 //supplementalData/parentLocales/parentLocale[@parent="%A"]/_locales ; Supplemental ; Locale ; Pa…