Home
last modified time | relevance | path

Searched refs:LanguageTagParser (Results 1 – 25 of 77) sorted by relevance

1234

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DLanguageTagCanonicalizer.java11 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()
DLanguageTagParser.java38 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/
DLikelySubtagsTest.java19 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()
DTestInheritance.java29 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 …]
DTestLocale.java30 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()
DLanguageTest.java15 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()
DTestIdentity.java12 import org.unicode.cldr.util.LanguageTagParser;
25 LanguageTagParser ltp = new LanguageTagParser(); in TestIdentityVsFilename()
DTestLocalCurrency.java14 import org.unicode.cldr.util.LanguageTagParser;
42 LanguageTagParser ltp = new LanguageTagParser(); in TestConsistency()
DTestLanguageGroup.java14 import org.unicode.cldr.util.LanguageTagParser;
43 LanguageTagParser ltp = new LanguageTagParser(); in TestCodes()
DTestCoverage.java16 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/
DLikelySubtags.java13 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()
DKeymanCheck.java18 import org.unicode.cldr.util.LanguageTagParser;
130 LanguageTagParser ltp = new LanguageTagParser(); in prettyprint()
158 static LanguageTagParser ltp = new LanguageTagParser();
DShowChildren.java14 import org.unicode.cldr.util.LanguageTagParser;
31 LanguageTagParser ltp = new LanguageTagParser(); in main()
99 private static String getParentWithoutRegion(LanguageTagParser ltp, String locale) { in getParentWithoutRegion()
DGeneratePluralConfirmation.java14 import org.unicode.cldr.util.LanguageTagParser;
67 LanguageTagParser ltp = new LanguageTagParser(); in mainOld2()
105 LanguageTagParser ltp = new LanguageTagParser(); in mainOld()
DScriptPopulations.java10 import org.unicode.cldr.util.LanguageTagParser;
25 LanguageTagParser languageTagParser = new LanguageTagParser(); in main()
DListGrammarInfo.java13 import org.unicode.cldr.util.LanguageTagParser;
24 LanguageTagParser ltp = new LanguageTagParser(); in main()
DGenerateAliases.java16 import org.unicode.cldr.util.LanguageTagParser;
43 LanguageTagParser ltp = new LanguageTagParser();
119 LanguageTagParser ltp = new LanguageTagParser().set(localeID); in hasMultipleScripts()
DGenerateMaximalLocales.java36 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 …]
DCompareSuppress.java12 import org.unicode.cldr.util.LanguageTagParser;
31 LanguageTagParser ltp = new LanguageTagParser(); in main()
DGenerateLikelySubtagTests.java14 import org.unicode.cldr.util.LanguageTagParser;
52 LanguageTagParser ltp = new LanguageTagParser(); in main()
DFindPreferredHours.java19 import org.unicode.cldr.util.LanguageTagParser;
154 final LanguageTagParser ltp = new LanguageTagParser(); in main()
311 LanguageTagParser ltp = new LanguageTagParser().set(locale); in isOfficial()
DConvertLanguageData.java40 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 …]
DCheckLangTagBNF.java20 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()
DDeriveScripts.java18 import org.unicode.cldr.util.LanguageTagParser;
47 LanguageTagParser ltp = new LanguageTagParser();
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/
DGenerateLanguageData.java16 import org.unicode.cldr.util.LanguageTagParser;
44 LanguageTagParser ltp = new LanguageTagParser(); in run()

1234