/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...] |
/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...] |
/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...] |
/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/chromium-trace/catapult/third_party/coverage/coverage/ |
pytracer.py | 6 import dis namespace 12 YIELD_VALUE = dis.opmap['YIELD_VALUE']
|
/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)
|
/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));
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_dis.py | 1 # Minimal tests for dis module 6 import dis namespace 91 dis.dis(func) 106 self.assertEqual(dis.opmap["STOP_CODE"], 0) 107 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst) 108 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname) 111 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST" [all...] |
test_peepholer.py | 1 import dis namespace 10 dis.dis(func)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_dis.py | 1 # Minimal tests for dis module 6 import dis namespace 91 dis.dis(func) 106 self.assertEqual(dis.opmap["STOP_CODE"], 0) 107 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst) 108 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname) 111 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST" [all...] |
test_peepholer.py | 1 import dis namespace 10 dis.dis(func)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dis.py | 1 # Minimal tests for dis module 6 import dis namespace 91 dis.dis(func) 106 self.assertEqual(dis.opmap["STOP_CODE"], 0) 107 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst) 108 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname) 111 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST" [all...] |
test_peepholer.py | 1 import dis namespace 10 dis.dis(func)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dis.py | 1 # Minimal tests for dis module 6 import dis namespace 91 dis.dis(func) 106 self.assertEqual(dis.opmap["STOP_CODE"], 0) 107 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst) 108 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname) 111 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST" [all...] |
/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();
|
/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;
|