Searched refs:write (Results 1 - 25 of 128) sorted by relevance

123456

/packages/apps/Email/emailcommon/src/org/apache/commons/io/output/
H A DNullWriter.java44 * @param idx The character to write
46 public void write(int idx) { method in class:NullWriter
52 * @param chr The characters to write
54 public void write(char[] chr) { method in class:NullWriter
60 * @param chr The characters to write
62 * @param end The number of characters to write
64 public void write(char[] chr, int st, int end) { method in class:NullWriter
70 * @param str The string to write
72 public void write(String str) { method in class:NullWriter
78 * @param str The string to write
82 public void write(String str, int st, int end) { method in class:NullWriter
[all...]
H A DProxyWriter.java28 * methods being called, such as write(char[]) to write(char[], int, int)
29 * and write(String) to write(String, int, int).
47 * Invokes the delegate's <code>write(int)</code> method.
48 * @param idx the character to write
51 public void write(int idx) throws IOException { method in class:ProxyWriter
52 out.write(idx);
56 * Invokes the delegate's <code>write(char[])</code> method.
57 * @param chr the characters to write
60 public void write(char[] chr) throws IOException { method in class:ProxyWriter
71 public void write(char[] chr, int st, int end) throws IOException { method in class:ProxyWriter
80 public void write(String str) throws IOException { method in class:ProxyWriter
91 public void write(String str, int st, int end) throws IOException { method in class:ProxyWriter
[all...]
H A DTeeOutputStream.java31 /** the second OutputStream to write to */
46 * @param b the bytes to write
49 public synchronized void write(byte[] b) throws IOException { method in class:TeeOutputStream
50 super.write(b);
51 this.branch.write(b);
56 * @param b the bytes to write
58 * @param len The number of bytes to write
61 public synchronized void write(byte[] b, int off, int len) throws IOException { method in class:TeeOutputStream
62 super.write(b, off, len);
63 this.branch.write(
71 public synchronized void write(int b) throws IOException { method in class:TeeOutputStream
[all...]
H A DProxyOutputStream.java45 * Invokes the delegate's <code>write(int)</code> method.
46 * @param idx the byte to write
49 public void write(int idx) throws IOException { method in class:ProxyOutputStream
50 out.write(idx);
54 * Invokes the delegate's <code>write(byte[])</code> method.
55 * @param bts the bytes to write
58 public void write(byte[] bts) throws IOException { method in class:ProxyOutputStream
59 out.write(bts);
63 * Invokes the delegate's <code>write(byte[])</code> method.
64 * @param bts the bytes to write
69 public void write(byte[] bts, int st, int end) throws IOException { method in class:ProxyOutputStream
[all...]
H A DNullOutputStream.java40 * @param b The bytes to write
42 * @param len The number of bytes to write
44 public void write(byte[] b, int off, int len) { method in class:NullOutputStream
50 * @param b The byte to write
52 public void write(int b) { method in class:NullOutputStream
58 * @param b The bytes to write
61 public void write(byte[] b) throws IOException { method in class:NullOutputStream
H A DCountingOutputStream.java39 * @param out the OutputStream to write to
50 * @param b the bytes to write, not null
52 * @see java.io.OutputStream#write(byte[])
54 public void write(byte[] b) throws IOException { method in class:CountingOutputStream
56 super.write(b);
63 * @param b the bytes to write, not null
65 * @param len the maximum number of bytes to write
67 * @see java.io.OutputStream#write(byte[], int, int)
69 public void write(byte[] b, int off, int len) throws IOException { method in class:CountingOutputStream
71 super.write(
82 public void write(int b) throws IOException { method in class:CountingOutputStream
[all...]
H A DThresholdingOutputStream.java34 * is actually reached, since it triggers when a pending write operation would
91 public void write(int b) throws IOException method in class:ThresholdingOutputStream
94 getStream().write(b);
107 public void write(byte b[]) throws IOException method in class:ThresholdingOutputStream
110 getStream().write(b);
121 * @param len The number of bytes to write.
125 public void write(byte b[], int off, int len) throws IOException method in class:ThresholdingOutputStream
128 getStream().write(b, off, len);
H A DClosedOutputStream.java24 * write something to the stream.
46 public void write(int b) throws IOException { method in class:ClosedOutputStream
47 throw new IOException("write(" + b + ") failed: stream is closed");
H A DFileWriterWithEncoding.java60 * @param filename the name of the file to write to, not null
72 * @param filename the name of the file to write to, not null
85 * @param filename the name of the file to write to, not null
97 * @param filename the name of the file to write to, not null
110 * @param filename the name of the file to write to, not null
122 * @param filename the name of the file to write to, not null
135 * @param file the file to write to, not null
147 * @param file the file to write to, not null
161 * @param file the file to write to, not null
173 * @param file the file to write t
265 public void write(int idx) throws IOException { method in class:FileWriterWithEncoding
274 public void write(char[] chr) throws IOException { method in class:FileWriterWithEncoding
285 public void write(char[] chr, int st, int end) throws IOException { method in class:FileWriterWithEncoding
294 public void write(String str) throws IOException { method in class:FileWriterWithEncoding
305 public void write(String str, int st, int end) throws IOException { method in class:FileWriterWithEncoding
[all...]
H A DLockableFileWriter.java66 * @param fileName the file to write to, not null
77 * @param fileName file to write to, not null
89 * @param fileName the file to write to, not null
103 * @param file the file to write to, not null
114 * @param file the file to write to, not null
126 * @param file the file to write to, not null
139 * @param file the file to write to, not null
151 * @param file the file to write to, not null
188 * Tests that we can write to the lock directory.
191 * @throws IOException if we cannot write t
281 public void write(int idx) throws IOException { method in class:LockableFileWriter
290 public void write(char[] chr) throws IOException { method in class:LockableFileWriter
301 public void write(char[] chr, int st, int end) throws IOException { method in class:LockableFileWriter
310 public void write(String str) throws IOException { method in class:LockableFileWriter
321 public void write(String str, int st, int end) throws IOException { method in class:LockableFileWriter
[all...]
/packages/apps/Email/src/com/android/email/mail/transport/
H A DEOLConvertingOutputStream.java31 public void write(int oneByte) throws IOException { method in class:EOLConvertingOutputStream
34 super.write('\r');
37 super.write(oneByte);
44 super.write('\n');
H A DStatusOutputStream.java35 public void write(int oneByte) throws IOException { method in class:StatusOutputStream
36 super.write(oneByte);
H A DCountingOutputStream.java37 public void write(int oneByte) throws IOException { method in class:CountingOutputStream
/packages/apps/Launcher2/
H A Dprint_db.py52 out.write("""<span class="intent" title="%s">shortcut</span>""" % (
60 out.write("""<img src="%s">""" % ( icon_fn ))
62 f.write(cell)
67 out.write(cgi.escape(str(cell)))
76 out.write(" <td width=%d height=%d></td>\n" %
90 out.write((" <td colspan=%d rowspan=%d width=%d height=%d"
97 out.write("""<img src="icon_%d.png">\n""" % ( cell["_id"] ))
98 out.write("<br/>\n")
99 out.write(cgi.escape(cell["title"]) + " <br/><i>(app)</i>")
101 out.write("""<im
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DSnapshotByteArrayOutputStream.java34 public synchronized void write(int oneByte) throws IOException { method in class:SnapshotByteArrayOutputStream
36 mStream.write(oneByte);
40 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:SnapshotByteArrayOutputStream
42 mStream.write(buffer, offset, count);
/packages/apps/Camera/tests/src/com/android/camera/stress/
H A DTestUtil.java42 mOut.write("\n");
48 mOut.write(reportTag);
49 mOut.write("No of loops :" + iteration + "\n");
50 mOut.write("loop: ");
54 mOut.write(" ," + iteration);
H A DCameraLatency.java113 out.write("Camera Latency : \n");
114 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n");
115 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n");
116 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n");
117 out.write("Avg mShutterToPictureDisplayedTime = "
119 out.write("Avg mPictureDisplayedToJpegCallbackTime = "
121 out.write("Avg mJpegCallbackFinishTime = " +
126 fail("Camera Latency write output to file");
H A DSwitchPreview.java81 mOut.write("\n");
94 mOut.write("Camera Switch Mode:\n");
95 mOut.write("No of loops :" + TOTAL_NUMBER_OF_SWITCHING + "\n");
96 mOut.write("loop: ");
110 mOut.write(" ," + i);
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/
H A DSmilXmlSerializer.java49 writer.write('<');
50 writer.write(element.getTagName());
56 writer.write(" " + attribute.getName());
57 writer.write("=\"" + attribute.getValue() + "\"");
65 writer.write('>');
72 writer.write("</");
73 writer.write(element.getTagName());
74 writer.write('>');
76 writer.write("/>");
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DInterruptableOutputStream.java37 public void write(int oneByte) throws IOException { method in class:InterruptableOutputStream
39 mOutputStream.write(oneByte);
43 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:InterruptableOutputStream
48 mOutputStream.write(buffer, offset, bytesCount);
/packages/apps/Email/emailcommon/src/org/apache/commons/io/
H A DIOUtils.java47 * <li>write - these methods write data to a stream
616 // write byte[]
621 * @param data the byte array to write, do not modify during output,
623 * @param output the <code>OutputStream</code> to write to
628 public static void write(byte[] data, OutputStream output) method in class:IOUtils
631 output.write(data);
641 * @param data the byte array to write, do not modify during output,
643 * @param output the <code>Writer</code> to write to
648 public static void write(byt method in class:IOUtils
671 public static void write(byte[] data, Writer output, String encoding) method in class:IOUtils
695 public static void write(char[] data, Writer output) throws IOException { method in class:IOUtils
715 public static void write(char[] data, OutputStream output) method in class:IOUtils
740 public static void write(char[] data, OutputStream output, String encoding) method in class:IOUtils
762 public static void write(String data, Writer output) throws IOException { method in class:IOUtils
781 public static void write(String data, OutputStream output) method in class:IOUtils
804 public static void write(String data, OutputStream output, String encoding) method in class:IOUtils
826 public static void write(StringBuffer data, Writer output) method in class:IOUtils
846 public static void write(StringBuffer data, OutputStream output) method in class:IOUtils
869 public static void write(StringBuffer data, OutputStream output, method in class:IOUtils
[all...]
H A DEndianUtils.java109 // ========================================== Swapping read/write routines
116 * @param value value to write
153 * @param value value to write
199 * @param value value to write
238 * @param value value to write
260 * @param value value to write
281 * @param value value to write
287 output.write( (byte)( ( value >> 0 ) & 0xff ) );
288 output.write( (byte)( ( value >> 8 ) & 0xff ) );
326 * @param value value to write
[all...]
/packages/apps/Email/emailcommon/src/org/apache/commons/io/input/
H A DTeeInputStream.java108 branch.write(ch);
126 branch.write(bts, st, n);
142 branch.write(bts, 0, n);
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DSerializer.java76 mOutput.write(0);
99 mOutput.write(0x03); // version 1.3
100 mOutput.write(0x01); // unknown or missing public identifier
101 mOutput.write(106); // UTF-8
102 mOutput.write(0); // 0 length string array
113 mOutput.write(Wbxml.SWITCH_PAGE);
114 mOutput.write(page);
117 mOutput.write(degenerated ? tag : tag | Wbxml.WITH_CONTENT);
137 mOutput.write(Wbxml.END);
167 mOutput.write(Wbxm
[all...]
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DSimpleIcsWriter.java38 * Low level method to write a line, performing line-folding if necessary.
49 mOut.write((byte) '\r');
50 mOut.write((byte) '\n');
51 mOut.write((byte) '\t');
54 mOut.write(b);
57 mOut.write((byte) '\r');
58 mOut.write((byte) '\n');

Completed in 696 milliseconds

123456