Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleBaseByteArrayTest.java120 static class ByteBufferSource extends ByteArrayViewSource<ByteBuffer> { class in VarHandleBaseByteArrayTest
121 public ByteBufferSource(ByteBuffer buffer, MemoryMode... modes) { in ByteBufferSource() method in VarHandleBaseByteArrayTest.ByteBufferSource
143 static class ByteBufferReadOnlySource extends ByteBufferSource {
285 ByteBufferSource hbb = in setupByteSources()
286 new ByteBufferSource(ByteBuffer.wrap(array), in setupByteSources()
294 ByteBufferSource hbb_offset_aligned = in setupByteSources()
295 … new ByteBufferSource(ByteBuffer.wrap(array, array.length / 4, array.length / 2).slice(), in setupByteSources()
303 ByteBufferSource hbb_offset_unaligned = in setupByteSources()
304 … new ByteBufferSource(ByteBuffer.wrap(array, array.length / 4 - 1, array.length / 2).slice(), in setupByteSources()
313 ByteBufferSource dbb = in setupByteSources()
[all …]
DVarHandleTestByteArrayAsShort.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
245 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
384 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
639 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
731 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
823 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
868 static void testArrayReadOnly(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadOnly()
DVarHandleTestByteArrayAsChar.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
245 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
384 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
639 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
731 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
823 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
868 static void testArrayReadOnly(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadOnly()
DVarHandleTestByteArrayAsFloat.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
288 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
427 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
685 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
864 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
1126 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
1298 static void testArrayReadOnly(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadOnly()
DVarHandleTestByteArrayAsDouble.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
288 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
427 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
685 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
864 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
1126 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
1298 static void testArrayReadOnly(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadOnly()
DVarHandleTestByteArrayAsLong.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
334 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
473 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
731 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
1002 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
1420 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
1702 static void testArrayReadOnly(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadOnly()
DVarHandleTestByteArrayAsInt.java158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
334 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
473 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
731 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
1002 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
1420 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
1702 static void testArrayReadOnly(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadOnly()
DX-VarHandleTestByteArrayView.java.template190 ByteBufferSource bbs = (ByteBufferSource) bav;
372 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) {
612 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) {
1069 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable {
1352 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable {
1782 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) {
2070 static void testArrayReadOnly(ByteBufferSource bs, VarHandleSource vhs) {