/dalvik/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlSerializer.java | 71 writer.write(' '); in check() 72 writer.write("xmlns"); in check() 74 writer.write(':'); in check() 75 writer.write(nspStack[i * 2]); in check() 79 writer.write("=\""); in check() 81 writer.write('"'); in check() 93 writer.write(close ? " />" : ">"); in check() 106 writer.write(c); in writeEscaped() 108 writer.write("&#"+((int) c)+';'); in writeEscaped() 111 writer.write("&"); in writeEscaped() [all …]
|
/dalvik/libcore/luni/src/main/java/java/io/ |
D | Writer.java | 107 public void write(char[] buf) throws IOException { in write() method in Writer 111 write(buf, 0, buf.length); in write() 131 public abstract void write(char[] buf, int offset, int count) in write() method in Writer 147 public void write(int oneChar) throws IOException { in write() method in Writer 151 write(oneCharArray); in write() 164 public void write(String str) throws IOException { in write() method in Writer 168 write(buf); in write() 189 public void write(String str, int offset, int count) throws IOException { in write() method in Writer 197 write(buf); in write() 213 write(c); in append() [all …]
|
D | FilterWriter.java | 97 public void write(char[] buffer, int offset, int count) throws IOException { in write() method in FilterWriter 102 out.write(buffer, offset, count); in write() 117 public void write(int oneChar) throws IOException { in write() method in FilterWriter 119 out.write(oneChar); in write() 139 public void write(String str, int offset, int count) throws IOException { in write() method in FilterWriter 141 out.write(str, offset, count); in write()
|
D | DataOutputStream.java | 100 public void write(byte[] buffer, int offset, int count) throws IOException { in write() method in DataOutputStream 107 out.write(buffer, offset, count); in write() 123 public void write(int oneByte) throws IOException { in write() method in DataOutputStream 124 out.write(oneByte); in write() 139 out.write(val ? 1 : 0); in writeBoolean() 156 out.write(val); in writeByte() 179 out.write(bytes); in writeBytes() 196 out.write(val >> 8); in writeChar() 197 out.write(val); in writeChar() 220 out.write(newBytes); in writeChars() [all …]
|
D | FilterOutputStream.java | 98 public void write(byte[] buffer) throws IOException { in write() method in FilterOutputStream 102 write(buffer, 0, buffer.length); in write() 124 public void write(byte[] buffer, int offset, int count) throws IOException { in write() method in FilterOutputStream 145 write(buffer[offset + i]); in write() 160 public void write(int oneByte) throws IOException { in write() method in FilterOutputStream 161 out.write(oneByte); in write()
|
D | OutputStream.java | 85 public void write(byte[] buffer) throws IOException { in write() method in OutputStream 89 write(buffer, 0, buffer.length); in write() 111 public void write(byte[] buffer, int offset, int count) throws IOException { in write() method in OutputStream 130 write(buffer[i]); in write() 144 public abstract void write(int oneByte) throws IOException; in write() method in OutputStream
|
D | BufferedWriter.java | 145 out.write(buf, 0, pos); in flush() 171 write(lineSeparator, 0, lineSeparator.length()); in newLine() 195 public void write(char[] cbuf, int offset, int count) throws IOException { in write() method in BufferedWriter 213 out.write(cbuf, offset, count); in write() 225 out.write(this.buf, 0, this.buf.length); in write() 231 out.write(cbuf, offset, available); in write() 254 public void write(int oneChar) throws IOException { in write() method in BufferedWriter 260 out.write(buf, 0, buf.length); in write() 289 public void write(String str, int offset, int count) throws IOException { in write() method in BufferedWriter 303 out.write(chars, 0, count); in write() [all …]
|
D | BufferedOutputStream.java | 119 out.write(buf, 0, count); in flush() 150 public synchronized void write(byte[] buffer, int offset, int length) in write() method in BufferedOutputStream 167 out.write(buffer, offset, length); in write() 179 out.write(buf, 0, buf.length); in write() 185 out.write(buffer, offset, available); in write() 208 public synchronized void write(int oneByte) throws IOException { in write() method in BufferedOutputStream 210 out.write(buf, 0, count); in write()
|
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
D | GZIPOutputStream.java | 69 out.write(Deflater.DEFLATED); in GZIPOutputStream() 70 out.write(0); // flags in GZIPOutputStream() 72 out.write(0); // extra flags in GZIPOutputStream() 73 out.write(0); // operating system in GZIPOutputStream() 92 public void write(byte[] buffer, int off, int nbytes) throws IOException { in write() method in GZIPOutputStream 93 super.write(buffer, off, nbytes); in write() 98 out.write(i & 0xFF); in writeShort() 99 out.write((i >> 8) & 0xFF); in writeShort() 105 out.write((int) (i & 0xFF)); in writeLong() 106 out.write((int) (i >> 8) & 0xFF); in writeLong() [all …]
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
D | BufferedWriterTest.java | 51 bw.write("Hi", 0, 2); in test_ConstructorLjava_io_Writer() 78 bw.write("Hi", 0, 2); in test_ConstructorLjava_io_WriterI() 99 bw.write(testString); in test_close() 124 bw.write("This should not cause a flush"); in test_flush() 151 bw.write("Hello"); in test_newLine() 153 bw.write("World"); in test_newLine() 180 bw.write(testCharArray, 500, 1000); in test_write$CII() 186 bw.write(testCharArray, 0, testCharArray.length); in test_write$CII() 188 bw.write(testCharArray, 0, 0); in test_write$CII() 190 bw.write(testCharArray, testCharArray.length, 0); in test_write$CII() [all …]
|
D | WriterTest.java | 167 tobj.write("01234".toCharArray()); in test_write$C() 169 tobj.write("abcde".toCharArray()); in test_write$C() 171 tobj.write("ABCDEFGHIJ".toCharArray()); in test_write$C() 173 tobj.write("z".toCharArray()); // Just fill the writer to its limit! in test_write$C() 175 tobj.write("LES JEUX SONT FAITS".toCharArray()); in test_write$C() 190 tobj.write('a'); in test_writeI() 191 tobj.write('b'); in test_writeI() 194 tobj.write('c'); in test_writeI() 209 tobj.write("01234"); in test_writeLjava_lang_String() 211 tobj.write("abcde"); in test_writeLjava_lang_String() [all …]
|
D | OutputStreamWriterTest.java | 281 writer.write(new char[] { 'a' }); in test_close() 290 writer.write(new char[] { '\u3048' }); in test_close() 304 writer.write(new char[] { '\u3048' }); in test_close() 305 writer.write(new char[] { '\u3048' }); in test_close() 332 osw.write(testString, 0, testString.length()); in test_flush() 390 writer.write(c); in test_singleCharIO() 456 writer.write(largeBuffer); in test_write$C() 460 writer.write(largeBuffer, 0, m); in test_write$C() 527 writer.write(chars, -1, 1); in test_write$CII() 534 writer.write(chars, 0, -1); in test_write$CII() [all …]
|
D | FilterOutputStreamTest.java | 60 os.write('t'); in test_ConstructorLjava_io_OutputStream() 80 os.write(42); in test_close() 87 os.write(42); in test_close() 113 os.write(fileString.getBytes(), 0, 500); in test_flush() 139 os.write(fileString.getBytes()); in test_write$B() 152 os.write(42); in test_write$B() 170 os.write(fileString.getBytes(), 10, testLength - 10); in test_write$BII() 183 os.write(fileString.getBytes()); in test_write$BII() 204 os.write(buf, -1, 1); in test_write$BII_Exception() 211 os.write(buf, 0, -1); in test_write$BII_Exception() [all …]
|
D | FileOutputStreamTest.java | 101 fos.write("FZ1".getBytes(), 0, 3); in test_ConstructorLjava_io_FileZ() 105 fos.write(fileString.getBytes()); in test_ConstructorLjava_io_FileZ() 116 fos.write("FZ2".getBytes(), 0, 3); in test_ConstructorLjava_io_FileZ() 137 fos.write('l'); in test_ConstructorLjava_io_FileDescriptor() 185 fos.write("HI".getBytes(), 0, 2); in test_ConstructorLjava_lang_StringZ() 189 fos.write(fileString.getBytes()); in test_ConstructorLjava_lang_StringZ() 200 fos.write("HI".getBytes(), 0, 2); in test_ConstructorLjava_lang_StringZ() 224 fos.write(fileString.getBytes()); in test_close() 263 fos.write(fileString.getBytes()); in test_write$B() 266 fos.write(fileString.getBytes()); in test_write$B() [all …]
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/encoders/ |
D | Base64Encoder.java | 67 out.write(encodingTable[(a1 >>> 2) & 0x3f]); in encode() 68 out.write(encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3f]); in encode() 69 out.write(encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3f]); in encode() 70 out.write(encodingTable[a3 & 0x3f]); in encode() 88 out.write(encodingTable[b1]); in encode() 89 out.write(encodingTable[b2]); in encode() 90 out.write(padding); in encode() 91 out.write(padding); in encode() 101 out.write(encodingTable[b1]); in encode() 102 out.write(encodingTable[b2]); in encode() [all …]
|
/dalvik/vm/mterp/ |
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("dvmAsmInstructionEnd:\n") [all …]
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
D | DEROutputStream.java | 30 write((byte)(size | 0x80)); in writeLength() 34 write((byte)(length >> i)); in writeLength() 39 write((byte)length); in writeLength() 48 write(tag); in writeEncoded() 50 write(bytes); in writeEncoded() 56 write(NULL); in writeNull() 57 write(0x00); in writeNull()
|
D | BERConstructedSequence.java | 20 out.write(SEQUENCE | CONSTRUCTED); in encode() 21 out.write(0x80); in encode() 29 out.write(0x00); in encode() 30 out.write(0x00); in encode()
|
/dalvik/dx/src/com/android/dx/util/ |
D | IndentingWriter.java | 91 public void write(int c) throws IOException { in write() method in IndentingWriter 106 out.write('\n'); in write() 116 out.write(prefix); in write() 121 out.write(' '); in write() 127 out.write(c); in write() 139 public void write(char[] cbuf, int off, int len) throws IOException { in write() method in IndentingWriter 142 write(cbuf[off]); in write() 151 public void write(String str, int off, int len) throws IOException { in write() method in IndentingWriter 154 write(str.charAt(off)); in write()
|
/dalvik/libcore/xml/src/main/java/org/kxml2/wap/ |
D | WbxmlSerializer.java | 128 out.write(stringTableBuf.toByteArray()); in endDocument() 132 out.write(buf.toByteArray()); in endDocument() 157 buf.write( in checkPending() 167 buf.write(Wbxml.SWITCH_PAGE); in checkPending() 168 buf.write(tagPage); in checkPending() 171 buf.write( in checkPending() 184 buf.write(Wbxml.LITERAL); in checkPending() 190 buf.write(0); in checkPending() 191 buf.write(attrPage); in checkPending() 193 buf.write(idx[1]); in checkPending() [all …]
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
D | CipherOutputStream.java | 83 public void write(int b) throws IOException { in write() method in CipherOutputStream 88 out.write(result); in write() 102 public void write(byte[] b) throws IOException { in write() method in CipherOutputStream 103 write(b, 0, b.length); in write() 121 public void write(byte[] b, int off, int len) throws IOException { in write() method in CipherOutputStream 127 out.write(result); in write() 159 out.write(result); in close()
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
D | SocketOutputStream.java | 49 public void write(byte[] buffer) throws IOException { in write() method in SocketOutputStream 50 socket.write(buffer, 0, buffer.length); in write() 54 public void write(byte[] buffer, int offset, int count) throws IOException { in write() method in SocketOutputStream 59 socket.write(buffer, offset, count); in write() 69 public void write(int oneByte) throws IOException { in write() method in SocketOutputStream 73 socket.write(buffer, 0, 1); in write()
|
/dalvik/libcore/luni/src/main/java/java/util/ |
D | PropertyPermission.java | 48 transient private boolean read, write; field in PropertyPermission 74 write = true; in decodeActions() 79 if (!read && !write) { in decodeActions() 103 return read == pp.read && write == pp.write; in equals() 117 … return read ? (write ? "read,write" : "read") : "write"; //$NON-NLS-1$ //$NON-NLS-2$//$NON-NLS-3$ in getActions() 147 return (read || !pp.read) && (write || !pp.write); in implies()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/ |
D | Strings.java | 90 bOut.write(ch); in toUTF8ByteArray() 94 bOut.write(0xc0 | (ch >> 6)); in toUTF8ByteArray() 95 bOut.write(0x80 | (ch & 0x3f)); in toUTF8ByteArray() 116 bOut.write(0xf0 | (codePoint >> 18)); in toUTF8ByteArray() 117 bOut.write(0x80 | ((codePoint >> 12) & 0x3F)); in toUTF8ByteArray() 118 bOut.write(0x80 | ((codePoint >> 6) & 0x3F)); in toUTF8ByteArray() 119 bOut.write(0x80 | (codePoint & 0x3F)); in toUTF8ByteArray() 123 bOut.write(0xe0 | (ch >> 12)); in toUTF8ByteArray() 124 bOut.write(0x80 | ((ch >> 6) & 0x3F)); in toUTF8ByteArray() 125 bOut.write(0x80 | (ch & 0x3F)); in toUTF8ByteArray()
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
D | SinkChannelTest.java | 124 sink.write(buf); in test_write_LByteBuffer() 159 sink.write(ByteBuffer.wrap(strbytes)); in test_write_LByteBuffer_mutliThread() 210 sink.write(sourceBuf); in disabled_test_read_LByteBuffer_mutliThread_close() 227 sink.write(ByteBuffer.allocate(10)); in disabled_test_read_LByteBuffer_mutliThread_interrupt() 258 sink.write(nullBuf); in test_write_LByteBuffer_Exception() 277 int written = sink.write(buffer); in test_write_LByteBuffer_SourceClosed() 293 sink.write(buffer); in test_write_LByteBuffer_SinkClosed() 302 sink.write(nullBuf); in test_write_LByteBuffer_SinkClosed() 329 sink.write(bufArray); in test_write_$LByteBuffer() 363 sink.write(nullBufArrayRef); in test_write_$LByteBuffer_Exception() [all …]
|