/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldPipedOutputStreamTest.java | 33 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 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...] |
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 | PipedInputStream.java | 40 * range {@code [out, in)} and written to the range {@code [in, out)}. 45 * out in</pre> 50 * in out</pre> 53 * {@code in == out}. Writing when the buffer is full will block until free 66 protected int out; field in class:PipedInputStream 87 * {@link PipedOutputStream} {@code out}. Any data written to the output 90 * @param out 93 * if this stream or {@code out} are already connected. 95 public PipedInputStream(PipedOutputStream out) throw argument 126 PipedInputStream(PipedOutputStream out, int pipeSize) argument [all...] |
H A D | PipedReader.java | 40 * range {@code [out, in)} and written to the range {@code [in, out)}. 45 * out in</pre> 50 * in out</pre> 53 * {@code in == out}. Writing when the buffer is full will block until free 66 private int out; field in class:PipedReader 87 * {@code out}. Any data written to the writer can be read from the this 90 * @param out 93 * if {@code out} is already connected. 95 public PipedReader(PipedWriter out) throw argument 126 PipedReader(PipedWriter out, int pipeSize) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1Any.java | 96 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 D | ASN1Sequence.java | 48 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 D | ASN1SequenceOf.java | 48 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 D | ASN1Set.java | 48 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 D | ASN1SetOf.java | 48 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 D | ASN1Constructed.java | 52 public void encodeASN(BerOutputStream out) { argument 53 out.encodeTag(constrId); 54 encodeContent(out);
|
H A D | ASN1Primitive.java | 48 public void encodeASN(BerOutputStream out) { argument 49 out.encodeTag(id); 50 encodeContent(out);
|
H A D | ASN1StringType.java | 46 public void setEncodingContent(BerOutputStream out) { argument 47 byte[] bytes = ((String) out.content).getBytes(StandardCharsets.UTF_8); 48 out.content = bytes; 49 out.length = bytes.length; 102 public void encodeASN(BerOutputStream out) { argument 103 out.encodeTag(id); 104 encodeContent(out); 107 public void encodeContent(BerOutputStream out) { argument 108 out.encodeString(); 111 public void setEncodingContent(BerOutputStream out) { argument [all...] |
/libcore/luni/src/test/java/tests/support/ |
H A D | MockCallback.java | 25 System.out.println("<TH><TR>"); 27 System.out.println("<TD>" + cols[i] + "</TD>"); 29 System.out.println("</TR></TH>"); 33 System.out.println("<TR>"); 35 System.out.println("<TD>" + cols[i] + "</TD>"); 37 System.out.println("</TR>");
|
/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...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
H A D | CharSinkTester.java | 96 Writer out = create(); 97 out.close(); 104 Writer out = create(); 106 out.write(a, 1000, 0); 107 out.write(a, 0, 0); 108 out.write(new char[] { }); 110 out.close(); 117 Writer out = create(); 119 out.write(c); 122 out [all...] |
H A D | SinkTester.java | 97 OutputStream out = create(); 98 out.close(); 105 OutputStream out = create(); 107 out.write(a, 1000, 0); 108 out.write(a, 0, 0); 109 out.write(new byte[] { }); 111 out.close(); 118 OutputStream out = create(); 120 out.write(b); 123 out [all...] |
/libcore/dex/src/main/java/com/android/dex/util/ |
H A D | ExceptionWithContext.java | 92 public void printStackTrace(PrintStream out) { argument 93 super.printStackTrace(out); 94 out.println(context); 99 public void printStackTrace(PrintWriter out) { argument 100 super.printStackTrace(out); 101 out.println(context); 132 * @param out {@code non-null;} where to print to 134 public void printContext(PrintStream out) { argument 135 out.println(getMessage()); 136 out 144 printContext(PrintWriter out) argument [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | Base64.java | 47 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | PipedOutputStreamTest.java | 36 public PReader(PipedOutputStream out) { argument 38 reader = new PipedInputStream(out); 40 System.out.println("Couldn't start reader"); 68 System.out.println("Exception reading info"); 78 PipedOutputStream out; field in class:PipedOutputStreamTest 91 out = new PipedOutputStream(new PipedInputStream()); 92 out.write('b'); 99 out = new PipedOutputStream(); 100 rt = new Thread(reader = new PReader(out)); 102 out [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
H A D | ASCIICharsetEncoderTest.java | 85 ByteBuffer out = ByteBuffer.allocate(10); 87 encoder.encode(CharBuffer.wrap("\ud800"), out, true)); 88 assertTrue(encoder.flush(out).isMalformed()); 91 out = ByteBuffer.allocate(10); 94 assertSame(CoderResult.UNDERFLOW, encoder.encode(buffer1, out, false)); 99 assertTrue(encoder.encode(buffer2, out, true).isUnmappable()); 140 ByteBuffer out = ByteBuffer.allocate(0x10); 144 encoder.encode(in, out, false); 146 encoder.encode(in, out, true); 147 encoder.flush(out); [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
H A D | GZIPOutputStream.java | 83 out.write(Deflater.DEFLATED); 84 out.write(0); // flags 86 out.write(0); // extra flags 87 out.write(0); // operating system 91 * Indicates to the stream that all data has been written out, and any GZIP 115 // Write out the long value as an unsigned int 117 out.write(unsigned & 0xFF); 118 out.write((unsigned >> 8) & 0xFF); 119 out.write((unsigned >> 16) & 0xFF); 120 out [all...] |
H A D | InflaterOutputStream.java | 41 * 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 D | OldCharsetEncoderDecoderBufferTest.java | 34 * 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/libcore/reflect/ |
H A D | Types.java | 93 * Appends the best {@link #toString} name for {@code c} to {@code out}. 99 public static void appendTypeName(StringBuilder out, Class<?> c) { argument 105 out.append(c.getName()); 107 out.append("[]"); 112 * Appends names of the {@code types} to {@code out} separated by commas. 114 public static void appendArrayGenericType(StringBuilder out, Type[] types) { argument 118 appendGenericType(out, types[0]); 120 out.append(','); 121 appendGenericType(out, types[i]); 125 public static void appendGenericType(StringBuilder out, Typ argument [all...] |