Home
last modified time | relevance | path

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

1234

/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java275 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()
DDeflater.java353 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/
DByteBuffer.java1163 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()
DByteBufferAsDoubleBuffer.java317 public boolean isDirect() { in isDirect() method in ByteBufferAsDoubleBuffer
318 return bb.isDirect(); in isDirect()
DByteBufferAsLongBuffer.java317 public boolean isDirect() { in isDirect() method in ByteBufferAsLongBuffer
318 return bb.isDirect(); in isDirect()
DByteBufferAsIntBuffer.java317 public boolean isDirect() { in isDirect() method in ByteBufferAsIntBuffer
318 return bb.isDirect(); in isDirect()
DByteBufferAsShortBuffer.java317 public boolean isDirect() { in isDirect() method in ByteBufferAsShortBuffer
318 return bb.isDirect(); in isDirect()
DByteBufferAsFloatBuffer.java317 public boolean isDirect() { in isDirect() method in ByteBufferAsFloatBuffer
318 return bb.isDirect(); in isDirect()
DHeapIntBuffer.java257 public boolean isDirect() { in isDirect() method in HeapIntBuffer
334 } else if (src.isDirect()) { in put()
DHeapFloatBuffer.java257 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/
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()
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()
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()
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());
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()
DDirectDoubleBufferTest.java71 assertTrue(buf.isDirect()); in testIsDirect()
DDirectLongBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
DDirectIntBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
DDirectCharBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
DDirectShortBufferTest.java72 assertTrue(buf.isDirect()); in testIsDirect()
DDirectFloatBufferTest.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()

1234