Searched refs:shorts (Results 1 – 6 of 6) sorted by relevance
/art/test/407-arrays/src/ |
D | Main.java | 32 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/ |
D | Array.java | 32 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()
|
D | IntMath.java | 475 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/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatArrayInstance.java | 129 void initialize(final short[] shorts) { in initialize() argument 132 return shorts.length; in initialize() 136 return Value.pack(shorts[index]); in initialize()
|
/art/test/956-methodhandles/src/ |
D | Main.java | 1174 public VariableArityTester(short... shorts) { update(shorts); } in VariableArityTester() argument 1192 public String update(short... shorts) { return lastResult = tally(shorts); } in update() argument 1221 public static String tally(short... shorts) { return Arrays.toString(shorts); } in tally() argument
|
/art/test/959-invoke-polymorphic-accessors/src/ |
D | Main.java | 612 short [] shorts = { (short) 0x1234, (short) 0x4321 }; in main() local 613 for (short s : shorts) { in main()
|