Searched refs:shortArray (Results 1 – 4 of 4) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArraysTest.java | 66 short[] shortArray; field in ArraysTest 314 Arrays.binarySearch(shortArray, counter) == counter); in test_binarySearch$SS() 321 shortArray[counter] -= 50; in test_binarySearch$SS() 325 Arrays.binarySearch(shortArray, (short) (counter - 50)) == counter); in test_binarySearch$SS() 2517 shortArray = new short[arraySize]; in setUp() 2527 shortArray[counter] = (short) counter; in setUp() 3165 Arrays.binarySearch(shortArray, counter, arraySize, counter) == counter); in test_binarySearch$SIIS() 3168 -1, Arrays.binarySearch(shortArray, 0, arraySize, (short) -1)); in test_binarySearch$SIIS() 3171 … Arrays.binarySearch(shortArray, 0, arraySize, (short) arraySize) == -(arraySize + 1)); in test_binarySearch$SIIS() 3173 shortArray[counter] -= 50; in test_binarySearch$SIIS() [all …]
|
/libcore/luni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 1144 short[] shortArray = (short[]) array; in writeNewArray() local 1145 output.writeInt(shortArray.length); in writeNewArray() 1146 for (int i = 0; i < shortArray.length; i++) { in writeNewArray() 1147 output.writeShort(shortArray[i]); in writeNewArray()
|
D | ObjectInputStream.java | 1453 short[] shortArray = (short[]) result; in readNewArray() local 1455 shortArray[i] = input.readShort(); in readNewArray()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | OldAndroidNIOTest.java | 52 short[] shortArray = new short[8]; in testNIO_short_array() local 53 ShortBuffer sb = ShortBuffer.wrap(shortArray); in testNIO_short_array()
|