/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | LanguageTagCanonicalizer.java | 11 import org.unicode.cldr.util.LanguageTagParser.OutputOption; 28 private final LanguageTagParser ltp1 = new LanguageTagParser(); 29 private final LanguageTagParser ltp2 = new LanguageTagParser(); 100 private String get(LanguageTagParser parser) { in get() 135 LanguageTagParser x = new LanguageTagParser().set(languageTag).setRegion(""); in getReplacement() 170 public void transform(LanguageTagParser ltp1) { in transform()
|
D | LanguageTagParser.java | 38 public class LanguageTagParser { class 161 LanguageTagParser lparser = new LanguageTagParser(); in getLanguageAndScript() 203 public LanguageTagParser set(String languageTag) { in set() 480 public LanguageTagParser setRegion(String region) { in setRegion() 485 public LanguageTagParser setScript(String script) { in setScript() 675 public LanguageTagParser setLanguage(String language) { in setLanguage() 696 public LanguageTagParser setLocaleExtensions(Map<String, String> localeExtensions) { in setLocaleExtensions() 701 public LanguageTagParser setVariants(Collection<String> newVariants) { in setVariants() 714 public LanguageTagParser setExtensions(Map<String, String> newExtensions) { in setExtensions()
|
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
D | LikelySubtagsTest.java | 19 import org.unicode.cldr.util.LanguageTagParser; 61 final LanguageTagParser ltp = new LanguageTagParser(); in Tags() 108 void add(LanguageTagParser ltp, boolean source) { in add() 151 final LanguageTagParser maxLtp = new LanguageTagParser(); 152 final LanguageTagParser sourceLtp = new LanguageTagParser(); 221 final LanguageTagParser ltp = new LanguageTagParser(); in TestCompleteness() 253 LanguageTagParser ltp = new LanguageTagParser(); in TestStability()
|
D | TestInheritance.java | 29 import org.unicode.cldr.util.LanguageTagParser; 77 LanguageTagParser ltp = new LanguageTagParser(); in TestLocalesHaveOfficial() 201 LanguageTagParser ltp = new LanguageTagParser().set(s); in show() 237 LanguageTagParser ltp = new LanguageTagParser().set(lang); in removeScript() 247 LanguageTagParser ltp = new LanguageTagParser(); in TestLikelyAndDefaultConsistency() 410 private void verifyScriptsWithDefaultContents(LanguageTagParser ltp, in verifyScriptsWithDefaultContents() 476 LanguageTagParser ltp, Relation<String, String> base2scripts, in verifyLikelySubtagsImplicationsForDefaultContents() 571 LanguageTagParser ltp, Map<String, String> parent2default, in verifyDefaultContentsImplicationsForLikelySubtags() 803 LanguageTagParser ltp = new LanguageTagParser(); 811 LanguageTagParser ltp3 = new LanguageTagParser().set(locale); in minimize() [all …]
|
D | TestLocale.java | 30 import org.unicode.cldr.util.LanguageTagParser; 31 import org.unicode.cldr.util.LanguageTagParser.Format; 81 LanguageTagParser ltp = new LanguageTagParser(); in TestLanguageRegions() 183 LanguageTagParser ltp = new LanguageTagParser(); in TestLocalePartsValidity() 240 LanguageTagParser ltp) { in checkLocale() 284 LanguageTagParser ltp = new LanguageTagParser(); in TestConsistency() 494 LanguageTagParser ltp = new LanguageTagParser().set(localeId); in TestLocaleDisplay() 544 String localeBase = "en-" + (LanguageTagParser.isTKey(key) ? "t-" : "u-") + key + "-"; in TestLocaleDisplay() 626 LanguageTagParser ltp = new LanguageTagParser(); in testAllVariants() 739 …private void showItem(LanguageTagParser ltp, String extension, String key, String gorp, String... … in showItem()
|
D | LanguageTest.java | 15 import org.unicode.cldr.util.LanguageTagParser; 105 LanguageTagParser parser = new LanguageTagParser(); in TestThatLanguagesHaveScript() 177 LanguageTagParser parser = new LanguageTagParser().set(tag); in TestScriptsWithoutLanguage() 204 LanguageTagParser parser = new LanguageTagParser().set(input); in getLocaleName()
|
D | TestIdentity.java | 12 import org.unicode.cldr.util.LanguageTagParser; 25 LanguageTagParser ltp = new LanguageTagParser(); in TestIdentityVsFilename()
|
D | TestLocalCurrency.java | 14 import org.unicode.cldr.util.LanguageTagParser; 42 LanguageTagParser ltp = new LanguageTagParser(); in TestConsistency()
|
D | TestLanguageGroup.java | 14 import org.unicode.cldr.util.LanguageTagParser; 43 LanguageTagParser ltp = new LanguageTagParser(); in TestCodes()
|
D | TestCoverage.java | 16 import org.unicode.cldr.util.LanguageTagParser; 88 LanguageTagParser ltp = new LanguageTagParser(); in TestLocales()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/ |
D | LikelySubtags.java | 13 import org.unicode.cldr.util.LanguageTagParser; 14 import org.unicode.cldr.util.LanguageTagParser.OutputOption; 119 LanguageTagParser ltp = new LanguageTagParser(); in maximize() 128 private String maximize(LanguageTagParser ltp) { in maximize() 235 LanguageTagParser ltp = new LanguageTagParser().set(maximized); in minimize() 279 script = new LanguageTagParser().set(max).getScript(); in getLikelyScript()
|
D | KeymanCheck.java | 18 import org.unicode.cldr.util.LanguageTagParser; 130 LanguageTagParser ltp = new LanguageTagParser(); in prettyprint() 158 static LanguageTagParser ltp = new LanguageTagParser();
|
D | ShowChildren.java | 14 import org.unicode.cldr.util.LanguageTagParser; 31 LanguageTagParser ltp = new LanguageTagParser(); in main() 99 private static String getParentWithoutRegion(LanguageTagParser ltp, String locale) { in getParentWithoutRegion()
|
D | GeneratePluralConfirmation.java | 14 import org.unicode.cldr.util.LanguageTagParser; 67 LanguageTagParser ltp = new LanguageTagParser(); in mainOld2() 105 LanguageTagParser ltp = new LanguageTagParser(); in mainOld()
|
D | ScriptPopulations.java | 10 import org.unicode.cldr.util.LanguageTagParser; 25 LanguageTagParser languageTagParser = new LanguageTagParser(); in main()
|
D | ListGrammarInfo.java | 13 import org.unicode.cldr.util.LanguageTagParser; 24 LanguageTagParser ltp = new LanguageTagParser(); in main()
|
D | GenerateAliases.java | 16 import org.unicode.cldr.util.LanguageTagParser; 43 LanguageTagParser ltp = new LanguageTagParser(); 119 LanguageTagParser ltp = new LanguageTagParser().set(localeID); in hasMultipleScripts()
|
D | GenerateMaximalLocales.java | 36 import org.unicode.cldr.util.LanguageTagParser; 357 LanguageTagParser additionLtp = new LanguageTagParser(); 557 LanguageTagParser ltp = new LanguageTagParser(); in printDefaultLanguagesAndScripts() 781 LanguageTagParser ltp = new LanguageTagParser(); in printDefaultContent() 1038 LanguageTagParser additionLtp = new LanguageTagParser(); in tryDifferentAlgorithm() 1290 LanguageTagParser ltp = new LanguageTagParser(); in maximize() 1354 LanguageTagParser ltp = new LanguageTagParser().set(maximized); in minimize() 1526 LanguageTagParser parser = new LanguageTagParser().set(locale); in printingName() 1626 LanguageTagParser parser = new LanguageTagParser(); in minimize() 1627 LanguageTagParser targetParser = new LanguageTagParser(); in minimize() [all …]
|
D | CompareSuppress.java | 12 import org.unicode.cldr.util.LanguageTagParser; 31 LanguageTagParser ltp = new LanguageTagParser(); in main()
|
D | GenerateLikelySubtagTests.java | 14 import org.unicode.cldr.util.LanguageTagParser; 52 LanguageTagParser ltp = new LanguageTagParser(); in main()
|
D | FindPreferredHours.java | 19 import org.unicode.cldr.util.LanguageTagParser; 154 final LanguageTagParser ltp = new LanguageTagParser(); in main() 311 LanguageTagParser ltp = new LanguageTagParser().set(locale); in isOfficial()
|
D | ConvertLanguageData.java | 40 import org.unicode.cldr.util.LanguageTagParser; 150 final LanguageTagParser languageTagParser = new LanguageTagParser(); in main() 168 String region = new LanguageTagParser().set(locale).getRegion(); in main() 284 LanguageTagParser ltp = new LanguageTagParser(); in writeNewBasicData2() 456 LanguageTagParser ltp = new LanguageTagParser(); in checkBasicData() 926 LanguageTagParser ltp = new LanguageTagParser(); in writeTerritoryLanguageData() 1124 LanguageTagParser ltp = new LanguageTagParser(); in getExcelData() 1264 LanguageTagParser ltp2 = new LanguageTagParser(); in getCldrParents() 1304 LanguageTagParser ltp = new LanguageTagParser(); in getProcessedParent() 1324 LanguageTagParser ltp = new LanguageTagParser().set(languageCode); in getFullyResolved() [all …]
|
D | CheckLangTagBNF.java | 20 import org.unicode.cldr.util.LanguageTagParser; 218 LanguageTagParser ltp = new LanguageTagParser(); in main() 264 private static void checkParse(LanguageTagParser ltp, SimpleLocaleParser slp, String test) { in checkParse()
|
D | DeriveScripts.java | 18 import org.unicode.cldr.util.LanguageTagParser; 47 LanguageTagParser ltp = new LanguageTagParser();
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/ |
D | GenerateLanguageData.java | 16 import org.unicode.cldr.util.LanguageTagParser; 44 LanguageTagParser ltp = new LanguageTagParser(); in run()
|