/libcore/support/src/test/java/libcore/java/io/ |
H A D | NullPrintStream.java | 60 public void write(byte[] buffer, int offset, int length) {} method in class:NullPrintStream 61 public void write(int oneByte) {} method in class:NullPrintStream
|
/libcore/support/src/test/java/tests/http/ |
H A D | MockResponse.java | 120 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII)); 121 bytesOut.write("\r\n".getBytes(ASCII)); 122 bytesOut.write(body, pos, chunkSize); 123 bytesOut.write("\r\n".getBytes(ASCII)); 126 bytesOut.write("0\r\n\r\n".getBytes(ASCII)); // last chunk + empty trailer + crlf
|
H A D | MockWebServer.java | 421 out.write((response.getStatus() + "\r\n").getBytes(ASCII)); 423 out.write((header + "\r\n").getBytes(ASCII)); 425 out.write(("\r\n").getBytes(ASCII)); 426 out.write(response.getBody()); 441 out.write(buffer, 0, count); 477 @Override public void write(byte[] buffer, int offset, int len) { method in class:MockWebServer.TruncatingOutputStream 479 super.write(buffer, offset, Math.min(len, bodyLimit - count)); 481 @Override public void write(int oneByte) { method in class:MockWebServer.TruncatingOutputStream 484 super.write(oneByte);
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ASimpleOutputStream.java | 55 // public void write(byte buffer[]) throws IOException { 60 // write(buffer[i]); 65 // public void write(byte buffer[], int offset, int count) throws IOException { 73 // write(buffer[i]); 78 public void write(int oneByte) throws IOException { method in class:Support_ASimpleOutputStream
|
H A D | Support_ASimpleWriter.java | 55 public void write(char[] src, int offset, int count) throws IOException { method in class:Support_ASimpleWriter
|
H A D | Support_Exec.java | 146 writer.write(c);
|
H A D | Support_GetLocal.java | 49 out.write(buf, 0, result); 69 out.write(buf, 0, result); 85 out.write(buf, 0, result);
|
H A D | Support_GetPutFieldsDeprecated.java | 29 * {@code ObjectOutputStream.PutField.write(ObjectOutput)} to write the fields 132 putField.write(oos);
|
H A D | Support_OutputStream.java | 10 * This is used to test the {@code IOException} handling of classes that write 58 public void write(byte buffer[]) throws IOException { method in class:Support_OutputStream 63 write(buffer[i]); 68 public void write(byte buffer[], int offset, int count) throws IOException { method in class:Support_OutputStream 76 write(buffer[i]); 81 public void write(int oneByte) throws IOException { method in class:Support_OutputStream
|
H A D | Support_StringWriter.java | 103 * the non-null array containing characters to write. 107 * maximum number of characters to write 113 public void write(char[] buf, int offset, int count) { method in class:Support_StringWriter 131 * The character to write 135 public void write(int oneChar) { method in class:Support_StringWriter 146 * the non-null String containing the characters to write. 150 public void write(String str) { method in class:Support_StringWriter 162 * the non-null String containing the characters to write. 166 * the number of characters to retrieve and write. 172 public void write(Strin method in class:Support_StringWriter [all...] |
H A D | Support_TestWebData.java | 113 out.write(in.read());
|
H A D | Support_TestWebServer.java | 598 ps.write(buf, 0, 5); 599 ps.write(EOL); 637 // Post method write body data 689 ps.write(bytes, offset, count); 695 ps.write(EOL); 813 * @param ps The PrintStream to write to 822 * @param ps The PrintStream to write to
|
/libcore/support/src/test/java/tests/support/resource/ |
H A D | Support_Resources.java | 147 out.write(buffer, 0, c); 192 out.write(b);
|
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlSerializer.java | 33 /** size (in characters) for the write buffer */ 70 writer.write(' '); 71 writer.write("xmlns"); 73 writer.write(':'); 74 writer.write(nspStack[i * 2]); 78 writer.write("=\""); 80 writer.write('"'); 92 writer.write(close ? " />" : ">"); 103 writer.write(c); 105 writer.write(" [all...] |
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | AsciiHprofWriter.java | 40 public static void write(HprofData data, OutputStream outputStream) throws IOException { method in class:AsciiHprofWriter 41 new AsciiHprofWriter(data, outputStream).write(); 49 private void write() throws IOException { method in class:AsciiHprofWriter
|
H A D | BinaryHprofWriter.java | 47 public static void write(HprofData data, OutputStream outputStream) throws IOException { method in class:BinaryHprofWriter 48 new BinaryHprofWriter(data, outputStream).write(); 56 private void write() throws IOException { method in class:BinaryHprofWriter 172 out.write(bytes, 0, bytes.length);
|
H A D | HprofBinaryToAscii.java | 69 return write(hprofData); 80 return write(hprofData); 161 private static boolean write(HprofData hprofData) { method in class:HprofBinaryToAscii 163 AsciiHprofWriter.write(hprofData, System.out);
|
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
H A D | SamplingProfilerTest.java | 263 AsciiHprofWriter.write(hprofData, out); 274 BinaryHprofWriter.write(hprofData, out); 282 debug.write(bytes);
|
/libcore/luni/src/main/java/java/io/ |
H A D | BufferedOutputStream.java | 107 * the number of bytes from {@code buffer} to write to this 114 * if an error occurs attempting to write to this stream. 121 public synchronized void write(byte[] buffer, int offset, int length) throws IOException { method in class:BufferedOutputStream 131 out.write(buffer, offset, length); 168 * if an error occurs attempting to write to this stream. 171 public synchronized void write(int oneByte) throws IOException { method in class:BufferedOutputStream 174 out.write(buf, 0, count); 185 out.write(buf, 0, count);
|
H A D | BufferedWriter.java | 139 out.write(buf, 0, pos); 158 * if an error occurs attempting to write to this writer. 161 write(System.lineSeparator()); 171 * the array containing characters to write. 175 * the maximum number of characters to write. 184 public void write(char[] buffer, int offset, int count) throws IOException { method in class:BufferedWriter 192 out.write(buffer, offset, count); 204 out.write(this.buf, 0, this.buf.length); 210 out.write(buffer, offset, available); 227 * the character to write 232 public void write(int oneChar) throws IOException { method in class:BufferedWriter 264 public void write(String str, int offset, int count) throws IOException { method in class:BufferedWriter [all...] |
H A D | ByteArrayOutputStream.java | 187 * the number of bytes of {@code buffer} to write. 196 public synchronized void write(byte[] buffer, int offset, int len) { method in class:ByteArrayOutputStream 214 public synchronized void write(int oneByte) { method in class:ByteArrayOutputStream 226 * an OutputStream on which to write the contents of this stream. 231 out.write(buf, 0, count);
|
H A D | CharArrayWriter.java | 99 * Resets this writer. The current write position is reset to the beginning 156 * the non-null array containing characters to write. 158 * the index of the first character in {@code buf} to write. 160 * maximum number of characters to write. 166 public void write(char[] buffer, int offset, int len) { method in class:CharArrayWriter 181 * the character to write. 184 public void write(int oneChar) { method in class:CharArrayWriter 203 public void write(String str, int offset, int count) { method in class:CharArrayWriter 223 * the non-null {@code Writer} on which to write the contents. 227 * if an error occurs attempting to write ou [all...] |
H A D | DataOutput.java | 21 * Defines an interface for classes that are able to write big-endian typed data to some 37 * the buffer to write. 41 public abstract void write(byte[] buffer) throws IOException; method in interface:DataOutput 48 * the buffer to write. 50 * the index of the first byte in {@code buffer} to write. 52 * the number of bytes from the {@code buffer} to write. 56 public abstract void write(byte[] buffer, int offset, int count) throws IOException; method in interface:DataOutput 62 * the byte to write. 67 public abstract void write(int oneByte) throws IOException; method in interface:DataOutput 73 * the boolean value to write [all...] |
H A D | DataOutputStream.java | 83 * the buffer to write to the target stream. 85 * the index of the first byte in {@code buffer} to write. 87 * the number of bytes from the {@code buffer} to write. 94 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:DataOutputStream 98 out.write(buffer, offset, count); 107 * the byte to write to the target stream. 113 public void write(int oneByte) throws IOException { method in class:DataOutputStream 114 out.write(oneByte); 122 * the boolean value to write to the target stream. 128 out.write(va [all...] |
H A D | EmulatedFieldsForDumping.java | 30 // Record the ObjectOutputStream that created this PutField for checking in 'write'. 196 public void write(ObjectOutput output) throws IOException { method in class:EmulatedFieldsForDumping 198 throw new IllegalArgumentException("Attempting to write to a different stream than the one that created this PutField");
|