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

/openjdk7/jdk/test/sun/nio/cs/
H A DTestIBM1364.java48 private static byte[] mixedBytes = new byte[] { field in class:TestIBM1364
122 if (!(Arrays.equals(mixedStr.getBytes("cp1364"), mixedBytes)) ||
123 !mixedStr.equals(new String(mixedBytes, "cp1364")))
134 ByteBuffer bb = ByteBuffer.allocateDirect(mixedBytes.length);
135 bb.put(mixedBytes).flip();
149 if (!(Arrays.equals(Arrays.copyOf(bb.array(), bb.limit()), mixedBytes)))
182 if (!dec.reset().decode(ByteBuffer.wrap(mixedBytes), cb, true).isOverflow() ||
183 !dec.reset().decode(ByteBuffer.wrap(mixedBytes), cbd, true).isOverflow())
188 bb = ByteBuffer.allocate(mixedBytes.length - 2);
189 ByteBuffer bbd = ByteBuffer.allocateDirect(mixedBytes
[all...]
H A DTestSJIS0213.java64 private static byte[] mixedBytes = new byte[] { field in class:TestSJIS0213
93 if (!(Arrays.equals(mixedStr.getBytes("MS932_0213"), mixedBytes)) ||
94 !mixedStr.equals(new String(mixedBytes, "MS932_0213")))
104 if (!(Arrays.equals(mixedStr.getBytes("SJIS_0213"), mixedBytes)) ||
105 !mixedStr.equals(new String(mixedBytes, "SJIS_0213")))

Completed in 34 milliseconds