Searched refs:expectBytes (Results 1 - 4 of 4) sorted by relevance
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | SurrogateTestEUCTW.java | 47 int[] expectBytes = new int[4]; 70 expectBytes[0] = 0x8E; 71 expectBytes[1] = 0xA0 + Integer.parseInt(testPlane[i]); 72 expectBytes[2] = 0x80 | Integer.parseInt(line.substring(2,4), 16); 73 expectBytes[3] = 0x80 | Integer.parseInt(line.substring(4,6), 16); 79 if (encodedBytes[x] != (byte)(expectBytes[x] & 0xff)) {
|
H A D | TestISO2022JP.java | 542 private static void roundTrip(String testStr, byte[] expectBytes, argument 547 if (encodedBytes.length != expectBytes.length) { 551 for (int i = 0; i < expectBytes.length; i++) { 552 if (encodedBytes[i] != expectBytes[i]) {
|
H A D | TestMS5022X.java | 640 byte[] expectBytes) 643 if (encodedBytes.length != expectBytes.length) { 645 // encodedBytes.length,expectBytes.length); 648 for (int i = 0; i < expectBytes.length; i++) { 650 if (encodedBytes[i] != expectBytes[i]) { 655 //encodedBytes[i],expectBytes[i]); 638 roundTrip(String name, String testStr, byte[] expectBytes) argument
|
H A D | SurrogateTestHKSCS.java | 335 final static byte[] expectBytes = { field in class:SurrogateTestHKSCS 1174 for (int i=0, j=0 ; j < expectBytes.length ; i++, j+=2) { 1180 if (encodedBytes[0] != expectBytes[j] 1181 && encodedBytes[1] != expectBytes[j+1])
|
Completed in 68 milliseconds