HomeSort by relevance Sort by last modified time
    Searched refs:charToByte (Results 1 - 3 of 3) sorted by null

  /art/test/711-checker-type-conversion/src/
Main.java 153 /// CHECK-START: void Main.charToByte() instruction_simplifier$before_codegen (after)
155 private static void charToByte() {
245 charToByte();
  /art/test/551-checker-shifter-operand/src/
Main.java 57 static byte $noinline$charToByte (char v) { if (doThrow) throw new Error(); return (byte)v; }
415 assertIntEquals(a + $noinline$charToByte (b), a + (byte)b);
462 assertLongEquals(a + $noinline$charToByte (b), a + (byte)b);
    [all...]
  /art/test/422-type-conversion/src/
Main.java 127 charToByte();
536 private static void charToByte() {
537 assertByteEquals((byte)1, $opt$noinline$CharToByte((char)1));
538 assertByteEquals((byte)0, $opt$noinline$CharToByte((char)0));
539 assertByteEquals((byte)51, $opt$noinline$CharToByte((char)51));
540 assertByteEquals((byte)127, $opt$noinline$CharToByte((char)127)); // 2^7 - 1
541 assertByteEquals((byte)-128, $opt$noinline$CharToByte((char)128)); // 2^7
542 assertByteEquals((byte)-1, $opt$noinline$CharToByte((char)32767)); // 2^15 - 1
543 assertByteEquals((byte)-1, $opt$noinline$CharToByte((char)65535)); // 2^16 - 1
544 assertByteEquals((byte)-1, $opt$noinline$CharToByte((char)-1))
    [all...]

Completed in 55 milliseconds