Home
last modified time | relevance | path

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

123

/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.java50 return b.hasArray() ? b.array() : null; in getBaseArray()
62 return b.hasArray() ? ((b.arrayOffset() + b.position) << b._elementSizeShift) : 0; in getBaseArrayOffset()
/libcore/luni/src/main/java/java/nio/charset/
DCharsetDecoderICU.java165 if (out.hasArray()) { in getArray()
181 if (in.hasArray()) { in getArray()
201 if (out.hasArray()) { in setPosition()
DCharsetEncoderICU.java193 if (out.hasArray()) { in getArray()
209 if (in.hasArray()) { in getArray()
229 if (out.hasArray()) { in setPosition()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DReadOnlyHeapByteBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyWrappedByteBufferTest.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()
DDirectDoubleBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DDirectFloatBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DDirectIntBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyFloatBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyLongBufferTest.java37 assertFalse(buf.hasArray()); in testHasArray()
DReadOnlyIntBufferTest.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/src/main/java/java/util/zip/
DCRC32.java110 } else if (buffer.hasArray()) { in update()
DAdler32.java113 } else if (buffer.hasArray()) { in update()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java88 public abstract boolean hasArray(); in hasArray() method in Buffer

123