Searched defs:shorts (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DArrayTest.java30 private static short[] shorts; field in class:ArrayTest
41 shorts = new short[] { (short) 0xffff };
52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
64 try { Array.getByte(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
76 try { Array.getChar(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
88 assertEquals((double) shorts[0], Array.getDouble(shorts, 0));
100 assertEquals((float) shorts[0], Array.getFloat(shorts, 0));
112 assertEquals((int) shorts[
[all...]
/libcore/dex/src/main/java/com/android/dex/
H A DDex.java829 public void write(short[] shorts) { argument
830 for (short s : shorts) {

Completed in 110 milliseconds