Home
last modified time | relevance | path

Searched defs:bais (Results 1 – 25 of 48) sorted by relevance

12

/external/cbor-java/src/test/java/co/nstant/in/cbor/decoder/
DLanguageTaggedStringDecoderTest.java28 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in shouldThrowException() local
42 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testExceptionOnNotAnArray() local
56 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testExceptionOnNot2ElementArray() local
70 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testExceptionOnNotFirstElementIsString() local
84 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testExceptionOnNotSecondElementIsString() local
98 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testDecoding() local
DCborDecoderTest.java88 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in shouldThrowOnRationalNumberDecode1() local
102 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in shouldThrowOnRationalNumberDecode2() local
116 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in shouldThrowOnRationalNumberDecode3() local
130 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in shouldThrowOnRationalNumberDecode4() local
144 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in shouldDecodeRationalNumber() local
172 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in shouldDecodeTaggedRationalNumber() local
DByteStringDecoderTest.java32 ByteArrayInputStream bais = new ByteArrayInputStream(encodedBytes); in shouldDecodeChunkedByteString() local
45 ByteArrayInputStream bais = new ByteArrayInputStream(encodedBytes); in shouldDecodeByteString1K() local
58 ByteArrayInputStream bais = new ByteArrayInputStream(encodedBytes); in shouldDecodeByteString1M() local
DMapDecoderTest.java47 ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in shouldThrowOnDuplicateKeyIfEnabled() local
57 ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in shouldThrowInDuplicateKeyInIndefiniteLengthMapIfEnabled() local
DUnicodeStringDecoderTest.java31 ByteArrayInputStream bais = new ByteArrayInputStream(encodedBytes); in shouldDecodeChunkedUnicodeString() local
DUnsignedIntegerDecoderTest.java32 ByteArrayInputStream bais = new ByteArrayInputStream(encodedBytes); in shouldDecodeBigNumbers() local
/external/okio/okio/src/jvmTest/kotlin/okio/
DOkioKotlinTest.kt42 val bais = ByteArrayInputStream(byteArrayOf(0x61)) in inputStreamSource() constant
117 val bais = ByteArrayInputStream(byteArrayOf(0x61)) in socketSource() constant
/external/kotlinx.coroutines/integration-testing/src/npmTest/kotlin/
DNpmPublicationValidator.kt46 val bais = ByteArrayOutputStream() in <lambda>() constant
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DCommandLineSerializer.java57 ByteArrayInputStream bais = new ByteArrayInputStream(BaseEncoding.base64().decode(arg)); in parse() local
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DOpenSSLX509CertificateTest.java101 ByteArrayInputStream bais = new ByteArrayInputStream(impostorBytes); in testSerialization_NoContextDeserialization() local
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DOpenSSLX509CertificateTest.java106 ByteArrayInputStream bais = new ByteArrayInputStream(impostorBytes); in testSerialization_NoContextDeserialization() local
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/bzip2/
DBZip2CompressorInputStreamTest.java64 final ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in readOfLength0ShouldReturn0() local
/external/apache-http/android/src/com/android/internal/http/multipart/
DMultipartEntity.java223 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in getContent() local
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
DInplaceFileConverter.java88 ByteArrayInputStream bais = new ByteArrayInputStream(input); in convertIntoTempByteArray() local
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DParseExceptionsTest.java228 ByteArrayInputStream bais = new ByteArrayInputStream(body); in messageBuilder_mergeDelimitedFrom_InputStream_malformed() local
DGeneratedMessageTest.java834 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerialize() local
850 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerializePartial() local
875 ByteArrayInputStream bais = new ByteArrayInputStream(int32ValueBytes); in testDeserializeWithoutClassField() local
911 ByteArrayInputStream bais = new ByteArrayInputStream(int32ValueBytes); in testDeserializeWithClassField() local
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java461 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTrip() local
539 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTripPartial() local
606 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneSimpleWrite() local
648 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local
679 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java464 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTrip() local
542 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTripPartial() local
609 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneSimpleWrite() local
651 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local
682 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DAnnotationGenTestCase.java132 final ByteArrayInputStream bais = new ByteArrayInputStream(bs); in checkSerialize() local
/external/volley/src/test/java/com/android/volley/toolbox/
DDiskBasedCacheTest.java515 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in serializeInt() local
533 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in serializeLong() local
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
DEventData.java79 ByteArrayInputStream bais = new ByteArrayInputStream(xml.getBytes()); in EventData() local
/external/javassist/src/test/javassist/proxyfactory/
DProxyFactoryTest.java51 ByteArrayInputStream bais = new ByteArrayInputStream(ba); in testSerialize() local
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
DKeyPairGeneratorTest.java278 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in test_Key() local
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
DKeyPairGeneratorTest.java282 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in test_Key() local
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java729 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerialize() local
745 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerializePartial() local

12