/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBuffer.java | 629 final Object srcObject = src.isDirect() ? src : src.hb; in put() 631 if (!src.isDirect()) { in put() 636 final Object dstObject = dst.isDirect() ? dst : dst.hb; in put() 638 if (!dst.isDirect()) { in put() 899 public abstract boolean isDirect(); in isDirect() method in ByteBuffer
|
D | ByteBufferAsFloatBuffer.java | 149 public boolean isDirect() { in isDirect() method in ByteBufferAsFloatBuffer 150 return bb.isDirect(); in isDirect()
|
D | ByteBufferAsLongBuffer.java | 149 public boolean isDirect() { in isDirect() method in ByteBufferAsLongBuffer 150 return bb.isDirect(); in isDirect()
|
D | ByteBufferAsIntBuffer.java | 149 public boolean isDirect() { in isDirect() method in ByteBufferAsIntBuffer 150 return bb.isDirect(); in isDirect()
|
D | ByteBufferAsShortBuffer.java | 148 public boolean isDirect() { in isDirect() method in ByteBufferAsShortBuffer 149 return bb.isDirect(); in isDirect()
|
D | ByteBufferAsDoubleBuffer.java | 150 public boolean isDirect() { in isDirect() method in ByteBufferAsDoubleBuffer 151 return bb.isDirect(); in isDirect()
|
D | HeapShortBuffer.java | 126 public boolean isDirect() { in isDirect() method in HeapShortBuffer 178 } else if (src.isDirect()) { in put()
|
D | HeapDoubleBuffer.java | 126 public boolean isDirect() { in isDirect() method in HeapDoubleBuffer 178 } else if (src.isDirect()) { in put()
|
D | HeapFloatBuffer.java | 125 public boolean isDirect() { in isDirect() method in HeapFloatBuffer 177 } else if (src.isDirect()) { in put()
|
D | HeapLongBuffer.java | 127 public boolean isDirect() { in isDirect() method in HeapLongBuffer 179 } else if (src.isDirect()) { in put()
|
D | HeapIntBuffer.java | 126 public boolean isDirect() { in isDirect() method in HeapIntBuffer 178 } else if (src.isDirect()) { in put()
|
D | HeapCharBuffer.java | 131 public boolean isDirect() { in isDirect() method in HeapCharBuffer 183 } else if (src.isDirect()) { in put()
|
D | ByteBufferAsCharBuffer.java | 153 public boolean isDirect() { in isDirect() method in ByteBufferAsCharBuffer 154 return bb.isDirect(); in isDirect()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
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 | DoubleBufferTest.java | 119 assertEquals(buf.isDirect(), readonly.isDirect()); in testAsReadOnlyBuffer() 233 assertEquals(buf.isDirect(), duplicate.isDirect()); 420 assertFalse(buf.isDirect()); 597 assertEquals(buf.isDirect(), slice.isDirect());
|
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 | 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 | 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 | HeapByteBufferTest.java | 50 assertFalse(buf.isDirect()); in testIsDirect()
|
D | WrappedByteBufferTest.java | 86 assertFalse(buf.isDirect()); in testIsDirect()
|
D | DirectCharBufferTest.java | 72 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectShortBufferTest.java | 72 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectIntBufferTest.java | 72 assertTrue(buf.isDirect()); in testIsDirect()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Linux.java | 143 if (buffer.isDirect()) { in pread() 161 if (buffer.isDirect()) { in pwrite() 179 if (buffer.isDirect()) { in read() 200 if (buffer.isDirect()) { in recvfrom() 224 if (buffer.isDirect()) { in sendto() 285 if (buffer.isDirect()) { in write()
|