Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDirectIntBufferTest.java26 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*Integer.BYTES).asIntBuffer(); in setUp()
61 IntBuffer intBuffer = directByteBuffer.asIntBuffer(); in testJNIAccessByAddress()
DDirectByteBufferTest.java90 IntBuffer intBuf = buf.asIntBuffer(); in testUnalignedReadsAndWrites()
DMappedByteBufferTest.java59 IntBuffer ibuffer = mmb.asIntBuffer(); in testasIntBuffer()
DByteBufferTest.java1034 intBuffer = buf.asIntBuffer(); in testAsIntBuffer()
1045 intBuffer = buf.asIntBuffer(); in testAsIntBuffer()
1057 intBuffer = buf.asIntBuffer(); in testAsIntBuffer()
1069 intBuffer = buf.asIntBuffer(); in testAsIntBuffer()
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java109 b.order(ByteOrder.BIG_ENDIAN).asIntBuffer().get(ints, 1, 2); in testByteSwappedBulkGet()
114 b.order(ByteOrder.LITTLE_ENDIAN).asIntBuffer().get(ints, 1, 2); in testByteSwappedBulkGet()
190 b.order(ByteOrder.BIG_ENDIAN).asIntBuffer().put(ints, 1, 2); in testByteSwappedBulkPut()
192 b.order(ByteOrder.LITTLE_ENDIAN).asIntBuffer().put(ints, 1, 2); in testByteSwappedBulkPut()
259 assertEquals(ByteOrder.BIG_ENDIAN, b.asIntBuffer().order()); in testByteBufferByteOrder()
267 assertEquals(ByteOrder.LITTLE_ENDIAN, b.asIntBuffer().order()); in testByteBufferByteOrder()
383 return ByteBuffer.allocate(10*8).order(order).asIntBuffer(); in allocateIntBuffer()
800 b.asIntBuffer().get(); in testBug6085292()
805 b.asIntBuffer().get(0); in testBug6085292()
961 b.asIntBuffer().get(0); in testAccess()
[all …]
DOldDirectIntBufferTest.java31 IntBuffer intBuffer = byteBuffer.asIntBuffer(); in testPutWhenOffsetIsNonZero()
DOldAndroidNIOTest.java365 IntBuffer ib = bb.asIntBuffer(); in byteBufferTest()
372 ib = bb.asIntBuffer(); in byteBufferTest()
/libcore/ojluni/annotations/mmodule/java/nio/
DDirectByteBuffer.annotated.java99 public final java.nio.IntBuffer asIntBuffer() { throw new RuntimeException("Stub!"); } in asIntBuffer() method in DirectByteBuffer
DByteBuffer.annotated.java120 public abstract java.nio.IntBuffer asIntBuffer(); in asIntBuffer() method in ByteBuffer
/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/annotations/hiddenapi/java/nio/
DByteBuffer.java201 public abstract java.nio.IntBuffer asIntBuffer(); in asIntBuffer() method in ByteBuffer
DDirectByteBuffer.java287 public final java.nio.IntBuffer asIntBuffer() { in asIntBuffer() method in DirectByteBuffer
/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java796 int value = buffer.asIntBuffer().get(); in readInt()
805 buffer.asIntBuffer().get(dst, dstOffset, intCount); in readIntArray()
/libcore/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java131 @libcore.util.NonNull public abstract java.nio.IntBuffer asIntBuffer(); in asIntBuffer() method in ByteBuffer
/libcore/ojluni/src/main/java/java/nio/
DByteBuffer.java1402 public abstract IntBuffer asIntBuffer(); in asIntBuffer() method in ByteBuffer
DHeapByteBuffer.java366 public IntBuffer asIntBuffer() { in asIntBuffer() method in HeapByteBuffer
DDirectByteBuffer.java637 public final IntBuffer asIntBuffer() { in asIntBuffer() method in DirectByteBuffer
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java580 IntBuffer expectedIntsBuffer = byteBuffer.slice().order(byteOrder).asIntBuffer(); in assertReadIntArraySucceeds()