Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDirectByteBufferTest.java77 short[] shortArray = new short[]{42, 24}; in testUnalignedReadsAndWrites() local
80 shortBuf.put(shortArray); in testUnalignedReadsAndWrites()
83 shortBuf.get(shortArray); in testUnalignedReadsAndWrites()
85 assertEquals(42, shortArray[0]); in testUnalignedReadsAndWrites()
86 assertEquals(24, shortArray[1]); in testUnalignedReadsAndWrites()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java77 short[] shortArray; field in ArraysTest
325 Arrays.binarySearch(shortArray, counter) == counter); in test_binarySearch$SS()
332 shortArray[counter] -= 50; in test_binarySearch$SS()
336 Arrays.binarySearch(shortArray, (short) (counter - 50)) == counter); in test_binarySearch$SS()
2528 shortArray = new short[arraySize]; in setUp()
2538 shortArray[counter] = (short) counter; in setUp()
3176 Arrays.binarySearch(shortArray, counter, arraySize, counter) == counter); in test_binarySearch$SIIS()
3179 -1, Arrays.binarySearch(shortArray, 0, arraySize, (short) -1)); in test_binarySearch$SIIS()
3182 … Arrays.binarySearch(shortArray, 0, arraySize, (short) arraySize) == -(arraySize + 1)); in test_binarySearch$SIIS()
3184 shortArray[counter] -= 50; in test_binarySearch$SIIS()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/
DOldAndroidNIOTest.java52 short[] shortArray = new short[8]; in testNIO_short_array() local
53 ShortBuffer sb = ShortBuffer.wrap(shortArray); in testNIO_short_array()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java799 private static Object shortArray(StackFrameReader reader, Class<?> ptypes[], in shortArray() method in Transformers.VarargsCollector
903 case 'S': return shortArray(callerFrameReader, callerPTypes, in makeArityArray()
925 case 'S': return shortArray(reader, types, startIdx, length); in collectArguments()