OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:intToByte
(Results
1 - 3
of
3
) sorted by null
/art/test/551-checker-shifter-operand/src/
Main.java
65
static byte $noinline$
intToByte
(int v) { if (doThrow) throw new Error(); return (byte)v; }
408
assertLongEquals(a + $noinline$
intToByte
(b), a + (byte)b);
[
all
...]
/art/test/422-type-conversion/src/
Main.java
126
intToByte
();
517
private static void
intToByte
() {
518
assertByteEquals((byte)1, $opt$noinline$
IntToByte
(1));
519
assertByteEquals((byte)0, $opt$noinline$
IntToByte
(0));
520
assertByteEquals((byte)-1, $opt$noinline$
IntToByte
(-1));
521
assertByteEquals((byte)51, $opt$noinline$
IntToByte
(51));
522
assertByteEquals((byte)-51, $opt$noinline$
IntToByte
(-51));
523
assertByteEquals((byte)127, $opt$noinline$
IntToByte
(127)); // 2^7 - 1
524
assertByteEquals((byte)-127, $opt$noinline$
IntToByte
(-127)); // -(2^7 - 1)
525
assertByteEquals((byte)-128, $opt$noinline$
IntToByte
(-128)); // -(2^7
[
all
...]
/external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java
570
Method
intToByte
= numericCastingMethod(int.class, byte.class);
571
assertEquals((byte) 0x34,
intToByte
.invoke(null, 0x00000034));
572
assertEquals((byte) 0x34,
intToByte
.invoke(null, 0xabcd1234));
573
assertEquals((byte) 0x34,
intToByte
.invoke(null, 0xffffff34));
[
all
...]
Completed in 54 milliseconds