Home
last modified time | relevance | path

Searched refs:isDirect (Results 1 – 25 of 45) sorted by relevance

12

/libcore/ojluni/src/main/java/java/nio/
DByteBuffer.java629 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
DByteBufferAsIntBuffer.java149 public boolean isDirect() { in isDirect() method in ByteBufferAsIntBuffer
150 return bb.isDirect(); in isDirect()
DByteBufferAsFloatBuffer.java149 public boolean isDirect() { in isDirect() method in ByteBufferAsFloatBuffer
150 return bb.isDirect(); in isDirect()
DByteBufferAsLongBuffer.java149 public boolean isDirect() { in isDirect() method in ByteBufferAsLongBuffer
150 return bb.isDirect(); in isDirect()
DByteBufferAsDoubleBuffer.java150 public boolean isDirect() { in isDirect() method in ByteBufferAsDoubleBuffer
151 return bb.isDirect(); in isDirect()
DByteBufferAsShortBuffer.java148 public boolean isDirect() { in isDirect() method in ByteBufferAsShortBuffer
149 return bb.isDirect(); in isDirect()
DHeapLongBuffer.java127 public boolean isDirect() { in isDirect() method in HeapLongBuffer
179 } else if (src.isDirect()) { in put()
DHeapFloatBuffer.java125 public boolean isDirect() { in isDirect() method in HeapFloatBuffer
177 } else if (src.isDirect()) { in put()
DHeapShortBuffer.java126 public boolean isDirect() { in isDirect() method in HeapShortBuffer
178 } else if (src.isDirect()) { in put()
DHeapIntBuffer.java126 public boolean isDirect() { in isDirect() method in HeapIntBuffer
178 } else if (src.isDirect()) { in put()
DHeapDoubleBuffer.java126 public boolean isDirect() { in isDirect() method in HeapDoubleBuffer
178 } else if (src.isDirect()) { in put()
DHeapCharBuffer.java131 public boolean isDirect() { in isDirect() method in HeapCharBuffer
183 } else if (src.isDirect()) { in put()
DByteBufferAsCharBuffer.java153 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/
DHeapByteBufferTest.java50 assertFalse(buf.isDirect()); in testIsDirect()
DIntBufferTest.java95 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()
DShortBufferTest.java94 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()
DFloatBufferTest.java95 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()
DLongBufferTest.java95 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()
DWrappedByteBufferTest.java86 assertFalse(buf.isDirect()); in testIsDirect()
DDirectCharBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
DDirectDoubleBufferTest.java71 assertTrue(buf.isDirect()); in testIsDirect()
DDirectIntBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
DDirectFloatBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
DDirectLongBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java94 public abstract boolean isDirect(); in isDirect() method in Buffer

12