Home
last modified time | relevance | path

Searched refs:nextShort (Results 1 – 9 of 9) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerTest.java1890 assertEquals(123, s.nextShort(10)); in test_nextShortI()
1891 assertEquals(456, s.nextShort(10)); in test_nextShortI()
1893 s.nextShort(10); in test_nextShortI()
1900 assertEquals(38, s.nextShort(5)); in test_nextShortI()
1902 s.nextShort(5); in test_nextShortI()
1910 s.nextShort(10); in test_nextShortI()
1922 s.nextShort(10); in test_nextShortI()
1928 assertEquals(23456, s.nextShort(10)); in test_nextShortI()
1929 assertEquals(23456, s.nextShort(10)); in test_nextShortI()
1937 s.nextShort(10); in test_nextShortI()
[all …]
/libcore/luni/src/test/java/libcore/dalvik/system/
DEmulatedStackFrameTest.java50 assertEquals((short) 42, reader.nextShort()); in testReaderWriter_allParamTypes()
97 assertEquals((short) 42, reader.nextShort()); in testRandomReaderWriter_allParamTypes()
148 assertEquals((short) 52, reader.nextShort()); in testReaderWriter_allReturnTypes()
/libcore/ojluni/src/test/java/util/Scanner/
DScanTest.java639 if (scanner.nextShort(10) != 10) { in cacheTest2()
695 Scanner::nextShort,
820 if (sc.nextShort() != 22) failCount++; in integerPatternBody()
821 if (sc.nextShort(16) != 15) failCount++; in integerPatternBody()
822 if (sc.nextShort(16) != 255) failCount++; in integerPatternBody()
823 if (sc.nextShort(36) != 35) failCount++; in integerPatternBody()
1131 if (s.nextShort() != (short)17) failCount++; in shortTest()
1133 if (s.nextShort() != (short)22) failCount++; in shortTest()
1135 if (s.nextShort(16) != (short)14) failCount++; in shortTest()
1137 if (s.nextShort() != (short)-34) failCount++; in shortTest()
[all …]
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java803 o = reader.nextShort(); in referenceArray()
833 arityArray[i] = reader.nextShort(); in intArray()
859 arityArray[i] = reader.nextShort(); in longArray()
896 arityArray[i] = reader.nextShort(); in shortArray()
959 arityArray[i] = reader.nextShort(); in floatArray()
991 arityArray[i] = reader.nextShort(); in doubleArray()
1104 writer.putNextShort(reader.nextShort()); in copyParameter()
1511 array[i] = reader.nextShort(); in transform()
2171 writePrimitiveShortAs(writer, toBaseType, reader.nextShort()); in adaptArgument()
2257 boxed = Short.valueOf(reader.nextShort()); in adaptArgument()
[all …]
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java429 writer.putNextShort(reader.nextShort()); in copyNext()
542 public short nextShort() { in nextShort() method in EmulatedStackFrame.StackFrameReader
/libcore/ojluni/src/test/java/util/Arrays/
DArrayObjectMethods.java227 public static short nextShort() { in nextShort() method in Rnd
321 result[i] = Rnd.nextShort(); in shortArray()
/libcore/ojluni/src/main/java/java/util/
DScanner.java2090 public short nextShort() { in nextShort() method in Scanner
2091 return nextShort(defaultRadix); in nextShort()
2125 public short nextShort(int radix) { in nextShort() method in Scanner
/libcore/ojluni/src/test/java/nio/Buffer/
DBulkPutBuffer.java81 public short nextShort() { in nextShort() method in BulkPutBuffer.MyRandom
/libcore/api/
Dcurrent.txt14823 method public short nextShort();
14824 method public short nextShort(int);