/libcore/luni/src/test/java/libcore/java/io/ |
OldDataInputOutputStreamTest.java | 31 private DataInputStream dis; field in class:OldDataInputOutputStreamTest 51 dis.readBoolean()); 54 dis.readBoolean(); 60 dis.close(); 62 dis.readBoolean(); 83 (byte) 127, dis.readByte()); 86 dis.readByte(); 92 dis.close(); 94 dis.readByte(); 115 'b', dis.readChar()) [all...] |
OldDataInputStreamTest.java | 32 private DataInputStream dis; field in class:OldDataInputStreamTest 51 dis.close(); 67 r = dis.read(rbytes); 73 r = dis.read(rbytes); 78 dis.close(); 80 dis = new DataInputStream(sis); 82 dis.read(rbytes); 98 r = dis.read(rbytes, 1, testLength - 10); 105 r = dis.read(rbytes, 0, 15); 110 dis.close() [all...] |
OldDataOutputStreamTest.java | 32 private DataInputStream dis; field in class:OldDataOutputStreamTest 59 int c = dis.readInt(); 61 dis.close(); 78 r = dis.read(rbuf, 0, testLength); 81 dis.close(); 126 42, dis.read()); 127 dis.close(); 144 dis.read(rbuf, 0, testLength); 145 dis.close(); 163 int i, a = dis.available() / 2 [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
dis.py | 9 __all__ = ["dis", "disassemble", "distb", "disco", 16 def dis(x=None): function 38 dis(x1) 204 sys.stderr.write("usage: python dis.py [-|file]\n") 221 dis(code)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
dis.py | 9 __all__ = ["dis", "disassemble", "distb", "disco", 16 def dis(x=None): function 38 dis(x1) 204 sys.stderr.write("usage: python dis.py [-|file]\n") 221 dis(code)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
dis.py | 9 __all__ = ["dis", "disassemble", "distb", "disco", 16 def dis(x=None): function 38 dis(x1) 204 sys.stderr.write("usage: python dis.py [-|file]\n") 221 dis(code)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
dis.py | 9 __all__ = ["dis", "disassemble", "distb", "disco", 16 def dis(x=None): function 38 dis(x1) 204 sys.stderr.write("usage: python dis.py [-|file]\n") 221 dis(code)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
DeflaterInputStreamTest.java | 59 DeflaterInputStream dis = new DeflaterInputStream(is); local 60 assertEquals(1, dis.available()); 61 assertEquals(120, dis.read()); 62 assertEquals(1, dis.available()); 63 assertEquals(22, dis.read(buf, 0, 1024)); 64 assertEquals(0, dis.available()); 65 assertEquals(-1, dis.read()); 66 assertEquals(0, dis.available()); 67 dis.close(); 69 dis.available() 81 DeflaterInputStream dis = new DeflaterInputStream(is); local 105 DeflaterInputStream dis = new DeflaterInputStream(is); local 117 DeflaterInputStream dis = new DeflaterInputStream(is); local 127 DeflaterInputStream dis = new DeflaterInputStream(is); local 145 DeflaterInputStream dis = new DeflaterInputStream(is); local 163 DeflaterInputStreamWithPublicBuffer dis = new DeflaterInputStreamWithPublicBuffer(is); local 184 DeflaterInputStream dis = new DeflaterInputStream(is); local 282 DeflaterInputStream dis = new DeflaterInputStream(is); local 303 DeflaterInputStream dis = new DeflaterInputStream(is); local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 92 InputStream dis = new DigestInputStream(is, md); local 93 assertTrue(dis instanceof DigestInputStream); 109 InputStream dis = new DigestInputStream(null, null); local 110 assertTrue(dis instanceof DigestInputStream); 125 DigestInputStream dis = new DigestInputStream(is, md); local 128 assertTrue("retval", ((byte) dis.read() == myMessage[i])); 133 dis.getMessageDigest().digest(), 158 DigestInputStream dis = new DigestInputStream(is, md); local 160 dis.read(); 163 assertEquals("retval1", -1, dis.read()) 193 DigestInputStream dis = new DigestInputStream(is, md); local 224 DigestInputStream dis = new DigestInputStream(null, md); local 253 DigestInputStream dis = new DigestInputStream(is, null); local 278 DigestInputStream dis = new DigestInputStream(is, null); local 302 DigestInputStream dis = new DigestInputStream(is, md); local 339 DigestInputStream dis = new DigestInputStream(is, md); local 379 DigestInputStream dis = new DigestInputStream(is, md); local 423 DigestInputStream dis = new DigestInputStream(is, md); local 462 DigestInputStream dis = new DigestInputStream(is, md); local 491 DigestInputStream dis = new DigestInputStream(null, md); local 511 DigestInputStream dis = new DigestInputStream(null, null); local 533 DigestInputStream dis = new DigestInputStream(is, md); local 572 DigestInputStream dis = new DigestInputStream(is, md); local [all...] |
DigestInputStream2Test.java | 42 DigestInputStream dis = new DigestInputStream(inStream, digest); local 43 assertNotNull("Constructor returned null instance", dis); 52 DigestInputStream dis = new DigestInputStream(inStream, digest); local 53 assertEquals("getMessageDigest returned a bogus result", digest, dis 64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest); local 66 dis.on(false); 68 int c = dis.read(); 77 dis = new DigestInputStream(inStream, digest); 80 dis.on(true); 81 c = dis.read() 94 DigestInputStream dis = new DigestInputStream(inStream, digest); local 110 DigestInputStream dis = new DigestInputStream(inStream, digest); local 139 DigestInputStream dis = new DigestInputStream(inStream, null); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 85 InputStream dis = new DigestInputStream(is, md); local 86 assertTrue(dis instanceof DigestInputStream); 102 InputStream dis = new DigestInputStream(null, null); local 103 assertTrue(dis instanceof DigestInputStream); 118 DigestInputStream dis = new DigestInputStream(is, md); local 121 assertTrue("retval", ((byte)dis.read() == myMessage[i])); 126 dis.getMessageDigest().digest(), 151 DigestInputStream dis = new DigestInputStream(is, md); local 153 dis.read(); 156 assertEquals("retval1", -1, dis.read()) 186 DigestInputStream dis = new DigestInputStream(is, md); local 217 DigestInputStream dis = new DigestInputStream(null, md); local 247 DigestInputStream dis = new DigestInputStream(is, null); local 273 DigestInputStream dis = new DigestInputStream(is, null); local 297 DigestInputStream dis = new DigestInputStream(is, md); local 334 DigestInputStream dis = new DigestInputStream(is, md); local 374 DigestInputStream dis = new DigestInputStream(is, md); local 418 DigestInputStream dis = new DigestInputStream(is, md); local 457 DigestInputStream dis = new DigestInputStream(is, md); local 486 DigestInputStream dis = new DigestInputStream(null, md); local 506 DigestInputStream dis = new DigestInputStream(null, null); local 528 DigestInputStream dis = new DigestInputStream(is, md); local 567 DigestInputStream dis = new DigestInputStream(is, md); local [all...] |
DigestInputStream2Test.java | 42 DigestInputStream dis = new DigestInputStream(inStream, digest); local 43 assertNotNull("Constructor returned null instance", dis); 52 DigestInputStream dis = new DigestInputStream(inStream, digest); local 53 assertEquals("getMessageDigest returned a bogus result", digest, dis 64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest); local 66 dis.on(false); 68 int c = dis.read(); 77 dis = new DigestInputStream(inStream, digest); 80 dis.on(true); 81 c = dis.read() 94 DigestInputStream dis = new DigestInputStream(inStream, digest); local 110 DigestInputStream dis = new DigestInputStream(inStream, digest); local 209 DigestInputStream dis = new DigestInputStream(inStream, null); local [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
BannedFilesTest.java | 104 DataInputStream dis = new DataInputStream(new FileInputStream(f)); local 105 dis.readFully(fileData); 106 dis.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
DataInputStreamTest.java | 32 private DataInputStream dis; field in class:DataInputStreamTest 49 dis.close(); 61 dis.read(rbytes); 74 dis.read(rbytes, 0, rbytes.length); 86 assertTrue("Incorrect boolean written", dis.readBoolean()); 96 assertTrue("Incorrect byte read", dis.readByte() == (byte) 127); 106 assertEquals("Incorrect char read", 't', dis.readChar()); 116 assertEquals("Incorrect double read", 2345.76834720202, dis 127 assertTrue("Incorrect float read", dis.readFloat() == 29.08764f); 138 dis.readFully(rbytes) 575 DataInputStream dis = new DataInputStream(is); local 587 DataInputStream dis = new DataInputStream(is); local 599 DataInputStream dis = new DataInputStream(is); local 611 DataInputStream dis = new DataInputStream(is); local [all...] |
DataOutputStreamTest.java | 30 private DataInputStream dis; field in class:DataOutputStreamTest 52 int c = dis.readInt(); 53 dis.close(); 65 dis.read(rbuf, 0, 150); 66 dis.close(); 78 dis.read(rbuf, 0, 150); 79 dis.close(); 91 int c = dis.read(); 92 dis.close(); 103 boolean c = dis.readBoolean() [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
DerGeneralizedTimeEDTest.java | 124 DerInputStream dis = useInputStream local 127 assertEquals("full", myDate, gTime.decode(dis)); 133 dis = useInputStream 136 assertEquals("2 fraction", myDate, gTime.decode(dis)); 142 dis = useInputStream 145 assertEquals("1 fraction", myDate, gTime.decode(dis)); 151 dis = useInputStream 154 assertEquals("no fraction", myDate, gTime.decode(dis)); 161 dis = useInputStream 164 assertEquals("midnight", myDate, gTime.decode(dis)); [all...] |
DerUTCTimeEDTest.java | 105 DerInputStream dis = useInputStream local 109 assertEquals(187, (myDate.getTime() - ((Date) uTime.decode(dis)).getTime())); 116 dis = useInputStream 119 assertEquals(myDate, uTime.decode(dis));
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DerInputStream.java | 396 DataInputStream dis = new DataInputStream(buffer); local 397 dis.readFully(indefData, offset, readLen); 398 dis.close();
|
DerValue.java | 268 DataInputStream dis = new DataInputStream(inbuf); local 269 dis.readFully(indefData, offset, readLen); 270 dis.close(); 385 DataInputStream dis = new DataInputStream(in); local 386 dis.readFully(indefData, offset, readLen); 387 dis.close();
|
/external/opencv3/samples/cpp/ |
shape_example.cpp | 94 float dis = mysc->computeDistance( contQuery, contii ); local 95 if ( dis<bestDis ) 98 bestDis = dis; 100 std::cout<<" distance between "<<queryName.str()<<" and "<<iiname.str()<<" is: "<<dis<<std::endl;
|
/toolchain/binutils/binutils-2.25/opcodes/ |
rl78-dis.c | 27 #include "dis-asm.h" 35 disassemble_info * dis; member in struct:__anon76375 44 rl78_data->dis->read_memory_func (rl78_data->pc, 47 rl78_data->dis); 84 print_insn_rl78 (bfd_vma addr, disassemble_info * dis) 95 rl78_data.dis = dis; 99 dis->bytes_per_line = 10; 101 #define PR (dis->fprintf_func) 102 #define PS (dis->stream [all...] |
rx-dis.c | 27 #include "dis-asm.h" 33 disassemble_info * dis; member in struct:__anon76377 42 rx_data->dis->read_memory_func (rx_data->pc, 45 rx_data->dis); 89 print_insn_rx (bfd_vma addr, disassemble_info * dis) 97 rx_data.dis = dis; 101 dis->bytes_per_line = 10; 103 #define PR (dis->fprintf_func) 104 #define PS (dis->stream [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/io/ |
RandomAccessFile.java | 37 DataInputStream dis = new DataInputStream(new RafInputStream()); field in class:RandomAccessFile 77 return dis.read(); 81 return dis.read(b, off, len); 85 return dis.read(b); 89 dis.readFully(b); 93 dis.readFully(b, off, len); 97 return dis.skipBytes(n); 181 return dis.readBoolean(); 185 return dis.readByte(); 189 return dis.readUnsignedByte() [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactorySpiTest.java | 128 DataInputStream dis = new DataInputStream(bais); local 134 certFactorySpi.engineGenerateCertPath(dis); 141 certFactorySpi.engineGenerateCertPath(dis, ""); 145 certFactorySpi.engineGenerateCertPath(dis, "ss"); 158 .engineGenerateCertificate(dis); 161 .engineGenerateCertificates(dis); 174 CRL crl = certFactorySpi.engineGenerateCRL(dis); 176 col = certFactorySpi.engineGenerateCRLs(dis); 198 DataInputStream dis = new DataInputStream(bais); local 205 certFactorySpi.engineGenerateCertPath(dis); [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactorySpiTest.java | 119 DataInputStream dis = new DataInputStream(bais); local 125 certFactorySpi.engineGenerateCertPath(dis); 132 certFactorySpi.engineGenerateCertPath(dis, ""); 136 certFactorySpi.engineGenerateCertPath(dis, "ss"); 149 .engineGenerateCertificate(dis); 152 .engineGenerateCertificates(dis); 165 CRL crl = certFactorySpi.engineGenerateCRL(dis); 167 Collection<? extends CRL> colcrl = certFactorySpi.engineGenerateCRLs(dis); 189 DataInputStream dis = new DataInputStream(bais); local 196 certFactorySpi.engineGenerateCertPath(dis); 256 DataInputStream dis = new DataInputStream(bais); local 274 DataInputStream dis = new DataInputStream(bais); local 295 DataInputStream dis = new DataInputStream(bais); local 321 DataInputStream dis = new DataInputStream(bais); local 382 DataInputStream dis = new DataInputStream(bais); local [all...] |