/libcore/luni/src/main/java/java/nio/ |
D | ByteBuffer.java | 613 @Override public abstract boolean isDirect(); in isDirect() method in ByteBuffer 790 Object srcObject = src.isDirect() ? src : NioUtils.unsafeArray(src); in put() 792 if (!src.isDirect()) { in put() 797 Object dstObject = dst.isDirect() ? dst : NioUtils.unsafeArray(dst); in put() 799 if (!dst.isDirect()) { in put()
|
D | ByteBufferAsShortBuffer.java | 112 public boolean isDirect() { in isDirect() method in ByteBufferAsShortBuffer 113 return byteBuffer.isDirect(); in isDirect()
|
D | ByteBufferAsIntBuffer.java | 113 public boolean isDirect() { in isDirect() method in ByteBufferAsIntBuffer 114 return byteBuffer.isDirect(); in isDirect()
|
D | ByteBufferAsFloatBuffer.java | 112 public boolean isDirect() { in isDirect() method in ByteBufferAsFloatBuffer 113 return byteBuffer.isDirect(); in isDirect()
|
D | ByteBufferAsLongBuffer.java | 113 public boolean isDirect() { in isDirect() method in ByteBufferAsLongBuffer 114 return byteBuffer.isDirect(); in isDirect()
|
D | ByteBufferAsDoubleBuffer.java | 113 public boolean isDirect() { in isDirect() method in ByteBufferAsDoubleBuffer 114 return byteBuffer.isDirect(); in isDirect()
|
D | ByteBufferAsCharBuffer.java | 113 public boolean isDirect() { in isDirect() method in ByteBufferAsCharBuffer 114 return byteBuffer.isDirect(); in isDirect()
|
D | IoVec.java | 59 if (b.isDirect()) { in init()
|
D | CharSequenceAdapter.java | 91 public boolean isDirect() { in isDirect() method in CharSequenceAdapter
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DirectByteBufferTest.java | 48 assertTrue(buf.isDirect()); in testIsDirect()
|
D | HeapByteBufferTest.java | 50 assertFalse(buf.isDirect()); in testIsDirect()
|
D | DirectDoubleBufferTest.java | 54 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectIntBufferTest.java | 55 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectShortBufferTest.java | 55 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectCharBufferTest.java | 55 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectFloatBufferTest.java | 55 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectLongBufferTest.java | 56 assertTrue(buf.isDirect()); in testIsDirect()
|
D | IntBufferTest.java | 95 assertEquals(buf.isDirect(), readonly.isDirect()); in testAsReadOnlyBuffer() 193 assertEquals(buf.isDirect(), duplicate.isDirect()); 385 assertFalse(buf.isDirect()); in testIsDirect() 573 assertEquals(buf.isDirect(), slice.isDirect()); in testSlice()
|
D | DoubleBufferTest.java | 119 assertEquals(buf.isDirect(), readonly.isDirect()); in testAsReadOnlyBuffer() 222 assertEquals(buf.isDirect(), duplicate.isDirect()); 409 assertFalse(buf.isDirect()); in testIsDirect() 586 assertEquals(buf.isDirect(), slice.isDirect()); in testSlice()
|
D | FloatBufferTest.java | 95 assertEquals(buf.isDirect(), readonly.isDirect()); in testAsReadOnlyBuffer() 213 assertEquals(buf.isDirect(), duplicate.isDirect()); 407 assertFalse(buf.isDirect()); in testIsDirect() 597 assertEquals(buf.isDirect(), slice.isDirect()); in testSlice()
|
D | LongBufferTest.java | 95 assertEquals(buf.isDirect(), readonly.isDirect()); in testAsReadOnlyBuffer() 193 assertEquals(buf.isDirect(), duplicate.isDirect()); 386 assertFalse(buf.isDirect()); in testIsDirect() 580 assertEquals(buf.isDirect(), slice.isDirect()); in testSlice()
|
D | ShortBufferTest.java | 94 assertEquals(buf.isDirect(), readonly.isDirect()); in testAsReadOnlyBuffer() 192 assertEquals(buf.isDirect(), duplicate.isDirect()); 372 assertFalse(buf.isDirect()); in testIsDirect() 560 assertEquals(buf.isDirect(), slice.isDirect()); in testSlice()
|
D | CharBufferTest.java | 98 assertEquals(buf.isDirect(), readonly.isDirect()); in testAsReadOnlyBuffer() 123 assertEquals(buf.isDirect(), readonly.isDirect()); in testAsReadOnlyBuffer() 226 assertEquals(buf.isDirect(), duplicate.isDirect()); 253 assertEquals(buf.isDirect(), duplicate.isDirect()); 629 assertEquals(buf.isDirect(), slice.isDirect()); in testSlice() 1067 assertFalse(buf.isDirect()); in testIsDirect()
|
D | WrappedByteBufferTest.java | 86 assertFalse(buf.isDirect()); in testIsDirect()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Posix.java | 118 if (buffer.isDirect()) { in pread() 136 if (buffer.isDirect()) { in pwrite() 154 if (buffer.isDirect()) { in read() 174 if (buffer.isDirect()) { in recvfrom() 195 if (buffer.isDirect()) { in sendto() 247 if (buffer.isDirect()) { in write()
|