Home
last modified time | relevance | path

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

123

/external/cldr/tools/java/org/unicode/cldr/util/
DLanguageTagCanonicalizer.java26 private final LanguageTagParser ltp1 = new LanguageTagParser();
27 private final LanguageTagParser ltp2 = new LanguageTagParser();
82 private String get(LanguageTagParser parser) { in get()
117 LanguageTagParser x = new LanguageTagParser().set(languageTag).setRegion(""); in getReplacement()
DLanguageTagParser.java37 public class LanguageTagParser { class
134 LanguageTagParser lparser = new LanguageTagParser(); in getLanguageAndScript()
177 public LanguageTagParser set(String languageTag) { in set()
404 public LanguageTagParser setRegion(String region) { in setRegion()
409 public LanguageTagParser setScript(String script) { in setScript()
504 public LanguageTagParser setLanguage(String language) { in setLanguage()
525 public LanguageTagParser setLocaleExtensions(Map<String, String> localeExtensions) { in setLocaleExtensions()
530 public LanguageTagParser setVariants(Collection<String> newVariants) { in setVariants()
543 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;
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();
219 final LanguageTagParser ltp = new LanguageTagParser(); in TestCompleteness()
251 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()
389 private void verifyScriptsWithDefaultContents(LanguageTagParser ltp, in verifyScriptsWithDefaultContents()
454 LanguageTagParser ltp, Relation<String, String> base2scripts, in verifyLikelySubtagsImplicationsForDefaultContents()
549 LanguageTagParser ltp, Map<String, String> parent2default, in verifyDefaultContentsImplicationsForLikelySubtags()
781 LanguageTagParser ltp = new LanguageTagParser();
999 LanguageTagParser ltp3 = new LanguageTagParser().set(locale); in minimize()
[all …]
DTestLocale.java25 import org.unicode.cldr.util.LanguageTagParser;
59 LanguageTagParser ltp = new LanguageTagParser(); in TestLanguageRegions()
161 LanguageTagParser ltp = new LanguageTagParser(); in TestLocalePartsValidity()
218 LanguageTagParser ltp) { in checkLocale()
259 LanguageTagParser ltp = new LanguageTagParser(); in TestConsistency()
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;
39 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/
DKeymanCheck.java18 import org.unicode.cldr.util.LanguageTagParser;
130 LanguageTagParser ltp = new LanguageTagParser(); in prettyprint()
158 static LanguageTagParser ltp = new LanguageTagParser();
DLikelySubtags.java13 import org.unicode.cldr.util.LanguageTagParser;
124 LanguageTagParser ltp = new LanguageTagParser(); in maximize()
232 LanguageTagParser ltp = new LanguageTagParser().set(maximized); in minimize()
276 script = new LanguageTagParser().set(max).getScript(); in getLikelyScript()
DShowChildren.java14 import org.unicode.cldr.util.LanguageTagParser;
32 LanguageTagParser ltp = new LanguageTagParser(); in main()
100 private static String getParentWithoutRegion(LanguageTagParser ltp, String locale) { in getParentWithoutRegion()
DGeneratePluralConfirmation.java14 import org.unicode.cldr.util.LanguageTagParser;
66 LanguageTagParser ltp = new LanguageTagParser(); in mainOld2()
104 LanguageTagParser ltp = new LanguageTagParser(); in mainOld()
DGenerateMaximalLocales.java34 import org.unicode.cldr.util.LanguageTagParser;
320 LanguageTagParser additionLtp = new LanguageTagParser();
512 LanguageTagParser ltp = new LanguageTagParser(); in printDefaultLanguagesAndScripts()
698 LanguageTagParser ltp = new LanguageTagParser(); in printDefaultContent()
976 LanguageTagParser additionLtp = new LanguageTagParser(); in tryDifferentAlgorithm()
1195 LanguageTagParser ltp = new LanguageTagParser(); in maximize()
1259 LanguageTagParser ltp = new LanguageTagParser().set(maximized); in minimize()
1612 LanguageTagParser parser = new LanguageTagParser().set(locale); in printingName()
1712 LanguageTagParser parser = new LanguageTagParser(); in minimize()
1713 LanguageTagParser targetParser = new LanguageTagParser(); in minimize()
[all …]
DScriptPopulations.java10 import org.unicode.cldr.util.LanguageTagParser;
25 LanguageTagParser languageTagParser = new LanguageTagParser(); in main()
DGenerateAliases.java16 import org.unicode.cldr.util.LanguageTagParser;
43 LanguageTagParser ltp = new LanguageTagParser();
121 LanguageTagParser ltp = new LanguageTagParser().set(localeID); in hasMultipleScripts()
DGenerateLikelySubtagTests.java14 import org.unicode.cldr.util.LanguageTagParser;
52 LanguageTagParser ltp = new LanguageTagParser(); in main()
DCompareSuppress.java12 import org.unicode.cldr.util.LanguageTagParser;
32 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()
925 LanguageTagParser ltp = new LanguageTagParser(); in writeTerritoryLanguageData()
1123 LanguageTagParser ltp = new LanguageTagParser(); in getExcelData()
1263 LanguageTagParser ltp2 = new LanguageTagParser(); in getCldrParents()
1378 LanguageTagParser ltp = new LanguageTagParser(); in getProcessedParent()
1398 LanguageTagParser ltp = new LanguageTagParser().set(languageCode); in getFullyResolved()
[all …]
DCheckLangTagBNF.java20 import org.unicode.cldr.util.LanguageTagParser;
227 LanguageTagParser ltp = new LanguageTagParser(); in main()
273 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/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.java15 import org.unicode.cldr.util.LanguageTagParser;
233 LanguageTagParser ltp = new LanguageTagParser().set(localeID); in setCldrFileToCheck()

123