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

1234567891011>>

/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)},
102 * the non-null array containing characters to write.
107 public void write(char[] buf) throws IOException { method in class:Writer
111 write(buf, 0, buf.length);
119 * the non-null character array to write.
121 * the index of the first character in {@code buf} to write.
123 * the maximum number of characters to write.
131 public abstract void write(char[] buf, int offset, int count) method in class:Writer
142 * the character to write to the target.
147 public void write(in method in class:Writer
164 public void write(String str) throws IOException { method in class:Writer
189 public void write(String str, int offset, int count) throws IOException { method in class:Writer
[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 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 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 DDataOutput.java21 * Defines an interface for classes that are able to write typed data to some
39 * the buffer to write.
46 public abstract void write(byte[] buffer) throws IOException; method in interface:DataOutput
56 * the buffer to write.
58 * the index of the first byte in {@code buffer} to write.
60 * the number of bytes from the {@code buffer} to write.
67 public abstract void write(byte[] buffer, int offset, int count) throws IOException; method in interface:DataOutput
76 * the byte to write.
82 public abstract void write(int oneByte) throws IOException; method in interface:DataOutput
88 * the boolean value to write
[all...]
/dalvik/libcore/archive/src/main/java/java/util/zip/
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 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);
/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 non-null; the array to write
95 public void write(ByteArray bytes); method in interface:Output
100 * @param bytes 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.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
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
/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
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/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-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".
48 transient private boolean read, write; field in class:PropertyPermission
57 * "read", "write", or "read,write"/"write,read". Anything else
73 } else if (token.equals("write")) { //$NON-NLS-1$
74 write
[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);

Completed in 616 milliseconds

1234567891011>>