Home
last modified time | relevance | path

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

12

/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.java49 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/ojluni/src/main/java/sun/nio/cs/
DStreamEncoder.java209 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/
DRandomAccessFile.java543 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()
DDataOutput.java279 void writeBytes(String s) throws IOException; in writeBytes() method
DDataOutputStream.java273 public final void writeBytes(String s) throws IOException { in writeBytes() method in DataOutputStream
/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java444 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/
DAttributes.java315 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()
DManifest.java163 dos.writeBytes(buffer.toString()); in write()
/libcore/ojluni/src/main/java/java/sql/
DSQLOutput.java184 void writeBytes(byte[] x) throws SQLException; in writeBytes() method
/libcore/ojluni/annotations/hiddenapi/java/io/
DRandomAccessFile.java88 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
DObjectOutputStream.java155 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/native/
Dio_util.h53 void writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off,
Dio_util.c153 writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, in writeBytes() function
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java272 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DRandomAccessFileTest.java323 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()
DDataOutputStreamTest.java134 new DataOutputStream(null).writeBytes(""); in test_writeBytesLjava_lang_String()
/libcore/luni/src/test/java/libcore/java/util/zip/
DAbstractZipFileTest.java93 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/
DFtpURLConnectionTest.java133 writeBytes(os, newFileContents); in testOutputUrl()
287 private static void writeBytes(OutputStream os, byte[] fileContents) throws IOException { in writeBytes() method in FtpURLConnectionTest

12