/openjdk7/jdk/test/java/util/Currency/ |
H A D | Bug4512215.java | 49 private static void testCountryCurrency(String country, String currencyCode, argument 52 Currency currency = Currency.getInstance(new Locale("", country)); 54 throw new RuntimeException("[" + country
|
H A D | ValidateISO4217.java | 85 /* Not defined in ISO 4217 list, but added in ISO 3166 country code list */ 93 /* Codes that are obsolete, do not have related country */ 126 String country = tokens.nextToken(); 127 if (country.length() != 2) { 161 int index = toIndex(country); 162 testCountryCurrency(country, currency, Integer.parseInt(numeric), 184 static void testCountryCurrency(String country, String currencyCode, argument 191 Locale loc = new Locale("", country); 195 System.err.println("Error: [" + country + ":" + 202 System.out.println("Warning: [" + country [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/ |
H A D | CollatorFactory.java | 35 public Collator getCollator(String lang, String country); argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/ |
H A D | CollatorFactoryBase.java | 42 public Collator getCollator(String lang, String country) { argument 43 return Collator.getInstance(new Locale(lang, country));
|
/openjdk7/jdk/src/share/native/java/util/ |
H A D | TimeZone.c | 41 jstring java_home, jstring country) 54 if (country != NULL) { 55 cname = JNU_GetStringPlatformChars(env, country, 0); 40 Java_java_util_TimeZone_getSystemTimeZoneID(JNIEnv *env, jclass ign, jstring java_home, jstring country) argument
|
/openjdk7/jdk/test/java/util/ResourceBundle/ |
H A D | Test4314141.java | 60 static void doTestCandidateOmission(String language, String country, String variant, argument 62 doTest("Test4314141A", language, country, variant, expectedSuffixes); 77 static void doTestExample(String language, String country, String[] expectedSuffixes) { argument 78 doTest("Test4314141B", language, country, "", expectedSuffixes); 81 static void doTest(String baseName, String language, String country, String variant, argument 83 System.out.print("Looking for " + baseName + " \"" + language + "\", \"" + country + "\", \"" + variant + "\""); 84 ResourceBundle bundle = ResourceBundle.getBundle(baseName, new Locale(language, country, variant));
|
/openjdk7/jdk/make/tools/src/build/tools/generatebreakiteratordata/ |
H A D | GenerateBreakIteratorData.java | 57 private static String country = ""; field in class:GenerateBreakIteratorData 82 new Locale(language, country, valiant)); 86 new Locale(language, country, valiant)); 150 } else if (arg.equals("-country")) { 151 country = args[++i]; 168 if (!country.equals("") || !valiant.equals("")) { 178 if (!country.equals("") || !valiant.equals("")) { 180 sb.append(country); 199 " -country country targe [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | DocLocale.java | 114 String country = null; 125 country = localeName.substring(firstuscore + 1, 129 country = localeName.substring(firstuscore + 1); 140 userlocale = searchLocale(language, country, variant); 153 * Search the locale for specified language, specified country and 156 private Locale searchLocale(String language, String country, argument 161 (country == null || locales[i].getCountry().equals(country)) &&
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | TimeZone.java | 596 String country); 642 String country = AccessController.doPrivileged( 643 new GetPropertyAction("user.country")); 647 zoneID = getSystemTimeZoneID(javaHome, country); 595 getSystemTimeZoneID(String javaHome, String country) argument
|
H A D | Locale.java | 72 * according to the customs and conventions of the user's native country, 117 * <dt><a name="def_region"/><b>country (region)</b></dt> 119 * <dd>ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code. 120 * You can find a full list of valid country and region codes in the 122 * country (region) field is case insensitive, but 125 * <dd>Well-formed country/region values have 246 * {@link #Locale(String language, String country)} 247 * {@link #Locale(String language, String country, String variant)} 251 * with language, country and variant, but you cannot specify 274 * about itself. Use <code>getCountry</code> to get the country (o 571 Locale(String language, String country, String variant) argument 601 Locale(String language, String country) argument 633 createConstant(String lang, String country) argument 652 getInstance(String language, String country, String variant) argument 656 getInstance(String language, String script, String country, String variant, LocaleExtensions extensions) argument 2119 getCompatibilityExtensions(String language, String script, String country, String variant) argument [all...] |
/openjdk7/jdk/src/solaris/native/java/lang/ |
H A D | java_props_md.c | 141 char *language = NULL, *country = NULL, *variant = NULL, local 185 * <language name>_<country name>.<encoding name>@<variant name> 186 * <country name>, <encoding name>, and <variant name> are optional. 193 /* Parse the language, country, encoding, and variant from the 202 * no country name, and this facility is used to map each language 203 * to a default country if that's possible. It's also used to map 229 if ((country = strchr(temp, '_')) != NULL) { 230 *country++ = '\0'; 251 /* Normalize the country name */ 252 if (std_country != NULL && country ! [all...] |
/openjdk7/jdk/src/windows/native/java/lang/ |
H A D | java_props_md.c | 46 static void SetupI18nProps(LCID lcid, char** language, char** script, char** country, 268 SetupI18nProps(LCID lcid, char** language, char** script, char** country, argument 280 /* country */ 281 *country = malloc(PROPSIZE); 283 LOCALE_SISO3166CTRYNAME, *country, PROPSIZE) == 0 && 285 LOCALE_SISO3166CTRYNAME2, *country, PROPSIZE) == 0) { 286 (*country)[0] = '\0'; 297 strcpy(*country, "US"); 307 strcpy(*country , "NO"); 310 strcpy(*country , "N [all...] |
/openjdk7/jdk/src/share/native/java/lang/ |
H A D | java_props.h | 61 char *country; member in struct:__anon657
|
/openjdk7/jdk/src/solaris/native/java/util/ |
H A D | TimeZone_md.c | 624 * form. `country', which can be null, is not used for UNIX platforms. 628 findJavaTZ_md(const char *java_home_dir, const char *country) argument
|
/openjdk7/jdk/src/windows/native/java/util/ |
H A D | TimeZone_md.c | 402 * VALUE_MAPID for MapID and country-based mapping (this is 406 char *mapID, const char *country) 482 } else if (country != NULL && strcmp(items[TZ_REGION], country) == 0) { 514 char *findJavaTZ_md(const char *java_home_dir, const char *country) argument 529 winZoneName, winMapID, country); 405 matchJavaTZ(const char *java_home_dir, int value_type, char *tzName, char *mapID, const char *country) argument
|
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | X500Name.java | 201 * @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)); 1179 /** 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
|