/external/cldr/tools/java/org/unicode/cldr/util/ |
D | IsoCurrencyParser.java | 114 private String countryCode; field in IsoCurrencyParser.Data 118 public Data(String countryCode, String name, int numericCode, int minor_unit) { in Data() argument 119 this.countryCode = countryCode; in Data() 126 return countryCode; in getCountryCode() 142 return String.format("[%s,\t%s [%s],\t%d]", name, countryCode, in toString() 143 StandardCodes.make().getData("territory", countryCode), numericCode); in toString() 149 if (0 != (result = countryCode.compareTo(other.countryCode))) return result; in compareTo()
|
D | Unlocode.java | 315 String countryCode = list[1]; in load() local 316 if (!countryCode.equals(oldCountryCode)) { in load() 318 oldCountryCode = countryCode; in load() 352 subdivision = countryCode + "-" + subdivision; in load() 365 String locode = countryCode + locSuffix; in load() 648 String countryCode = CountryCodeConverter.getCodeFromName(countryName); in add() local 649 if (countryCode == null) { in add() 656 countryName = ULocale.getDisplayCountry("und-" + countryCode, ULocale.ENGLISH); in add() 666 … errors2.add("** No matching record for\t" + countryName + "\t" + countryCode + "\t" + cityName); in add() 670 if (x.locode.startsWith(countryCode)) { in add() [all …]
|
D | TimezoneFormatter.java | 631 String countryCode = (String) localizedCountry_countryCode.get(inputText); in parse() local 632 if (countryCode == null) countryCode = country; // if not, try raw code in parse() 633 return (String) country_zone.get(countryCode); in parse() 697 String countryCode = matchesPart(path, countryPrefix, "\"]"); in buildParsingInfo() local 698 if (countryCode != null) { in buildParsingInfo() 700 if (name != null) localizedCountry_countryCode.put(name, countryCode); in buildParsingInfo()
|
D | VerifyZones.java | 144 String countryCode = TimeZone.getRegion(zone); 145 … String englishTerritory = ULocale.getDisplayCountry("und-" + countryCode, ULocale.ENGLISH); 146 nameToCountry.put(englishTerritory, countryCode); in nameToCountry.put() argument
|
D | Annotations.java | 352 String countryCode = EmojiConstants.getFlagCode(code); in synthesize() local 353 String path = CLDRFile.getKey(CLDRFile.TERRITORY_NAME, countryCode); in synthesize()
|
D | StandardCodes.java | 341 public Set<String> getMainCurrencies(String countryCode) { in getMainCurrencies() argument 342 return country_modernCurrency.get(countryCode); in getMainCurrencies()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ConvertLanguageData.java | 290 if (rowData.countryCode.equals("ZZ")) continue; in writeNewBasicData2() 300 status_territories.put(BasicLanguageData.Type.primary, rowData.countryCode); in writeNewBasicData2() 304 status_territories.put(BasicLanguageData.Type.secondary, rowData.countryCode); in writeNewBasicData2() 584 private final String countryCode; field in ConvertLanguageData.RowData 602 this.countryCode = country; in RowData() 606 countryGdp = roundToPartsPer(AddPopulationData.getGdp(countryCode).doubleValue(), 1000); in RowData() 607 countryLiteracy = AddPopulationData.getLiteracy(countryCode).doubleValue() / 100.0d; in RowData() 608 countryPopulation = AddPopulationData.getPopulation(countryCode).doubleValue(); in RowData() 614 countryCode = fixCountryCode(row.get(COUNTRY_CODE), row); in RowData() 616 if (!countryCodes.contains(countryCode)) { in RowData() [all …]
|
D | GenerateG2xG2.java | 90 for (String countryCode : worldBankInfo.keySet()) { in main() 91 … if (priorityMap.get(countryCode) == null) continue; // only use ones we already have: defaults G4 in main() 92 List<String> values = worldBankInfo.get(countryCode); in main() 95 addPriority("G0", countryCode); in main() 97 addPriority("G1", countryCode); in main() 99 addPriority("G2", countryCode); in main() 100 else if (euCodes.contains(countryCode)) addPriority("G3", countryCode); in main()
|
D | SubdivisionNode.java | 669 final String countryCode = entry.getKey(); in printEnglishComp() local 670 if (!countryCode.equals(lastCC)) { in printEnglishComp() 676 lastCC = countryCode; in printEnglishComp() 687 ENGLISH_ICU.regionDisplayName(countryCode) in printEnglishComp() 704 final String countryCode = entry.getKey(); in printEnglishCompFull() local 711 ENGLISH_ICU.regionDisplayName(countryCode) in printEnglishCompFull()
|
D | Misc.java | 1138 String countryCode = data.get(2); in printTimezonesToLocalize() local 1139 String country = english.getName(CLDRFile.TERRITORY_NAME, countryCode); in printTimezonesToLocalize()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
D | LocaleNameProviderICU.java | 21 public String getDisplayCountry(String countryCode, Locale locale) { in getDisplayCountry() argument 22 countryCode = AsciiUtil.toUpperString(countryCode); in getDisplayCountry() 24 .regionDisplayName(countryCode); in getDisplayCountry() 25 if (disp == null || disp.length() == 0 || disp.equals(countryCode)) { in getDisplayCountry()
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 1722 int countryCode = number.getCountryCode(); 1723 if (!hasValidCountryCallingCode(countryCode)) { 1743 if (countryCode == NANPA_COUNTRY_CODE) { 1745 return countryCode + " " + rawInput; 1748 && countryCode == getCountryCodeForValidRegion(regionCallingFrom)) { 1781 String regionCode = getRegionCodeForCountryCode(countryCode); 1783 PhoneMetadata metadataForRegion = getMetadataForRegionOrCallingCode(countryCode, regionCode); 1787 formattedNumber.insert(0, " ").insert(0, countryCode).insert(0, " ") 1798 prefixNumberWithCountryCallingCode(countryCode, 2276 int countryCode = number.getCountryCode(); [all …]
|
D | AsYouTypeFormatter.java | 593 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode); in attemptToExtractCountryCallingCode() local 594 if (countryCode == 0) { in attemptToExtractCountryCallingCode() 599 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode); in attemptToExtractCountryCallingCode() 601 currentMetadata = phoneUtil.getMetadataForNonGeographicalRegion(countryCode); in attemptToExtractCountryCallingCode() 605 String countryCodeString = Integer.toString(countryCode); in attemptToExtractCountryCallingCode()
|
D | PhoneNumberMatcher.java | 458 String countryCode = Integer.toString(number.getCountryCode()); in allNumberGroupsRemainGrouped() local 459 fromIndex = normalizedCandidate.indexOf(countryCode) + countryCode.length(); in allNumberGroupsRemainGrouped()
|
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 1758 int countryCode = number.getCountryCode(); 1759 if (!hasValidCountryCallingCode(countryCode)) { 1779 if (countryCode == NANPA_COUNTRY_CODE) { 1781 return countryCode + " " + rawInput; 1784 && countryCode == getCountryCodeForValidRegion(regionCallingFrom)) { 1817 String regionCode = getRegionCodeForCountryCode(countryCode); 1819 PhoneMetadata metadataForRegion = getMetadataForRegionOrCallingCode(countryCode, regionCode); 1823 formattedNumber.insert(0, " ").insert(0, countryCode).insert(0, " ") 1834 prefixNumberWithCountryCallingCode(countryCode, 2315 int countryCode = number.getCountryCode(); [all …]
|
D | AsYouTypeFormatter.java | 599 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode); in attemptToExtractCountryCallingCode() local 600 if (countryCode == 0) { in attemptToExtractCountryCallingCode() 605 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode); in attemptToExtractCountryCallingCode() 607 currentMetadata = phoneUtil.getMetadataForNonGeographicalRegion(countryCode); in attemptToExtractCountryCallingCode() 611 String countryCodeString = Integer.toString(countryCode); in attemptToExtractCountryCallingCode()
|
D | PhoneNumberMatcher.java | 459 String countryCode = Integer.toString(number.getCountryCode()); in allNumberGroupsRemainGrouped() local 460 fromIndex = normalizedCandidate.indexOf(countryCode) + countryCode.length(); in allNumberGroupsRemainGrouped()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TimeZoneGenericNames.java | 239 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary); in getGenericLocationName() local 240 if (countryCode != null) { in getGenericLocationName() 243 String country = getLocaleDisplayNames().regionDisplayName(countryCode); in getGenericLocationName() 549 String countryCode = ZoneMeta.getCanonicalCountry(tzID); in getPartialLocationName() local 550 if (countryCode != null) { in getPartialLocationName() 552 String regionalGolden = _tznames.getReferenceZoneID(mzID, countryCode); in getPartialLocationName() 555 location = getLocaleDisplayNames().regionDisplayName(countryCode); in getPartialLocationName()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | TimeZoneGenericNames.java | 243 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary); in getGenericLocationName() local 244 if (countryCode != null) { in getGenericLocationName() 247 String country = getLocaleDisplayNames().regionDisplayName(countryCode); in getGenericLocationName() 553 String countryCode = ZoneMeta.getCanonicalCountry(tzID); in getPartialLocationName() local 554 if (countryCode != null) { in getPartialLocationName() 556 String regionalGolden = _tznames.getReferenceZoneID(mzID, countryCode); in getPartialLocationName() 559 location = getLocaleDisplayNames().regionDisplayName(countryCode); in getPartialLocationName()
|
/external/icu/icu4c/source/i18n/ |
D | tzgnames.cpp | 539 char countryCode[ULOC_COUNTRY_CAPACITY]; in getGenericLocationName() local 541 …2_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_… in getGenericLocationName() 542 countryCode[ccLen] = 0; in getGenericLocationName() 545 fLocaleDisplayNames->regionDisplayName(countryCode, country); in getGenericLocationName() 782 char countryCode[ULOC_COUNTRY_CAPACITY]; in getPartialLocationName() local 784 …2_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_… in getPartialLocationName() 785 countryCode[ccLen] = 0; in getPartialLocationName() 788 fTimeZoneNames->getReferenceZoneID(mzID, countryCode, regionalGolden); in getPartialLocationName() 791 fLocaleDisplayNames->regionDisplayName(countryCode, location); in getPartialLocationName()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TrieMapTest.java | 97 for (String countryCode : ULocale.getISOCountries()) { in init() 98 localeName = ULocale.getDisplayCountry("und-" + countryCode, locale); in init() 99 if (!localeName.equals(countryCode)) { in init()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TrieMapTest.java | 94 for (String countryCode : ULocale.getISOCountries()) { in init() 95 localeName = ULocale.getDisplayCountry("und-" + countryCode, locale); in init() 96 if (!localeName.equals(countryCode)) { in init()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | ExampleGenerator.java | 1196 String countryCode = supplementalDataInfo.getZone_territory(timezone); in handleTimeZoneName() local 1197 if (countryCode == null) { in handleTimeZoneName() 1205 if (countryCode.equals("001")) { in handleTimeZoneName() 1215 … String countryName = setBackground(cldrFile.getName(CLDRFile.TERRITORY_NAME, countryCode)); in handleTimeZoneName() 1216 boolean singleZone = !supplementalDataInfo.getMultizones().contains(countryCode); in handleTimeZoneName() 1257 String countryCode = supplementalDataInfo.getZone_territory(timezone); in handleTimeZoneName() local 1266 … .getWinningValue("//ldml/localeDisplayNames/territories/territory[@type=\"" + countryCode in handleTimeZoneName() 1268 … boolean singleZone = !(supplementalDataInfo.getMultizones().contains(countryCode)); in handleTimeZoneName()
|