/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateLanguageData.java | 60 for (String languageCode : all) { in main() 61 xpp.setAttribute(-1, LDMLConstants.TYPE, languageCode); in main() 64 newEn.add(xpp.toString(), oldEn.getName(languageCode)); in main() 69 !oldValue.equals(languageCode)) { in main() 87 for (String languageCode : languageCodes) { in main() 88 Set<String> suffixes = Iso639Data.getEncompassedForMacro(languageCode); in main() 101 languageCode in main() 102 + "\t" + (bcp47languages.contains(languageCode) ? "4646" : "new") in main() 103 …+ "\t" + Iso639Data.getNames(languageCode).iterator().next() // Utility.join(iso639Data.getNames(l… in main() 115 for (String languageCode : languageCodes) { in main() [all …]
|
D | ConvertLanguageData.java | 291 ltp.set(rowData.languageCode); in writeNewBasicData2() 292 String languageCode = ltp.getLanguage(); in writeNewBasicData2() local 293 …BasicLanguageData.Type, String> status_territories = language_status_territories.get(languageCode); in writeNewBasicData2() 295 language_status_territories.put(languageCode, status_territories = Relation.of( in writeNewBasicData2() 588 private final String languageCode; field in ConvertLanguageData.RowData 603 this.languageCode = language; in RowData() 645 languageCode = fixLanguageCode(languageCode1, row); in RowData() 658 …how("official language has population < 1% of country & < 1,000,000", languageCode + ", " + Math.r… in RowData() 662 …BadItem.WARNING.show("suspect language population, < 1", languageCode + ", " + Math.round(language… in RowData() 705 + (showLang ? "\t" + languageCode + "\t" + getLanguageName(languageCode) : "") in showDiff() [all …]
|
D | ShowLanguages.java | 1078 …for (String languageCode : supplementalDataInfo.getLanguagesForTerritoryWithPopulationData(territo… in showLanguageCountryInfo() 1079 …uageData = supplementalDataInfo.getLanguageAndTerritoryPopulationData(languageCode, territoryCode); in showLanguageCountryInfo() 1080 languages.add(languageCode); in showLanguageCountryInfo() 1082 getFirstPrimaryWeight(getLanguageName(languageCode)), in showLanguageCountryInfo() 1083 … getLanguageName(languageCode), // + getLanguagePluralMessage(msg, languageCode), in showLanguageCountryInfo() 1084 languageCode, in showLanguageCountryInfo() 1086 territoryName + getOfficialStatus(territoryCode, languageCode), in showLanguageCountryInfo() 1095 … getLanguageName(languageCode), // + getLanguagePluralMessage(msg, languageCode), in showLanguageCountryInfo() 1096 languageCode, in showLanguageCountryInfo() 1099 getRawOfficialStatus(territoryCode, languageCode), in showLanguageCountryInfo() [all …]
|
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoder.java | 112 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForValidNumber() argument 113 String langStr = languageCode.getLanguage(); in getDescriptionForValidNumber() 115 String regionStr = languageCode.getCountry(); in getDescriptionForValidNumber() 139 ? areaDescription : getCountryNameForNumber(number, languageCode); in getDescriptionForValidNumber() 164 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, in getDescriptionForValidNumber() argument 171 return getDescriptionForValidNumber(number, languageCode); in getDescriptionForValidNumber() 174 return getRegionDisplayName(regionCode, languageCode); in getDescriptionForValidNumber() 188 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForNumber() argument 193 return getCountryNameForNumber(number, languageCode); in getDescriptionForNumber() 195 return getDescriptionForValidNumber(number, languageCode); in getDescriptionForNumber() [all …]
|
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoder.java | 115 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForValidNumber() argument 116 String langStr = languageCode.getLanguage(); in getDescriptionForValidNumber() 118 String regionStr = languageCode.getCountry(); in getDescriptionForValidNumber() 142 ? areaDescription : getCountryNameForNumber(number, languageCode); in getDescriptionForValidNumber() 167 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, in getDescriptionForValidNumber() argument 174 return getDescriptionForValidNumber(number, languageCode); in getDescriptionForValidNumber() 177 return getRegionDisplayName(regionCode, languageCode); in getDescriptionForValidNumber() 192 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForNumber() argument 197 return getCountryNameForNumber(number, languageCode); in getDescriptionForNumber() 199 return getDescriptionForValidNumber(number, languageCode); in getDescriptionForNumber() [all …]
|
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberToCarrierMapper.java | 73 public String getNameForValidNumber(PhoneNumber number, Locale languageCode) { in getNameForValidNumber() argument 74 String langStr = languageCode.getLanguage(); in getNameForValidNumber() 76 String regionStr = languageCode.getCountry(); in getNameForValidNumber() 91 public String getNameForNumber(PhoneNumber number, Locale languageCode) { in getNameForNumber() argument 94 return getNameForValidNumber(number, languageCode); in getNameForNumber() 109 public String getSafeDisplayName(PhoneNumber number, Locale languageCode) { in getSafeDisplayName() argument 113 return getNameForNumber(number, languageCode); in getSafeDisplayName()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | GenerateLanguageData.java | 46 for (String languageCode : info.getLanguages()) { in run() 47 languageNameToCode.put(english.getName(languageCode), languageCode); in run() local 67 for (String languageCode : info.getLanguages()) { in run() 68 String languageName = english.getName(languageCode); in run() 70 String baseLanguage = languageCode; in run() 71 ltp.set(languageCode); in run() 77 Set<String> territories = info.getTerritoriesForPopulationData(languageCode); in run() 89 … PopulationData data = info.getLanguageAndTerritoryPopulationData(languageCode, territory); in run() 108 out.println(fixLang(languageCode) in run()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
D | LocaleNameProviderICU.java | 32 public String getDisplayLanguage(String languageCode, Locale locale) { in getDisplayLanguage() argument 33 languageCode = AsciiUtil.toLowerString(languageCode); in getDisplayLanguage() 35 .languageDisplayName(languageCode); in getDisplayLanguage() 36 if (disp == null || disp.length() == 0 || disp.equals(languageCode)) { in getDisplayLanguage()
|
/external/cldr/tools/java/com/ibm/icu/util/ |
D | LocaleMatcher.java | 247 private ULocale getBestMatchInternal(ULocale languageCode, OutputDouble outputWeight) { in getBestMatchInternal() argument 248 languageCode = canonicalize(languageCode); in getBestMatchInternal() 249 final ULocale maximized = addLikelySubtags(languageCode); in getBestMatchInternal() 251 System.out.println("\ngetBestMatchInternal: " + languageCode + ";\t" + maximized); in getBestMatchInternal() 263 final double match = match(languageCode, maximized, tableKey, maxLocale); in getBestMatchInternal() 344 private ULocale addLikelySubtags(ULocale languageCode) { in addLikelySubtags() argument 352 if (languageCode.equals(UNKNOWN_LOCALE)) { in addLikelySubtags() 355 final ULocale result = ULocale.addLikelySubtags(languageCode); in addLikelySubtags() 357 if (result == null || result.equals(languageCode)) { in addLikelySubtags() 358 final String language = languageCode.getLanguage(); in addLikelySubtags() [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/ |
D | AndroidInterceptors.java | 167 static String adjustLanguageCode(String languageCode) { 168 String adjusted = languageCode.toLowerCase(Locale.US); 171 if (languageCode.equals("he")) { 173 } else if (languageCode.equals("id")) { 175 } else if (languageCode.equals("yi")) {
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | AndroidInterceptorsTest.java | 40 private Object adjust(String languageCode) { in adjust() argument 41 return AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor.adjustLanguageCode(languageCode); in adjust()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | xmlreader.cpp | 185 le_int32 languageCode = -1; in readTestFile() local 197 languageCode = getLanguageCode(lang); in readTestFile() 199 if (languageCode < 0) { in readTestFile() 244 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
|
D | xmlreader.h | 21 le_int32 languageCode,
|
/external/icu/icu4c/source/test/letest/ |
D | xmlreader.cpp | 181 le_int32 languageCode = -1; in readTestFile() local 193 languageCode = getLanguageCode(lang); in readTestFile() 195 if (languageCode < 0) { in readTestFile() 240 …(*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCoun… in readTestFile()
|
D | gendata.cpp | 204 le_int32 languageCode = -1; in main() local 220 languageCode = getLanguageCode(lang); in main() 222 if (languageCode < 0) { in main() 309 … engine = LayoutEngine::layoutEngineFactory(font, scriptCode, languageCode, typoFlags, leStatus); in main()
|
D | xmlreader.h | 20 le_int32 languageCode,
|
/external/fonttools/Lib/fontTools/designspaceLib/ |
D | __init__.py | 293 def setStyleName(self, styleName, languageCode="en"): argument 294 self.localisedStyleName[languageCode] = tostr(styleName) 296 def getStyleName(self, languageCode="en"): argument 297 return self.localisedStyleName.get(languageCode) 299 def setFamilyName(self, familyName, languageCode="en"): argument 300 self.localisedFamilyName[languageCode] = tostr(familyName) 302 def getFamilyName(self, languageCode="en"): argument 303 return self.localisedFamilyName.get(languageCode) 305 def setStyleMapStyleName(self, styleMapStyleName, languageCode="en"): argument 306 self.localisedStyleMapStyleName[languageCode] = tostr(styleMapStyleName) [all …]
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
D | MappingFileProvider.java | 166 String languageCode = findBestMatchingLanguageCode(setOfLangs, language, script, region); in getFileName() local 167 if (languageCode.length() > 0) { in getFileName() 169 fileName.append(countryCallingCode).append('_').append(languageCode); in getFileName()
|
/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/ |
D | MappingFileProvider.java | 168 String languageCode = findBestMatchingLanguageCode(setOfLangs, language, script, region); in getFileName() local 169 if (languageCode.length() > 0) { in getFileName() 171 fileName.append(countryCallingCode).append('_').append(languageCode); in getFileName()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | LanguageInfo.java | 53 public static LanguageInfo get(String languageCode) { in get() argument 54 return languageCodeToInfo.get(languageCode); in get()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocalePriorityList.java | 349 for (final ULocale languageCode : locales) { 350 add(languageCode, 1.0);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | LocalePriorityList.java | 335 for (final ULocale languageCode : locales) { 336 add(languageCode, 1.0);
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 67 String languageCode = "en"; // Default languageCode to English if nothing is entered. in doPost() local 86 languageCode = languageEntered; in doPost() 108 Locale geocodingLocale = new Locale(languageCode, regionCode); in doPost()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/ |
D | TestCustomEnumKeyDeserializer.java | 58 …public void serialize(TestEnum languageCode, JsonGenerator g, SerializerProvider serializerProvide… in serialize() argument 59 g.writeString(languageCode.code()); in serialize()
|
/external/libphonenumber/demo/war/ |
D | phonenumberparser.jsp | 28 <input type="text" name="languageCode" size="2">-<input type="text" name="regionCode"
|