/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
H A D | HttpsURLConnectionTest.java | 174 System.out.println("Expected exception was thrown: " + e.getMessage()); 552 System.out.println("Got expected IOException: " 587 System.out.println("Expected exception was thrown: " 600 System.out.println(); 601 System.out.println("------------------------"); 602 System.out.println("------ " + getName()); 603 System.out.println("------------------------"); 610 FileOutputStream out = new FileOutputStream(store); 615 out.write(buf, 0, read); 618 out 857 private PrintStream out = System.out; field in class:HttpsURLConnectionTest.Work [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.java | 443 ByteArrayOutputStream out = new ByteArrayOutputStream(); 452 out.write(begStream, 0, begStream.length); 453 out.write(cName.length); // second byte for C class name length 454 out.write(cName, 0, cName.length); // C class name 466 out.write(midStream, 0, midStream.length); 467 out.write(aName.length); // second byte for A class name length 468 out.write(aName, 0, aName.length); // A class name 499 out.write(endStream, 0, endStream.length); 500 out.flush(); 504 out 1029 writeExternal(ObjectOutput out) argument 1042 TestObjectOutputStream(OutputStream out, ObjectStreamClass[] objs) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | DigestOutputStreamTest.java | 80 MyOutputStream out = new MyOutputStream(); 82 MyDigestOutputStream dos = new MyDigestOutputStream(out, md); 83 assertSame(out, dos.myOutputStream()); 95 dos = new MyDigestOutputStream(out, null); 106 OutputStream out = new MyOutputStream(); 109 DigestOutputStream dos = new DigestOutputStream(out, digest); 113 dos = new DigestOutputStream(out, null); 123 OutputStream out = new MyOutputStream(); 125 DigestOutputStream dos = new DigestOutputStream(out, null); 605 public MyDigestOutputStream(OutputStream out, MessageDiges argument [all...] |
H A D | Identity2Test.java | 58 public void encode(OutputStream out) { argument 180 System.out.println(e);
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
H A D | SSLEngineTest.java | 1301 private final SinkChannel out; field in class:SSLEngineTest.HandshakeHandler 1314 HandshakeHandler(boolean clientMode, SourceChannel in, SinkChannel out) argument 1317 this.out = out; 1351 //System.out.print(LOGTAG); 1352 //System.out.println(o); 1410 out.write(writeBuffer); 1435 System.out.println(clientEngine.engine.getSession().getCipherSuite());
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestKeyManager.java | 39 private static final PrintStream out = LOG ? System.out : new NullPrintStream(); field in class:TestKeyManager 59 out.println("TestKeyManager.<init> keyManager=" + keyManager); 64 out.print("TestKeyManager.chooseClientAlias"); 65 out.print(" | keyTypes: "); 67 out.print(keyType); 68 out.print(' '); 89 out.print("TestKeyManager.chooseServerAlias"); 90 out.print(" | keyType: "); 91 out [all...] |
H A D | TestTrustManager.java | 35 private static final PrintStream out = LOG ? System.out : new NullPrintStream(); field in class:TestTrustManager 55 out.println("TestTrustManager.<init> trustManager=" + trustManager); 61 out.print("TestTrustManager.checkClientTrusted " 67 out.println("OK"); 69 e.printStackTrace(out); 82 out.print("TestTrustManager.checkServerTrusted " 88 out.println("OK"); 90 e.printStackTrace(out); 110 out [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | TestCertUtils.java | 234 * @param out 237 private void writeObject(ObjectOutputStream out) throws IOException { argument 238 out.writeUTF(serializedData); 240 out.writeInt(0); 242 out.writeInt(certs.length); 244 out.writeObject(certs[i]); 391 * @param out 394 private void writeObject(ObjectOutputStream out) throws IOException { argument 396 out.writeBoolean(false); 398 out [all...] |
/libcore/support/src/test/java/tests/http/ |
H A D | MockWebServer.java | 236 serverSocket.close(); // should cause acceptConnections() to break out 269 OutputStream out = new BufferedOutputStream(socket.getOutputStream()); 271 while (!responseQueue.isEmpty() && processOneRequest(in, out, socket)) {} 278 out.close(); 306 private boolean processOneRequest(InputStream in, OutputStream out, Socket socket) 313 writeResponse(out, response); 316 out.close(); 406 System.out.println("served " + request.getRequestLine()); 420 private void writeResponse(OutputStream out, MockResponse response) throws IOException { argument 421 out 434 transfer(int length, InputStream in, OutputStream out) argument [all...] |
/libcore/support/src/test/java/tests/support/resource/ |
H A D | Support_Resources.java | 133 FileOutputStream out = new FileOutputStream(dest); 134 copy(in, out); 135 out.close(); 141 private static int copy(InputStream in, OutputStream out) throws IOException { argument 147 out.write(buffer, 0, c); 185 File f = File.createTempFile("out", ".xml"); 187 FileOutputStream out = new FileOutputStream(f); 192 out.write(b); 194 out.flush(); 195 out [all...] |
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlParser.java | 1167 * resolved entity to {@code out}. If the entity cannot be read or resolved, 1168 * {@code out} will contain the partial entity reference. 1170 private void readEntity(StringBuilder out, boolean isEntityToken, boolean throwOnResolveFailure, argument 1172 int start = out.length(); 1178 out.append('&'); 1184 out.append(';'); 1196 out.append((char) c); 1199 // intentionally leave the partial reference in 'out' 1207 String code = out.substring(start + 1, out [all...] |
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | AsciiHprofWriter.java | 35 private final PrintWriter out; field in class:AsciiHprofWriter 46 this.out = new PrintWriter(outputStream); 51 out.println(e); 62 out.printf("TRACE %d: (thread=%d)\n", 66 out.printf("\t%s\n", e); 71 out.printf("CPU SAMPLES BEGIN (total = %d) %ta %tb %td %tT %tY\n", 73 out.printf("rank self accum count trace method\n"); 84 out.printf("% 4d% 6.2f%%% 6.2f%% % 7d % 5d %s.%s\n", 89 out.printf("CPU SAMPLES END\n"); 90 out [all...] |
H A D | BinaryHprofWriter.java | 42 private final DataOutputStream out; field in class:BinaryHprofWriter 53 this.out = new DataOutputStream(outputStream); 75 out.flush(); 80 out.writeBytes(BinaryHprof.MAGIC + "1.0.2"); 81 out.writeByte(0); // null terminated string 82 out.writeInt(BinaryHprof.ID_SIZE); 83 out.writeLong(dumpTimeInMilliseconds); 94 out.writeInt(flags); 95 out.writeShort((short) depth); 117 out [all...] |
/libcore/json/src/main/java/org/json/ |
H A D | JSONStringer.java | 64 final StringBuilder out = new StringBuilder(); field in class:JSONStringer 175 if (stack.isEmpty() && out.length() > 0) { 180 out.append(openBracket); 198 out.append(closeBracket); 246 out.append(value); 249 out.append(JSONObject.numberToString((Number) value)); 268 out.append(value); 284 out.append(JSONObject.numberToString(value)); 298 out.append(value); 303 out [all...] |
/libcore/luni/src/main/java/java/awt/font/ |
H A D | NumericShaper.java | 535 * System.out.println(NumericShaper.getShaper(NumericShaper.EASTERN_ARABIC)); 538 * System.out.println(NumericShaper.getContextualShaper( 542 * System.out.println(NumericShaper.getContextualShaper( 818 * @param out the out 822 private void writeObject(java.io.ObjectOutputStream out) argument 825 out.defaultWriteObject();
|
/libcore/luni/src/main/java/java/beans/ |
H A D | PropertyChangeSupport.java | 130 * names in the same order and bottom out in the same event listener. This 317 private void writeObject(ObjectOutputStream out) throws IOException { argument 338 ObjectOutputStream.PutField putFields = out.putFields(); 341 out.writeFields(); 345 out.writeObject(p); 348 out.writeObject(null);
|
/libcore/luni/src/main/java/java/io/ |
H A D | BufferedOutputStream.java | 50 * Constructs a new {@code BufferedOutputStream}, providing {@code out} with a buffer 53 * @param out the {@code OutputStream} the buffer writes to. 55 public BufferedOutputStream(OutputStream out) { argument 56 this(out, 8192); 60 * Constructs a new {@code BufferedOutputStream}, providing {@code out} with {@code size} bytes 63 * @param out the {@code OutputStream} the buffer writes to. 67 public BufferedOutputStream(OutputStream out, int size) { argument 68 super(out); 76 * Flushes this stream to ensure all pending data is written out to the 86 out [all...] |
H A D | BufferedWriter.java | 41 private Writer out; field in class:BufferedWriter 48 * Constructs a new {@code BufferedWriter}, providing {@code out} with a buffer 51 * @param out the {@code Writer} the buffer writes to. 53 public BufferedWriter(Writer out) { argument 54 this(out, 8192); 58 * Constructs a new {@code BufferedWriter}, providing {@code out} with {@code size} bytes 61 * @param out the {@code OutputStream} the buffer writes to. 65 public BufferedWriter(Writer out, int size) { argument 66 super(out); 70 this.out [all...] |
H A D | ByteArrayOutputStream.java | 223 * {@code out}. 225 * @param out 228 * if an error occurs while writing to {@code out}. 230 public synchronized void writeTo(OutputStream out) throws IOException { argument 231 out.write(buf, 0, count);
|
H A D | CharArrayWriter.java | 222 * @param out 225 * if {@code out} is {@code null}. 227 * if an error occurs attempting to write out the contents. 229 public void writeTo(Writer out) throws IOException { argument 231 out.write(buf, 0, count);
|
H A D | Console.java | 46 if (!Libcore.os.isatty(FileDescriptor.in) || !Libcore.os.isatty(FileDescriptor.out)) { 50 return new Console(System.in, System.out); 56 private Console(InputStream in, OutputStream out) throws IOException { argument 58 this.writer = new ConsoleWriter(out); 196 public ConsoleWriter(OutputStream out) { argument 197 super(out, true);
|
H A D | DataOutputStream.java | 37 * The number of bytes written out so far. 43 * {@code out}. Note that data written by this stream is not in a human 47 * @param out 50 public DataOutputStream(OutputStream out) { argument 51 super(out); 55 * Flushes this stream to ensure all pending data is sent out to the target 98 out.write(buffer, offset, count); 114 out.write(oneByte); 128 out.write(val ? 1 : 0); 144 out [all...] |
H A D | FileDescriptor.java | 40 public static final FileDescriptor out = new FileDescriptor(); field in class:FileDescriptor 55 out.descriptor = STDOUT_FILENO; 67 * is written out to the appropriate device before returning.
|
H A D | FilterOutputStream.java | 38 protected OutputStream out; field in class:FilterOutputStream 41 * Constructs a new {@code FilterOutputStream} with {@code out} as its 44 * @param out 47 public FilterOutputStream(OutputStream out) { argument 48 this.out = out; 67 out.close(); 80 * Ensures that all pending data is sent out to the target stream. This 88 out.flush(); 112 // Call write() instead of out [all...] |
H A D | FilterWriter.java | 35 protected Writer out; field in class:FilterWriter 38 * Constructs a new FilterWriter on the Writer {@code out}. All writes are 41 * @param out 44 protected FilterWriter(Writer out) { argument 45 super(out); 46 this.out = out; 58 out.close(); 63 * Flushes this writer to ensure all pending data is sent out to the target 72 out [all...] |