/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...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
standard.h | 20 #define bis(target,mask) ((target) |= (mask)) macro
|
/dalvik/hit/src/com/android/hit/ |
Main.java | 29 BufferedInputStream bis; local 34 bis = new BufferedInputStream(fis); 35 dis = new DataInputStream(bis);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLX509CRL.java | 55 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local 58 final long crlCtx = NativeCrypto.d2i_X509_CRL_bio(bis.getBioContext()); 66 NativeCrypto.BIO_free(bis.getBioContext()); 72 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local 76 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CRLS); 80 NativeCrypto.BIO_free(bis.getBioContext()); 94 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local 97 final long crlCtx = NativeCrypto.PEM_read_bio_X509_CRL(bis.getBioContext()); 105 NativeCrypto.BIO_free(bis.getBioContext()); 111 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is) local [all...] |
OpenSSLX509Certificate.java | 62 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local 65 final long certCtx = NativeCrypto.d2i_X509_bio(bis.getBioContext()); 73 NativeCrypto.BIO_free(bis.getBioContext()); 88 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is); local 92 certRefs = NativeCrypto.d2i_PKCS7_bio(bis.getBioContext(), NativeCrypto.PKCS7_CERTS); 96 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()); 135 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);
|
/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);
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ItemOperationsParser.java | 51 Base64InputStream bis = new Base64InputStream(getInput()); local 53 readChunked(bis, mAttachmentOutputStream, mAttachmentSize, mCallback);
|
/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 | 240 BufferedInputStream bis = new BufferedInputStream(input); local 246 int length = bis.read(data); 260 len = bis.read(data); 277 len = bis.read(data); 283 bis.close();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
BitmapRegionTileSource.java | 93 BufferedInputStream bis = new BufferedInputStream(is); local 94 mDecoder = BitmapRegionDecoder.newInstance(bis, true); 97 BufferedInputStream bis = new BufferedInputStream(is); local 98 mDecoder = BitmapRegionDecoder.newInstance(bis, true); 230 BufferedInputStream bis = new BufferedInputStream(is); local 231 result = BitmapFactory.decodeStream(bis, null, mOptions);
|