/external/volley/src/test/java/com/android/volley/toolbox/ |
D | DiskBasedCacheTest.java | 515 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in serializeInt() local 516 assertEquals(DiskBasedCache.readInt(bais), 0); in serializeInt() 517 assertEquals(DiskBasedCache.readInt(bais), 19791214); in serializeInt() 518 assertEquals(DiskBasedCache.readInt(bais), -20050711); in serializeInt() 519 assertEquals(DiskBasedCache.readInt(bais), Integer.MIN_VALUE); in serializeInt() 520 assertEquals(DiskBasedCache.readInt(bais), Integer.MAX_VALUE); in serializeInt() 533 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in serializeLong() local 534 assertEquals(DiskBasedCache.readLong(bais), 0); in serializeLong() 535 assertEquals(DiskBasedCache.readLong(bais), 31337); in serializeLong() 536 assertEquals(DiskBasedCache.readLong(bais), -4160); in serializeLong() [all …]
|
/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 58 ObjectInputStream in = new ObjectInputStream(bais); in parse() 61 checkState(bais.read() == -1, in parse()
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/ |
D | InplaceFileConverter.java | 88 ByteArrayInputStream bais = new ByteArrayInputStream(input); in convertIntoTempByteArray() local 89 Reader reader = new InputStreamReader(bais); in convertIntoTempByteArray()
|
/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 65 final BZip2CompressorInputStream bzipIn = new BZip2CompressorInputStream(bais); in readOfLength0ShouldReturn0()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | OpenSSLX509CertificateTest.java | 81 ByteArrayInputStream bais = new ByteArrayInputStream(impostorBytes); in testSerialization_NoContextDeserialization() local 82 ObjectInputStream ois = new ObjectInputStream(bais); in testSerialization_NoContextDeserialization()
|
/external/apache-http/android/src/com/android/internal/http/multipart/ |
D | MultipartEntity.java | 223 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in getContent() local 224 return bais; in getContent()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | OpenSSLX509CertificateTest.java | 85 ByteArrayInputStream bais = new ByteArrayInputStream(impostorBytes); in testSerialization_NoContextDeserialization() local 86 ObjectInputStream ois = new ObjectInputStream(bais); in testSerialization_NoContextDeserialization()
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/ |
D | EventData.java | 79 ByteArrayInputStream bais = new ByteArrayInputStream(xml.getBytes()); in EventData() local 81 XMLDecoder decoder = new XMLDecoder(bais); in EventData()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/ |
D | AnnotationGenTestCase.java | 132 final ByteArrayInputStream bais = new ByteArrayInputStream(bs); in checkSerialize() local 134 try (DataInputStream dis = new DataInputStream(bais)) { in checkSerialize()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 461 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTrip() local 462 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneRoundTrip() 539 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTripPartial() local 540 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneRoundTripPartial() 606 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneSimpleWrite() local 607 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneSimpleWrite() 648 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local 649 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneHeaderProps() 679 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local 680 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneHeaderProps()
|
D | TimeZoneTest.java | 1173 ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in TestSimpleTimeZoneSerialization() local 1174 ObjectInputStream ois = new ObjectInputStream(bais); in TestSimpleTimeZoneSerialization()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 464 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTrip() local 465 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneRoundTrip() 542 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneRoundTripPartial() local 543 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneRoundTripPartial() 609 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneSimpleWrite() local 610 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneSimpleWrite() 651 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local 652 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneHeaderProps() 682 ByteArrayInputStream bais = new ByteArrayInputStream(vtzdata); in TestVTimeZoneHeaderProps() local 683 InputStreamReader reader = new InputStreamReader(bais); in TestVTimeZoneHeaderProps()
|
D | TimeZoneTest.java | 1176 ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in TestSimpleTimeZoneSerialization() local 1177 ObjectInputStream ois = new ObjectInputStream(bais); in TestSimpleTimeZoneSerialization()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | LightCodeInsightParsingTestCase.java | 99 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in doTest() local 100 SerializationManagerImpl.getInstanceEx().deserialize(bais); in doTest()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/ |
D | KeyPairGeneratorTest.java | 414 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in test_Key() local 415 ObjectInputStream ois = new ObjectInputStream(bais); in test_Key()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/ |
D | KeyPairGeneratorTest.java | 417 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in test_Key() local 418 ObjectInputStream ois = new ObjectInputStream(bais); in test_Key()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteStreamsTest.java | 283 ByteArrayInputStream bais = new ByteArrayInputStream(new byte[] {0x12, 0x34, 0x56, 0x78}); in testNewDataInput_BAIS() local 284 ByteArrayDataInput in = ByteStreams.newDataInput(bais); in testNewDataInput_BAIS()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | CompactDecimalFormatTest.java | 571 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in TestWriteAndReadObject() local 572 ObjectInputStream objinstream = new ObjectInputStream(bais); in TestWriteAndReadObject()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 615 ByteArrayInputStream bais = new ByteArrayInputStream(serialized); in testCertPathEncoding() local 616 ObjectInputStream ois = new ObjectInputStream(bais); in testCertPathEncoding()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 619 ByteArrayInputStream bais = new ByteArrayInputStream(serialized); in testCertPathEncoding() local 620 ObjectInputStream ois = new ObjectInputStream(bais); in testCertPathEncoding()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | CompactDecimalFormatTest.java | 568 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in TestWriteAndReadObject() local 569 ObjectInputStream objinstream = new ObjectInputStream(bais); in TestWriteAndReadObject()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | GeneratedMessageTest.java | 905 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerialize() local 906 ObjectInputStream in = new ObjectInputStream(bais); in testSerialize() 921 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerializePartial() local 922 ObjectInputStream in = new ObjectInputStream(bais); in testSerializePartial()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/ |
D | TestKeyStore.java | 767 ByteArrayInputStream bais = new ByteArrayInputStream(x509c.getEncoded()); in createCertificate() local 768 Certificate c = cf.generateCertificate(bais); in createCertificate()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/ |
D | TestKeyStore.java | 770 ByteArrayInputStream bais = new ByteArrayInputStream(x509c.getEncoded()); in createCertificate() local 771 Certificate c = cf.generateCertificate(bais); in createCertificate()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/data/transformtest/ |
D | und-Latn-t-und-deva.txt | 466 बैसाखी baisākhī
|