Home
last modified time | relevance | path

Searched refs:hasArray (Results 1 – 25 of 50) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharsetEncoderDecoderBufferTest.java42 assertTrue(out.hasArray()); in testDecoderOutputBuffer()
52 assertFalse(out.hasArray()); in testDecoderOutputBuffer()
75 assertTrue(inWithArray.hasArray()); in testDecoderInputBuffer()
82 assertFalse(inWithoutArray.hasArray()); in testDecoderInputBuffer()
101 assertTrue(out.hasArray()); in testEncoderOutputBuffer()
133 assertTrue(inWithArray.hasArray()); in testEncoderInputBuffer()
140 assertFalse(inWithoutArray.hasArray()); in testEncoderInputBuffer()
/libcore/luni/src/main/java/java/nio/
DNIOAccess.java53 return b.hasArray() ? b.array() : null; in getBaseArray()
66 return b.hasArray() ? ((b.arrayOffset() + b.position) << b._elementSizeShift) : 0; in getBaseArrayOffset()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DReadOnlyWrappedByteBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyHeapByteBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyDirectByteBufferTest.java38 assertFalse(buf.hasArray()); in testHasArray()
DHeapByteBufferTest.java54 assertTrue(buf.hasArray()); in testHasArray()
DWrappedByteBufferTest.java90 assertTrue(buf.hasArray()); in testHasArray()
DDirectCharBufferTest.java38 assertFalse(buf.hasArray()); in testHasArray()
DDirectShortBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DDirectLongBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DDirectFloatBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DDirectIntBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DDirectDoubleBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyLongBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DDirectByteBufferTest.java56 assertTrue(buf.hasArray()); in testHasArray()
DReadOnlyDoubleBufferTest.java38 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyIntBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyFloatBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
/libcore/luni/src/test/java/libcore/java/nio/
DNoArrayTest.java32 assertFalse(buf.hasArray()); in assertNoArray()
/libcore/ojluni/src/main/java/javax/crypto/
DMacSpi.java105 if (input.hasArray()) { in engineUpdate()
DCipherSpi.java763 boolean a1 = input.hasArray(); in bufferCrypt()
764 boolean a2 = output.hasArray(); in bufferCrypt()
/libcore/ojluni/src/main/java/java/security/
DMessageDigestSpi.java109 if (input.hasArray()) { in engineUpdate()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java88 public abstract boolean hasArray(); in hasArray() method in Buffer
/libcore/ojluni/src/main/java/java/util/zip/
DCRC32.java110 } else if (buffer.hasArray()) { in update()
DAdler32.java113 } else if (buffer.hasArray()) { in update()

12