Lines Matching refs:cp
35 for (int cp = 0; cp < Character.MAX_CODE_POINT; cp++) {
36 if (!Character.isValidCodePoint(cp)) {
38 Character.getName(cp);
42 throw new RuntimeException("Invalid failed: " + cp);
43 } else if (Character.getType(cp) == Character.UNASSIGNED) {
44 if (Character.getName(cp) != null)
45 throw new RuntimeException("Unsigned failed: " + cp);
47 String name = Character.getName(cp);
48 if (cp != Character.codePointOf(name) ||
49 cp != Character.codePointOf(name.toLowerCase(Locale.ENGLISH)))
50 throw new RuntimeException("Roundtrip failed: " + cp);