/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 325 …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/ |
D | VarHandleTestByteArrayAsShort.java | 158 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()
|
D | VarHandleTestByteArrayAsChar.java | 158 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()
|
D | VarHandleTestByteArrayAsFloat.java | 158 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()
|
D | VarHandleTestByteArrayAsDouble.java | 158 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()
|
D | VarHandleTestByteArrayAsLong.java | 158 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()
|
D | VarHandleTestByteArrayAsInt.java | 158 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()
|
D | X-VarHandleTestByteArrayView.java.template | 190 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),
|