Searched defs:out (Results 26 - 50 of 107) sorted by relevance

12345

/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DHelloRequest.java53 * @param out
56 public void send(HandshakeIODataStream out) { argument
H A DMessage.java50 * @param out
52 abstract void send(HandshakeIODataStream out); argument
H A DServerHelloDone.java53 * @param out
56 public void send(HandshakeIODataStream out) { argument
H A DCertificateRequest.java113 * @param out
116 public void send(HandshakeIODataStream out) { argument
118 out.writeUint8(certificate_types.length);
120 out.write(certificate_types[i]);
126 out.writeUint16(authoritiesLength);
128 out.writeUint16(encoded_principals[i].length);
129 out.write(encoded_principals[i]);
H A DClientKeyExchange.java122 * @param out
125 public void send(HandshakeIODataStream out) { argument
128 out.writeUint16(exchange_keys.length);
130 out.write(exchange_keys);
H A DServerHello.java107 * @param out
110 public void send(HandshakeIODataStream out) { argument
111 out.write(server_version);
112 out.write(random);
113 out.writeUint8(session_id.length);
114 out.write(session_id);
115 out.write(cipher_suite.toBytes());
116 out.write(compression_method);
/libcore/luni/src/main/java/java/io/
H A DBufferedWriter.java41 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 DByteArrayOutputStream.java223 * {@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 DCharArrayWriter.java222 * @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 DConsole.java46 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 DDataOutputStream.java37 * 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 DOutputStreamWriter.java40 private final OutputStream out; field in class:OutputStreamWriter
47 * Constructs a new OutputStreamWriter using {@code out} as the target
51 * @param out
54 public OutputStreamWriter(OutputStream out) { argument
55 this(out, Charset.defaultCharset());
59 * Constructs a new OutputStreamWriter using {@code out} as the target
64 * @param out
73 public OutputStreamWriter(OutputStream out, final String charsetName) argument
75 super(out);
79 this.out
99 OutputStreamWriter(OutputStream out, Charset cs) argument
117 OutputStreamWriter(OutputStream out, CharsetEncoder charsetEncoder) argument
[all...]
H A DPipedInputStream.java39 * range {@code [out, in)} and written to the range {@code [in, out)}.
44 * out in</pre>
49 * in out</pre>
52 * {@code in == out}. Writing when the buffer is full will block until free
65 protected int out; field in class:PipedInputStream
86 * {@link PipedOutputStream} {@code out}. Any data written to the output
89 * @param out
92 * if this stream or {@code out} are already connected.
94 public PipedInputStream(PipedOutputStream out) throw argument
125 PipedInputStream(PipedOutputStream out, int pipeSize) argument
[all...]
/libcore/luni/src/main/java/java/util/prefs/
H A DPreferenceChangeEvent.java101 private void writeObject(ObjectOutputStream out) throws IOException { argument
/libcore/luni/src/main/java/java/util/zip/
H A DInflaterOutputStream.java41 * implementation-defined default internal buffer size. {@code out} is a destination
44 * @param out the destination {@code OutputStream}
46 public InflaterOutputStream(OutputStream out) { argument
47 this(out, new Inflater());
52 * implementation-defined default internal buffer size. {@code out} is a destination
55 * @param out the destination {@code OutputStream}
58 public InflaterOutputStream(OutputStream out, Inflater inf) { argument
59 this(out, inf, DEFAULT_BUFFER_SIZE);
64 * given internal buffer size. {@code out} is a destination
67 * @param out th
71 InflaterOutputStream(OutputStream out, Inflater inf, int bufferSize) argument
[all...]
/libcore/luni/src/main/java/libcore/io/
H A DStreams.java50 public static void writeSingleByte(OutputStream out, int b) throws IOException { argument
53 out.write(buffer);
175 * Copies all of the bytes from {@code in} to {@code out}. Neither stream is closed.
178 public static int copy(InputStream in, OutputStream out) throws IOException { argument
184 out.write(buffer, 0, c);
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1Any.java96 public void encodeASN(BerOutputStream out) { argument
97 out.encodeANY();
100 public void encodeContent(BerOutputStream out) { argument
101 out.encodeANY();
104 public void setEncodingContent(BerOutputStream out) { argument
105 out.length = ((byte[]) out.content).length;
108 public int getEncodedLength(BerOutputStream out) { argument
109 return out.length;
H A DASN1BitString.java85 @Override public void encodeContent(BerOutputStream out) { argument
86 out.encodeBitString();
89 @Override public void setEncodingContent(BerOutputStream out) { argument
90 out.length = ((BitString) out.content).bytes.length + 1;
159 @Override public void setEncodingContent(BerOutputStream out) { argument
160 boolean[] toEncode = (boolean[]) out.content;
168 out.content = emptyString;
169 out.length = 1;
191 out
[all...]
H A DASN1Implicit.java124 public void encodeASN(BerOutputStream out) { argument
127 out.encodeTag(constrId);
129 out.encodeTag(id);
131 encodeContent(out);
134 public void encodeContent(BerOutputStream out) { argument
135 type.encodeContent(out);
138 public void setEncodingContent(BerOutputStream out) { argument
139 type.setEncodingContent(out);
H A DASN1Integer.java83 public void encodeContent(BerOutputStream out) { argument
84 out.encodeInteger();
87 public void setEncodingContent(BerOutputStream out) { argument
88 out.length = ((byte[]) out.content).length;
H A DASN1UTCTime.java85 @Override public void encodeContent(BerOutputStream out) { argument
86 out.encodeUTCTime();
96 @Override public void setEncodingContent(BerOutputStream out) { argument
99 out.content = sdf.format(out.content).getBytes(Charsets.UTF_8);
100 out.length = ((byte[]) out.content).length;
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldErrorManagerTest.java28 private final PrintStream out = System.out; field in class:OldErrorManagerTest
32 System.setOut(out);
/libcore/luni/src/test/java/libcore/javax/net/
H A DServerSocketFactoryTest.java80 ByteArrayOutputStream out = new ByteArrayOutputStream();
81 transfer(in, out);
82 assertEquals(Arrays.toString(data), Arrays.toString(out.toByteArray()));
107 System.out.println("backlog peaked at " + peak);
124 private void transfer(InputStream in, ByteArrayOutputStream out) throws IOException { argument
128 out.write(buffer, 0, count);
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestTrustManager.java35 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/luni/src/main/java/java/beans/
H A DPropertyChangeSupport.java130 * 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);

Completed in 243 milliseconds

12345