| /external/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
| D | ClassLoaderObjectInputStreamTest.java | 85 final InputStream bais = new ByteArrayInputStream(SerializationUtils.serialize(input)); in testExpected() local 86 …derObjectInputStream clois = new ClassLoaderObjectInputStream(getClass().getClassLoader(), bais)) { in testExpected() argument 95 final InputStream bais = new ByteArrayInputStream(SerializationUtils.serialize(input)); in testLong() local 96 …derObjectInputStream clois = new ClassLoaderObjectInputStream(getClass().getClassLoader(), bais)) { in testLong() argument 105 final InputStream bais = new ByteArrayInputStream(SerializationUtils.serialize(input)); in testObject1() local 106 …derObjectInputStream clois = new ClassLoaderObjectInputStream(getClass().getClassLoader(), bais)) { in testObject1() argument 115 final InputStream bais = new ByteArrayInputStream(SerializationUtils.serialize(input)); in testObject2() local 116 …derObjectInputStream clois = new ClassLoaderObjectInputStream(getClass().getClassLoader(), bais)) { in testObject2() argument 129 final InputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testPrimitiveLong() local 130 …derObjectInputStream clois = new ClassLoaderObjectInputStream(getClass().getClassLoader(), bais)) { in testPrimitiveLong() argument [all …]
|
| D | CountingInputStreamTest.java | 68 final ByteArrayInputStream bais = new ByteArrayInputStream(new byte[2]); in testEOF1() local 85 final ByteArrayInputStream bais = new ByteArrayInputStream(new byte[2]); in testEOF2() local 98 final ByteArrayInputStream bais = new ByteArrayInputStream(new byte[2]); in testEOF3() local 135 final ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testResetting() local 166 final ByteArrayInputStream bais = new ByteArrayInputStream(IOUtils.EMPTY_BYTE_ARRAY); in testZeroLength1() local 177 final ByteArrayInputStream bais = new ByteArrayInputStream(IOUtils.EMPTY_BYTE_ARRAY); in testZeroLength2() local 190 final ByteArrayInputStream bais = new ByteArrayInputStream(IOUtils.EMPTY_BYTE_ARRAY); in testZeroLength3() local
|
| D | SwappedDataInputStreamTest.java | 55 final ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in setUp() local 68 final ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testReadBoolean()
|
| /external/cbor-java/src/test/java/co/nstant/in/cbor/decoder/ |
| D | LanguageTaggedStringDecoderTest.java | 28 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
|
| D | CborDecoderTest.java | 88 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
|
| D | ByteStringDecoderTest.java | 32 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
|
| D | MapDecoderTest.java | 47 ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in shouldThrowOnDuplicateKeyIfEnabled() local 57 ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in shouldThrowInDuplicateKeyInIndefiniteLengthMapIfEnabled() local
|
| D | UnsignedIntegerDecoderTest.java | 32 ByteArrayInputStream bais = new ByteArrayInputStream(encodedBytes); in shouldDecodeBigNumbers() local
|
| D | UnicodeStringDecoderTest.java | 31 ByteArrayInputStream bais = new ByteArrayInputStream(encodedBytes); in shouldDecodeChunkedUnicodeString() local
|
| /external/apache-commons-io/src/test/java/org/apache/commons/io/input/buffer/ |
| D | CircularBufferInputStreamTest.java | 44 …try (ByteArrayInputStream bais = new ByteArrayInputStream(buffer); final CircularBufferInputStream… in testIO683() 59 final ByteArrayInputStream bais = new ByteArrayInputStream(inputBuffer); in testRandomRead() local
|
| /external/okio/okio/src/jvmTest/kotlin/okio/ |
| D | OkioKotlinTest.kt | 42 val bais = ByteArrayInputStream(byteArrayOf(0x61)) in inputStreamSource() constant 118 val bais = ByteArrayInputStream(byteArrayOf(0x61)) in socketSource() constant
|
| /external/apache-xml/test/java/src/org/apache/qetest/trax/stream/ |
| D | StreamSourceAPITest.java | 157 ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testCase1() local 159 …reporter.checkObject(byteSource1.getInputStream(), bais, "StreamSource(is) has ByteStream " + byte… in testCase1() local 165 …reporter.checkObject(byteSource2.getInputStream(), bais, "StreamSource(is, sysID) has ByteStream "… in testCase1() local
|
| /external/aws-sdk-java-v2/core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/compression/ |
| D | GzipCompressorTest.java | 43 ByteArrayInputStream bais = new ByteArrayInputStream(compressedData); in compressedData_decompressesCorrectly() local
|
| /external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
| D | CommandLineSerializer.java | 57 ByteArrayInputStream bais = new ByteArrayInputStream(BaseEncoding.base64().decode(arg)); in parse() local
|
| /external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
| D | OpenSSLX509CertificateTest.java | 123 ByteArrayInputStream bais = new ByteArrayInputStream(impostorBytes); in testSerialization_NoContextDeserialization() local
|
| /external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
| D | OpenSSLX509CertificateTest.java | 115 ByteArrayInputStream bais = new ByteArrayInputStream(impostorBytes); in testSerialization_NoContextDeserialization() local
|
| /external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/bzip2/ |
| D | BZip2CompressorInputStreamTest.java | 64 final ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in readOfLength0ShouldReturn0() local
|
| /external/kotlinx.serialization/formats/json-tests/jvmTest/src/kotlinx/serialization/json/ |
| D | JsonConcurrentStressTest.kt | 59 val bais = ByteArrayInputStream(baos.toByteArray()) in <lambda>() constant
|
| /external/apache-velocity-engine/velocity-engine-examples/src/main/java/org/apache/velocity/example/ |
| D | DBContext.java | 128 ByteArrayInputStream bais = new ByteArrayInputStream(buf); in internalPut() local
|
| /external/grpc-grpc-java/protobuf-lite/src/test/java/io/grpc/protobuf/lite/ |
| D | ProtoLiteUtilsTest.java | 296 ByteArrayInputStream bais = new ByteArrayInputStream(ByteStreams.toByteArray(is)); in assertRecursionLimitExceeded() local 304 ByteArrayInputStream bais = new ByteArrayInputStream(ByteStreams.toByteArray(is)); in assertRecursionLimitNotExceeded() local
|
| /external/apache-http/android/src/com/android/internal/http/multipart/ |
| D | MultipartEntity.java | 223 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in getContent() local
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
| D | TimeZoneRuleTest.java | 466 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTrip() local 544 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTripPartial() local 611 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneSimpleWrite() local 653 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local 684 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local
|
| /external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/timezone/ |
| D | TimeZoneRuleTest.java | 463 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTrip() local 541 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTripPartial() local 608 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneSimpleWrite() local 650 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local 681 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local
|
| /external/aws-sdk-java-v2/core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/async/ |
| D | CompressionAsyncRequestBodyTest.java | 146 ByteArrayInputStream bais = new ByteArrayInputStream(compressedData); in decompress() local
|
| /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/ |
| D | InplaceFileConverter.java | 88 ByteArrayInputStream bais = new ByteArrayInputStream(input); in convertIntoTempByteArray() local
|