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

1 2 3

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FilterOutputStreamTest.java 34 ByteArrayInputStream bis; field in class:FilterOutputStreamTest
80 bis = new ByteArrayInputStream(bos.toByteArray());
83 bis.available() == fileString.length());
85 bis.read(wbytes, 0, fileString.length());
97 bis = new ByteArrayInputStream(bos.toByteArray());
100 bis.available() == fileString.length());
102 bis.read(wbytes, 0, fileString.length());
114 bis = new ByteArrayInputStream(bos.toByteArray());
116 assertEquals("Byte not written after flush", 1, bis.available());
118 bis.read(wbytes, 0, 1)
    [all...]
PrintStreamTest.java 207 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
211 bis.read(rbytes, 0, fileString.length());
223 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
224 InputStreamReader isr = new InputStreamReader(bis);
236 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
237 bis.read(rbuf, 0, 16);
251 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
252 bis.read(rbuf, 0, 8);
266 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
267 bis.read(rbuf, 0, 9)
281 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
295 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
321 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
362 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
377 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
406 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
420 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
438 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
455 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
471 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
488 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
505 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
523 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
539 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
553 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
603 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
619 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
633 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
648 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
    [all...]
ObjectOutputStream2Test.java 52 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
53 ObjectInputStream is = new ObjectInputStream(bis);
BufferedInputStreamTest.java 121 BufferedInputStream bis = new BufferedInputStream( local
124 int available = bis.available();
125 bis.close();
129 bis.available();
292 BufferedInputStream bis = new BufferedInputStream(null); local
294 bis.read(null, -1, -1);
301 bis.read(new byte[0], -1, -1);
308 bis.read(new byte[0], 1, -1);
315 bis.read(new byte[0], 1, 1);
321 bis.close()
406 BufferedInputStream bis = new BufferedInputStream(null); local
    [all...]
ByteArrayInputStreamTest.java 35 InputStream bis = new ByteArrayInputStream(fileString.getBytes()); local
38 bis.available() == fileString.length());
46 InputStream bis = new ByteArrayInputStream(zz, 0, 100); local
48 assertEquals("Unable to create ByteArrayInputStream", 100, bis
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLStreamedInputTest.java 36 ByteArrayInputStream bis = new ByteArrayInputStream(data); local
37 SSLStreamedInput sslsi = new SSLStreamedInput(bis);
38 assertEquals(bis.available(), sslsi.available());
  /libcore/luni/src/test/java/libcore/java/io/
OldFilterOutputStreamTest.java 32 java.io.ByteArrayInputStream bis; field in class:OldFilterOutputStreamTest
103 bis = new ByteArrayInputStream(sos.toByteArray());
105 bis.available() == testLength);
107 bis.read(wbytes, 0, testLength);
126 bis = new ByteArrayInputStream(sos.toByteArray());
128 bis.available() == testLength - 10);
130 bis.read(wbytes);
176 bis = new ByteArrayInputStream(sos.toByteArray());
178 bis.available() == 1);
180 42, bis.read())
    [all...]
OldBufferedInputStreamTest.java 81 BufferedInputStream bis = new BufferedInputStream( local
86 available = bis.available();
87 bis.close();
94 bis.available();
OldByteArrayInputStreamTest.java 32 java.io.InputStream bis = new java.io.ByteArrayInputStream(fileString local
37 bis.available() == fileString.length());
47 java.io.InputStream bis = new java.io.ByteArrayInputStream(zz, 0, 100); local
51 100, bis.available());
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
BinaryImporter.java 135 BufferedInputStream bis = new BufferedInputStream(is); local
140 int maybeSignature = ByteUtils.readInt(bis);
143 formatVersion = ByteUtils.readInt(bis);
144 numClasses = ByteUtils.readInt(bis);
166 String alias = readString(bis, aliasWidth);
171 int classHierarchySize = bis.read();
174 classHierarchyVersions[j] = ByteUtils.readInt(bis);
181 int classLength = ByteUtils.readInt(bis);
182 String className = readString(bis, classLength);
189 int fields = ByteUtils.readInt(bis);
    [all...]
  /dalvik/hit/src/com/android/hit/
