Home
last modified time | relevance | path

Searched refs:getCountry (Results 1 – 25 of 94) sorted by relevance

1234

/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DReportTaskLocaleTest.java30 assertEquals("", locale.getCountry()); in testNone()
39 assertEquals("", locale.getCountry()); in testLanguage()
48 assertEquals("FR", locale.getCountry()); in testLanguageCountry()
57 assertEquals("CH", locale.getCountry()); in testLanguageCountryVariant()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java87 String country = result.getCountry(); in toULocaleNoSpecialVariant()
122 …splocs.put(new Locale(spLoc.getLanguage(), spLoc.getCountry(), var + "_" + getIcuSuffix()), spLoc); in getSpecialLocalesMap()
144 if (uloc.getScript().length() > 0 && uloc.getCountry().length() > 0) { in getLocales()
173 String country = loc.getCountry(); in addLocale()
189 Locale locNN = new Locale(uloc.getLanguage(), uloc.getCountry(), uloc.getVariant()); in addULocale()
/external/libmojo/base/android/java/src/org/chromium/base/
DLocaleUtils.java28 String country = locale.getCountry(); in getLocale()
62 : Locale.getDefault().getCountry(); in getDefaultCountryCode()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentLanguage.java120 if ( "".equals(locale.getCountry())) { in getLanguageTag()
123 return locale.getLanguage() + '-' + locale.getCountry(); in getLanguageTag()
DAcceptLanguage.java190 if ( "".equals(language.getCountry())) { in setAcceptLanguage()
193 this.languageRange = language.getLanguage() + '-' + language.getCountry(); in setAcceptLanguage()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DLocaleNameTest.java52 String country = forLocale.getCountry(); in TestLanguageNames()
169 if (forLocale.getCountry().length() == 0) { in TestCountryNames()
175 if (icuname.equals(forULocale.getCountry()) || icuname.length() == 0) { in TestCountryNames()
241 …ale forLocaleSingleVar = new Locale(forLocale.getLanguage(), forLocale.getCountry(), locSingleVar); in TestVariantNames()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java168 String region = ulocale.getCountry(); in canonicalize()
375 final String region = languageCode.getCountry(); in addLikelySubtags()
425 if (region != null && !region.equals(ulocale.getCountry())) { in matches()
658 …diff += regionScores.getScore(aMax, a.getCountry(), aMax.getCountry(), bMax, b.getCountry(), bMax. in match()
DULocale.java843 cmp = getCountry().compareTo(other.getCountry()); in compareTo()
977 public String getCountry() { in getCountry() method in ULocale
989 public static String getCountry(String localeID) { in getCountry() method in ULocale
990 return new LocaleIDParser(localeID).getCountry(); in getCountry()
1023 region = locale.getCountry(); in getRegionForSupplementalData()
1026 region = maximized.getCountry(); in getRegionForSupplementalData()
1293 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1403 return LocaleIDs.getISO3Country(getCountry(localeID)); in getISO3Country()
1714 .regionDisplayName(locale.getCountry()); in getDisplayCountryInternal()
2104 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java165 String region = ulocale.getCountry(); in canonicalize()
368 final String region = languageCode.getCountry(); in addLikelySubtags()
418 if (region != null && !region.equals(ulocale.getCountry())) { in matches()
651 …diff += regionScores.getScore(aMax, a.getCountry(), aMax.getCountry(), bMax, b.getCountry(), bMax. in match()
DULocale.java777 cmp = getCountry().compareTo(other.getCountry()); in compareTo()
903 public String getCountry() { in getCountry() method in ULocale
914 public static String getCountry(String localeID) { in getCountry() method in ULocale
915 return new LocaleIDParser(localeID).getCountry(); in getCountry()
948 region = locale.getCountry(); in getRegionForSupplementalData()
951 region = maximized.getCountry(); in getRegionForSupplementalData()
1204 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1308 return LocaleIDs.getISO3Country(getCountry(localeID)); in getISO3Country()
1606 .regionDisplayName(locale.getCountry()); in getDisplayCountryInternal()
1970 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage()
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDemoUtility.java114 if (l1.getCountry().equals(l2.getCountry())) { in compareLocales()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DTestLocaleNamePackaging.java88 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
101 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
/external/icu/icu4c/source/common/unicode/
Dlocid.h406 inline const char * getCountry( ) const;
778 Locale::getCountry() const in getCountry() function
/external/icu/icu4j/main/tests/packaging/src/com/ibm/icu/dev/test/
DTestLocaleNamePackaging.java87 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
100 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleValidityChecker.java73 final String region = locale.getCountry(); in isValid()
274 String localeRegion = locale.getCountry(); in isSubdivision()
277 localeRegion = max.getCountry(); in isSubdivision()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleValidityChecker.java75 final String region = locale.getCountry(); in isValid()
276 String localeRegion = locale.getCountry(); in isSubdivision()
279 localeRegion = max.getCountry(); in isSubdivision()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/
DCodeBean.java28 public String getCountry() { in getCountry() method in CodeBean
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java815 public String getCountry() { in getCountry() method in ULocale
816 return getCountry(localeID); in getCountry()
827 public static String getCountry(String localeID) { in getCountry() method in ULocale
828 return new LocaleIDParser(localeID).getCountry(); in getCountry()
1093 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1197 return LocaleIDs.getISO3Country(getCountry(localeID)); in getISO3Country()
1817 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage()
2323 String alternateRegion = parser.getCountry(); in createTagString()
3183 baseLocale = BaseLocale.getInstance(language, getScript(), getCountry(), getVariant()); in base()
3494 String country = loc.getCountry(); in toULocale7()
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java202 calendars[i].getCountry().equals(calendars[i-1].getCountry()) || in buildGUI()
204 calendars[i].getCountry().equals(calendars[i+1].getCountry())) in buildGUI()
/external/apache-xml/src/main/java/org/apache/xml/utils/res/
DXResourceBundle.java103 String country = locale.getCountry(); in getResourceSuffix()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleUtility.java121 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DLocaleUtility.java123 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DNodeSortKey.java101 Locale.getDefault().getCountry()); in NodeSortKey()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/
DLocaleUtility.java121 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapper.java76 String regionStr = languageCode.getCountry(); in getNameForValidNumber()

1234