Searched refs:out (Results 1 - 25 of 246) sorted by relevance

12345678910

/libcore/luni/src/test/java/libcore/java/io/
H A DOldPipedOutputStreamTest.java33 public PReader(PipedOutputStream out) { argument
35 reader = new PipedInputStream(out);
37 System.out.println("Exception setting up reader: "
66 System.out.println("Exception reading ("
83 PipedOutputStream out; field in class:OldPipedOutputStreamTest
86 out = new PipedOutputStream();
87 assertNotNull(out);
89 out.close();
99 out = new PipedOutputStream(new PipedInputStream());
100 out
[all...]
/libcore/luni/src/main/java/java/io/
H A DFilterWriter.java35 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...]
H A DFilterOutputStream.java38 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 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...]
H A DPipedReader.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 private int out; field in class:PipedReader
86 * {@code out}. Any data written to the writer can be read from the this
89 * @param out
92 * if {@code out} is already connected.
94 public PipedReader(PipedWriter out) throw argument
125 PipedReader(PipedWriter out, int pipeSize) argument
[all...]
H A DBufferedOutputStream.java50 * 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...]
/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 DASN1Sequence.java48 public final void encodeContent(BerOutputStream out) { argument
49 out.encodeSequence(this);
52 public final void setEncodingContent(BerOutputStream out) { argument
53 out.getSequenceLength(this);
H A DASN1SequenceOf.java48 public final void encodeContent(BerOutputStream out) { argument
49 out.encodeSequenceOf(this);
52 public final void setEncodingContent(BerOutputStream out) { argument
53 out.getSequenceOfLength(this);
H A DASN1Set.java48 public final void encodeContent(BerOutputStream out) { argument
49 out.encodeSet(this);
52 public final void setEncodingContent(BerOutputStream out) { argument
53 out.getSetLength(this);
H A DASN1SetOf.java48 public final void encodeContent(BerOutputStream out) { argument
49 out.encodeSetOf(this);
52 public final void setEncodingContent(BerOutputStream out) { argument
53 out.getSetOfLength(this);
H A DASN1Constructed.java52 public void encodeASN(BerOutputStream out) { argument
53 out.encodeTag(constrId);
54 encodeContent(out);
H A DASN1Primitive.java48 public void encodeASN(BerOutputStream out) { argument
49 out.encodeTag(id);
50 encodeContent(out);
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;
H A DASN1StringType.java66 @Override public void setEncodingContent(BerOutputStream out) {
67 byte[] bytes = ((String) out.content).getBytes(Charsets.UTF_8);
68 out.content = bytes;
69 out.length = bytes.length;
106 public void encodeASN(BerOutputStream out) { argument
107 out.encodeTag(id);
108 encodeContent(out);
111 public void encodeContent(BerOutputStream out) { argument
112 out.encodeString();
115 public void setEncodingContent(BerOutputStream out) { argument
[all...]
H A DASN1Boolean.java84 public void encodeContent(BerOutputStream out) { argument
85 out.encodeBoolean();
88 public void setEncodingContent(BerOutputStream out) { argument
89 out.length = 1;
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);
/libcore/luni/src/test/java/tests/support/
H A DMockCallback.java25 System.out.println("&lt;TH&gt;&lt;TR&gt;");
27 System.out.println("&lt;TD&gt;" + cols[i] + "&lt;/TD&gt;");
29 System.out.println("&lt;/TR&gt;&lt;/TH&gt;");
33 System.out.println("&lt;TR&gt;");
35 System.out.println("&lt;TD&gt;" + cols[i] + "&lt;/TD&gt;");
37 System.out.println("&lt;/TR&gt;");
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestKeyManager.java39 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...]
/libcore/luni/src/main/java/libcore/io/
H A DBase64.java47 byte[] out = new byte[length];
107 out[outIndex++] = (byte) (quantum >> 16);
108 out[outIndex++] = (byte) (quantum >> 8);
109 out[outIndex++] = (byte) quantum;
117 out[outIndex++] = (byte) (quantum >> 16);
119 out[outIndex++] = (byte) (quantum >> 8);
124 System.arraycopy(out, 0, result, 0, outIndex);
137 byte[] out = new byte[length];
140 out[index++] = map[(in[i] & 0xff) >> 2];
141 out[inde
[all...]
/libcore/luni/src/main/java/java/util/zip/
H A DGZIPOutputStream.java77 out.write(Deflater.DEFLATED);
78 out.write(0); // flags
80 out.write(0); // extra flags
81 out.write(0); // operating system
85 * Indicates to the stream that all data has been written out, and any GZIP
109 // Write out the long value as an unsigned int
111 out.write(unsigned & 0xFF);
112 out.write((unsigned >> 8) & 0xFF);
113 out.write((unsigned >> 16) & 0xFF);
114 out
[all...]
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/test/java/libcore/java/nio/charset/
H A DOldCharsetEncoderDecoderBufferTest.java34 * is done first with an out-buffer with hasArray()==true, and next with an out-buffer with
35 * hasArray()==false. In that situation ICU may overwrite the first out-buffer.
41 CharBuffer out = CharBuffer.wrap(cBuf);
42 assertTrue(out.hasArray());
44 out, false);
51 out = ByteBuffer.wrap(bBuf).asCharBuffer();
52 assertFalse(out.hasArray());
53 decoder.decode(ByteBuffer.wrap(new byte[]{(byte)'x'}), out, true);
71 CharBuffer out
[all...]
/libcore/luni/src/main/java/java/util/prefs/
H A DXMLParser.java150 BufferedWriter out = new BufferedWriter(new OutputStreamWriter(stream, "UTF-8"));
151 out.write(HEADER);
152 out.newLine();
153 out.newLine();
155 out.write(DOCTYPE);
156 out.write(" '");
157 out.write(PREFS_DTD_NAME);
158 out.write("'>");
159 out.newLine();
160 out
177 exportNode(StringTokenizer ancestors, Preferences prefs, boolean withSubTree, BufferedWriter out) argument
196 exportSubTree(Preferences prefs, BufferedWriter out) argument
210 exportEntries(Preferences prefs, BufferedWriter out) argument
220 exportEntries(String[] keys, String[] values, BufferedWriter out) argument
236 flushEndTag(String tagName, BufferedWriter out) argument
245 flushEmptyElement(String tagName, BufferedWriter out) argument
255 flushEmptyElement(String tagName, String[] attrKeys, String[] attrValues, BufferedWriter out) argument
266 flushPairs(String[] attrKeys, String[] attrValues, BufferedWriter out) argument
277 flushIndent(int ind, BufferedWriter out) argument
284 flushStartTag(String tagName, String[] attrKeys, String[] attrValues, BufferedWriter out) argument
294 flushStartTag(String tagName, BufferedWriter out) argument
[all...]
/libcore/support/src/test/java/tests/util/
H A DFieldTestFileGenerator.java36 * {@code tests.support.Support_GetPutFieldsDefaulted} must be commented out. See the
55 System.out.println("Trying to write the test file 'testFields.ser'...");
63 System.out.println("Exception occured while writing the file: " + e);
70 System.out.println("Trying to write the test file 'testFieldsDeprecated.ser'...");
78 System.out.println("Exception occured while writing the file: " + e);
85 System.out.println("Trying to write the test file 'testFieldsDefaulted.ser'...");
93 System.out.println("Exception occured while writing the file: " + e);
101 System.out.println("Success!");
103 System.out.println("Failure!");

Completed in 229 milliseconds

12345678910