Home
last modified time | relevance | path

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

123

/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
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()
DByteBufferAsIntBuffer.java149 public boolean isDirect() { in isDirect() method in ByteBufferAsIntBuffer
150 return bb.isDirect(); in isDirect()
DByteBufferAsShortBuffer.java148 public boolean isDirect() { in isDirect() method in ByteBufferAsShortBuffer
149 return bb.isDirect(); in isDirect()
DByteBufferAsDoubleBuffer.java150 public boolean isDirect() { in isDirect() method in ByteBufferAsDoubleBuffer
151 return bb.isDirect(); in isDirect()
DHeapShortBuffer.java126 public boolean isDirect() { in isDirect() method in HeapShortBuffer
178 } else if (src.isDirect()) { in put()
DHeapDoubleBuffer.java126 public boolean isDirect() { in isDirect() method in HeapDoubleBuffer
178 } else if (src.isDirect()) { in put()
DHeapFloatBuffer.java125 public boolean isDirect() { in isDirect() method in HeapFloatBuffer
177 } else if (src.isDirect()) { in put()
DHeapLongBuffer.java127 public boolean isDirect() { in isDirect() method in HeapLongBuffer
179 } else if (src.isDirect()) { in put()
DHeapIntBuffer.java126 public boolean isDirect() { in isDirect() method in HeapIntBuffer
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/
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()
DDoubleBufferTest.java119 assertEquals(buf.isDirect(), readonly.isDirect()); in testAsReadOnlyBuffer()
233 assertEquals(buf.isDirect(), duplicate.isDirect());
420 assertFalse(buf.isDirect());
597 assertEquals(buf.isDirect(), slice.isDirect());
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()
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()
DCharBufferTest.java98 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()
DHeapByteBufferTest.java50 assertFalse(buf.isDirect()); in testIsDirect()
DWrappedByteBufferTest.java86 assertFalse(buf.isDirect()); in testIsDirect()
DDirectCharBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
DDirectShortBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
DDirectIntBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
/libcore/luni/src/main/java/libcore/io/
DLinux.java143 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()

123