Home
last modified time | relevance | path

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

1234

/external/cldr/tools/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-unittest/src/org/unicode/cldr/unittest/
DLikelySubtagsTest.java19 import org.unicode.cldr.util.LanguageTagParser;
60 final LanguageTagParser ltp = new LanguageTagParser(); in Tags()
107 void add(LanguageTagParser ltp, boolean source) { in add()
150 final LanguageTagParser maxLtp = new LanguageTagParser();
151 final LanguageTagParser sourceLtp = new LanguageTagParser();
218 final LanguageTagParser ltp = new LanguageTagParser(); in TestCompleteness()
250 LanguageTagParser ltp = new LanguageTagParser(); in TestStability()
DTestInheritance.java29 import org.unicode.cldr.util.LanguageTagParser;
76 LanguageTagParser ltp = new LanguageTagParser(); in TestLocalesHaveOfficial()
200 LanguageTagParser ltp = new LanguageTagParser().set(s); in show()
236 LanguageTagParser ltp = new LanguageTagParser().set(lang); in removeScript()
246 LanguageTagParser ltp = new LanguageTagParser(); in TestLikelyAndDefaultConsistency()
388 private void verifyScriptsWithDefaultContents(LanguageTagParser ltp, in verifyScriptsWithDefaultContents()
453 LanguageTagParser ltp, Relation<String, String> base2scripts, in verifyLikelySubtagsImplicationsForDefaultContents()
548 LanguageTagParser ltp, Map<String, String> parent2default, in verifyDefaultContentsImplicationsForLikelySubtags()
780 LanguageTagParser ltp = new LanguageTagParser();
788 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()
281 LanguageTagParser ltp = new LanguageTagParser(); in TestConsistency()
486 LanguageTagParser ltp = new LanguageTagParser().set(localeId); in TestLocaleDisplay()
536 String localeBase = "en-" + (LanguageTagParser.isTKey(key) ? "t-" : "u-") + key + "-"; in TestLocaleDisplay()
618 LanguageTagParser ltp = new LanguageTagParser(); in testAllVariants()
731 …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()
175 LanguageTagParser parser = new LanguageTagParser().set(tag); in TestScriptsWithoutLanguage()
202 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;
39 LanguageTagParser ltp = new LanguageTagParser(); in TestCodes()
DTestCoverage.java16 import org.unicode.cldr.util.LanguageTagParser;
88 LanguageTagParser ltp = new LanguageTagParser(); in TestLocales()
/external/cldr/tools/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()
DScriptPopulations.java10 import org.unicode.cldr.util.LanguageTagParser;
25 LanguageTagParser languageTagParser = new LanguageTagParser(); in main()
DGeneratePluralConfirmation.java14 import org.unicode.cldr.util.LanguageTagParser;
66 LanguageTagParser ltp = new LanguageTagParser(); in mainOld2()
104 LanguageTagParser ltp = new LanguageTagParser(); in mainOld()
DGenerateAliases.java16 import org.unicode.cldr.util.LanguageTagParser;
43 LanguageTagParser ltp = new LanguageTagParser();
119 LanguageTagParser ltp = new LanguageTagParser().set(localeID); in hasMultipleScripts()
DGenerateMaximalLocales.java35 import org.unicode.cldr.util.LanguageTagParser;
329 LanguageTagParser additionLtp = new LanguageTagParser();
524 LanguageTagParser ltp = new LanguageTagParser(); in printDefaultLanguagesAndScripts()
717 LanguageTagParser ltp = new LanguageTagParser(); in printDefaultContent()
999 LanguageTagParser additionLtp = new LanguageTagParser(); in tryDifferentAlgorithm()
1218 LanguageTagParser ltp = new LanguageTagParser(); in maximize()
1282 LanguageTagParser ltp = new LanguageTagParser().set(maximized); in minimize()
1635 LanguageTagParser parser = new LanguageTagParser().set(locale); in printingName()
1735 LanguageTagParser parser = new LanguageTagParser(); in minimize()
1736 LanguageTagParser targetParser = new LanguageTagParser(); in minimize()
[all …]
DCompareSuppress.java12 import org.unicode.cldr.util.LanguageTagParser;
32 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.java38 import org.unicode.cldr.util.LanguageTagParser;
149 final LanguageTagParser languageTagParser = new LanguageTagParser(); in main()
167 String region = new LanguageTagParser().set(locale).getRegion(); in main()
286 LanguageTagParser ltp = new LanguageTagParser(); in writeNewBasicData2()
458 LanguageTagParser ltp = new LanguageTagParser(); in checkBasicData()
928 LanguageTagParser ltp = new LanguageTagParser(); in writeTerritoryLanguageData()
1126 LanguageTagParser ltp = new LanguageTagParser(); in getExcelData()
1266 LanguageTagParser ltp2 = new LanguageTagParser(); in getCldrParents()
1306 LanguageTagParser ltp = new LanguageTagParser(); in getProcessedParent()
1326 LanguageTagParser ltp = new LanguageTagParser().set(languageCode); in getFullyResolved()
[all …]
DDeriveScripts.java18 import org.unicode.cldr.util.LanguageTagParser;
47 LanguageTagParser ltp = new LanguageTagParser();
DLanguageCodeConverter.java19 import org.unicode.cldr.util.LanguageTagParser;
135 LanguageTagParser ltp = new LanguageTagParser();
/external/cldr/tools/java/org/unicode/cldr/draft/
DGenerateLanguageData.java16 import org.unicode.cldr.util.LanguageTagParser;
44 LanguageTagParser ltp = new LanguageTagParser(); in run()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckForCopy.java13 import org.unicode.cldr.util.LanguageTagParser;
240 LanguageTagParser ltp = new LanguageTagParser().set(localeID); in setCldrFileToCheck()

1234