/dalvik/libcore/security/src/main/java/org/bouncycastle/util/encoders/ |
H A D | Base64Encoder.java | 67 out.write(encodingTable[(a1 >>> 2) & 0x3f]); 68 out.write(encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3f]); 69 out.write(encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3f]); 70 out.write(encodingTable[a3 & 0x3f]); 88 out.write(encodingTable[b1]); 89 out.write(encodingTable[b2]); 90 out.write(padding); 91 out.write(padding); 101 out.write(encodingTable[b1]); 102 out.write(encodingTabl [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | WriterTest.java | 162 method = "write", 167 tobj.write("01234".toCharArray()); 169 tobj.write("abcde".toCharArray()); 171 tobj.write("ABCDEFGHIJ".toCharArray()); 173 tobj.write("z".toCharArray()); // Just fill the writer to its limit! 175 tobj.write("LES JEUX SONT FAITS".toCharArray()); 185 method = "write", 190 tobj.write('a'); 191 tobj.write('b'); 194 tobj.write(' 312 public void write(char[] buffer, int offset, int count) method in class:WriterTest.MockWriter [all...] |
H A D | FilterOutputStreamTest.java | 60 os.write('t'); 80 os.write(42); 87 os.write(42); 113 os.write(fileString.getBytes(), 0, 500); 129 * @tests java.io.FilterOutputStream#write(byte[]) 133 method = "write", 139 os.write(fileString.getBytes()); 152 os.write(42); 160 * @tests java.io.FilterOutputStream#write(byte[], int, int) 164 method = "write", [all...] |
H A D | FilterWriterTest.java | 57 public void write(char[] buffer, int offset, int count) throws IOException { method in class:FilterWriterTest.MockWriter 61 public void write(int oneChar) throws IOException { method in class:FilterWriterTest.MockWriter 65 public void write(String str, int offset, int count) throws IOException { method in class:FilterWriterTest.MockWriter 127 * @tests java.io.FilterWriter#write(int) 131 notes = "Verifies write(int).", 132 method = "write", 136 fw.write(0); 137 assertTrue("write(int) has not been called.", called); 141 * @tests java.io.FilterWriter#write(char[], int, int) 145 notes = "Verifies write(cha [all...] |
H A D | OutputStreamTest.java | 67 public void write(int oneByte) throws IOException { method in class:OutputStreamTest.BasicOutputStream 86 notes = "Verifies write(byte[]).", 87 method = "write", 96 bos.write(shortByteArray); 110 bos.write(longByteArray); 117 notes = "Verifies write(byte[], int, int).", 118 method = "write", 127 bos.write(shortByteArray, 6, 5); 141 bos.write(longByteArray, 5, 20); 146 bos.write(longByteArra [all...] |
H A D | FileOutputStreamTest.java | 101 fos.write("FZ1".getBytes(), 0, 3); 105 fos.write(fileString.getBytes()); 116 fos.write("FZ2".getBytes(), 0, 3); 137 fos.write('l'); 185 fos.write("HI".getBytes(), 0, 2); 189 fos.write(fileString.getBytes()); 200 fos.write("HI".getBytes(), 0, 2); 224 fos.write(fileString.getBytes()); 252 * @tests java.io.FileOutputStream#write(byte[]) 256 method = "write", [all...] |
H A D | StringWriterTest.java | 86 sw.write('c'); 103 sw.write("This is a test string"); 120 sw.write("This is a test string"); 126 * @tests java.io.StringWriter#write(char[], int, int) 131 method = "write", 135 // Test for method void java.io.StringWriter.write(char [], int, int) 138 sw.write(c, 4, 14); 144 * @tests java.io.StringWriter#write(char[], int, int) 150 method = "write", 156 obj.write(ne [all...] |
/dalvik/libcore/xml/src/main/java/org/kxml2/wap/ |
H A D | WbxmlSerializer.java | 85 throw new RuntimeException ("Cannot write docdecl for WBXML"); 126 // write StringTable 128 out.write(stringTableBuf.toByteArray()); 130 // write buf 132 out.write(buf.toByteArray()); 157 buf.write( 167 buf.write(Wbxml.SWITCH_PAGE); 168 buf.write(tagPage); 171 buf.write( 184 buf.write(Wbxm [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | BufferedOutputStream.java | 64 * 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 D | BufferedWriter.java | 60 * 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...] |
H A D | StringWriter.java | 125 * the non-null character array to write. 127 * the index of the first character in {@code cbuf} to write. 129 * the maximum number of characters to write. 136 public void write(char[] cbuf, int offset, int count) { method in class:StringWriter 160 * the character to write to this writer's {@code StringBuffer}. 164 public void write(int oneChar) { method in class:StringWriter 175 * the non-null string containing the characters to write. 179 public void write(String str) { method in class:StringWriter 190 * the non-null string containing the characters to write. 192 * the index of the first character in {@code str} to write 201 public void write(String str, int offset, int count) { method in class:StringWriter [all...] |
H A D | DataOutputStream.java | 86 * the buffer to write to the target stream. 88 * the index of the first byte in {@code buffer} to write. 90 * the number of bytes from the {@code buffer} to write. 100 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:DataOutputStream 107 out.write(buffer, offset, count); 116 * the byte to write to the target stream. 123 public void write(int oneByte) throws IOException { method in class:DataOutputStream 124 out.write(oneByte); 132 * the boolean value to write to the target stream. 139 out.write(va [all...] |
/dalvik/vm/mterp/ |
H A D | gen-mterp.py | 180 asm_fp.write("\n .global dvmAsmInstructionStart\n") 181 asm_fp.write(" .type dvmAsmInstructionStart, %function\n") 182 asm_fp.write("dvmAsmInstructionStart = " + label_prefix + "_OP_NOP\n") 183 asm_fp.write(" .text\n\n") 205 asm_fp.write(" .balign %d\n" % handler_size_bytes) 206 asm_fp.write(label_prefix + "_OP_NOP: /* dummy */\n"); 208 asm_fp.write("\n .balign %d\n" % handler_size_bytes) 209 asm_fp.write(" .size dvmAsmInstructionStart, .-dvmAsmInstructionStart\n") 210 asm_fp.write(" .global dvmAsmInstructionEnd\n") 211 asm_fp.write("dvmAsmInstructionEn [all...] |
/dalvik/dx/src/com/android/dx/util/ |
H A D | TwoColumnOutput.java | 70 twoOut.getLeft().write(s1); 71 twoOut.getRight().write(s2); 132 * Gets the writer to use to write to the left column. 141 * Gets the writer to use to write to the right column. 184 out.write(leftBuf.substring(0, leftLen)); 189 out.write(rightBuf.substring(0, rightLen)); 192 out.write('\n'); 207 rightColumn.write('\n'); 220 leftColumn.write('\n'); 238 out.write('\ [all...] |
/dalvik/libcore/support/src/test/java/tests/support/ |
H A D | Support_OutputStream.java | 10 * This is used to test the {@code IOException} handling of classes that write 58 public void write(byte buffer[]) throws IOException { method in class:Support_OutputStream 63 write(buffer[i]); 68 public void write(byte buffer[], int offset, int count) throws IOException { method in class:Support_OutputStream 76 write(buffer[i]); 81 public void write(int oneByte) throws IOException { method in class:Support_OutputStream
|
H A D | Support_StringWriter.java | 103 * 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 D | MidiFileWriter.java | 52 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/security/src/main/java/org/bouncycastle/asn1/ |
H A D | DERObjectIdentifier.java | 166 out.write((int)(fieldValue >> 56) | 0x80); 168 out.write((int)(fieldValue >> 49) | 0x80); 170 out.write((int)(fieldValue >> 42) | 0x80); 172 out.write((int)(fieldValue >> 35) | 0x80); 174 out.write((int)(fieldValue >> 28) | 0x80); 176 out.write((int)(fieldValue >> 21) | 0x80); 178 out.write((int)(fieldValue >> 14) | 0x80); 180 out.write((int)(fieldValue >> 7) | 0x80); 182 out.write((int)fieldValue & 0x7f); 193 out.write( [all...] |
H A D | BERNull.java | 28 out.write(NULL);
|
H A D | BERTaggedObject.java | 54 out.write(CONSTRUCTED | TAGGED | tagNo); 55 out.write(0x80); 111 out.write(0x00); 112 out.write(0x00);
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
H A D | DatagramChannel.java | 39 * invoking {@code read} or {@code write}, a connected channel is required. 42 * Datagram channels are thread-safe; only one thread can read or write at the 84 * and write operations, so this method returns ( 120 * write operations being processed at the time the method is called. The 156 * write operations being underway. It does not have any effect if the 218 * is just like a regular write operation. 373 * has the same behavior as the {@code write} method in the 377 * @see java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer) 396 public abstract int write(ByteBuffer source) throws IOException; method in class:DatagramChannel 403 * has the same behavior as the {@code write} metho 437 public abstract long write(ByteBuffer[] sources, int offset, int length) method in class:DatagramChannel 470 public synchronized final long write(ByteBuffer[] sources) method in class:DatagramChannel [all...] |
H A D | SocketChannel.java | 50 * output side of the channel; subsequent write operations throw a 52 * is blocked in a write operation, an {@link AsynchronousCloseException} will 56 * Socket channels are thread-safe, no more than one thread can read or write at 59 * processing, calls to {@code read} and {@code write} will block. 136 * connect, read and write operation, so this method returns 185 * write operations while connecting. It executes the same security checks 235 * read} and {@code write} operations while connecting. 376 * The call may block if other threads are also attempting to write to the 388 * if another thread closes the channel during the write. 401 public abstract int write(ByteBuffe method in class:SocketChannel 439 public abstract long write(ByteBuffer[] sources, int offset, int length) method in class:SocketChannel 467 public synchronized final long write(ByteBuffer[] sources) method in class:SocketChannel [all...] |
/dalvik/libcore/sql/src/main/java/SQLite/ |
H A D | Blob.java | 201 public void write(int v) throws IOException { method in class:BlobW 204 pos += blob.write(b, 0, pos, 1); 212 public void write(byte[] b) throws IOException { method in class:BlobW 214 pos += blob.write(b, 0, pos, b.length); 225 public void write(byte[] b, int off, int len) throws IOException { method in class:BlobW 233 pos += blob.write(b, off, pos, len); 287 * Internal blob write method. 295 native int write(byte[] b, int off, int pos, int len) throws IOException; method in class:Blob
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/ |
H A D | Strings.java | 90 bOut.write(ch); 94 bOut.write(0xc0 | (ch >> 6)); 95 bOut.write(0x80 | (ch & 0x3f)); 116 bOut.write(0xf0 | (codePoint >> 18)); 117 bOut.write(0x80 | ((codePoint >> 12) & 0x3F)); 118 bOut.write(0x80 | ((codePoint >> 6) & 0x3F)); 119 bOut.write(0x80 | (codePoint & 0x3F)); 123 bOut.write(0xe0 | (ch >> 12)); 124 bOut.write(0x80 | ((ch >> 6) & 0x3F)); 125 bOut.write( [all...] |
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
H A D | DeflaterOutputStream.java | 59 * 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
|