/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DirectIntBufferTest.java | 26 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*Integer.BYTES).asIntBuffer(); in setUp() 61 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 | 1034 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/ |
D | BufferTest.java | 109 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 …]
|
D | OldDirectIntBufferTest.java | 31 IntBuffer intBuffer = byteBuffer.asIntBuffer(); in testPutWhenOffsetIsNonZero()
|
D | OldAndroidNIOTest.java | 365 IntBuffer ib = bb.asIntBuffer(); in byteBufferTest() 372 ib = bb.asIntBuffer(); in byteBufferTest()
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | ByteBuffer.annotated.java | 120 public abstract java.nio.IntBuffer asIntBuffer(); in asIntBuffer() method in ByteBuffer
|
D | DirectByteBuffer.annotated.java | 135 public final java.nio.IntBuffer asIntBuffer() { throw new RuntimeException("Stub!"); } in asIntBuffer() method in DirectByteBuffer
|
/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/annotations/hiddenapi/java/nio/ |
D | ByteBuffer.java | 201 public abstract java.nio.IntBuffer asIntBuffer(); in asIntBuffer() method in ByteBuffer
|
D | DirectByteBuffer.java | 287 public final java.nio.IntBuffer asIntBuffer() { in asIntBuffer() method in DirectByteBuffer
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBuffer.java | 1402 public abstract IntBuffer asIntBuffer(); in asIntBuffer() method in ByteBuffer
|
D | HeapByteBuffer.java | 366 public IntBuffer asIntBuffer() { in asIntBuffer() method in HeapByteBuffer
|
D | DirectByteBuffer.java | 637 public final IntBuffer asIntBuffer() { in asIntBuffer() method in DirectByteBuffer
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryMappedFileTest.java | 580 IntBuffer expectedIntsBuffer = byteBuffer.slice().order(byteOrder).asIntBuffer(); in assertReadIntArraySucceeds()
|