Searched refs:malformed (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DUTF_8.java164 private static CoderResult malformed(ByteBuffer src, int sp, method in class:UTF_8.Decoder
174 private static CoderResult malformed(ByteBuffer src, method in class:UTF_8.Decoder
228 return malformed(src, sp, dst, dp, 2);
241 return malformed(src, sp, dst, dp, 3);
268 return malformed(src, sp, dst, dp, 4);
274 return malformed(src, sp, dst, dp, 1);
298 return malformed(src, mark, 2);
311 return malformed(src, mark, 3);
338 return malformed(src, mark, 4);
344 return malformed(sr
[all...]
/openjdk7/jdk/test/sun/nio/cs/OLD/
H A DTestIBMDB.java371 /* The first byte is the length of malformed bytes
372 byte[][] malformed = {
377 static void checkMalformed(Charset cs, byte[][] malformed) argument
382 System.out.printf("Check malformed <%s>...%n", csn);
384 for (byte[] bins : malformed) {
394 System.out.printf(" FAIL(direct=%b): [%s] not malformed. -->cr=%s\n", direct, ashex, cr.toString());
397 System.out.printf(" FAIL(direct=%b): [%s] malformed[len=%d].\n", direct, ashex, cr.length());
403 throw new RuntimeException("Check malformed failed " + csn);
/openjdk7/jdk/test/sun/nio/cs/
H A DTestEUC_TW.java282 // The first byte is the length of malformed bytes
283 static byte[][] malformed = { field in class:TestEUC_TW
290 System.out.printf("Check malformed <%s>...%n", csn);
292 for (byte[] bins : malformed) {
302 System.out.printf(" FAIL(direct=%b): [%s] not malformed.\n", direct, ashex);
305 System.out.printf(" FAIL(direct=%b): [%s] malformed[len=%d].\n", direct, ashex, cr.length());
311 throw new RuntimeException("Check malformed failed " + csn);
H A DTestUTF8.java237 // The first byte is the length of malformed bytes
238 static byte[][] malformed = { field in class:TestUTF8
315 System.out.printf(" Check malformed <%s>...%n", csn);
318 for (byte[] bins : malformed) {
328 System.out.printf(" FAIL(direct=%b): [%s] not malformed.%n", direct, ashex);
331 System.out.printf(" FAIL(direct=%b): [%s] malformed[len=%d].%n", direct, ashex, cr.length());
342 throw new RuntimeException("Check malformed failed " + csn);

Completed in 45 milliseconds