/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
H A D | ByteArrayOutputStreamTest.java | 35 ByteArrayOutputStream bos = null; field in class:ByteArrayOutputStreamTest 45 bos.close(); 55 bos = new ByteArrayOutputStream(100); 56 assertEquals("Failed to create stream", 0, bos.size()); 63 bos = new ByteArrayOutputStream(); 64 assertEquals("Failed to create stream", 0, bos.size()); 80 * java.io.ByteArrayOutputStream bos = new 81 * java.io.ByteArrayOutputStream(); bos.write (fileString.getBytes(), 0, 82 * 100); try { bos.close(); } catch (java.io.IOException e) { 83 * fail("IOException closing stream"); } try { bos [all...] |
H A D | FilterOutputStreamTest.java | 32 ByteArrayOutputStream bos; field in class:FilterOutputStreamTest 44 bos = new ByteArrayOutputStream(); 45 os = new FilterOutputStream(bos); 53 bos = new ByteArrayOutputStream(); 54 os = new FilterOutputStream(bos); 57 assertEquals("Bytes not written after flush", 500, bos.size()); 65 bos = new ByteArrayOutputStream(); 66 os = new FilterOutputStream(bos); 69 assertEquals("Bytes not written after flush", 500, bos.size()); 77 bos [all...] |
H A D | BufferedOutputStreamTest.java | 150 BufferedOutputStream bos = new BufferedOutputStream(mos, 3); 151 bos.write("a".getBytes()); 152 bos.write("bcde".getBytes()); 156 bos = new BufferedOutputStream(mos, 3); 157 bos.write("ab".getBytes()); 158 bos.write("cd".getBytes()); 166 OutputStream bos = new BufferedOutputStream(new ByteArrayOutputStream()); 171 bos.write(nullByteArray, -1, -1); 178 bos.write(nullByteArray, -1, 0); 185 bos [all...] |
H A D | PrintStreamTest.java | 34 ByteArrayOutputStream bos = new ByteArrayOutputStream(); field in class:PrintStreamTest 100 PrintStream os = new PrintStream(bos); 106 os = new PrintStream(bos, true, null); 116 PrintStream os = new PrintStream(bos); 119 assertTrue("Bytes not written", bos.size() > 0); 174 PrintStream os = new PrintStream(bos); 176 bos.close(); 184 PrintStream os = new PrintStream(bos); 187 assertEquals("Bytes not written after flush", 501, bos.size()); 188 bos [all...] |
H A D | ObjectOutputStream2Test.java | 47 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 48 ObjectOutputStream os = new ObjectOutputStream(bos); 52 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
|
H A D | DataOutputStreamTest.java | 32 private ByteArrayOutputStream bos; field in class:DataOutputStreamTest 237 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray())); 245 bos = new ByteArrayOutputStream(); 246 os = new DataOutputStream(bos);
|
H A D | 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);
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/ |
H A D | EnvironmentHelper.java | 37 ByteArrayOutputStream bos = null; 39 bos = new ByteArrayOutputStream(); 40 p.store(bos, ""); 41 return new ByteArrayInputStream(bos.toByteArray()); 47 bos.close();
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | DigestOutputStreamTest.java | 148 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); 149 DigestOutputStream dos = new DigestOutputStream(bos, md); 155 bos.toByteArray())); 181 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); 182 DigestOutputStream dos = new DigestOutputStream(bos, md); 193 bos.toByteArray())); 266 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); 267 DigestOutputStream dos = new DigestOutputStream(bos, null); 276 bos.toByteArray())); 290 ByteArrayOutputStream bos [all...] |
/external/javassist/src/test/test/javassist/proxy/ |
H A D | ProxySerializationTest.java | 36 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 37 ObjectOutputStream out = new ObjectOutputStream(bos); 40 byte[] bytes = bos.toByteArray(); 63 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 64 ProxyObjectOutputStream out = new ProxyObjectOutputStream(bos); 67 byte[] bytes = bos.toByteArray();
|
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/ |
H A D | UncachedOggStream.java | 50 private boolean bos = false;
field in class:UncachedOggStream 61 while (!bos){
78 bos = true;
|
H A D | CachedOggStream.java | 57 private boolean bos = false;
field in class:CachedOggStream 116 bos = true;
|
/external/apache-harmony/support/src/test/java/tests/util/ |
H A D | SerializationTester.java | 71 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 72 ObjectOutputStream oos = new ObjectOutputStream(bos); 76 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
H A D | ZipOutputStreamTest.java | 34 ByteArrayOutputStream bos; field in class:ZipOutputStreamTest 51 zos = new ZipOutputStream(bos); 109 zis = new ZipInputStream(new ByteArrayInputStream(bos.toByteArray())); 185 zis = new ZipInputStream(new ByteArrayInputStream(bos.toByteArray())); 283 zos = new ZipOutputStream(bos = new ByteArrayOutputStream());
|
H A D | ZipInputStreamTest.java | 53 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 54 ZipOutputStream zos = new ZipOutputStream(bos); 60 zipBytes = bos.toByteArray();
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
H A D | Stats.java | 176 BufferedOutputStream bos = new BufferedOutputStream(fos); 177 PrintStream ps = new PrintStream(bos); 180 bos.close();
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
H A D | SealedObjectTest.java | 53 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 54 ObjectOutputStream oos = new ObjectOutputStream(bos); 58 bos.toByteArray()));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
H A D | KeyStore_Impl3Test.java | 136 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 145 kss[i].store(bos, null); 147 kss[i].store(bos, pwd); 148 ByteArrayInputStream bis = new ByteArrayInputStream(bos
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | GrammarSerializerFoo.java | 61 BufferedOutputStream bos = new BufferedOutputStream(fos); 62 out = new DataOutputStream(bos);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
H A D | 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/ |
H A D | ant-antlr.jar | ... io.File workingdir private java.io.ByteArrayOutputStream bos private boolean debug private static final org.apache. ... |
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/ |
H A D | 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/ |
H A D | ConsoleHandlerTest.java | 353 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 354 System.setErr(new PrintStream(bos)); 367 assertTrue(bos.toString().indexOf("testPublish_Record1") >= 0); 372 assertTrue(bos.toString().indexOf("testPublish_Record2") >= 0);
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/ |
H A D | antlr3.jar | ... io.File workingdir private java.io.ByteArrayOutputStream bos private boolean debug private boolean report private boolean print private ... |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
H A D | SerializedGrammar.java | 92 BufferedInputStream bos = new BufferedInputStream(fis); 93 DataInputStream in = new DataInputStream(bos);
|