/libcore/luni/src/test/java/libcore/java/io/ |
D | OldAndroidPipedStreamTest.java | 157 byte writeBytes[] = new byte[5]; in testB() 160 writeBytes[0] = (byte) (toWrite >> 24); in testB() 161 writeBytes[1] = (byte) (toWrite >> 16); in testB() 162 writeBytes[2] = (byte) (toWrite >> 8); in testB() 163 writeBytes[3] = (byte) (toWrite); in testB() 164 writeBytes[4] = 0; in testB() 165 out.write(writeBytes, 0, writeBytes.length); in testB() 228 byte writeBytes[] = new byte[1024 * 2]; in testC() 229 for (int i = 0; i < (writeBytes.length - 4); i += 4) { in testC() 231 writeBytes[i ] = (byte) (toWrite >> 24); in testC() [all …]
|
D | OldAndroidDataOutputStreamTest.java | 42 a.writeBytes("BYTES"); in testDataOutputStream()
|
D | OldDataOutputStreamTest.java | 139 os.writeBytes(testString); in test_writeBytesLjava_lang_String() 151 os.writeBytes(testString); in test_writeBytesLjava_lang_String()
|
D | DataOutputStreamTest.java | 49 os.writeBytes("0\u12341"); in test_writeBytes()
|
D | OldAndroidDataInputStreamTest.java | 72 f.writeBytes("BCD"); in testDataInputStream()
|
D | OldRandomAccessFileTest.java | 760 raf.writeBytes(testString); in test_readFully$B_writeBytesLjava_lang_String() 783 raf.writeBytes("Already closed."); in test_readFully$B_writeBytesLjava_lang_String() 803 raf.writeBytes(testString); in test_readFully$BII() 972 raf.writeBytes("HelloWorld"); in test_skipBytesI()
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | StreamEncoder.java | 209 private void writeBytes() throws IOException { in writeBytes() method in StreamEncoder 254 writeBytes(); in flushLeftoverChar() 282 writeBytes(); in implWrite() 291 writeBytes(); in implFlushBuffer() 309 writeBytes(); in implClose() 316 writeBytes(); in implClose()
|
/libcore/ojluni/src/main/java/java/io/ |
D | RandomAccessFile.java | 543 private void writeBytes(byte b[], int off, int len) throws IOException { in writeBytes() method in RandomAccessFile 559 writeBytes(b, 0, b.length); in write() 572 writeBytes(b, off, len); in write() 1184 public final void writeBytes(String s) throws IOException { in writeBytes() method in RandomAccessFile 1188 writeBytes(b, 0, len); in writeBytes() 1211 writeBytes(b, 0, blen); in writeChars()
|
D | DataOutput.java | 279 void writeBytes(String s) throws IOException; in writeBytes() method
|
D | DataOutputStream.java | 273 public final void writeBytes(String s) throws IOException { in writeBytes() method in DataOutputStream
|
D | ObjectOutputStream.java | 863 public void writeBytes(String str) throws IOException { in writeBytes() method in ObjectOutputStream 864 bout.writeBytes(str); in writeBytes() 2074 public void writeBytes(String s) throws IOException { in writeBytes() method in ObjectOutputStream.BlockDataOutputStream 2268 writeBytes(s); in writeUTF() 2290 writeBytes(s); in writeLongUTF()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipOutputStream.java | 444 writeBytes(nameBytes, 0, nameBytes.length); in writeLOC() 560 writeBytes(nameBytes, 0, nameBytes.length); in writeCEN() 586 writeBytes(commentBytes, 0, Math.min(commentBytes.length, 0xffff)); in writeCEN() 641 writeBytes(comment, 0, comment.length); in writeEND() 684 writeBytes(extra, off, len - off); in writeExtra() 688 writeBytes(extra, off, sz + 4); in writeExtra() 693 writeBytes(extra, off, len - off); in writeExtra() 748 private void writeBytes(byte[] b, int off, int len) throws IOException { in writeBytes() method in ZipOutputStream
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Attributes.java | 315 os.writeBytes(buffer.toString()); in write() 317 os.writeBytes("\r\n"); in write() 338 out.writeBytes(vername+": "+version+"\r\n"); in writeMain() 361 out.writeBytes(buffer.toString()); in writeMain() 364 out.writeBytes("\r\n"); in writeMain()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | RandomAccessFile.java | 88 private void writeBytes(byte[] b, int off, int len) throws java.io.IOException { in writeBytes() method in RandomAccessFile 200 public final void writeBytes(java.lang.String s) throws java.io.IOException { in writeBytes() method in RandomAccessFile
|
D | ObjectOutputStream.java | 155 public void writeBytes(java.lang.String str) throws java.io.IOException { in writeBytes() method in ObjectOutputStream 396 public void writeBytes(java.lang.String s) throws java.io.IOException { in writeBytes() method in ObjectOutputStream.BlockDataOutputStream
|
/libcore/ojluni/src/main/java/java/sql/ |
D | SQLOutput.java | 184 void writeBytes(byte[] x) throws SQLException; in writeBytes() method
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 272 oos.writeBytes(testString); in test_readFully$B() 312 oos.writeBytes(testString); in test_readFully$BII() 632 oos.writeBytes("HelloWorld"); in test_resolveProxyClass() 678 oos.writeBytes("HelloWorld"); in test_available() 721 oos.writeBytes("HelloWorld"); in test_read$BII() 829 oos.writeBytes("HelloWorld\nSecondLine"); in test_readLine() 982 oos.writeBytes("HelloWorld"); in test_skipBytesI()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Linux.java | 286 bytesWritten = writeBytes(fd, buffer, position, buffer.remaining()); in write() 288 …bytesWritten = writeBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + p… in write() 296 return writeBytes(fd, bytes, byteOffset, byteCount); in write() 298 …private native int writeBytes(FileDescriptor fd, Object buffer, int offset, int byteCount) throws … in writeBytes() method in Linux
|
/libcore/ojluni/src/main/native/ |
D | io_util.h | 53 void writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off,
|
D | io_util.c | 153 writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, in writeBytes() function
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | RandomAccessFileTest.java | 323 raf.writeBytes("HelloWorld"); in test_readFully$B() 339 raf.writeBytes("HelloWorld"); in test_readFully$BII() 465 raf.writeBytes("HelloWorld"); in test_skipBytesI() 720 raf.writeBytes("HelloWorld"); in test_writeBytesLjava_lang_String()
|
D | DataOutputStreamTest.java | 134 new DataOutputStream(null).writeBytes(""); in test_writeBytesLjava_lang_String()
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | ZipOutputStream.java | 125 private void writeBytes(byte[] b, int off, int len) throws java.io.IOException { in writeBytes() method in ZipOutputStream
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | AbstractZipFileTest.java | 93 private static void writeBytes(File f, byte[] bytes) throws IOException { in writeBytes() method in AbstractZipFileTest 122 writeBytes(badZip, buffer); in testDuplicateEntries() 159 writeBytes(zipFile, outBuffer); in testStoredEntrySize()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | FtpURLConnectionTest.java | 133 writeBytes(os, newFileContents); in testOutputUrl() 287 private static void writeBytes(OutputStream os, byte[] fileContents) throws IOException { in writeBytes() method in FtpURLConnectionTest
|