HomeSort by relevance Sort by last modified time
    Searched refs:dis (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DeflaterInputStreamTest.java 40 DeflaterInputStream dis = new DeflaterInputStream(is); local
41 assertEquals(1, dis.available());
42 assertEquals(120, dis.read());
43 assertEquals(1, dis.available());
44 assertEquals(22, dis.read(buf, 0, 1024));
45 assertEquals(1, dis.available());
46 assertEquals(-1, dis.read());
47 assertEquals(0, dis.available());
48 dis.close();
50 dis.available()
62 DeflaterInputStream dis = new DeflaterInputStream(is); local
86 DeflaterInputStream dis = new DeflaterInputStream(is); local
98 DeflaterInputStream dis = new DeflaterInputStream(is); local
108 DeflaterInputStream dis = new DeflaterInputStream(is); local
131 DeflaterInputStream dis = new DeflaterInputStream(is); local
229 DeflaterInputStream dis = new DeflaterInputStream(is); local
250 DeflaterInputStream dis = new DeflaterInputStream(is); local
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
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...]
DataInputStreamTest.java 31 private DataInputStream dis; field in class:DataInputStreamTest
48 dis.close();
60 dis.read(rbytes);
73 dis.read(rbytes, 0, rbytes.length);
85 assertTrue("Incorrect boolean written", dis.readBoolean());
95 assertTrue("Incorrect byte read", dis.readByte() == (byte) 127);
105 assertEquals("Incorrect char read", 't', dis.readChar());
115 assertEquals("Incorrect double read", 2345.76834720202, dis
126 assertTrue("Incorrect float read", dis.readFloat() == 29.08764f);
137 dis.readFully(rbytes)
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
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...]
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...]
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...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
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...]
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...]
  /external/llvm/tools/llvm-dis/
Makefile 1 ##===- tools/llvm-dis/Makefile ------------------------------*- Makefile -*-===##
11 TOOLNAME := llvm-dis
Android.mk 4 llvm-dis.cpp
8 LOCAL_MODULE := llvm-dis
  /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...]
  /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...]
  /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...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
TGALoader.java 116 DataInputStream dis = new DataInputStream(new BufferedInputStream(in)); local
120 int idLength = dis.readUnsignedByte();
125 int colorMapType = dis.readUnsignedByte();
128 int imageType = dis.readUnsignedByte();
132 // short cMapStart = flipEndian(dis.readShort());
133 dis.readShort();
135 short cMapLength = flipEndian(dis.readShort());
137 int cMapDepth = dis.readUnsignedByte();
141 // int xOffset = flipEndian(dis.readShort());
142 dis.readShort()
    [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...]
  /frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
WifiP2pDnsSdServiceResponse.java 181 DataInputStream dis = new DataInputStream(new ByteArrayInputStream(mData)); local
183 mDnsQueryName = readDnsName(dis);
189 mDnsType = dis.readUnsignedShort();
190 mVersion = dis.readUnsignedByte();
197 String rData = readDnsName(dis);
208 return readTxtData(dis);
219 * @param dis data input stream.
222 private String readDnsName(DataInputStream dis) {
232 int i = dis.readUnsignedByte();
237 String ref = vmpack.get(dis.readUnsignedByte())
    [all...]
  /dalvik/hit/src/com/android/hit/
ArrayInstance.java 50 DataInputStream dis = new DataInputStream(bais); local
57 id = dis.readInt();
59 id = dis.readLong();
105 DataInputStream dis = new DataInputStream(bais); local
113 id = dis.readInt();
115 id = dis.readLong();
150 DataInputStream dis = new DataInputStream(bais); local
161 id = dis.readInt();
163 id = dis.readLong();
ClassInstance.java 50 DataInputStream dis = new DataInputStream(bais); local
66 id = dis.readInt();
68 id = dis.readLong();
77 dis.skipBytes(size);
110 DataInputStream dis = new DataInputStream(bais); local
126 id = dis.readInt();
128 id = dis.readLong();
137 dis.skipBytes(size);
162 DataInputStream dis = new DataInputStream(bais); local
180 id = dis.readInt()
    [all...]
ClassObj.java 51 DataInputStream dis = new DataInputStream(bais); local
69 id = dis.readInt();
71 id = dis.readLong();
97 dis.skipBytes(size);
193 DataInputStream dis = new DataInputStream(bais); local
211 id = dis.readInt();
213 id = dis.readLong();
222 dis.skipBytes(size);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DerGeneralizedTimeEDTest.java 121 DerInputStream dis = useInputStream local
124 assertEquals("full", myDate, gTime.decode(dis));
130 dis = useInputStream
133 assertEquals("2 fraction", myDate, gTime.decode(dis));
139 dis = useInputStream
142 assertEquals("1 fraction", myDate, gTime.decode(dis));
148 dis = useInputStream
151 assertEquals("no fraction", myDate, gTime.decode(dis));
158 dis = useInputStream
161 assertEquals("midnight", myDate, gTime.decode(dis));
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateFactorySpiTest.java 129 DataInputStream dis = new DataInputStream(bais); local
135 certFactorySpi.engineGenerateCertPath(dis);
142 certFactorySpi.engineGenerateCertPath(dis, "");
146 certFactorySpi.engineGenerateCertPath(dis, "ss");
159 .engineGenerateCertificate(dis);
162 .engineGenerateCertificates(dis);
175 CRL crl = certFactorySpi.engineGenerateCRL(dis);
177 col = certFactorySpi.engineGenerateCRLs(dis);
199 DataInputStream dis = new DataInputStream(bais); local
206 certFactorySpi.engineGenerateCertPath(dis);
    [all...]
  /sdk/emulator/opengl/host/libs/libOpenglRender/
NativeSubWindow.h 31 void destroySubWindow(EGLNativeDisplayType dis,EGLNativeWindowType win);
NativeLinuxSubWindow.cpp 46 void destroySubWindow(EGLNativeDisplayType dis,EGLNativeWindowType win){
47 XDestroyWindow(dis, win);
  /sdk/emulator/qtools/tests/
common_head.mk 10 .SUFFIXES: .dis .bin .elf
21 .elf.dis:

Completed in 1736 milliseconds

1 2 3 4 5