Home
last modified time | relevance | path

Searched refs:hasArray (Results 1 – 25 of 43) 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.java42 return b.hasArray() ? b.array() : null; in getBaseArray()
53 return b.hasArray() ? ((b.arrayOffset() + b.position) << b._elementSizeShift) : 0; in getBaseArrayOffset()
/libcore/luni/src/main/java/javax/crypto/
DCipherSpi.java346 if (input.hasArray()) { in engineUpdate()
420 if (input.hasArray()) { in engineUpdateAAD()
532 if (input.hasArray()) { in engineDoFinal()
DMacSpi.java100 if (input.hasArray()) { in engineUpdate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DReadOnlyDirectByteBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyHeapByteBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyWrappedByteBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DDirectByteBufferTest.java53 assertTrue(buf.hasArray()); in testHasArray()
DHeapByteBufferTest.java54 assertTrue(buf.hasArray()); in testHasArray()
DDirectDoubleBufferTest.java34 assertFalse(buf.hasArray()); in testHasArray()
DDirectIntBufferTest.java34 assertFalse(buf.hasArray()); in testHasArray()
DDirectShortBufferTest.java34 assertFalse(buf.hasArray()); in testHasArray()
DDirectCharBufferTest.java35 assertFalse(buf.hasArray()); in testHasArray()
DDirectFloatBufferTest.java34 assertFalse(buf.hasArray()); in testHasArray()
DDirectLongBufferTest.java35 assertFalse(buf.hasArray()); in testHasArray()
DWrappedByteBufferTest.java90 assertTrue(buf.hasArray()); in testHasArray()
DReadOnlyFloatBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyDoubleBufferTest.java38 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyShortBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyLongBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyIntBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
/libcore/luni/src/main/java/java/nio/charset/
DCharsetDecoderICU.java168 if (out.hasArray()) { in getArray()
184 if (in.hasArray()) { in getArray()
204 if (out.hasArray()) { in setPosition()
DCharsetEncoderICU.java197 if (out.hasArray()) { in getArray()
213 if (in.hasArray()) { in getArray()
233 if (out.hasArray()) { in setPosition()
/libcore/luni/src/test/java/libcore/java/nio/
DNoArrayTest.java32 assertFalse(buf.hasArray()); in assertNoArray()
/libcore/luni/src/main/java/java/security/
DMessageDigestSpi.java77 if (input.hasArray()) { in engineUpdate()

12