/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/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/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()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | LocaleNameTest.java | 55 String country = forLocale.getCountry(); in TestLanguageNames() 172 if (forLocale.getCountry().length() == 0) { in TestCountryNames() 178 if (icuname.equals(forULocale.getCountry()) || icuname.length() == 0) { in TestCountryNames() 244 …ale forLocaleSingleVar = new Locale(forLocale.getLanguage(), forLocale.getCountry(), locSingleVar); in TestVariantNames()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | LocaleMatcher.java | 169 String region = ulocale.getCountry(); in canonicalize() 372 final String region = languageCode.getCountry(); in addLikelySubtags() 422 if (region != null && !region.equals(ulocale.getCountry())) { in matches() 662 …diff += regionScores.getScore(aMax, a.getCountry(), aMax.getCountry(), bMax, b.getCountry(), bMax.… in match()
|
D | ULocale.java | 728 cmp = getCountry().compareTo(other.getCountry()); in compareTo() 854 public String getCountry() { in getCountry() method in ULocale 865 public static String getCountry(String localeID) { in getCountry() method in ULocale 866 return new LocaleIDParser(localeID).getCountry(); in getCountry() 899 region = locale.getCountry(); in getRegionForSupplementalData() 902 region = maximized.getCountry(); in getRegionForSupplementalData() 1154 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize() 1258 return LocaleIDs.getISO3Country(getCountry(localeID)); in getISO3Country() 1556 .regionDisplayName(locale.getCountry()); in getDisplayCountryInternal() 1921 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage() [all …]
|
/external/cldr/tools/java/com/ibm/icu/util/ |
D | LocaleMatcher.java | 159 String region = ulocale.getCountry(); in canonicalize() 360 final String region = languageCode.getCountry(); in addLikelySubtags() 410 if (region != null && !region.equals(ulocale.getCountry())) { in matches() 635 …diff += regionScores.getScore(aMax, a.getCountry(), aMax.getCountry(), bMax, b.getCountry(), bMax.… in match()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 172 String region = ulocale.getCountry(); in canonicalize() 379 final String region = languageCode.getCountry(); in addLikelySubtags() 429 if (region != null && !region.equals(ulocale.getCountry())) { in matches() 668 …diff += regionScores.getScore(aMax, a.getCountry(), aMax.getCountry(), bMax, b.getCountry(), bMax.… in match()
|
D | ULocale.java | 779 cmp = getCountry().compareTo(other.getCountry()); in compareTo() 913 public String getCountry() { in getCountry() method in ULocale 925 public static String getCountry(String localeID) { in getCountry() method in ULocale 926 return new LocaleIDParser(localeID).getCountry(); in getCountry() 959 region = locale.getCountry(); in getRegionForSupplementalData() 962 region = maximized.getCountry(); in getRegionForSupplementalData() 1228 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize() 1338 return LocaleIDs.getISO3Country(getCountry(localeID)); in getISO3Country() 1649 .regionDisplayName(locale.getCountry()); in getDisplayCountryInternal() 2039 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
D | ConfigurationV25.java | 30 final int c = loc.getCountry().length(); in localesToResourceQualifier() 41 sb.append("-r").append(loc.getCountry()); in localesToResourceQualifier() 52 sb.append(loc.getCountry()); in localesToResourceQualifier()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckChildren.java | 77 if (myLocale.getCountry() != null && myLocale.getCountry().length() == 2) { in setCldrFileToCheck()
|
/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/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | XLikelySubtags.java | 195 "x8", locale.getLanguage() + locale.getScript() + locale.getCountry(), ""); 197 return new LSR(locale.getLanguage(), locale.getScript(), locale.getCountry()); 208 "x8", locale.getLanguage() + locale.getScript() + locale.getCountry(), ""); 210 return fromMaximalized(locale.getLanguage(), locale.getScript(), locale.getCountry()); 425 return maximize(source.getLanguage(), source.getScript(), source.getCountry());
|
D | LocaleValidityChecker.java | 73 final String region = locale.getCountry(); in isValid() 280 String localeRegion = locale.getCountry(); in isSubdivision() 283 localeRegion = max.getCountry(); in isSubdivision()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | XLikelySubtags.java | 205 "x8", locale.getLanguage() + locale.getScript() + locale.getCountry(), ""); 207 return new LSR(locale.getLanguage(), locale.getScript(), locale.getCountry()); 218 "x8", locale.getLanguage() + locale.getScript() + locale.getCountry(), ""); 220 return fromMaximalized(locale.getLanguage(), locale.getScript(), locale.getCountry()); 435 return maximize(source.getLanguage(), source.getScript(), source.getCountry());
|
D | LocaleValidityChecker.java | 78 final String region = locale.getCountry(); in isValid() 285 String localeRegion = locale.getCountry(); in isSubdivision() 288 localeRegion = max.getCountry(); in isSubdivision()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CLDRLocale.java | 66 return ldn.regionDisplayName(cldrLocale.getCountry()); in getDisplayCountry() 74 String r = cldrLocale.getCountry(); in getDisplayName() 184 if (file != null) return file.getName("territory", cldrLocale.getCountry()); in getDisplayCountry() 487 public String getCountry() {
|
/external/icu/icu4j/main/tests/packaging/src/com/ibm/icu/dev/test/ |
D | TestLocaleNamePackaging.java | 90 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames() 103 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | TestLocaleNamePackaging.java | 93 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames() 106 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CheckLangTagBNF.java | 175 System.out.println("locale.getCountry " + loc.getCountry()); in main() 181 System.out.println("ulocale.getCountry " + loc2.getCountry()); in main() 287 checkStrings("country", ltp.getRegion(), slp.getCountry()); in checkParse()
|
/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/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/ |
D | CodeBean.java | 28 public String getCountry() { in getCountry() method in CodeBean
|
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | LocaleUtility.java | 121 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
|