/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
D | ReportTaskLocaleTest.java | 30 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/ |
D | ICULocaleServiceProvider.java | 87 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/ |
D | LocaleUtils.java | 28 String country = locale.getCountry(); in getLocale() 62 : Locale.getDefault().getCountry(); in getDefaultCountryCode()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | ContentLanguage.java | 120 if ( "".equals(locale.getCountry())) { in getLanguageTag() 123 return locale.getLanguage() + '-' + locale.getCountry(); in getLanguageTag()
|
D | AcceptLanguage.java | 190 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/ |
D | LocaleNameTest.java | 52 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/ |
D | LocaleMatcher.java | 168 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()
|
D | ULocale.java | 843 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/ |
D | LocaleMatcher.java | 165 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()
|
D | ULocale.java | 777 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/ |
D | DemoUtility.java | 114 if (l1.getCountry().equals(l2.getCountry())) { in compareLocales()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | TestLocaleNamePackaging.java | 88 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames() 101 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
|
/external/icu/icu4c/source/common/unicode/ |
D | locid.h | 406 inline const char * getCountry( ) const; 778 Locale::getCountry() const in getCountry() function
|
/external/icu/icu4j/main/tests/packaging/src/com/ibm/icu/dev/test/ |
D | TestLocaleNamePackaging.java | 87 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/ |
D | LocaleValidityChecker.java | 73 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/ |
D | LocaleValidityChecker.java | 75 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/ |
D | CodeBean.java | 28 public String getCountry() { in getCountry() method in CodeBean
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | ULocale.java | 815 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/ |
D | HolidayCalendarDemo.java | 202 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/ |
D | XResourceBundle.java | 103 String country = locale.getCountry(); in getResourceSuffix()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | LocaleUtility.java | 121 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | LocaleUtility.java | 123 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
D | NodeSortKey.java | 101 Locale.getDefault().getCountry()); in NodeSortKey()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/ |
D | LocaleUtility.java | 121 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
|
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberToCarrierMapper.java | 76 String regionStr = languageCode.getCountry(); in getNameForValidNumber()
|