/libcore/ojluni/src/main/java/java/util/zip/ |
D | Inflater.java | 275 if (dictionary.isDirect()) { in setDictionary() 401 if (input.isDirect()) { in inflate() 528 if (output.isDirect()) { in inflate() 552 if (input.isDirect()) { in inflate() 555 if (output.isDirect()) { in inflate() 577 if (output.isDirect()) { in inflate()
|
D | Deflater.java | 353 if (dictionary.isDirect()) { in setDictionary() 604 if (input.isDirect()) { in deflate() 725 if (output.isDirect()) { in deflate() 746 if (input.isDirect()) { in deflate() 749 if (output.isDirect()) { in deflate() 773 if (output.isDirect()) { in deflate()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBuffer.java | 1163 final Object srcObject = src.isDirect() ? src : src.hb; in putBuffer() 1165 if (!src.isDirect()) { in putBuffer() 1170 final Object dstObject = dst.isDirect() ? dst : dst.hb; in putBuffer() 1172 if (!dst.isDirect()) { in putBuffer() 1775 public abstract boolean isDirect(); in isDirect() method in ByteBuffer 2307 if (unitSize > 8 && !isDirect()) in alignmentOffset() 2312 final long baseAddress = isDirect() ? address : (ARRAY_BASE_OFFSET + offset); in alignmentOffset()
|
D | ByteBufferAsDoubleBuffer.java | 317 public boolean isDirect() { in isDirect() method in ByteBufferAsDoubleBuffer 318 return bb.isDirect(); in isDirect()
|
D | ByteBufferAsLongBuffer.java | 317 public boolean isDirect() { in isDirect() method in ByteBufferAsLongBuffer 318 return bb.isDirect(); in isDirect()
|
D | ByteBufferAsIntBuffer.java | 317 public boolean isDirect() { in isDirect() method in ByteBufferAsIntBuffer 318 return bb.isDirect(); in isDirect()
|
D | ByteBufferAsShortBuffer.java | 317 public boolean isDirect() { in isDirect() method in ByteBufferAsShortBuffer 318 return bb.isDirect(); in isDirect()
|
D | ByteBufferAsFloatBuffer.java | 317 public boolean isDirect() { in isDirect() method in ByteBufferAsFloatBuffer 318 return bb.isDirect(); in isDirect()
|
D | HeapIntBuffer.java | 257 public boolean isDirect() { in isDirect() method in HeapIntBuffer 334 } else if (src.isDirect()) { in put()
|
D | HeapFloatBuffer.java | 257 public boolean isDirect() { in isDirect() method in HeapFloatBuffer 334 } else if (src.isDirect()) { in put()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
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 | 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 | 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 | 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 | 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 | DirectDoubleBufferTest.java | 71 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectLongBufferTest.java | 72 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectIntBufferTest.java | 72 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectCharBufferTest.java | 72 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectShortBufferTest.java | 72 assertTrue(buf.isDirect()); in testIsDirect()
|
D | DirectFloatBufferTest.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()
|