/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 | 47 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()
|
D | OldDataInputStreamTest.java | 262 os.writeBytes("Lorem\nipsum\rdolor sit amet..."); in test_readLine()
|
D | OldObjectOutputStreamTest.java | 199 boos.writeBytes("Lorem ipsum"); in test_drain()
|
/libcore/luni/src/main/java/java/io/ |
D | DataOutput.java | 100 public abstract void writeBytes(String str) throws IOException; in writeBytes() method
|
D | DataOutputStream.java | 148 public final void writeBytes(String str) throws IOException { in writeBytes() method in DataOutputStream
|
D | RandomAccessFile.java | 749 public final void writeBytes(String str) throws IOException { in writeBytes() method in RandomAccessFile
|
D | ObjectOutputStream.java | 700 public void writeBytes(String value) throws IOException { in writeBytes() method in ObjectOutputStream 702 primitiveTypes.writeBytes(value); in writeBytes()
|
/libcore/luni/src/main/java/java/sql/ |
D | SQLOutput.java | 141 public void writeBytes(byte[] theBytes) throws SQLException; in writeBytes() method
|
/libcore/luni/src/test/java/tests/api/java/io/ |
D | ObjectInputStreamTest.java | 89 oos.writeBytes(testString); in test_available() 163 oos.writeBytes(testString); in test_read$BII() 213 oos.writeBytes(testString); in test_readFully$B() 253 oos.writeBytes(testString); in test_readFully$BII() 312 oos.writeBytes("Lorem\nipsum\rdolor sit amet..."); in test_readLine()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 165 oos.writeBytes("HelloWorld"); in test_resolveProxyClass() 214 oos.writeBytes("HelloWorld"); in test_available() 225 oos.writeBytes("HelloWorld"); in test_close() 267 oos.writeBytes("HelloWorld"); in test_read$BII() 363 oos.writeBytes("HelloWorld"); in test_readFully$B() 377 oos.writeBytes("HelloWorld"); in test_readFully$BII() 403 oos.writeBytes("HelloWorld\nSecondLine"); in test_readLine() 610 oos.writeBytes("HelloWorld"); in test_skipBytesI()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Posix.java | 195 return writeBytes(fd, buffer, buffer.position(), buffer.remaining()); in write() 197 …return writeBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.po… in write() 202 return writeBytes(fd, bytes, byteOffset, byteCount); in write() 204 …private native int writeBytes(FileDescriptor fd, Object buffer, int offset, int byteCount) throws … in writeBytes() method in Posix
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipFileTest.java | 82 private static void writeBytes(File f, byte[] bytes) throws IOException { in writeBytes() method in ZipFileTest 111 writeBytes(badZip, buffer); in testDuplicateEntries() 148 writeBytes(zipFile, outBuffer); in testStoredEntrySize()
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
D | BinaryHprofWriter.java | 80 out.writeBytes(BinaryHprof.MAGIC + "1.0.2"); in writeHeader()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 1468 NATIVE_METHOD(Posix, writeBytes, "(Ljava/io/FileDescriptor;Ljava/lang/Object;II)I"),
|