/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
D | PrintStreamTest.java | 207 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in test_print$C() local 211 bis.read(rbytes, 0, fileString.length()); in test_print$C() 223 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in test_printC() local 224 InputStreamReader isr = new InputStreamReader(bis); in test_printC() 236 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in test_printD() local 237 bis.read(rbuf, 0, 16); in test_printD() 251 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in test_printF() local 252 bis.read(rbuf, 0, 8); in test_printF() 266 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in test_printI() local 267 bis.read(rbuf, 0, 9); in test_printI() [all …]
|
D | FilterOutputStreamTest.java | 34 ByteArrayInputStream bis; field in FilterOutputStreamTest 80 bis = new ByteArrayInputStream(bos.toByteArray()); in test_write$B() 83 bis.available() == fileString.length()); in test_write$B() 85 bis.read(wbytes, 0, fileString.length()); in test_write$B() 97 bis = new ByteArrayInputStream(bos.toByteArray()); in test_write$BII() 100 bis.available() == fileString.length()); in test_write$BII() 102 bis.read(wbytes, 0, fileString.length()); in test_write$BII() 114 bis = new ByteArrayInputStream(bos.toByteArray()); in test_writeI() 116 assertEquals("Byte not written after flush", 1, bis.available()); in test_writeI() 118 bis.read(wbytes, 0, 1); in test_writeI() [all …]
|
D | BufferedInputStreamTest.java | 121 BufferedInputStream bis = new BufferedInputStream( in test_available() local 124 int available = bis.available(); in test_available() 125 bis.close(); in test_available() 129 bis.available(); in test_available() 292 BufferedInputStream bis = new BufferedInputStream(null); in test_read$BII_Exception() local 294 bis.read(null, -1, -1); in test_read$BII_Exception() 301 bis.read(new byte[0], -1, -1); in test_read$BII_Exception() 308 bis.read(new byte[0], 1, -1); in test_read$BII_Exception() 315 bis.read(new byte[0], 1, 1); in test_read$BII_Exception() 321 bis.close(); in test_read$BII_Exception() [all …]
|
D | ByteArrayInputStreamTest.java | 35 InputStream bis = new ByteArrayInputStream(fileString.getBytes()); in test_Constructor$B() local 38 bis.available() == fileString.length()); in test_Constructor$B() 46 InputStream bis = new ByteArrayInputStream(zz, 0, 100); in test_Constructor$BII() local 48 assertEquals("Unable to create ByteArrayInputStream", 100, bis in test_Constructor$BII()
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
D | BinaryImporter.java | 135 BufferedInputStream bis = new BufferedInputStream(is); in load() local 140 int maybeSignature = ByteUtils.readInt(bis); in load() 143 formatVersion = ByteUtils.readInt(bis); in load() 144 numClasses = ByteUtils.readInt(bis); in load() 166 String alias = readString(bis, aliasWidth); in load() 171 int classHierarchySize = bis.read(); in load() 174 classHierarchyVersions[j] = ByteUtils.readInt(bis); in load() 181 int classLength = ByteUtils.readInt(bis); in load() 182 String className = readString(bis, classLength); in load() 189 int fields = ByteUtils.readInt(bis); in load() [all …]
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
D | TestUtils.java | 96 BufferedInputStream bis = null; in getTrustAnchor() local 98 bis = new BufferedInputStream(new ByteArrayInputStream( in getTrustAnchor() 100 X509Certificate c1 = (X509Certificate)cf.generateCertificate(bis); in getTrustAnchor() 107 if (bis != null) { in getTrustAnchor() 109 bis.close() ; in getTrustAnchor() 149 BufferedInputStream bis = null; in getKeyStore() local 161 if (initialize && bis != null) { in getKeyStore() 163 bis.close(); in getKeyStore()
|
/external/llvm/test/CodeGen/MSP430/ |
D | AddrMode-bis-rx.ll | 11 ; CHECK: bis.w 0(r14), r15 21 ; CHECK: bis.w &foo, r15 32 ; CHECK: bis.b bar(r14), r15 40 ; CHECK: bis.w &32, r15 49 ; CHECK: bis.w 4(r14), r15 60 ; CHECK: bis.w &baz+2, r15 73 ; CHECK: bis.b duh+2(r14), r15
|
D | AddrMode-bis-xr.ll | 12 ; CHECK: bis.w r14, 0(r15) 23 ; CHECK: bis.w r15, &foo 35 ; CHECK: bis.b r14, bar(r15) 44 ; CHECK: bis.w r15, &32 54 ; CHECK: bis.w r14, 4(r15) 66 ; CHECK: bis.w r15, &baz+2 80 ; CHECK: bis.b r14, duh+2(r15)
|
D | Inst8ri.ll | 25 define i8 @bis(i8 %a, i8 %b) nounwind { 26 ; CHECK: bis: 27 ; CHECK: bis.b #1, r15
|
D | Inst16ri.ll | 25 define i16 @bis(i16 %a, i16 %b) nounwind { 26 ; CHECK: bis: 27 ; CHECK: bis.w #1, r15
|
D | Inst8mi.ll | 31 define void @bis() nounwind { 32 ; CHECK: bis: 33 ; CHECK: bis.b #2, &foo
|
D | Inst16mi.ll | 32 define void @bis() nounwind { 33 ; CHECK: bis: 34 ; CHECK: bis.w #2, &foo
|
D | Inst16rm.ll | 22 define i16 @bis(i16 %a) nounwind { 23 ; CHECK: bis: 24 ; CHECK: bis.w &foo, r15
|
D | Inst8rm.ll | 22 define i8 @bis(i8 %a) nounwind { 23 ; CHECK: bis: 24 ; CHECK: bis.b &foo, r15
|
D | Inst8rr.ll | 25 define i8 @bis(i8 %a, i8 %b) nounwind { 26 ; CHECK: bis: 27 ; CHECK: bis.w r14, r15
|
D | Inst8mm.ll | 36 define void @bis() nounwind { 37 ; CHECK: bis: 38 ; CHECK: bis.b &bar, &foo
|
D | Inst16rr.ll | 25 define i16 @bis(i16 %a, i16 %b) nounwind { 26 ; CHECK: bis: 27 ; CHECK: bis.w r14, r15
|
D | Inst8mr.ll | 31 define void @bis(i8 %a) nounwind { 32 ; CHECK: bis: 33 ; CHECK: bis.b r15, &foo
|
D | Inst16mr.ll | 31 define void @bis(i16 %a) nounwind { 32 ; CHECK: bis: 33 ; CHECK: bis.w r15, &foo
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
D | RawHeightMap.java | 165 BufferedInputStream bis = null; in load() local 169 bis = new BufferedInputStream(stream); in load() 171 LittleEndien dis = new LittleEndien(bis); in load() 186 DataInputStream dis = new DataInputStream(bis); in load() 205 bis.close(); in load()
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | SSLStreamedInputTest.java | 36 ByteArrayInputStream bis = new ByteArrayInputStream(data); in testSSLStreamedInput() local 37 SSLStreamedInput sslsi = new SSLStreamedInput(bis); in testSSLStreamedInput() 38 assertEquals(bis.available(), sslsi.available()); in testSSLStreamedInput()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/ |
D | IpoHelper.java | 114 BlenderInputStream bis = blenderContext.getInputStream(); in getCurveType() local 115 int currentPosition = bis.getPosition(); in getCurveType() 118 bis.setPosition(dataFileBlock.getBlockPosition()); in getCurveType() 119 String rnaPath = bis.readString(); in getCurveType() 120 bis.setPosition(currentPosition); in getCurveType()
|
/external/javassist/src/test/test/javassist/proxy/ |
D | ProxySerializationTest.java | 41 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); in testSerialization() local 42 ObjectInputStream in = new ObjectInputStream(bis); in testSerialization() 68 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); in testSerialization() local 69 ProxyObjectInputStream in = new ProxyObjectInputStream(bis); in testSerialization()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | OutputPropertiesFactory.java | 358 BufferedInputStream bis = null; in loadPropertiesFile() local 380 bis = new BufferedInputStream(is); in loadPropertiesFile() 381 props.load(bis); in loadPropertiesFile() 418 if (bis != null) in loadPropertiesFile() 420 bis.close(); in loadPropertiesFile()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/ |
D | Properties.java | 75 BlenderInputStream bis = blenderContext.getInputStream(); in load() local 77 bis.setPosition(dataFileBlock.getBlockPosition()); in load() 78 value = bis.readString(); in load() 91 BlenderInputStream bis = blenderContext.getInputStream(); in load() local 93 bis.setPosition(dataFileBlock.getBlockPosition()); in load() 100 intList[i] = bis.readInt(); in load() 108 floatList[i] = bis.readFloat(); in load() 116 doubleList[i] = bis.readDouble(); in load()
|