/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CompressedTextureActivity.java | 120 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 121 ETC1Util.writeTexture(etc1Texture, bos); 122 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
Stats.java | 176 BufferedOutputStream bos = new BufferedOutputStream(fos); local 177 PrintStream ps = new PrintStream(bos); 180 bos.close();
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
SealedObjectTest.java | 53 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 54 ObjectOutputStream oos = new ObjectOutputStream(bos); 58 bos.toByteArray()));
|
/libcore/luni/src/main/java/javax/crypto/ |
SealedObject.java | 89 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 90 ObjectOutputStream oos = new ObjectOutputStream(bos); 97 this.encryptedContent = c.doFinal(bos.toByteArray());
|
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/ |
CachedOggStream.java | 57 private boolean bos = false;
field in class:CachedOggStream 116 bos = true;
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl3Test.java | 136 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 145 kss[i].store(bos, null); 147 kss[i].store(bos, pwd); 148 ByteArrayInputStream bis = new ByteArrayInputStream(bos
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldDataInputStreamTest.java | 34 private ByteArrayOutputStream bos; field in class:OldDataInputStreamTest 354 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray())); 362 bos = new ByteArrayOutputStream(); 363 os = new DataOutputStream(bos);
|
OldInputStreamReaderTest.java | 51 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 52 OutputStreamWriter osw = new OutputStreamWriter(bos); 57 fis = new ByteArrayInputStream(bos.toByteArray());
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarSerializerFoo.java | 61 BufferedOutputStream bos = new BufferedOutputStream(fos); local 62 out = new DataOutputStream(bos);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLConnectionTest.java | 805 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 808 bos.write(new byte[] { (byte) 0xEF, (byte) 0xBB, (byte) 0xBF }); 811 bos.write(new byte[] { (byte) 0xFE, (byte) 0xFF }); 814 bos.write(new byte[] { (byte) 0xFF, (byte) 0xFE }); 817 bos.write(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0xFE, 821 bos.write(new byte[] { (byte) 0xFF, (byte) 0xFE, (byte) 0x00, 825 bos.write(text.getBytes(enc)); 826 return bos.toByteArray();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-antlr.jar | |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldZipInputStreamTest.java | 44 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 45 ZipOutputStream zos = new ZipOutputStream(bos);
|
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 375 final BufferedOutputStream bos = new BufferedOutputStream(fos); local 377 writer.write(bos); 378 bos.flush(); 381 IoUtils.closeQuietly(bos);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipInputStreamTest.java | 53 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 54 ZipOutputStream zos = new ZipOutputStream(bos); 60 zipBytes = bos.toByteArray();
|
/libcore/luni/src/main/java/org/apache/harmony/lang/annotation/ |
AnnotationMember.java | 310 ByteArrayOutputStream bos = new ByteArrayOutputStream( local 312 ObjectOutputStream oos = new ObjectOutputStream(bos); 316 ByteArrayInputStream bis = new ByteArrayInputStream(bos
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SealedObjectTest.java | 70 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 71 ObjectOutputStream oos = new ObjectOutputStream(bos); 75 bos.toByteArray()));
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/ |
ANTLR3.java | 93 private ByteArrayOutputStream bos = new ByteArrayOutputStream(); field in class:ANTLR3 451 bos.close(); 461 Matcher m = p.matcher(bos.toString()); 627 bos.close(); 651 Matcher m = p.matcher(bos.toString()); 760 psh = new PumpStreamHandler(out, bos); 762 psh = new PumpStreamHandler(out, new TeeOutputStream(err, bos));
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
ConsoleHandlerTest.java | 353 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 354 System.setErr(new PrintStream(bos)); 367 assertTrue(bos.toString().indexOf("testPublish_Record1") >= 0); 372 assertTrue(bos.toString().indexOf("testPublish_Record2") >= 0);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
DataInputStreamTest.java | 33 private ByteArrayOutputStream bos; field in class:DataInputStreamTest 568 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray())); 576 bos = new ByteArrayOutputStream(); 577 os = new DataOutputStream(bos);
|
/frameworks/base/services/java/com/android/server/pm/ |
UserManager.java | 211 final BufferedOutputStream bos = new BufferedOutputStream(fos); local 215 serializer.setOutput(bos, "utf-8"); 254 final BufferedOutputStream bos = new BufferedOutputStream(fos); local 258 serializer.setOutput(bos, "utf-8");
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
LayoutTestsAutoTest.java | 439 BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(tests_list, false)); local 440 FsUtils.writeLayoutTestListRecursively(bos, getTestPath(), false); // Don't ignore results 441 bos.flush(); 442 bos.close();
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/ |
antlr3.jar | |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
SerializedGrammar.java | 92 BufferedInputStream bos = new BufferedInputStream(fis); local 93 DataInputStream in = new DataInputStream(bos);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppObexServerSession.java | 432 BufferedOutputStream bos = null; local 454 bos = new BufferedOutputStream(fileInfo.mOutputStream, 0x10000); 474 bos.write(b, 0, readLength); 514 if (bos != null) { 516 bos.close();
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
PartnerBookmarksProvider.java | 328 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local 333 bos.write(buf, 0, read); 335 bos.flush(); 336 return bos.toByteArray(); 339 bos.close();
|