/libcore/luni/src/test/java/libcore/java/io/ |
OldOutputStreamTest.java | 36 public void write(int oneByte) throws IOException { method in class:OldOutputStreamTest.BasicOutputStream 59 bos.write(shortByteArray); 73 bos.write(longByteArray); 84 bos.write(shortByteArray, 6, 5); 98 bos.write(longByteArray, 5, 20); 103 bos.write(longByteArray, -1, 10); 112 bos.write(longByteArray, 10, -1); 121 bos.write(longByteArray, 20, 10);
|
OutputStreamWriterTest.java | 26 public void write(int b) { method in class:OutputStreamWriterTest.FlushCountingOutputStream 39 writer.write(chars); 50 // We write enough characters to fill that, but leave data in the encoder. 52 // On flush/close, the writer needs to admit defeat and write the replacement character. 58 writer.write(cs, 0, cs.length); 62 writer.write(0xdf9f);
|
/libcore/ojluni/src/main/java/java/io/ |
OutputStreamWriter.java | 18 * 2 along with this work; if not, write to the Free Software Foundation, 40 * <p> Each invocation of a write() method causes the encoding converter to be 44 * purposes. Note that the characters passed to the write() methods are not 193 public void write(int c) throws IOException { method in class:OutputStreamWriter 194 se.write(c); 202 * @param len Number of characters to write 206 public void write(char cbuf[], int off, int len) throws IOException { method in class:OutputStreamWriter 207 se.write(cbuf, off, len); 215 * @param len Number of characters to write 219 public void write(String str, int off, int len) throws IOException method in class:OutputStreamWriter [all...] |
ByteArrayOutputStream.java | 18 * 2 along with this work; if not, write to the Free Software Foundation, 134 public synchronized void write(int b) { method in class:ByteArrayOutputStream 146 * @param len the number of bytes to write. 148 public synchronized void write(byte b[], int off, int len) { method in class:ByteArrayOutputStream 161 * stream's write method using <code>out.write(buf, 0, count)</code>. 163 * @param out the output stream to which to write the data. 167 out.write(buf, 0, count);
|
CharArrayWriter.java | 18 * 2 along with this work; if not, write to the Free Software Foundation, 78 public void write(int c) { method in class:CharArrayWriter 95 public void write(char c[], int off, int len) { method in class:CharArrayWriter 113 * Write a portion of a string to the buffer. 118 public void write(String str, int off, int len) { method in class:CharArrayWriter 132 * @param out the output stream to write to 137 out.write(buf, 0, count); 148 * out.write(csq.toString()) </pre> 167 write(s, 0, s.length()); method 179 * out.write(csq.subSequence(start, end).toString()) </pre 205 write(s, 0, s.length()); method [all...] |
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
Eocd.java | 256 F_SIGNATURE.write(out); 257 F_NUMBER_OF_DISK.write(out); 258 F_DISK_CD_START.write(out); 259 F_RECORDS_DISK.write(out, totalRecords); 260 F_RECORDS_TOTAL.write(out, totalRecords); 261 F_CD_SIZE.write(out, directorySize); 262 F_CD_OFFSET.write(out, directoryOffset); 263 F_COMMENT_SIZE.write(out, comment.length);
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
ProtoOutputStreamSwitchedWriteTest.java | 31 * Tests that the write() functions produce the same values as their typed counterparts. 43 abstract void write(Number val, long fieldId, ProtoOutputStream po); method in class:ProtoOutputStreamSwitchedWriteTest.WriteTester 53 public void write(Number val, long fieldId, ProtoOutputStream po) { 60 public void write(Number val, long fieldId, ProtoOutputStream po) { 67 public void write(Number val, long fieldId, ProtoOutputStream po) { 74 public void write(Number val, long fieldId, ProtoOutputStream po) { 81 public void write(Number val, long fieldId, ProtoOutputStream po) { 88 public void write(Number val, long fieldId, ProtoOutputStream po) { 95 public void write(Number val, long fieldId, ProtoOutputStream po) { 102 public void write(Number val, long fieldId, ProtoOutputStream po) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
DexDataWriter.java | 43 * The position within the file that we will write to next. This is only updated when the buffer is flushed to the 60 * @param output An OutputStream to write the data to. 61 * @param filePosition The position within the file that OutputStream will write to. 74 public void write(int b) throws IOException { method in class:DexDataWriter 76 super.write(b); 80 public void write(byte[] b) throws IOException { method in class:DexDataWriter 81 write(b, 0, b.length); method 85 public void write(byte[] b, int off, int len) throws IOException { method in class:DexDataWriter 87 super.write(b, off, len); 96 out.write(value) 180 write(tempBuf, 0, index); method 198 write(tempBuf, 0, index); method 208 write(tempBuf, 0, index); method 225 write(tempBuf, firstElement, encodedLength); method 242 write(tempBuf, firstElement, encodedLength); method 269 write(buf, 0, bufPos); method 275 write(zeroBuf, 0, zeros); method [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
FileDeferredOutputStream.java | 34 // did we actually write something out to disk? 41 dest.write(outBuf, 0, count); 44 @Override public void write(int i) throws IOException { method in class:FileDeferredOutputStream 45 output.write(i); 49 @Override public void write(byte[] bytes) throws IOException { method in class:FileDeferredOutputStream 50 output.write(bytes); 54 @Override public void write(byte[] bytes, int off, int len) throws IOException { method in class:FileDeferredOutputStream 55 output.write(bytes, off, len);
|
MemoryDeferredOutputStream.java | 30 output.write(buffer); 33 output.write(currentBuffer, 0, currentPosition); 39 @Override public void write(int i) throws IOException { method in class:MemoryDeferredOutputStream 48 @Override public void write(byte[] bytes) throws IOException { method in class:MemoryDeferredOutputStream 49 write(bytes, 0, bytes.length); method 52 @Override public void write(byte[] bytes, int offset, int length) throws IOException { method in class:MemoryDeferredOutputStream
|
/libcore/luni/src/main/java/libcore/io/ |
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); 185 out.write(buffer, 0, c);
|
/libcore/ojluni/src/main/java/java/util/zip/ |
GZIPOutputStream.java | 18 * 2 along with this work; if not, write to the Free Software Foundation, 142 public synchronized void write(byte[] buf, int off, int len) method in class:GZIPOutputStream 145 super.write(buf, off, len); 164 out.write(buf, 0, len); 168 out.write(buf, 0, len); 171 // deflater buffer, we write it separately 174 out.write(trailer); 182 out.write(new byte[] {
|
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionOutputBuffer.java | 70 public void write(byte[] b, int off, int len) throws IOException { method in class:LoggingSessionOutputBuffer 71 this.out.write(b, off, len); 77 public void write(int b) throws IOException { method in class:LoggingSessionOutputBuffer 78 this.out.write(b); 84 public void write(byte[] b) throws IOException { method in class:LoggingSessionOutputBuffer 85 this.out.write(b);
|
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthOutputStream.java | 62 * write operations will be ignored. 77 * the stream. Subsequent write operations will be ignored. 109 public void write(byte[] b, int off, int len) throws IOException { method in class:ContentLengthOutputStream 111 throw new IOException("Attempted write to closed stream."); 118 this.out.write(b, off, len); 123 public void write(byte[] b) throws IOException { method in class:ContentLengthOutputStream 124 write(b, 0, b.length); method 127 public void write(int b) throws IOException { method in class:ContentLengthOutputStream 129 throw new IOException("Attempted write to closed stream."); 132 this.out.write(b) [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
ConstructorWriter.java | 88 public Appendable write(Appendable appendable, Context context) throws IOException { method in class:ConstructorWriter 93 blockWriter.write(new IndentingAppendable(appendable), context);
|
MethodWriter.java | 93 public Appendable write(Appendable appendable, Context context) throws IOException { method in class:MethodWriter 97 returnType.write(appendable, context); 103 body.get().write(new IndentingAppendable(appendable), context);
|
/external/emma/core/java12/com/vladium/util/ |
ByteArrayOStream.java | 24 * NOTE: copy-on-write not supported 127 out.write (m_buf, 0, m_pos); 241 public final void write (final int b) method in class:ByteArrayOStream 265 public final void write (final byte [] buf, final int offset, final int length) method in class:ByteArrayOStream
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/ |
ZipMultiReportOutput.java | 33 * stream to write file entries to 43 * stream to write file entries to 68 public void write(final byte[] b, final int off, final int len) method in class:ZipMultiReportOutput.EntryOutput 71 zip.write(b, off, len); 75 public void write(final byte[] b) throws IOException { method in class:ZipMultiReportOutput.EntryOutput 77 zip.write(b); 81 public void write(final int b) throws IOException { method in class:ZipMultiReportOutput.EntryOutput 83 zip.write(b);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
DeltaOutputStream.java | 36 public void write(int b) throws IOException { method in class:DeltaOutputStream 38 write(tempBuf, 0, 1); method 41 public void write(byte[] buf, int off, int len) throws IOException { method in class:DeltaOutputStream 54 out.write(filterBuf); 60 out.write(filterBuf, 0, len);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
FaultyFileSystem.java | 85 @Override public void write(Buffer source, long byteCount) throws IOException { method in class:FaultyFileSystem.FaultySink 87 super.write(source, byteCount);
|
/external/proguard/src/proguard/classfile/io/ |
RuntimeDataOutput.java | 18 * with this program; if not, write to the Free Software Foundation, Inc., 44 public void write(byte[] b) method in class:RuntimeDataOutput 48 dataOutput.write(b); 57 public void write(byte[] b, int off, int len) method in class:RuntimeDataOutput 61 dataOutput.write(b, off, len); 70 public void write(int b) method in class:RuntimeDataOutput 74 dataOutput.write(b);
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
ByteBufferWriter.java | 89 static void write(ByteBuffer buffer, OutputStream output) throws IOException { method in class:ByteBufferWriter 93 // Optimized write for array-backed buffers. 95 output.write(buffer.array(), buffer.arrayOffset() + buffer.position(), buffer.remaining()); 97 // Use a channel to write out the ByteBuffer. This will automatically empty the buffer. 98 ((FileOutputStream) output).getChannel().write(buffer); 106 output.write(array, 0, length);
|
/frameworks/base/core/java/android/util/ |
Base64OutputStream.java | 40 * @param out the OutputStream to write the encoded data to 53 * @param out the OutputStream to write the encoded data to 70 public void write(int b) throws IOException { method in class:Base64OutputStream 72 // bytes, we buffer up calls to write(int) in an internal 80 // internal buffer full; write it out. 88 * Flush any buffered data from calls to write(int). Needed 89 * before doing a write(byte[], int, int) or a close(). 98 public void write(byte[] b, int off, int len) throws IOException { method in class:Base64OutputStream 131 * Write the given bytes to the encoder/decoder. 141 out.write(coder.output, 0, coder.op) [all...] |
/frameworks/base/obex/javax/obex/ |
PrivateOutputStream.java | 55 * Creates an empty <code>PrivateOutputStream</code> to write to. 75 * write is that one byte is written to the output stream. The byte to be 78 * @param b the byte to write 82 public synchronized void write(int b) throws IOException { method in class:PrivateOutputStream 85 mArray.write(b); 92 public void write(byte[] buffer) throws IOException { method in class:PrivateOutputStream 93 write(buffer, 0, buffer.length); method 97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { method in class:PrivateOutputStream 112 mArray.write(buffer, offset1, bufferLeft); 118 mArray.write(buffer, offset1, remainLength) [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidGZIPStreamTest.java | 41 outFile.write(zipData, 0, zipData.length); 87 out.write(input, 0, input.length); 102 contents.write(buf, 0, len);
|