Home
last modified time | relevance | path

Searched refs:asIntBuffer (Results 1 – 12 of 12) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDirectIntBufferTest.java27 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*4).asIntBuffer(); in setUp()
62 IntBuffer intBuffer = directByteBuffer.asIntBuffer(); in testJNIAccessByAddress()
DDirectByteBufferTest.java90 IntBuffer intBuf = buf.asIntBuffer(); in testUnalignedReadsAndWrites()
DMappedByteBufferTest.java59 IntBuffer ibuffer = mmb.asIntBuffer(); in testasIntBuffer()
DByteBufferTest.java1004 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/
DOldDirectIntBufferTest.java31 IntBuffer intBuffer = byteBuffer.asIntBuffer(); in testPutWhenOffsetIsNonZero()
DBufferTest.java163 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 …]
DOldAndroidNIOTest.java365 IntBuffer ib = bb.asIntBuffer(); in byteBufferTest()
372 ib = bb.asIntBuffer(); in byteBufferTest()
/libcore/luni/src/test/java/libcore/util/
DZoneInfoTest.java509 int value = buffer.asIntBuffer().get(); in readInt()
518 buffer.asIntBuffer().get(dst, dstOffset, intCount); in readIntArray()
/libcore/benchmarks/src/benchmarks/regression/
DByteBufferBenchmark.java199 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/
DByteBuffer.java1217 public abstract IntBuffer asIntBuffer(); in asIntBuffer() method in ByteBuffer
DHeapByteBuffer.java332 public IntBuffer asIntBuffer() { in asIntBuffer() method in HeapByteBuffer
DDirectByteBuffer.java544 public IntBuffer asIntBuffer() { in asIntBuffer() method in DirectByteBuffer