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

1234567891011>>

/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A DWriterChain.java33 * write(int val)
34 * write(char[] chars)
35 * write(char[] chars, int start, int count)
36 * write(String chars)
37 * write(String chars, int start, int count)
54 public void write(int val) throws IOException; method in interface:WriterChain
56 public void write(char[] chars) throws IOException; method in interface:WriterChain
58 public void write(char[] chars, int start, int count) throws IOException; method in interface:WriterChain
60 public void write(String chars) throws IOException; method in interface:WriterChain
62 public void write(Strin method in interface:WriterChain
[all...]
/dalvik/libcore/luni/src/main/java/java/io/
H A DWriter.java27 * needs to be subclassed, and at least the {@link #write(char[], int, int)},
93 * the non-null array containing characters to write.
97 public void write(char[] buf) throws IOException { method in class:Writer
101 write(buf, 0, buf.length);
109 * the non-null character array to write.
111 * the index of the first character in {@code buf} to write.
113 * the maximum number of characters to write.
120 public abstract void write(char[] buf, int offset, int count) method in class:Writer
131 * the character to write to the target.
135 public void write(in method in class:Writer
151 public void write(String str) throws IOException { method in class:Writer
171 public void write(String str, int offset, int count) throws IOException { method in class:Writer
[all...]
H A DObjectOutput.java50 * the buffer to write.
54 public void write(byte[] buffer) throws IOException; method in interface:ObjectOutput
62 * the buffer to write.
64 * the index of the first byte in {@code buffer} to write.
66 * the number of bytes from {@code buffer} to write to the target
71 public void write(byte[] buffer, int offset, int count) throws IOException; method in interface:ObjectOutput
79 * the byte to write.
83 public void write(int value) throws IOException; method in interface:ObjectOutput
89 * the object to write.
H A DOutputStream.java29 * needs to be subclassed, and at least the {@link #write(int)} method needs to
78 public void write(byte[] buffer) throws IOException { method in class:OutputStream
82 write(buffer, 0, buffer.length);
94 * the number of bytes from {@code buffer} to write to this
103 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:OutputStream
122 write(buffer[i]);
135 public abstract void write(int oneByte) throws IOException; method in class:OutputStream
H A DFilterWriter.java81 * the buffer to write.
83 * the index of the first character in {@code buffer} to write.
85 * the number of characters in {@code buffer} to write.
90 public void write(char[] buffer, int offset, int count) throws IOException { method in class:FilterWriter
95 out.write(buffer, offset, count);
104 * the char to write to the target writer.
109 public void write(int oneChar) throws IOException { method in class:FilterWriter
111 out.write(oneChar);
123 * the index of the first character in {@code str} to write.
125 * the number of chars in {@code str} to write
130 public void write(String str, int offset, int count) throws IOException { method in class:FilterWriter
[all...]
H A DDataOutput.java21 * Defines an interface for classes that are able to write typed data to some
37 * the buffer to write.
43 public abstract void write(byte[] buffer) throws IOException; method in interface:DataOutput
50 * the buffer to write.
52 * the index of the first byte in {@code buffer} to write.
54 * the number of bytes from the {@code buffer} to write.
60 public abstract void write(byte[] buffer, int offset, int count) throws IOException; method in interface:DataOutput
69 * the byte to write.
74 public abstract void write(int oneByte) throws IOException; method in interface:DataOutput
80 * the boolean value to write
[all...]
H A DStringWriter.java111 * the non-null character array to write.
113 * the index of the first character in {@code cbuf} to write.
115 * the maximum number of characters to write.
121 public void write(char[] cbuf, int offset, int count) { method in class:StringWriter
146 * the character to write to this writer's {@code StringBuffer}.
149 public void write(int oneChar) { method in class:StringWriter
158 * the non-null string containing the characters to write.
161 public void write(String str) { method in class:StringWriter
170 * the non-null string containing the characters to write.
172 * the index of the first character in {@code str} to write
180 public void write(String str, int offset, int count) { method in class:StringWriter
[all...]
/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DGZIPOutputStream.java24 * The {@code GZIPOutputStream} class is used to write data to a stream in the
35 * Construct a new {@code GZIPOutputStream} to write data in GZIP format to
39 * the {@code OutputStream} to write data to.
48 * Construct a new {@code GZIPOutputStream} to write data in GZIP format to
53 * the {@code OutputStream} to write to.
62 out.write(Deflater.DEFLATED);
63 out.write(0); // flags
65 out.write(0); // extra flags
66 out.write(0); // operating system
88 public void write(byt method in class:GZIPOutputStream
[all...]
H A DCheckedOutputStream.java67 public void write(int val) throws IOException { method in class:CheckedOutputStream
68 out.write(val);
82 * number of bytes to write to the output stream.
87 public void write(byte[] buf, int off, int nbytes) throws IOException { method in class:CheckedOutputStream
88 out.write(buf, off, nbytes);
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DDEROutputStream.java30 write((byte)(size | 0x80));
34 write((byte)(length >> i));
39 write((byte)length);
48 write(tag);
50 write(bytes);
56 write(NULL);
57 write(0x00);
H A DBERConstructedSequence.java20 out.write(SEQUENCE | CONSTRUCTED);
21 out.write(0x80);
29 out.write(0x00);
30 out.write(0x00);
H A DBERSequence.java42 out.write(SEQUENCE | CONSTRUCTED);
43 out.write(0x80);
51 out.write(0x00);
52 out.write(0x00);
H A DBERSet.java52 out.write(SET | CONSTRUCTED);
53 out.write(0x80);
61 out.write(0x00);
62 out.write(0x00);
/dalvik/dx/src/com/android/dx/util/
H A DOutput.java45 * @param value the value to write; all but the low 8 bits are ignored
52 * @param value the value to write; all but the low 16 bits are ignored
59 * @param value the value to write
66 * @param value the value to write
75 * @param value value to write, treated as an unsigned value
85 * @param value value to write
93 * @param bytes {@code non-null;} the array to write
95 public void write(ByteArray bytes); method in interface:Output
100 * @param bytes {@code non-null;} the array to write
102 * byte to write
105 public void write(byte[] bytes, int offset, int length); method in interface:Output
113 public void write(byte[] bytes); method in interface:Output
[all...]
H A DIndentingWriter.java91 public void write(int c) throws IOException { method in class:IndentingWriter
106 out.write('\n');
116 out.write(prefix);
121 out.write(' ');
127 out.write(c);
139 public void write(char[] cbuf, int off, int len) throws IOException { method in class:IndentingWriter
142 write(cbuf[off]);
151 public void write(String str, int off, int len) throws IOException { method in class:IndentingWriter
154 write(str.charAt(off));
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/io/
H A DDigestOutputStream.java22 public void write(int b) method in class:DigestOutputStream
26 out.write(b);
29 public void write( method in class:DigestOutputStream
36 out.write(b, off, len);
H A DMacOutputStream.java22 public void write(int b) method in class:MacOutputStream
26 out.write(b);
29 public void write( method in class:MacOutputStream
36 out.write(b, off, len);
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DBufferedWriterTest.java51 bw.write("Hi", 0, 2);
78 bw.write("Hi", 0, 2);
99 bw.write(testString);
124 bw.write("This should not cause a flush");
151 bw.write("Hello");
153 bw.write("World");
169 * @tests java.io.BufferedWriter#write(char[], int, int)
173 method = "write",
177 // Test for method void java.io.BufferedWriter.write(char [], int, int)
180 bw.write(testCharArra
[all...]
/dalvik/libcore/nio/src/main/java/java/nio/channels/
H A DGatheringByteChannel.java23 * The interface for channels that can write a set of buffers in a single
32 * This method is equivalent to: {@code write(buffers, 0, buffers.length);}
38 * if the channel is closed by another thread during this write
56 public long write(ByteBuffer[] buffers) throws IOException; method in interface:GatheringByteChannel
59 * Attempts to write all <code>remaining()</code> bytes from {@code length}
63 * If a write operation is in progress, subsequent threads will block until
64 * the write is completed and then contend for the ability to write.
76 * if the channel is closed by another thread during this write
93 public long write(ByteBuffe method in interface:GatheringByteChannel
[all...]
H A DWritableByteChannel.java23 * A {@code WritableByteChannel} is a type of {@link Channel} that can write
27 * if a write is already in progress on the channel then subsequent writes will
28 * block until the first write completes. It is undefined whether non-write
41 * The call may block if other threads are also attempting to write on the
56 * if another thread closes the channel during the write.
59 * write.
63 public int write(ByteBuffer buffer) throws IOException; method in interface:WritableByteChannel
/dalvik/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java32 /** size (in characters) for the write buffer */
71 writer.write(' ');
72 writer.write("xmlns");
74 writer.write(':');
75 writer.write(nspStack[i * 2]);
79 writer.write("=\"");
81 writer.write('"');
93 writer.write(close ? " />" : ">");
106 writer.write(c);
108 writer.write("
[all...]
/dalvik/libcore/crypto/src/main/java/javax/crypto/
H A DCipherOutputStream.java26 * This class wraps an output stream and a cipher so that {@code write} methods
45 * the output stream to write data to.
61 * the output stream to write the data to.
71 * the byte to write.
76 public void write(int b) throws IOException { method in class:CipherOutputStream
81 out.write(result);
94 public void write(byte[] b) throws IOException { method in class:CipherOutputStream
95 write(b, 0, b.length);
112 public void write(byte[] b, int off, int len) throws IOException { method in class:CipherOutputStream
118 out.write(resul
[all...]
/dalvik/libcore/security/src/main/java/java/security/
H A DDigestOutputStream.java81 public void write(int b) throws IOException { method in class:DigestOutputStream
86 // write the byte
87 out.write(b);
95 * the buffer to write to.
97 * the index of the first byte in {@code b} to write.
99 * the number of bytes in {@code b} to write.
104 public void write(byte[] b, int off, int len) throws IOException { method in class:DigestOutputStream
109 // write len bytes
110 out.write(b, off, len);
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/
H A DSourceDataLine.java27 int write(byte[] b, int off, int len); method in interface:SourceDataLine
/dalvik/libcore/luni/src/main/java/java/util/
H A DPropertyPermission.java40 * There are two possible permission action types: read and write. Possible
41 * actions are "read", "write", or "read,write"/"write,read".
46 transient private boolean read, write; field in class:PropertyPermission
55 * "read", "write", or "read,write"/"write,read". Anything else
70 } else if (token.equals("write")) { //$NON-NLS-1$
71 write
[all...]

Completed in 1739 milliseconds

1234567891011>>