Home | History | Annotate | Download | only in src

Lines Matching refs:compareChars

121   /// CHECK-START: int Main.compareChars(char, char) intrinsics_recognition (after)
125 /// CHECK-START: int Main.compareChars(char, char) instruction_simplifier (after)
129 /// CHECK-START: int Main.compareChars(char, char) instruction_simplifier (after)
132 private static int compareChars(char x, char y) {
431 expectEquals(-1, compareChars((char)0, Character.MAX_VALUE));
432 expectEquals(-1, compareChars((char)0, (char)1));
434 expectEquals(0, compareChars((char)0, (char)0));
435 expectEquals(0, compareChars((char)1, (char)1));
436 expectEquals(0, compareChars(Character.MAX_VALUE, Character.MAX_VALUE));
438 expectEquals(1, compareChars((char)1, (char)0));
439 expectEquals(1, compareChars(Character.MAX_VALUE, (char)0));
440 expectEquals(1, compareChars(Character.MAX_VALUE, (char)1));
441 expectEquals(1, compareChars(Character.MAX_VALUE, (char)(Character.MAX_VALUE - 1)));
448 expectEquals(expected, compareChars(i, j));