/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 | OldDataOutputStreamTest.java | 139 os.writeBytes(testString); in test_writeBytesLjava_lang_String() 151 os.writeBytes(testString); in test_writeBytesLjava_lang_String()
|
D | OldAndroidDataOutputStreamTest.java | 42 a.writeBytes("BYTES"); in testDataOutputStream()
|
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/test/java/io/PrintStream/ |
D | WriteBytes.java | 54 ps.writeBytes(buf); in testWriteBytes() 61 ps.writeBytes(buf); in testWriteBytes() 74 ps.writeBytes(buf); in testWriteBytes()
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | StreamEncoder.java | 221 private void writeBytes() throws IOException { in writeBytes() method in StreamEncoder 266 writeBytes(); in flushLeftoverChar() 300 writeBytes(); in implWrite() 309 writeBytes(); in implFlushBuffer() 327 writeBytes(); in implClose() 334 writeBytes(); in implClose()
|
/libcore/ojluni/src/main/java/java/io/ |
D | RandomAccessFile.java | 561 private void writeBytes(byte b[], int off, int len) throws IOException { in writeBytes() method in RandomAccessFile 577 writeBytes(b, 0, b.length); in write() 590 writeBytes(b, off, len); in write() 1202 public final void writeBytes(String s) throws IOException { in writeBytes() method in RandomAccessFile 1206 writeBytes(b, 0, len); in writeBytes() 1229 writeBytes(b, 0, blen); in writeChars()
|
D | DataOutput.java | 279 void writeBytes(String s) throws IOException; in writeBytes() method
|
D | ByteArrayOutputStream.java | 173 public void writeBytes(byte b[]) { in writeBytes() method in ByteArrayOutputStream
|
D | DataOutputStream.java | 273 public final void writeBytes(String s) throws IOException { in writeBytes() method in DataOutputStream
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipOutputStream.java | 472 writeBytes(nameBytes, 0, nameBytes.length); in writeLOC() 628 writeBytes(nameBytes, 0, nameBytes.length); in writeCEN() 670 writeBytes(commentBytes, 0, Math.min(commentBytes.length, 0xffff)); in writeCEN() 725 writeBytes(comment, 0, comment.length); in writeEND() 768 writeBytes(extra, off, len - off); in writeExtra() 772 writeBytes(extra, off, sz + 4); in writeExtra() 777 writeBytes(extra, off, len - off); in writeExtra() 832 private void writeBytes(byte[] b, int off, int len) throws IOException { in writeBytes() method
|
/libcore/ojluni/src/test/java/io/ByteArrayOutputStream/ |
D | Write.java | 72 baos.writeBytes(b); in doBoundsTest() 127 baos.writeBytes(b); in writeTest()
|
/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
|
/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/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/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/luni/src/test/java/libcore/java/util/zip/ |
D | AbstractZipFileTest.java | 91 private static void writeBytes(File f, byte[] bytes) throws IOException { in writeBytes() method in AbstractZipFileTest 120 writeBytes(badZip, buffer); in testDuplicateEntries() 157 writeBytes(zipFile, outBuffer); in testStoredEntrySize()
|
/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/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
|