Home
last modified time | relevance | path

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

12345

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DULocale.java743 cmp = getCountry().compareTo(other.getCountry()); in compareTo()
894 public String getCountry() { in getCountry() method in ULocale
905 public static String getCountry(String localeID) { in getCountry() method in ULocale
906 return new LocaleIDParser(localeID).getCountry(); in getCountry()
939 region = locale.getCountry(); in getRegionForSupplementalData()
942 region = maximized.getCountry(); in getRegionForSupplementalData()
1171 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1211 … !parser.getCountry().isEmpty() ? parser.getCountry() : replaceLocale.getCountry(), in canonicalize()
1222 if (!parser.getScript().isEmpty() && !parser.getCountry().isEmpty()) { in canonicalize()
1225 … lscvToID(parser.getLanguage(), parser.getScript(), parser.getCountry(), null)) in canonicalize()
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/i18n/
DPhoneRegion.java41 comparing(r -> r.locale().getCountry(),
74 String s = locale().getCountry(); in toString()
91 String regionStr = locale().getCountry(); in getEnglishNameForXmlComments()
/third_party/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()
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DLocaleNameTest.java55 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()
DTestUtil.java37 return new Locale(locale.getLanguage(), locale.getCountry(), variant); in toICUExtendedLocale()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java782 cmp = getCountry().compareTo(other.getCountry()); in compareTo()
942 public String getCountry() { in getCountry() method in ULocale
954 public static String getCountry(String localeID) { in getCountry() method in ULocale
955 return new LocaleIDParser(localeID).getCountry(); in getCountry()
988 region = locale.getCountry(); in getRegionForSupplementalData()
991 region = maximized.getCountry(); in getRegionForSupplementalData()
1378 (aliasFrom.startsWith("und") && ! testLocale.getCountry().isEmpty())) { in loadAliasData()
1613 .getCountry(); in replaceRegion()
1756 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1763 parser.getLanguage(), parser.getScript(), parser.getCountry(), in canonicalize()
[all …]
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDemoUtility.java114 if (l1.getCountry().equals(l2.getCountry())) { in compareLocales()
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
DPreferencesDialog.java125 String loccoun = Resources.getLocale().getCountry(); in initComponents()
243 country = Resources.getCountry(encoding); in updatePreferences()
253 country = Resources.getCountry(encoding); in updatePreferences()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleValidityChecker.java73 final String region = locale.getCountry(); in isValid()
280 String localeRegion = locale.getCountry(); in isSubdivision()
283 localeRegion = max.getCountry(); in isSubdivision()
DXLikelySubtags.java171 String region = locale.getCountry(); in canonicalize()
197 return makeMaximizedLsr(locale.getLanguage(), locale.getScript(), locale.getCountry(), in makeMaximizedLsrFrom()
208 return makeMaximizedLsr(locale.getLanguage(), locale.getScript(), locale.getCountry(), in makeMaximizedLsrFrom()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DLocaleValidityChecker.java78 final String region = locale.getCountry(); in isValid()
285 String localeRegion = locale.getCountry(); in isSubdivision()
288 localeRegion = max.getCountry(); in isSubdivision()
DXLikelySubtags.java178 String region = locale.getCountry(); in canonicalize()
203 return makeMaximizedLsr(locale.getLanguage(), locale.getScript(), locale.getCountry(), in makeMaximizedLsrFrom()
213 return makeMaximizedLsr(locale.getLanguage(), locale.getScript(), locale.getCountry(), in makeMaximizedLsrFrom()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DTestLocaleNamePackaging.java93 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
106 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
/third_party/icu/icu4j/main/tests/packaging/src/com/ibm/icu/dev/test/
DTestLocaleNamePackaging.java90 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
103 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
Dgeocoding_warpper.cc30 PhoneNumberUtil::ErrorType type = util->Parse(number, uLocale.getCountry(), &phoneNumber); in exposeLocationName()
/third_party/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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleUtility.java121 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
DTZDBTimeZoneNames.java397 String region = _locale.getCountry(); in getTargetRegion()
400 region = tmp.getCountry(); in getTargetRegion()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DLocaleUtility.java123 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
DTZDBTimeZoneNames.java399 String region = _locale.getCountry(); in getTargetRegion()
402 region = tmp.getCountry(); in getTargetRegion()
/third_party/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapper.java74 String regionStr = languageCode.getCountry(); in getNameForValidNumber()
/third_party/icu/icu4c/source/common/unicode/
Dlocid.h484 inline const char * getCountry( ) const;
1182 Locale::getCountry() const in getCountry() function
/third_party/node/deps/icu-small/source/common/unicode/
Dlocid.h484 inline const char * getCountry( ) const;
1182 Locale::getCountry() const in getCountry() function
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocid.h484 inline const char * getCountry( ) const;
1182 Locale::getCountry() const in getCountry() function
/third_party/node/deps/v8/src/objects/
Djs-locale.cc425 .setRegion(result.getCountry()) in Maximize()
460 .setRegion(result.getCountry()) in Minimize()
638 const char* region = icu_locale.getCountry(); in TimeZones()
794 const char* region = locale->icu_locale().raw()->getCountry(); in Region()

12345