Home
last modified time | relevance | path

Searched refs:languageAliases (Results 1 – 19 of 19) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DXLikelySubtags.java38 public final Map<String, String> languageAliases; field in XLikelySubtags.Data
43 public Data(Map<String, String> languageAliases, Map<String, String> regionAliases, in Data() argument
45 this.languageAliases = languageAliases; in Data()
68 Map<String, String> languageAliases; in load() local
71 languageAliases = new HashMap<>(pairs.length / 2); in load()
73 languageAliases.put(pairs[i], pairs[i + 1]); in load()
76 languageAliases = Collections.emptyMap(); in load()
101 return new Data(languageAliases, regionAliases, trie, lsrs); in load()
110 languageAliases.equals(od.languageAliases) && in equals()
125 private final Map<String, String> languageAliases; field in XLikelySubtags
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXLikelySubtags.java31 public final Map<String, String> languageAliases; field in XLikelySubtags.Data
36 public Data(Map<String, String> languageAliases, Map<String, String> regionAliases, in Data() argument
38 this.languageAliases = languageAliases; in Data()
61 Map<String, String> languageAliases; in load() local
64 languageAliases = new HashMap<>(pairs.length / 2); in load()
66 languageAliases.put(pairs[i], pairs[i + 1]); in load()
69 languageAliases = Collections.emptyMap(); in load()
94 return new Data(languageAliases, regionAliases, trie, lsrs); in load()
103 languageAliases.equals(od.languageAliases) && in equals()
118 private final Map<String, String> languageAliases; field in XLikelySubtags
[all …]
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLikelySubtagsBuilder.java154 Aliases languageAliases = Aliases.getAliases(supplementalData, AliasType.LANGUAGE); in build() local
157 makeTable(languageAliases, regionAliases, supplementalData); in build()
184 languageAliases.getCanonicalMap(), in build()
245 Aliases languageAliases, Aliases regionAliases, CldrData supplementalData) { in makeTable() argument
260 for (String languageAlias : languageAliases.getAliases(source.language)) { in makeTable()
DLocaleDistanceMapper.java133 icuData.add(LIKELY_LANGUAGES, ofMapEntries(likelyData.languageAliases)); in process()
/external/icu/icu4c/source/common/
Dloclikelysubtags.cpp56 CharStringMap languageAliases; member
167 languageAliases = CharStringMap(languagesLength / 2, errorCode); in load()
169 languageAliases.put(strings.get(languageIndexes[i]), in load()
282 languageAliases(std::move(data.languageAliases)), in XLikelySubtags()
377 language = getCanonical(languageAliases, language); in makeMaximizedLsr()
Dloclikelysubtags.h99 CharStringMap languageAliases; variable
/external/cldr/tools/java/org/unicode/cldr/tool/
DLanguageCodeConverter.java31 …private static Map<String, R2<List<String>, String>> languageAliases = CLDRConfig.getInstance().ge… field in LanguageCodeConverter
88 R2<List<String>, String> replacement = languageAliases.get(code);
147 R2<List<String>, String> alias = languageAliases.get(base);
DGenerateLanguageMatches.java45 Set<String> languageAliases = SDI.getLocaleAliasInfo().get("language").keySet(); in main() local
56 if (languageAliases.contains(locale)) { in main()
DGenerateMaximalLocales.java1032 …Map<String, R2<List<String>, String>> languageAliases = SupplementalDataInfo.getInstance().getLoca… in tryDifferentAlgorithm() local
1034 for (Entry<String, R2<List<String>, String>> str : languageAliases.entrySet()) { in tryDifferentAlgorithm()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DCheckLanguageCodeConverter.java57 Map<String, R2<List<String>, String>> languageAliases = supplementalDataInfo in main() local
60 for (Entry<String, R2<List<String>, String>> languageAlias : languageAliases in main()
110 for (Entry<String, R2<List<String>, String>> languageAlias : languageAliases in main()
/external/icu/libicu/cts_headers/
Dloclikelysubtags.h99 CharStringMap languageAliases; variable
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLikelySubtags.java177 Collection<String> languageAliases = canonicalToAliasLanguage.get(language); in init() local
178 if (languageAliases.isEmpty()) { in init()
179 languageAliases = Collections.singleton(language); in init()
185 for (String languageAlias : languageAliases) { in init()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLikelySubtagsBuilderTest.java42 assertThat(subtags.languageAliases).containsExactly("in", "id", "mo", "ro"); in testLanguageAliases()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLikelySubtagsBuilder.java243 Collection<String> languageAliases = languageAliasesBuilder.getAliases(language); in makeTable() local
245 for (String languageAlias : languageAliases) { in makeTable()
DLocaleDistanceBuilder.java899 out.println(" languageAliases{ // " + likelyData.languageAliases.size()); in main()
901 new TreeMap<>(likelyData.languageAliases).entrySet()) { in main()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/tool/locale/
DLikelySubtagsBuilder.java246 Collection<String> languageAliases = languageAliasesBuilder.getAliases(language); in makeTable() local
248 for (String languageAlias : languageAliases) { in makeTable()
DLocaleDistanceBuilder.java902 out.println(" languageAliases{ // " + likelyData.languageAliases.size()); in main()
904 new TreeMap<>(likelyData.languageAliases).entrySet()) { in main()
/external/icu/icu4c/source/data/misc/
DlangInfo.txt6 languageAliases{ // 225
232 } // languageAliases
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...