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

  /art/test/711-checker-type-conversion/src/
Main.java 180 /// CHECK-START: void Main.shortToByte() instruction_simplifier$before_codegen (after)
182 private static void shortToByte() {
251 shortToByte();
  /art/test/551-checker-shifter-operand/src/
Main.java 61 static byte $noinline$shortToByte (short v) { if (doThrow) throw new Error(); return (byte)v; }
487 assertIntEquals(a + $noinline$shortToByte (b), a + (byte)b);
534 assertLongEquals(a + $noinline$shortToByte(b), a + (byte)b);
    [all...]
  /art/test/422-type-conversion/src/
Main.java 125 shortToByte();
506 private static void shortToByte() {
507 assertByteEquals((byte)1, $opt$noinline$ShortToByte((short)1));
508 assertByteEquals((byte)0, $opt$noinline$ShortToByte((short)0));
509 assertByteEquals((byte)-1, $opt$noinline$ShortToByte((short)-1));
510 assertByteEquals((byte)51, $opt$noinline$ShortToByte((short)51));
511 assertByteEquals((byte)-51, $opt$noinline$ShortToByte((short)-51));
512 assertByteEquals((byte)127, $opt$noinline$ShortToByte((short)127)); // 2^7 - 1
513 assertByteEquals((byte)-127, $opt$noinline$ShortToByte((short)-127)); // -(2^7 - 1)
514 assertByteEquals((byte)-128, $opt$noinline$ShortToByte((short)-128)); // -(2^7
    [all...]

Completed in 96 milliseconds