Home
last modified time | relevance | path

Searched refs:writeBytes (Results 1 – 25 of 35) 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 …]
DOldDataOutputStreamTest.java139 os.writeBytes(testString); in test_writeBytesLjava_lang_String()
151 os.writeBytes(testString); in test_writeBytesLjava_lang_String()
DOldAndroidDataOutputStreamTest.java42 a.writeBytes("BYTES"); in testDataOutputStream()
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()
/libcore/ojluni/src/test/java/io/PrintStream/
DWriteBytes.java54 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/
DStreamEncoder.java221 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/
DRandomAccessFile.java561 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()
DDataOutput.java279 void writeBytes(String s) throws IOException; in writeBytes() method
DByteArrayOutputStream.java173 public void writeBytes(byte b[]) { in writeBytes() method in ByteArrayOutputStream
DDataOutputStream.java273 public final void writeBytes(String s) throws IOException { in writeBytes() method in DataOutputStream
/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java472 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/
DWrite.java72 baos.writeBytes(b); in doBoundsTest()
127 baos.writeBytes(b); in writeTest()
/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
/libcore/ojluni/src/main/java/java/sql/
DSQLOutput.java184 void writeBytes(byte[] x) throws SQLException; in writeBytes() method
/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/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/main/java/libcore/io/
DLinux.java286 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/
DAbstractZipFileTest.java91 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/
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/ojluni/annotations/hiddenapi/java/util/zip/
DZipOutputStream.java125 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/
DFtpURLConnectionTest.java133 writeBytes(os, newFileContents); in testOutputUrl()
287 private static void writeBytes(OutputStream os, byte[] fileContents) throws IOException { in writeBytes() method in FtpURLConnectionTest

12