/openjdk7/jdk/test/java/util/Formatter/ |
H A D | BasicBoolean.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 57 private static void test(Locale l, String fs, String exp, Object ... args) 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 83 System.out.format(Locale.US, fs, args); 350 test(Locale.FRANCE, "e = %+10.4f", "e = +2,7183", Math.E); 402 test(Locale.FRANCE, "%b", "true", true); 403 test(Locale.FRANCE, "%b", "false", false);
|
H A D | BasicBooleanObject.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 57 private static void test(Locale l, String fs, String exp, Object ... args) 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 83 System.out.format(Locale.US, fs, args); 350 test(Locale.FRANCE, "e = %+10.4f", "e = +2,7183", Math.E); 402 test(Locale.FRANCE, "%b", "true", true); 403 test(Locale.FRANCE, "%b", "false", false);
|
H A D | BasicChar.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 57 private static void test(Locale l, String fs, String exp, Object ... args) 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 83 System.out.format(Locale.US, fs, args); 350 test(Locale.FRANCE, "e = %+10.4f", "e = +2,7183", Math.E); 402 test(Locale.FRANCE, "%b", "true", true); 403 test(Locale.FRANCE, "%b", "false", false);
|
H A D | BasicCharObject.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 57 private static void test(Locale l, String fs, String exp, Object ... args) 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 83 System.out.format(Locale.US, fs, args); 350 test(Locale.FRANCE, "e = %+10.4f", "e = +2,7183", Math.E); 402 test(Locale.FRANCE, "%b", "true", true); 403 test(Locale.FRANCE, "%b", "false", false);
|
H A D | BasicBigInteger.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 57 private static void test(Locale l, String fs, String exp, Object ... args) 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 83 System.out.format(Locale.US, fs, args); 350 test(Locale.FRANCE, "e = %+10.4f", "e = +2,7183", Math.E); 402 test(Locale.FRANCE, "%b", "true", true); 403 test(Locale.FRANCE, "%b", "false", false); 770 test(Locale.FRANCE, "%,d", "1\u00a0234\u00a0567", new BigInteger("1234567", 10));
|
H A D | BasicInt.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 57 private static void test(Locale l, String fs, String exp, Object ... args) 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 83 System.out.format(Locale.US, fs, args); 350 test(Locale.FRANCE, "e = %+10.4f", "e = +2,7183", Math.E); 402 test(Locale.FRANCE, "%b", "true", true); 403 test(Locale.FRANCE, "%b", "false", false); 585 test(Locale.FRANCE, "%,d", "1\u00a0234\u00a0567", oneToSeven);
|
H A D | BasicLong.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 57 private static void test(Locale l, String fs, String exp, Object ... args) 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 83 System.out.format(Locale.US, fs, args); 350 test(Locale.FRANCE, "e = %+10.4f", "e = +2,7183", Math.E); 402 test(Locale.FRANCE, "%b", "true", true); 403 test(Locale.FRANCE, "%b", "false", false); 585 test(Locale.FRANCE, "%,d", "1\u00a0234\u00a0567", oneToSeven);
|
H A D | BasicDoubleObject.java | 52 Formatter f = new Formatter(new StringBuilder(), Locale.US); 57 private static void test(Locale l, String fs, String exp, Object ... args) 65 Formatter f = new Formatter(new StringBuilder(), Locale.US); 71 Formatter f = new Formatter(new StringBuilder(), Locale.US); 83 System.out.format(Locale.US, fs, args); 350 test(Locale.FRANCE, "e = %+10.4f", "e = +2,7183", Math.E); 402 test(Locale.FRANCE, "%b", "true", true); 403 test(Locale.FRANCE, "%b", "false", false); 919 test(Locale.FRANCE, "%e", "3,141593e+00", pi); 999 test(Locale [all...] |
/openjdk7/jdk/test/java/util/Locale/ |
H A D | bug6312358.java | 26 * @summary Verify that an NPE is thrown by issueing Locale.getInstance() with 32 import java.util.Locale; 40 // Locale.getInstance is not directly accessible. 41 Method getInstanceMethod = Locale.class.getDeclaredMethod(
|
/openjdk7/langtools/test/tools/javac/unit/util/convert/ |
H A D | EnclosingCandidates.java | 35 import java.util.Locale; 52 System.out.format((Locale)null, "OK: %s -> [%s]%n", name, result);
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | StringComparable.java | 30 import java.util.Locale; 45 private Locale m_locale; 50 public StringComparable(final String text, final Locale locale, final Collator collator, final String caseOrder){ 58 public final static Comparable getComparator( final String text, final Locale locale, final Collator collator, final String caseOrder){ 129 private final int[] getFirstCaseDiff(final String text, final String pattern, final Locale locale){
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | RawDiagnosticFormatter.java | 29 import java.util.Locale; 64 public String formatDiagnostic(JCDiagnostic d, Locale l) { 95 public String formatMessage(JCDiagnostic d, Locale l) { 118 protected String formatArgument(JCDiagnostic diag, Object arg, Locale l) { 133 protected String localize(Locale l, String key, Object... args) {
|
/openjdk7/jdk/test/java/text/Format/DateFormat/ |
H A D | ISO8601ZoneTest.java | 116 Locale loc = Locale.getDefault(); 117 Locale.setDefault(Locale.US); 144 Locale.setDefault(loc);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | UIDefaults.java | 40 import java.util.Locale; 82 private Locale defaultLocale = Locale.getDefault(); 85 * Maps from a Locale to a cached Map of the ResourceBundle. This is done 90 private Map<Locale, Map<String, Object>> resourceCache; 110 resourceCache = new HashMap<Locale, Map<String, Object>>(); 264 public Object get(Object key, Locale l) { 272 private Object getFromResourceBundle(Object key, Locale l) { 296 private Map<String, Object> getResourceCache(Locale l) { 394 * If the value of <code>key</code> for the given <code>Locale</cod [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ver1_2/ |
H A D | Fault1_2Impl.java | 152 Locale thisLocale = getLocale(textElement); 166 public void addFaultReasonText(String text, java.util.Locale locale) 202 SOAPElement reasonText = getFaultReasonTextElement(Locale.getDefault()); 212 public String getFaultReasonText(Locale locale) throws SOAPException { 241 Locale thisLocale = getLocale(textElement); 255 public Locale getFaultStringLocale() { 256 Locale locale = null; 258 locale = (Locale) getFaultReasonLocales().next(); 266 private SOAPElement getFaultReasonTextElement(Locale locale) 274 Locale thisLocal [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/ |
H A D | ImageWriter.java | 36 import java.util.Locale; 82 * An array of <code>Locale</code>s that may be used to localize 87 protected Locale[] availableLocales = null; 90 * The current <code>Locale</code> to be used for localization, or 94 protected Locale locale = null; 105 * A <code>List</code> of <code>Locale</code>s, one for each 110 protected List<Locale> warningLocales = null; 248 * Returns an array of <code>Locale</code>s that may be used to 257 * @return an array of <code>Locale</code>s that may be used as 260 public Locale[] getAvailableLocale [all...] |
/openjdk7/jdk/make/tools/src/build/tools/generatebreakiteratordata/ |
H A D | GenerateBreakIteratorData.java | 30 import java.util.Locale; 54 * Locale data 82 new Locale(language, country, valiant)); 86 new Locale(language, country, valiant));
|
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | DNSName.java | 29 import java.util.Locale; 203 (((DNSName)inputName).getName()).toLowerCase(Locale.ENGLISH); 204 String thisName = name.toLowerCase(Locale.ENGLISH);
|
H A D | RFC822Name.java | 29 import java.util.Locale; 192 (((RFC822Name)inputName).getName()).toLowerCase(Locale.ENGLISH); 193 String thisName = name.toLowerCase(Locale.ENGLISH);
|
/openjdk7/jdk/test/java/util/Formattable/ |
H A D | StockName.java | 32 import java.util.Locale; 51 if (fmt.locale().equals(Locale.FRANCE)) 102 fmt.format(Locale.FRANCE, "%25s", sn);
|
/openjdk7/jdk/test/java/util/ResourceBundle/ |
H A D | ReferencesTest.java | 36 import java.util.Locale; 126 ResourceBundle.getBundle("NonExistantBundle", Locale.US, loaders[i]); 131 ResourceBundle.getBundle("ReferencesTestBundle", Locale.US, loaders[i]);
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Formatter.java | 83 * Formatter formatter = new Formatter(sb, Locale.US); 92 * formatter.format(Locale.FRANCE, "e = %+10.4f", Math.E); 273 * upper case according to the rules of the prevailing {@link java.util.Locale 274 * Locale}. The result is equivalent to the following invocation of {@link 405 * <td> Locale-specific {@linkplain 443 * <td> Locale-specific {@linkplain java.text.DateFormatSymbols#getMonths 447 * <td> Locale-specific {@linkplain 455 * <td> Locale-specific full name of the {@linkplain 460 * <td> Locale-specific short name of the {@linkplain 682 * java.util.Locale Local [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | SecuritySupport.java | 34 import java.util.Locale; 154 return getResourceBundle(bundle, Locale.getDefault()); 166 public static ListResourceBundle getResourceBundle(final String bundle, final Locale locale) { 173 return (ListResourceBundle) ResourceBundle.getBundle(bundle, new Locale("en", "US"));
|
/openjdk7/jdk/src/share/classes/javax/print/attribute/standard/ |
H A D | JobSheets.java | 27 import java.util.Locale;
|
H A D | MediaTray.java | 27 import java.util.Locale;
|