Searched defs:oldCS (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/sun/nio/cs/
H A DTestX11CNS.java74 static char[] getChars(Charset newCS, Charset oldCS) { argument
75 CharsetEncoder enc = oldCS.newEncoder();
96 static void compare(Charset newCS, Charset oldCS) throws Exception { argument
99 char[] cc = getChars(newCS, oldCS);
100 System.out.printf(" Diff <%s> <%s>...%n", newCS.name(), oldCS.name());
103 byte[] bb2 = encode(cc, oldCS);
109 char[] cc2 = decode(bb1, oldCS);
/openjdk7/jdk/test/sun/nio/cs/OLD/
H A DTestIBMDB.java172 static char[] checkEncoding(Charset oldCS, Charset newCS) argument
174 System.out.printf("Encoding <%s> <%s>...%n", oldCS.name(), newCS.name());
175 CharsetEncoder encOLD = oldCS.newEncoder();
179 boolean is970 = "x-IBM970-Old".equals(oldCS.name());
194 byte[] bb = new String(new char[] {c}).getBytes(oldCS);
201 printEntry(c, oldCS);
205 byte[] bbOld = new String(new char[] {c}).getBytes(oldCS);
210 printEntry(c, oldCS);
213 String sOld = new String(bbOld, oldCS);
218 printEntry(sOld.charAt(0), oldCS);
231 checkDecoding(Charset oldCS, Charset newCS) argument
[all...]

Completed in 289 milliseconds