Home
last modified time | relevance | path

Searched refs:baseLanguage (Results 1 – 13 of 13) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/tool/
DScriptPopulations.java34 String baseLanguage = languageTagParser.set(language).getLanguage(); in main() local
44 String lang = baseLanguage + "_" + script; in main()
55 String baseLanguage = languageTagParser.set(lang).getLanguage(); in main() local
60 baseLanguage + "\t" + script in main()
62 + "\t" + english.getName(baseLanguage) in main()
DShowData.java155 String baseLanguage = ls.minimize(ltp.set(max).getLanguageScript()); in main() local
156 if (baseLanguage.equals(locale)) { in main()
160 parentToChildren.put(baseLanguage, locale); in main()
DConvertLanguageData.java975 String baseLanguage = ltp.set(baseScriptLanguage).getLanguage(); in writeTerritoryLanguageData() local
976 if (!baseLanguage.equals(baseScriptLanguage)) { in writeTerritoryLanguageData()
977 addBestRegion(baseLanguage, countryCode, languagePopulationRaw); in writeTerritoryLanguageData()
978 … addBestScript(baseLanguage, ltp.set(languageCode).getScript(), languagePopulationRaw); in writeTerritoryLanguageData()
1437 String baseLanguage = lidp.set(locale).getLanguage(); in showDefaults() local
1438 if (locales.contains(baseLanguage) && !locales.contains(locale)) { in showDefaults()
DShowLanguages.java460 …ate static void addOfficialTerritory(LanguageTagParser ltp, String language, String baseLanguage) { in addOfficialTerritory() argument
470 territoryFix.put(baseLanguage, territory); in addOfficialTerritory()
471 … System.out.println("\tAdding\t" + baseLanguage + "\t" + territory + "\t" + language); in addOfficialTerritory()
/external/cldr/tools/java/org/unicode/cldr/draft/
DGenerateLanguageData.java70 String baseLanguage = languageCode; in run() local
74 baseLanguage = ltp.getLanguage(); in run()
92 langToPopulation.add(baseLanguage, pop); in run()
95 Counter2<String> counter = langToCountriesOfficial.get(baseLanguage); in run()
97 langToCountriesOfficial.put(baseLanguage, counter = new Counter2<>()); in run()
DMisc.java242 String baseLanguage = ltp.set(localeCode).getLanguage(); in showExemplarSize() local
243 R2<List<String>, String> temp = lang2replacement.get(baseLanguage); in showExemplarSize()
245 baseLanguage = temp.get0().get(0); in showExemplarSize()
247 String englishName = english.getName(baseLanguage); in showExemplarSize()
248 CLDRFile cldrFile = factory.make(baseLanguage, false); in showExemplarSize()
258 String nativeName = cldrFile.getName(baseLanguage); in showExemplarSize()
260 … .add(englishName + "\t" + nativeName + "\t" + baseLanguage + "\t" + UScript.getShortName(script)); in showExemplarSize()
/external/cldr/tools/java/org/unicode/cldr/util/
DCoreCoverageInfo.java79 String baseLanguage = ltp.getLanguage(); in getCoreCoverageInfo() local
121 if (sdi.getPluralLocales(PluralType.cardinal).contains(baseLanguage)) { in getCoreCoverageInfo()
126 if (sdi.getPluralLocales(PluralType.ordinal).contains(baseLanguage)) { in getCoreCoverageInfo()
159 territories = sdi.getTerritoriesForPopulationData(baseLanguage); in getCoreCoverageInfo()
205 if (hasFile(SpecialDir.casing, baseLanguage)) { in getCoreCoverageInfo()
219 if (hasFile(SpecialDir.collation, baseLanguage)) { in getCoreCoverageInfo()
DSupplementalDataInfo.java1824 String baseLanguage = languageTagParser.set(language).getLanguage();
1825 data = baseLanguageToPopulation.get(baseLanguage);
1827 … baseLanguageToPopulation.put(baseLanguage, data = new PopulationData().set(newData));
1831 if (!baseLanguage.equals(language)) {
1832 languageToScriptVariants.put(baseLanguage, language);
4078 public String getDefaultScript(String baseLanguage) {
4079 String ls = likelySubtags.get(baseLanguage);
/external/cldr/tools/java/org/unicode/cldr/test/
DConsoleCheckCLDR.java542 String baseLanguage = localeIDParser.set(localeID).getLanguageScript(); in main() local
544 if (!baseLanguage.equals(lastBaseLanguage)) { in main()
545 lastBaseLanguage = baseLanguage; in main()
546 ErrorFile.openErrorFile(localeID, baseLanguage); in main()
1046 private static void openErrorFile(String localeID, String baseLanguage) throws IOException { in openErrorFile() argument
1051 …eWriter = FileUtilities.openUTF8Writer(ErrorFile.generated_html_directory, baseLanguage + ".html"); in openErrorFile()
1074 ErrorFile.htmlOpenedFileLanguage = baseLanguage; in openErrorFile()
1217 final String baseLanguage = ltp.set(htmlOpenedFileLanguage).getLanguage(); in showErrorFileIndex() local
1219 .addCell(baseLanguage) in showErrorFileIndex()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java261 String baseLanguage = maximized.getLanguage(); in getBestMatchInternal() local
262 …Locale, Double>> searchTable = desiredLanguageToPossibleLocalesToMaxLocaleToData.get(baseLanguage); in getBestMatchInternal()
/external/cldr/tools/java/com/ibm/icu/util/
DLocaleMatcher.java255 String baseLanguage = maximized.getLanguage(); in getBestMatchInternal() local
256 …Locale, Double>> searchTable = desiredLanguageToPossibleLocalesToMaxLocaleToData.get(baseLanguage); in getBestMatchInternal()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java268 String baseLanguage = maximized.getLanguage(); in getBestMatchInternal() local
269 …Locale, Double>> searchTable = desiredLanguageToPossibleLocalesToMaxLocaleToData.get(baseLanguage); in getBestMatchInternal()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java1571 String baseLanguage = loc.getLanguage(); in TestDefaultScripts() local
1572 String defaultScript = supp.getDefaultScript(baseLanguage); in TestDefaultScripts()
1575 .get(baseLanguage); in TestDefaultScripts()
1580 String likely = likelyData.get(baseLanguage); in TestDefaultScripts()
1584 .getBasicLanguageDataMap(baseLanguage); in TestDefaultScripts()