Home
last modified time | relevance | path

Searched refs:bbs (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineTest.java325 …ByteBuffer bbs = ByteBuffer.wrap(new byte[] {1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3… in test_unwrap_01() local
328 clientEngine.engine.unwrap(bbs, new ByteBuffer[] { bbd }, 0, 1); in test_unwrap_01()
471 ByteBuffer bbs = ByteBuffer.allocate(100); in test_wrap_01() local
473 clientEngine.engine.wrap(new ByteBuffer[] { bbs }, 0, 1, bbd); in test_wrap_01()
626 ByteBuffer bbs = ByteBuffer.allocate(100); in test_unwrap_ByteBuffer_ByteBuffer_01() local
630 SSLEngineResult unwrap = clientEngine.engine.unwrap(bbs, bbd); in test_unwrap_ByteBuffer_ByteBuffer_01()
644 ByteBuffer bbs = ByteBuffer.allocate(10); in test_unwrap_ByteBuffer_ByteBuffer_02() local
650 sse.unwrap(bbs, bbd); in test_unwrap_ByteBuffer_ByteBuffer_02()
668 ByteBuffer bbs = ByteBuffer.allocate(10); in test_unwrap_ByteBuffer_ByteBuffer_03() local
680 sse.unwrap(bbs, bbdN); in test_unwrap_ByteBuffer_ByteBuffer_03()
[all …]
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestByteArrayAsShort.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider() local
162 "read write", bav, vh, h -> testArrayReadWrite(bbs, h), in accessTestCaseProvider()
167 "read only", bav, vh, h -> testArrayReadOnly(bbs, h), in accessTestCaseProvider()
172 "null buffer", bav, vh, h -> testArrayNPE(bbs, h), in accessTestCaseProvider()
175 "unsupported", bav, vh, h -> testArrayUnsupported(bbs, h), in accessTestCaseProvider()
178 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bbs, h), in accessTestCaseProvider()
181 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bbs, h), in accessTestCaseProvider()
DVarHandleTestByteArrayAsChar.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider() local
162 "read write", bav, vh, h -> testArrayReadWrite(bbs, h), in accessTestCaseProvider()
167 "read only", bav, vh, h -> testArrayReadOnly(bbs, h), in accessTestCaseProvider()
172 "null buffer", bav, vh, h -> testArrayNPE(bbs, h), in accessTestCaseProvider()
175 "unsupported", bav, vh, h -> testArrayUnsupported(bbs, h), in accessTestCaseProvider()
178 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bbs, h), in accessTestCaseProvider()
181 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bbs, h), in accessTestCaseProvider()
DVarHandleTestByteArrayAsFloat.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider() local
162 "read write", bav, vh, h -> testArrayReadWrite(bbs, h), in accessTestCaseProvider()
167 "read only", bav, vh, h -> testArrayReadOnly(bbs, h), in accessTestCaseProvider()
172 "null buffer", bav, vh, h -> testArrayNPE(bbs, h), in accessTestCaseProvider()
175 "unsupported", bav, vh, h -> testArrayUnsupported(bbs, h), in accessTestCaseProvider()
178 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bbs, h), in accessTestCaseProvider()
181 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bbs, h), in accessTestCaseProvider()
DVarHandleTestByteArrayAsDouble.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider() local
162 "read write", bav, vh, h -> testArrayReadWrite(bbs, h), in accessTestCaseProvider()
167 "read only", bav, vh, h -> testArrayReadOnly(bbs, h), in accessTestCaseProvider()
172 "null buffer", bav, vh, h -> testArrayNPE(bbs, h), in accessTestCaseProvider()
175 "unsupported", bav, vh, h -> testArrayUnsupported(bbs, h), in accessTestCaseProvider()
178 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bbs, h), in accessTestCaseProvider()
181 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bbs, h), in accessTestCaseProvider()
DVarHandleTestByteArrayAsLong.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider() local
162 "read write", bav, vh, h -> testArrayReadWrite(bbs, h), in accessTestCaseProvider()
167 "read only", bav, vh, h -> testArrayReadOnly(bbs, h), in accessTestCaseProvider()
172 "null buffer", bav, vh, h -> testArrayNPE(bbs, h), in accessTestCaseProvider()
175 "unsupported", bav, vh, h -> testArrayUnsupported(bbs, h), in accessTestCaseProvider()
178 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bbs, h), in accessTestCaseProvider()
181 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bbs, h), in accessTestCaseProvider()
DVarHandleTestByteArrayAsInt.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider() local
162 "read write", bav, vh, h -> testArrayReadWrite(bbs, h), in accessTestCaseProvider()
167 "read only", bav, vh, h -> testArrayReadOnly(bbs, h), in accessTestCaseProvider()
172 "null buffer", bav, vh, h -> testArrayNPE(bbs, h), in accessTestCaseProvider()
175 "unsupported", bav, vh, h -> testArrayUnsupported(bbs, h), in accessTestCaseProvider()
178 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bbs, h), in accessTestCaseProvider()
181 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bbs, h), in accessTestCaseProvider()
DX-VarHandleTestByteArrayView.java.template190 ByteBufferSource bbs = (ByteBufferSource) bav;
194 "read write", bav, vh, h -> testArrayReadWrite(bbs, h),
199 "read only", bav, vh, h -> testArrayReadOnly(bbs, h),
204 "null buffer", bav, vh, h -> testArrayNPE(bbs, h),
207 "unsupported", bav, vh, h -> testArrayUnsupported(bbs, h),
210 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bbs, h),
213 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bbs, h),