Searched defs:write (Results 1 - 25 of 92) sorted by relevance

1234

/dalvik/libcore/nio/src/main/java/java/nio/channels/
H A DWritableByteChannel.java24 * A {@code WritableByteChannel} is a type of {@link Channel} that can write
28 * if a write is already in progress on the channel then subsequent writes will
29 * block until the first write completes. It is undefined whether non-write
45 * The call may block if other threads are also attempting to write on the
62 * if another thread closes the channel during the write.
65 * write.
70 public int write(ByteBuffer buffer) throws IOException; method in interface:WritableByteChannel
H A DGatheringByteChannel.java24 * The interface for channels that can write a set of buffers in a single
35 * This method is equivalent to: {@code write(buffers, 0, buffers.length);}
42 * if the channel is closed by another thread during this write
61 public long write(ByteBuffer[] buffers) throws IOException; method in interface:GatheringByteChannel
68 * If a write operation is in progress, subsequent threads will block until
69 * the write is completed and then contend for the ability to write.
82 * if the channel is closed by another thread during this write
100 public long write(ByteBuffer[] buffers, int offset, int length) method in interface:GatheringByteChannel
/dalvik/libcore/luni/src/main/java/java/io/
H A DEmulatedFieldsForDumping.java196 public void write(ObjectOutput output) throws IOException { method in class:EmulatedFieldsForDumping
H A DOutputStream.java29 * needs to be subclassed, and at least the {@link #write(int)} method needs to
85 public void write(byte[] buffer) throws IOException { method in class:OutputStream
89 write(buffer, 0, buffer.length);
101 * the number of bytes from {@code buffer} to write to this
111 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:OutputStream
130 write(buffer[i]);
144 public abstract void write(int oneByte) throws IOException; method in class:OutputStream
H A DBufferedOutputStream.java64 * the {@code OutputStream} for which write operations are
92 * the output stream for which write operations are buffered.
119 out.write(buf, 0, count);
137 * the number of bytes from {@code buffer} to write to this
144 * if an error occurs attempting to write to this stream.
150 public synchronized void write(byte[] buffer, int offset, int length) method in class:BufferedOutputStream
167 out.write(buffer, offset, length);
179 out.write(buf, 0, buf.length);
185 out.write(buffer, offset, available);
204 * if an error occurs attempting to write t
208 public synchronized void write(int oneByte) throws IOException { method in class:BufferedOutputStream
[all...]
H A DFilterOutputStream.java98 public void write(byte[] buffer) throws IOException { method in class:FilterOutputStream
102 write(buffer, 0, buffer.length);
110 * the buffer to write.
112 * the index of the first byte in {@code buffer} to write.
114 * the number of bytes in {@code buffer} to write.
124 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:FilterOutputStream
143 // Call write() instead of out.write() since subclasses could
144 // override the write() method.
145 write(buffe
160 public void write(int oneByte) throws IOException { method in class:FilterOutputStream
[all...]
H A DFilterWriter.java87 * the buffer to write.
89 * the index of the first character in {@code buffer} to write.
91 * the number of characters in {@code buffer} to write.
97 public void write(char[] buffer, int offset, int count) throws IOException { method in class:FilterWriter
102 out.write(buffer, offset, count);
111 * the char to write to the target writer.
117 public void write(int oneChar) throws IOException { method in class:FilterWriter
119 out.write(oneChar);
131 * the index of the first character in {@code str} to write.
133 * the number of chars in {@code str} to write
139 public void write(String str, int offset, int count) throws IOException { method in class:FilterWriter
[all...]
H A DObjectOutput.java54 * the buffer to write.
59 public void write(byte[] buffer) throws IOException; method in interface:ObjectOutput
67 * the buffer to write.
69 * the index of the first byte in {@code buffer} to write.
71 * the number of bytes from {@code buffer} to write to the target
77 public void write(byte[] buffer, int offset, int count) throws IOException; method in interface:ObjectOutput
85 * the byte to write.
90 public void write(int value) throws IOException; method in interface:ObjectOutput
96 * the object to write.
H A DPipedOutputStream.java131 * Separate threads should be used to write to a {@code PipedOutputStream}
137 * the buffer to write.
139 * the index of the first byte in {@code buffer} to write.
141 * the number of bytes from {@code buffer} to write to this
148 * waiting for space to write data. This case is not currently
157 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:PipedOutputStream
165 super.write(buffer, offset, count);
173 * Separate threads should be used to write to a {@code PipedOutputStream}
179 * the byte to write.
182 * waiting for space to write dat
191 public void write(int oneByte) throws IOException { method in class:PipedOutputStream
[all...]
H A DPipedWriter.java132 * Separate threads should be used to write to a {@code PipedWriter} and to
138 * the buffer to write.
140 * the index of the first character in {@code buffer} to write.
142 * the number of characters from {@code buffer} to write to this
149 * waiting for space to write data. This case is not currently
161 public void write(char[] buffer, int offset, int count) throws IOException { method in class:PipedWriter
194 * Separate threads should be used to write to a {@code PipedWriter} and to
200 * the character to write.
203 * waiting for space to write data. This case is not currently
213 public void write(in method in class:PipedWriter
[all...]
H A DBufferedWriter.java60 * for which to buffer write operations. The buffer size is set to the
89 * for which to buffer write operations. The buffer size is set to {@code
145 out.write(buf, 0, pos);
167 * if an error occurs attempting to write to this writer.
171 write(lineSeparator, 0, lineSeparator.length());
181 * the array containing characters to write.
185 * the maximum number of characters to write.
195 public void write(char[] cbuf, int offset, int count) throws IOException { method in class:BufferedWriter
213 out.write(cbuf, offset, count);
225 out.write(thi
254 public void write(int oneChar) throws IOException { method in class:BufferedWriter
289 public void write(String str, int offset, int count) throws IOException { method in class:BufferedWriter
[all...]
/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DCheckedOutputStream.java73 public void write(int val) throws IOException { method in class:CheckedOutputStream
74 out.write(val);
88 * number of bytes to write to the output stream.
94 public void write(byte[] buf, int off, int nbytes) throws IOException { method in class:CheckedOutputStream
95 out.write(buf, off, nbytes);
H A DGZIPOutputStream.java25 * The {@code GZIPOutputStream} class is used to write data to a stream in the
40 * Construct a new {@code GZIPOutputStream} to write data in GZIP format to
44 * the {@code OutputStream} to write data to.
54 * Construct a new {@code GZIPOutputStream} to write data in GZIP format to
59 * the {@code OutputStream} to write to.
69 out.write(Deflater.DEFLATED);
70 out.write(0); // flags
72 out.write(0); // extra flags
73 out.write(0); // operating system
92 public void write(byt method in class:GZIPOutputStream
[all...]
H A DDeflaterOutputStream.java59 * is the {@code OutputStream} where to write the compressed data
78 * is the OutputStream where to write the compressed data to.
90 * is the {@code OutputStream} where to write the compressed data
112 * Compress the data in the input buffer and write it to the underlying
123 out.write(buf, 0, x);
165 out.write(buf, 0, x);
171 public void write(int i) throws IOException { method in class:DeflaterOutputStream
174 write(b, 0, 1);
192 public void write(byte[] buffer, int off, int nbytes) throws IOException { method in class:DeflaterOutputStream
/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
48 * the output stream to write data to.
66 * the output stream to write the data to.
77 * the byte to write.
83 public void write(int b) throws IOException { method in class:CipherOutputStream
88 out.write(result);
102 public void write(byte[] b) throws IOException { method in class:CipherOutputStream
103 write(b, 0, b.length);
121 public void write(byte[] b, int off, int len) throws IOException { method in class:CipherOutputStream
127 out.write(resul
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
H A DSocketOutputStream.java49 public void write(byte[] buffer) throws IOException { method in class:SocketOutputStream
50 socket.write(buffer, 0, buffer.length);
54 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:SocketOutputStream
59 socket.write(buffer, offset, count);
69 public void write(int oneByte) throws IOException { method in class:SocketOutputStream
73 socket.write(buffer, 0, 1);
/dalvik/libcore/security/src/main/java/java/security/
H A DDigestOutputStream.java91 public void write(int b) throws IOException { method in class:DigestOutputStream
96 // write the byte
97 out.write(b);
105 * the buffer to write to.
107 * the index of the first byte in {@code b} to write.
109 * the number of bytes in {@code b} to write.
114 public void write(byte[] b, int off, int len) throws IOException { method in class:DigestOutputStream
119 // write len bytes
120 out.write(b, off, len);
/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/support/src/test/java/tests/support/
H A DSupport_ASimpleOutputStream.java55 // 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 DSupport_StringWriter.java103 * 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...]
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/spi/
H A DMidiFileWriter.java52 public abstract int write(Sequence in, int fileType, File out) method in class:MidiFileWriter
55 public abstract int write(Sequence in, int fileType, OutputStream out) method in class:MidiFileWriter
/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-disabled/sound/src/main/java/javax/sound/sampled/spi/
H A DAudioFileWriter.java54 public abstract int write(AudioInputStream stream, method in class:AudioFileWriter
57 public abstract int write(AudioInputStream stream, method in class:AudioFileWriter
/dalvik/dx/src/com/android/dx/util/
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));

Completed in 2133 milliseconds

1234