Searched refs:country (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/native/
H A Djava_props_md.c139 char *language = NULL, *country = NULL, *variant = NULL, local
183 * <language name>_<country name>.<encoding name>@<variant name>
184 * <country name>, <encoding name>, and <variant name> are optional.
191 /* Parse the language, country, encoding, and variant from the
200 * no country name, and this facility is used to map each language
201 * to a default country if that's possible. It's also used to map
227 if ((country = strchr(temp, '_')) != NULL) {
228 *country++ = '\0';
249 /* Normalize the country name */
250 if (std_country != NULL && country !
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DCurrency.java107 * Returns the <code>Currency</code> instance for the country of the
118 * @param locale the locale for whose country a <code>Currency</code>
120 * @return the <code>Currency</code> instance for the country of the given
122 * @exception NullPointerException if <code>locale</code> or its country
124 * @exception IllegalArgumentException if the country of the given {@code locale}
125 * is not a supported ISO 3166 country code.
132 String country = locale.getCountry();
135 country = country + "_" + variant;
137 String currencyCode = ICU.getCurrencyCode(country);
[all...]
H A DLocale.java69 * according to the customs and conventions of the user's native country,
115 * <dt><a name="def_region"><b>country (region)</b></a></dt>
117 * <dd>ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code.
118 * You can find a full list of valid country and region codes in the
120 * country (region) field is case insensitive, but
123 * <dd>Well-formed country/region values have
244 * {@link #Locale(String language, String country)}
245 * {@link #Locale(String language, String country, String variant)}
249 * with language, country and variant, but you cannot specify
343 * about itself. Use <code>getCountry</code> to get the country (o
731 Locale(String language, String country, String variant) argument
761 Locale(String language, String country) argument
793 createConstant(String lang, String country) argument
812 getInstance(String language, String country, String variant) argument
816 getInstance(String language, String script, String country, String variant, LocaleExtensions extensions) argument
2401 getCompatibilityExtensions(String language, String script, String country, String variant) argument
[all...]
H A DResourceBundle.java914 * locale's language, script, country, and variant are all empty strings,
917 * specified locale (language, script, country and variant) and appended to
921 * baseName + "_" + language + "_" + script + "_" + country + "_" + variant
922 * baseName + "_" + language + "_" + script + "_" + country
924 * baseName + "_" + language + "_" + country + "_" + variant
925 * baseName + "_" + language + "_" + country
930 * are omitted, along with the underscore. For example, if country is an
946 * "Latn, country "US" and variant "WINDOWS_VISTA", and bundle base name
2210 * respectively represent non-empty language, script, country, and
2213 * country
[all...]
H A DTimeZone.java682 String country);
681 getSystemTimeZoneID(String javaHome, String country) argument
/libcore/ojluni/src/main/java/sun/security/x509/
H A DX500Name.java201 * @param country two letter country code, e.g. "CH"
204 String organizationName, String country)
222 new DerValue(country));
238 * @param country two letter country code, e.g. "CH"
242 String stateName, String country)
266 new DerValue(country));
1198 /** OID for the "C=" attribute, denoting a country. */
203 X500Name(String commonName, String organizationUnit, String organizationName, String country) argument
240 X500Name(String commonName, String organizationUnit, String organizationName, String localityName, String stateName, String country) argument
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java1497 public static final int country = 0; field in class:R

Completed in 286 milliseconds