Searched refs:asIntBuffer (Results 1 – 12 of 12) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DirectIntBufferTest.java | 27 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*4).asIntBuffer(); in setUp() 62 IntBuffer intBuffer = directByteBuffer.asIntBuffer(); in testJNIAccessByAddress()
|
D | DirectByteBufferTest.java | 90 IntBuffer intBuf = buf.asIntBuffer(); in testUnalignedReadsAndWrites()
|
D | MappedByteBufferTest.java | 59 IntBuffer ibuffer = mmb.asIntBuffer(); in testasIntBuffer()
|
D | ByteBufferTest.java | 1004 intBuffer = buf.asIntBuffer(); in testAsIntBuffer() 1015 intBuffer = buf.asIntBuffer(); in testAsIntBuffer() 1027 intBuffer = buf.asIntBuffer(); in testAsIntBuffer() 1039 intBuffer = buf.asIntBuffer(); in testAsIntBuffer()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | OldDirectIntBufferTest.java | 31 IntBuffer intBuffer = byteBuffer.asIntBuffer(); in testPutWhenOffsetIsNonZero()
|
D | BufferTest.java | 163 b.order(ByteOrder.BIG_ENDIAN).asIntBuffer().get(ints, 1, 2); in testByteSwappedBulkGet() 168 b.order(ByteOrder.LITTLE_ENDIAN).asIntBuffer().get(ints, 1, 2); in testByteSwappedBulkGet() 244 b.order(ByteOrder.BIG_ENDIAN).asIntBuffer().put(ints, 1, 2); in testByteSwappedBulkPut() 246 b.order(ByteOrder.LITTLE_ENDIAN).asIntBuffer().put(ints, 1, 2); in testByteSwappedBulkPut() 313 assertEquals(ByteOrder.BIG_ENDIAN, b.asIntBuffer().order()); in testByteBufferByteOrder() 321 assertEquals(ByteOrder.LITTLE_ENDIAN, b.asIntBuffer().order()); in testByteBufferByteOrder() 437 return ByteBuffer.allocate(10*8).order(order).asIntBuffer(); in allocateIntBuffer() 854 b.asIntBuffer().get(); in testBug6085292() 859 b.asIntBuffer().get(0); in testBug6085292() 1286 b.asIntBuffer(); in testAsMethods() [all …]
|
D | OldAndroidNIOTest.java | 365 IntBuffer ib = bb.asIntBuffer(); in byteBufferTest() 372 ib = bb.asIntBuffer(); in byteBufferTest()
|
/libcore/luni/src/test/java/libcore/util/ |
D | ZoneInfoTest.java | 509 int value = buffer.asIntBuffer().get(); in readInt() 518 buffer.asIntBuffer().get(dst, dstOffset, intCount); in readIntArray()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 199 IntBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asIntBuffer(); in timeIntBuffer_getIntArray() 350 IntBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asIntBuffer(); in timeIntBuffer_putIntArray()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBuffer.java | 1217 public abstract IntBuffer asIntBuffer(); in asIntBuffer() method in ByteBuffer
|
D | HeapByteBuffer.java | 332 public IntBuffer asIntBuffer() { in asIntBuffer() method in HeapByteBuffer
|
D | DirectByteBuffer.java | 544 public IntBuffer asIntBuffer() { in asIntBuffer() method in DirectByteBuffer
|