/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/core/java/com/android/internal/util/ |
IndentingPrintWriter.java | 27 * Delays writing indent until first actual write on a newline, enabling indent 43 * next write should be prefixed with the current indent. 76 public void write(char[] buf, int offset, int count) { method in class:IndentingPrintWriter 88 super.write(buf, lineStart, lineEnd - lineStart); 98 super.write('\n'); 104 super.write(buf, lineStart, lineEnd - lineStart); 105 super.write('\n'); 115 super.write(buf, lineStart, lineEnd - lineStart); 126 super.write(mCurrentIndent, 0, mCurrentIndent.length);
|
/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/dalvik/src/main/java/dalvik/system/profiler/ |
HprofBinaryToAscii.java | 69 return write(hprofData); 80 return write(hprofData); 158 * Write text verion of hprof data to standard output. Returns 161 private static boolean write(HprofData hprofData) { method in class:HprofBinaryToAscii 163 AsciiHprofWriter.write(hprofData, System.out);
|
/libcore/luni/src/main/java/java/io/ |
ByteArrayOutputStream.java | 187 * the number of bytes of {@code buffer} to write. 196 public synchronized void write(byte[] buffer, int offset, int len) { method in class:ByteArrayOutputStream 214 public synchronized void write(int oneByte) { method in class:ByteArrayOutputStream 226 * an OutputStream on which to write the contents of this stream. 231 out.write(buf, 0, count);
|
CharArrayWriter.java | 99 * Resets this writer. The current write position is reset to the beginning 156 * the non-null array containing characters to write. 158 * the index of the first character in {@code buf} to write. 160 * maximum number of characters to write. 166 public void write(char[] buffer, int offset, int len) { method in class:CharArrayWriter 181 * the character to write. 184 public void write(int oneChar) { method in class:CharArrayWriter 203 public void write(String str, int offset, int count) { method in class:CharArrayWriter 223 * the non-null {@code Writer} on which to write the contents. 227 * if an error occurs attempting to write out the contents 297 write(output, 0, output.length()); method [all...] |
FileOutputStream.java | 48 * <p>Use {@link FileWriter} to write characters, as opposed to bytes, to a file. 166 * Returns a write-only {@link FileChannel} that shares its position with 186 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:FileOutputStream 187 IoBridge.write(fd, buffer, byteOffset, byteCount); 191 public void write(int oneByte) throws IOException { method in class:FileOutputStream 192 write(new byte[] { (byte) oneByte }, 0, 1); method
|
/libcore/luni/src/test/java/libcore/java/io/ |
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/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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
InterruptableOutputStream.java | 37 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/UnifiedEmail/src/org/apache/commons/io/output/ |
FileWriterWithEncoding.java | 60 * @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 to, not null 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...] |
/bootable/recovery/ |
roots.cpp | 178 MtdWriteContext *write = mtd_write_partition(partition); local 179 if (write == NULL) { 182 } else if (mtd_erase_blocks(write, -1) == (off_t) -1) { 184 mtd_write_close(write); 186 } else if (mtd_write_close(write)) {
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
ExternalStorageTest.java | 83 final File write = buildGiftForPackage(getContext(), PACKAGE_WRITE); local 84 assertFileNoAccess(write);
|
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/ |
ReadExternalStorageTest.java | 87 final File write = buildGiftForPackage(getContext(), PACKAGE_WRITE); local 88 assertFileReadOnlyAccess(write); 89 assertEquals(102, readInt(write));
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
Form10x.java | 76 write(out, opcodeUnit(insn, 0)); method
|
Form11x.java | 80 write(out, opcodeUnit(insn, regs.get(0).getReg())); method
|
Form22x.java | 82 write(out, method
|
Form23x.java | 84 write(out, method
|
Form32x.java | 82 write(out, method
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
IndentingWriter.java | 91 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));
|
Output.java | 45 * @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...] |
/dalvik/dx/src/com/android/dx/dex/code/form/ |
Form10x.java | 70 write(out, opcodeUnit(insn, 0)); method
|
Form30t.java | 80 write(out, opcodeUnit(insn, 0), offset); method
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
ShortArrayCodeOutput.java | 24 /** array to write to */ 57 public void write(short codeUnit) { method in class:ShortArrayCodeOutput 63 public void write(short u0, short u1) { method in class:ShortArrayCodeOutput 64 write(u0); 65 write(u1); 69 public void write(short u0, short u1, short u2) { method in class:ShortArrayCodeOutput 70 write(u0); 71 write(u1); 72 write(u2); 76 public void write(short u0, short u1, short u2, short u3) method in class:ShortArrayCodeOutput 84 public void write(short u0, short u1, short u2, short u3, short u4) { method in class:ShortArrayCodeOutput 94 write((short) value); method 95 write((short) (value >> 16)); method 100 write((short) value); method 101 write((short) (value >> 16)); method 102 write((short) (value >> 32)); method 103 write((short) (value >> 48)); method 107 public void write(byte[] data) { method in class:ShortArrayCodeOutput 116 write((short) value); method 122 write((short) value); method 127 public void write(short[] data) { method in class:ShortArrayCodeOutput 134 public void write(int[] data) { method in class:ShortArrayCodeOutput 141 public void write(long[] data) { method in class:ShortArrayCodeOutput [all...] |
/dalvik/dx/src/com/android/dx/util/ |
IndentingWriter.java | 91 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));
|