Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestByteArrayAsShort.java135 for (ByteArrayViewSource<?> bav : bavss) { in accessTestCaseProvider()
137 if (vh.matches(bav)) { in accessTestCaseProvider()
138 if (bav instanceof ByteArraySource) { in accessTestCaseProvider()
139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider()
142 "read write", bav, vh, h -> testArrayReadWrite(bas, h), in accessTestCaseProvider()
145 "null array", bav, vh, h -> testArrayNPE(bas, h), in accessTestCaseProvider()
148 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h), in accessTestCaseProvider()
151 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h), in accessTestCaseProvider()
154 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bas, h), in accessTestCaseProvider()
158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
[all …]
DVarHandleTestByteArrayAsChar.java135 for (ByteArrayViewSource<?> bav : bavss) { in accessTestCaseProvider()
137 if (vh.matches(bav)) { in accessTestCaseProvider()
138 if (bav instanceof ByteArraySource) { in accessTestCaseProvider()
139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider()
142 "read write", bav, vh, h -> testArrayReadWrite(bas, h), in accessTestCaseProvider()
145 "null array", bav, vh, h -> testArrayNPE(bas, h), in accessTestCaseProvider()
148 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h), in accessTestCaseProvider()
151 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h), in accessTestCaseProvider()
154 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bas, h), in accessTestCaseProvider()
158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
[all …]
DVarHandleTestByteArrayAsFloat.java135 for (ByteArrayViewSource<?> bav : bavss) { in accessTestCaseProvider()
137 if (vh.matches(bav)) { in accessTestCaseProvider()
138 if (bav instanceof ByteArraySource) { in accessTestCaseProvider()
139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider()
142 "read write", bav, vh, h -> testArrayReadWrite(bas, h), in accessTestCaseProvider()
145 "null array", bav, vh, h -> testArrayNPE(bas, h), in accessTestCaseProvider()
148 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h), in accessTestCaseProvider()
151 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h), in accessTestCaseProvider()
154 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bas, h), in accessTestCaseProvider()
158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
[all …]
DVarHandleTestByteArrayAsDouble.java135 for (ByteArrayViewSource<?> bav : bavss) { in accessTestCaseProvider()
137 if (vh.matches(bav)) { in accessTestCaseProvider()
138 if (bav instanceof ByteArraySource) { in accessTestCaseProvider()
139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider()
142 "read write", bav, vh, h -> testArrayReadWrite(bas, h), in accessTestCaseProvider()
145 "null array", bav, vh, h -> testArrayNPE(bas, h), in accessTestCaseProvider()
148 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h), in accessTestCaseProvider()
151 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h), in accessTestCaseProvider()
154 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bas, h), in accessTestCaseProvider()
158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
[all …]
DVarHandleTestByteArrayAsLong.java135 for (ByteArrayViewSource<?> bav : bavss) { in accessTestCaseProvider()
137 if (vh.matches(bav)) { in accessTestCaseProvider()
138 if (bav instanceof ByteArraySource) { in accessTestCaseProvider()
139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider()
142 "read write", bav, vh, h -> testArrayReadWrite(bas, h), in accessTestCaseProvider()
145 "null array", bav, vh, h -> testArrayNPE(bas, h), in accessTestCaseProvider()
148 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h), in accessTestCaseProvider()
151 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h), in accessTestCaseProvider()
154 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bas, h), in accessTestCaseProvider()
158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
[all …]
DVarHandleTestByteArrayAsInt.java135 for (ByteArrayViewSource<?> bav : bavss) { in accessTestCaseProvider()
137 if (vh.matches(bav)) { in accessTestCaseProvider()
138 if (bav instanceof ByteArraySource) { in accessTestCaseProvider()
139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider()
142 "read write", bav, vh, h -> testArrayReadWrite(bas, h), in accessTestCaseProvider()
145 "null array", bav, vh, h -> testArrayNPE(bas, h), in accessTestCaseProvider()
148 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h), in accessTestCaseProvider()
151 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h), in accessTestCaseProvider()
154 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bas, h), in accessTestCaseProvider()
158 ByteBufferSource bbs = (ByteBufferSource) bav; in accessTestCaseProvider()
[all …]
DX-VarHandleTestByteArrayView.java.template167 for (ByteArrayViewSource<?> bav : bavss) {
169 if (vh.matches(bav)) {
170 if (bav instanceof ByteArraySource) {
171 ByteArraySource bas = (ByteArraySource) bav;
174 "read write", bav, vh, h -> testArrayReadWrite(bas, h),
177 "null array", bav, vh, h -> testArrayNPE(bas, h),
180 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h),
183 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h),
186 … "misaligned access", bav, vh, h -> testArrayMisalignedAccess(bas, h),
190 ByteBufferSource bbs = (ByteBufferSource) bav;
[all …]
DVarHandleBaseByteArrayTest.java169 boolean matches(ByteArrayViewSource<?> bav) { in matches() argument
170 return s.coordinateTypes().get(0).isAssignableFrom(bav.s.getClass()); in matches()