Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/io/
DOldPushbackInputStreamTest.java49 ByteArrayInputStream bas = new ByteArrayInputStream("Hello".getBytes()); in test_ConstructorLjava_io_InputStreamI() local
51 pis = new PushbackInputStream(bas, 0); in test_ConstructorLjava_io_InputStreamI()
57 pis = new PushbackInputStream(bas, -1); in test_ConstructorLjava_io_InputStreamI()
63 pis = new PushbackInputStream(bas , 5); in test_ConstructorLjava_io_InputStreamI()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestByteArrayAsShort.java139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider() local
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()
DVarHandleTestByteArrayAsChar.java139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider() local
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()
DVarHandleTestByteArrayAsFloat.java139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider() local
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()
DVarHandleTestByteArrayAsDouble.java139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider() local
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()
DVarHandleTestByteArrayAsLong.java139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider() local
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()
DVarHandleTestByteArrayAsInt.java139 ByteArraySource bas = (ByteArraySource) bav; in accessTestCaseProvider() local
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()
DX-VarHandleTestByteArrayView.java.template171 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),