Searched defs:newCS (Results 1 - 2 of 2) sorted by relevance
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | TestX11CNS.java | 74 static char[] getChars(Charset newCS, Charset oldCS) { argument 76 CharsetEncoder encNew = newCS.newEncoder(); 96 static void compare(Charset newCS, Charset oldCS) throws Exception { argument 97 if (newCS == null) 99 char[] cc = getChars(newCS, oldCS); 100 System.out.printf(" Diff <%s> <%s>...%n", newCS.name(), oldCS.name()); 102 byte[] bb1 = encode(cc, newCS); 108 char[] cc1 = decode(bb1, newCS);
|
/openjdk7/jdk/test/sun/nio/cs/OLD/ |
H A D | TestIBMDB.java | 172 static char[] checkEncoding(Charset oldCS, Charset newCS) argument 174 System.out.printf("Encoding <%s> <%s>...%n", oldCS.name(), newCS.name()); 176 CharsetEncoder encNew = newCS.newEncoder(); 191 printEntry(c, newCS); 204 byte[] bbNew = new String(new char[] {c}).getBytes(newCS); 208 printEntry(c, newCS); 212 String sNew = new String(bbNew, newCS); 216 printEntry(sNew.charAt(0), newCS); 231 static void checkDecoding(Charset oldCS, Charset newCS) argument 234 System.out.printf("Decoding <%s> <%s>...%n", oldCS.name(), newCS [all...] |
Completed in 22 milliseconds