Main.java 29 BufferedInputStream bis; local
34 bis = new BufferedInputStream(fis);
35 dis = new DataInputStream(bis);
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLX509CRL.java 57 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local
60 final long crlCtx = NativeCrypto.d2i_X509_CRL_bio(bis.getBioContext());
68 NativeCrypto.BIO_free(bis.getBioContext());
74 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local
78 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CRLS);
82 NativeCrypto.BIO_free(bis.getBioContext());
96 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local
99 final long crlCtx = NativeCrypto.PEM_read_bio_X509_CRL(bis.getBioContext());
107 NativeCrypto.BIO_free(bis.getBioContext());
113 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is) local
    [all...]
OpenSSLX509Certificate.java 64 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local
67 final long certCtx = NativeCrypto.d2i_X509_bio(bis.getBioContext());
75 NativeCrypto.BIO_free(bis.getBioContext());
89 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local
93 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CERTS);
97 NativeCrypto.BIO_free(bis.getBioContext());
117 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local
120 final long certCtx = NativeCrypto.PEM_read_bio_X509(bis.getBioContext());
128 NativeCrypto.BIO_free(bis.getBioContext());
134 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is) local
    [all...]
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
SecureWebServer.java 173 BufferedInputStream bis; local
175 bis = new BufferedInputStream(ctx.getAssets().open(EMBEDDED_IMAGE_FILENAME));
176 byte[] embeddedImage = new byte[bis.available()];
177 bis.read(embeddedImage);
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
ItemOperationsParser.java 47 Base64InputStream bis = new Base64InputStream(getInput()); local
49 mAttachmentLoader.readChunked(bis, mAttachmentOutputStream, mAttachmentSize);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
IpoHelper.java 114 BlenderInputStream bis = blenderContext.getInputStream(); local
115 int currentPosition = bis.getPosition();
118 bis.setPosition(dataFileBlock.getBlockPosition());
119 String rnaPath = bis.readString();
120 bis.setPosition(currentPosition);
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
RawHeightMap.java 165 BufferedInputStream bis = null; local
169 bis = new BufferedInputStream(stream);
171 LittleEndien dis = new LittleEndien(bis);
186 DataInputStream dis = new DataInputStream(bis);
205 bis.close();
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
FuncSystemProperty.java 175 BufferedInputStream bis = new BufferedInputStream(is); local
177 target.load(bis); // and load up the property bag from this
178 bis.close(); // close out after reading
  /external/javassist/src/test/test/javassist/proxy/
ProxySerializationTest.java 41 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); local
42 ObjectInputStream in = new ObjectInputStream(bis);
68 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); local
69 ProxyObjectInputStream in = new ProxyObjectInputStream(bis);
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
TestUtils.java 96 BufferedInputStream bis = null; local
98 bis = new BufferedInputStream(new ByteArrayInputStream(
100 X509Certificate c1 = (X509Certificate)cf.generateCertificate(bis);
107 if (bis != null) {
109 bis.close() ;
149 BufferedInputStream bis = null; local
161 if (initialize && bis != null) {
163 bis.close();
  /libcore/luni/src/test/java/libcore/xml/
NodeTest.java 41 ByteArrayInputStream bis = new ByteArrayInputStream("<root/>".getBytes()); local
42 Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(bis);
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
OutputPropertiesFactory.java 358 BufferedInputStream bis = null; local
380 bis = new BufferedInputStream(is);
381 props.load(bis);
418 if (bis != null)
420 bis.close();
  /frameworks/base/core/java/android/os/
FileUtils.java 156 BufferedInputStream bis = new BufferedInputStream(input); local
162 int length = bis.read(data);
176 len = bis.read(data);
193 len = bis.read(data);
199 bis.close();
  /cts/tools/dex-tools/src/dex/reader/
DexBuffer.java 37 BufferedInputStream bis = new BufferedInputStream(fis); local
41 while ((len = bis.read(buf)) > 0) {
  /external/apache-harmony/support/src/test/java/tests/util/
SerializationTester.java 76 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); local
77 ObjectInputStream ois = new ObjectInputStream(bis);

Completed in 618 milliseconds

1 2 3