/libcore/luni/src/main/java/libcore/net/url/ |
H A D | FtpURLConnection.java | 146 write("CWD " + dir + "\r\n"); 149 write("CWD " + dir.substring(1) + "\r\n"); 273 write("RETR " + file + "\r\n"); 276 write("RETR " + file.substring(1) + "\r\n"); 287 * @return The input stream to write to 327 * @return The output stream to write to 379 write("USER " + username + "\r\n"); 386 write("PASS " + password + "\r\n"); 395 write("PORT " 434 write("STO 499 private void write(String command) throws IOException { method in class:FtpURLConnection [all...] |
/libcore/luni/src/main/java/java/io/ |
H A D | PipedWriter.java | 127 * Separate threads should be used to write to a {@code PipedWriter} and to 132 * the buffer to write. 134 * the index of the first character in {@code buffer} to write. 136 * the number of characters from {@code buffer} to write to this 143 * waiting for space to write data. This case is not currently 154 public void write(char[] buffer, int offset, int count) throws IOException { method in class:PipedWriter 166 * Separate threads should be used to write to a {@code PipedWriter} and to 171 * the character to write. 174 * waiting for space to write data. This case is not currently 183 public void write(in method in class:PipedWriter [all...] |
H A D | OutputStreamWriter.java | 48 * stream to write converted characters to. The default character encoding 52 * the non-null target stream to write converted bytes to. 60 * stream to write converted characters to and {@code charsetName} as the character 65 * the target stream to write converted bytes to. 91 * stream to write converted characters to and {@code cs} as the character 95 * the target stream to write converted bytes to. 109 * stream to write converted characters to and {@code charsetEncoder} as the character 113 * the target stream to write converted bytes to. 167 out.write(bytes.array(), bytes.arrayOffset(), position); 207 // Some encoders (such as ISO-2022-JP) have stuff to write ou 261 public void write(char[] buffer, int offset, int count) throws IOException { method in class:OutputStreamWriter 282 public void write(int oneChar) throws IOException { method in class:OutputStreamWriter 311 public void write(String str, int offset, int count) throws IOException { method in class:OutputStreamWriter [all...] |
H A D | PrintStream.java | 420 * {@code write(int)}. 426 * @see #write(int) 440 write(str.getBytes()); 442 write(str.getBytes(encoding)); 516 * then written to the target stream with {@code write(int)}. 522 * @see #write(int) 554 * the index of the first byte in {@code buffer} to write. 556 * the number of bytes in {@code buffer} to write. 563 public void write(byte[] buffer, int offset, int length) { method in class:PrintStream 571 out.write(buffe 594 public synchronized void write(int oneByte) { method in class:PrintStream [all...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | UnsafeByteSequence.java | 44 * Moves the write pointer back to the beginning of the sequence, 51 public void write(byte[] buffer, int offset, int length) { method in class:UnsafeByteSequence 61 public void write(int b) { method in class:UnsafeByteSequence
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
H A D | OldErrorManagerTest.java | 55 public void write(byte[] buffer) { method in class:OldErrorManagerTest.MockStream 60 public synchronized void write(byte[] buffer, int offset, int len) { method in class:OldErrorManagerTest.MockStream
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | OldAndroidGZIPStreamTest.java | 41 outFile.write(zipData, 0, zipData.length); 87 out.write(input, 0, input.length); 102 contents.write(buf, 0, len);
|
H A D | DeflaterInputStreamTest.java | 38 out.write(b); 58 out.write(buffer, 0, count); 72 out.write(buffer, 0, count);
|
H A D | OldAndroidZipStreamTest.java | 40 outFile.write(zipData, 0, zipData.length); 102 out.write(input, 0, input.length); 128 out.write(input, 0, input.length); 150 contents.write(buf, 0, len);
|
H A D | GZIPOutputStreamTest.java | 46 gzippedOut.write(bytes);
|
/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/luni/src/main/java/java/util/logging/ |
H A D | StreamHandler.java | 134 write(getFormatter().getHead(this)); 138 private void write(String s) { method in class:StreamHandler 140 this.writer.write(s); 223 write(getFormatter().getTail(this)); 298 write(msg);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | ClientHello.java | 177 out.write(client_version); 178 out.write(random); 180 out.write(session_id); 184 out.write(cipher_suites[i].toBytes()); 188 out.write(compression_methods[i]);
|
H A D | CertificateVerify.java | 79 out.write(signedHash);
|
H A D | ServerKeyExchange.java | 149 out.write(bytes1); 151 out.write(bytes2); 154 out.write(bytes3); 158 out.write(hash);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | DiskLruCache.java | 322 writer.write(MAGIC); 323 writer.write("\n"); 324 writer.write(VERSION_1); 325 writer.write("\n"); 326 writer.write(Integer.toString(appVersion)); 327 writer.write("\n"); 328 writer.write(Integer.toString(valueCount)); 329 writer.write("\n"); 330 writer.write("\n"); 334 writer.write(DIRT 758 @Override public void write(int oneByte) { method in class:DiskLruCache.Editor.FaultHidingOutputStream 766 @Override public void write(byte[] buffer, int offset, int length) { method in class:DiskLruCache.Editor.FaultHidingOutputStream [all...] |
H A D | Streams.java | 46 * Implements OutputStream.write(int) in terms of OutputStream.write(byte[], int, int). 47 * OutputStream assumes that you implement OutputStream.write(int) and provides default 53 out.write(buffer); 109 bytes.write(buffer, 0, count); 123 writer.write(buffer, 0, count); 184 out.write(buffer, 0, c);
|
/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
|
/libcore/support/src/test/java/tests/support/ |
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_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
|
/libcore/luni/src/test/java/libcore/sqlite/ |
H A D | OldBlobTest.java | 64 out.write(r.readLine().getBytes()); 90 os.write(b128); 116 out.write(null);
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldRandomAccessFileTest.java | 173 raf.write("Test".getBytes(), 0, 4); 190 raf.write(testString.getBytes()); 218 raf.write(testString.getBytes(), 0, testLength); 236 raf.write(testString.getBytes()); 257 raf.write(testBuf[i]); 275 raf.write(42); 293 fos.write(testString.getBytes(), 0, testLength); 326 fos.write(testString.getBytes(), 0, testLength); 920 raf.write(s.getBytes(), 0, s.length()); 952 raf.write(testStrin [all...] |
H A D | OldDataInputStreamTest.java | 63 os.write(fileString.getBytes()); 94 os.write(fileString.getBytes()); 124 os.write(fileString.getBytes()); 153 os.write(fileString.getBytes()); 182 os.write(fileString.getBytes());
|
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | HttpResponseCache.java | 71 /* read and write statistics, all guarded by 'this' */ 286 public void write(byte[] buffer, int offset, int length) throws IOException { 287 // Since we don't override "write(int oneByte)", we can write directly to "out" 289 out.write(buffer, offset, length); 432 writer.write(uri + '\n'); 433 writer.write(requestMethod + '\n'); 434 writer.write(Integer.toString(varyHeaders.length()) + '\n'); 436 writer.write(varyHeaders.getFieldName(i) + ": " 440 writer.write(responseHeader [all...] |
/libcore/support/src/test/java/tests/http/ |
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);
|