Home
last modified time | relevance | path

Searched refs:writeBytes (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidPipedStreamTest.java157 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 …]
DOldAndroidDataOutputStreamTest.java42 a.writeBytes("BYTES"); in testDataOutputStream()
DOldDataOutputStreamTest.java139 os.writeBytes(testString); in test_writeBytesLjava_lang_String()
151 os.writeBytes(testString); in test_writeBytesLjava_lang_String()
DDataOutputStreamTest.java47 os.writeBytes("0\u12341"); in test_writeBytes()
DOldAndroidDataInputStreamTest.java72 f.writeBytes("BCD"); in testDataInputStream()
DOldRandomAccessFileTest.java760 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()
DOldDataInputStreamTest.java262 os.writeBytes("Lorem\nipsum\rdolor sit amet..."); in test_readLine()
DOldObjectOutputStreamTest.java199 boos.writeBytes("Lorem ipsum"); in test_drain()
/libcore/luni/src/main/java/java/io/
DDataOutput.java100 public abstract void writeBytes(String str) throws IOException; in writeBytes() method
DDataOutputStream.java148 public final void writeBytes(String str) throws IOException { in writeBytes() method in DataOutputStream
DRandomAccessFile.java749 public final void writeBytes(String str) throws IOException { in writeBytes() method in RandomAccessFile
DObjectOutputStream.java700 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/
DSQLOutput.java141 public void writeBytes(byte[] theBytes) throws SQLException; in writeBytes() method
/libcore/luni/src/test/java/tests/api/java/io/
DObjectInputStreamTest.java89 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/
DObjectInputStreamTest.java165 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/
DPosix.java195 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/
DZipFileTest.java82 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/
DBinaryHprofWriter.java80 out.writeBytes(BinaryHprof.MAGIC + "1.0.2"); in writeHeader()
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp1468 NATIVE_METHOD(Posix, writeBytes, "(Ljava/io/FileDescriptor;Ljava/lang/Object;II)I"),