Home
last modified time | relevance | path

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

/art/test/407-arrays/src/
DMain.java32 static void $opt$testReads(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, in $opt$testReads() argument
44 assertEquals(0, shorts[0]); in $opt$testReads()
45 assertEquals(0, shorts[index]); in $opt$testReads()
63 static void $opt$testWrites(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, in $opt$testWrites() argument
90 shorts[0] = -42; in $opt$testWrites()
91 assertEquals(-42, shorts[0]); in $opt$testWrites()
92 shorts[index] = -84; in $opt$testWrites()
93 assertEquals(-84, shorts[index]); in $opt$testWrites()
/art/test/003-omnibus-opcodes/src/
DArray.java32 static void checkShorts(short[] shorts) { in checkShorts() argument
33 Main.assertTrue(shorts[0] == 20); in checkShorts()
34 Main.assertTrue(shorts[1] == 10); in checkShorts()
35 Main.assertTrue(shorts[2] == 0); in checkShorts()
36 Main.assertTrue(shorts[3] == -10); in checkShorts()
37 Main.assertTrue(shorts[4] == -20); in checkShorts()
DIntMath.java475 Shorty shorts = new Shorty(); in truncateTest() local
477 shorts.mShort = (short) x; in truncateTest()
478 shorts.mChar = (char) x; in truncateTest()
479 shorts.mByte = (byte) x; in truncateTest()
480 return shorts; in truncateTest()
482 static void truncateCheck(Shorty shorts) { in truncateCheck() argument
483 Main.assertTrue(shorts.mShort == -5597); // 0xea23 in truncateCheck()
484 Main.assertTrue(shorts.mChar == 59939); // 0xea23 in truncateCheck()
485 Main.assertTrue(shorts.mByte == 35); // 0x23 in truncateCheck()
603 Shorty shorts = truncateTest(-16717277); // 0xff00ea23 in run() local
[all …]
/art/test/955-lambda-smali/smali/
DMoveResult.smali104 # Test that shorts are returned correctly via move-result.