Home
last modified time | relevance | path

Searched refs:smaliNotInt (Results 1 – 1 of 1) sorted by relevance

/art/test/416-optimizing-arith-not/src/
DMain.java39 expectEquals(1, smaliNotInt(-2)); in notInt()
40 expectEquals(0, smaliNotInt(-1)); in notInt()
41 expectEquals(-1, smaliNotInt(0)); in notInt()
42 expectEquals(-2, smaliNotInt(1)); in notInt()
43 expectEquals(2147483647, smaliNotInt(-2147483648)); // -(2^31) in notInt()
44 expectEquals(2147483646, smaliNotInt(-2147483647)); // -(2^31 - 1) in notInt()
45 expectEquals(-2147483647, smaliNotInt(2147483646)); // 2^31 - 2 in notInt()
46 expectEquals(-2147483648, smaliNotInt(2147483647)); // 2^31 - 1 in notInt()
66 private static int smaliNotInt(int a) throws Exception { in smaliNotInt() method in Main