Searched refs:writeBytes (Results 1 - 25 of 29) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/io/
H A DOldAndroidPipedStreamTest.java157 byte writeBytes[] = new byte[5];
160 writeBytes[0] = (byte) (toWrite >> 24);
161 writeBytes[1] = (byte) (toWrite >> 16);
162 writeBytes[2] = (byte) (toWrite >> 8);
163 writeBytes[3] = (byte) (toWrite);
164 writeBytes[4] = 0;
165 out.write(writeBytes, 0, writeBytes.length);
228 byte writeBytes[] = new byte[1024 * 2];
229 for (int i = 0; i < (writeBytes
[all...]
H A DOldAndroidDataOutputStreamTest.java42 a.writeBytes("BYTES");
H A DOldDataOutputStreamTest.java139 os.writeBytes(testString);
151 os.writeBytes(testString);
H A DDataOutputStreamTest.java46 // writeBytes takes only the bottom byte from each character.
47 os.writeBytes("0\u12341");
H A DOldAndroidDataInputStreamTest.java72 f.writeBytes("BCD");
H A DOldDataInputStreamTest.java262 os.writeBytes("Lorem\nipsum\rdolor sit amet...");
H A DOldRandomAccessFileTest.java754 * java.io.RandomAccessFile#writeBytes(java.lang.String)
760 raf.writeBytes(testString);
783 raf.writeBytes("Already closed.");
797 * java.io.RandomAccessFile#writeBytes(java.lang.String)
803 raf.writeBytes(testString);
972 raf.writeBytes("HelloWorld");
H A DOldObjectOutputStreamTest.java199 boos.writeBytes("Lorem ipsum");
/libcore/ojluni/src/main/java/java/io/
H A DDataOutput.java279 void writeBytes(String s) throws IOException; method in interface:DataOutput
H A DRandomAccessFile.java477 private void writeBytes(byte b[], int off, int len) throws IOException { method in class:RandomAccessFile
493 writeBytes(b, 0, b.length);
506 writeBytes(b, off, len);
1105 public final void writeBytes(String s) throws IOException { method in class:RandomAccessFile
1109 writeBytes(b, 0, len);
1132 writeBytes(b, 0, blen);
H A DDataOutputStream.java273 public final void writeBytes(String s) throws IOException { method in class:DataOutputStream
H A DObjectOutputStream.java853 public void writeBytes(String str) throws IOException { method in class:ObjectOutputStream
854 bout.writeBytes(str);
2045 public void writeBytes(String s) throws IOException { method in class:ObjectOutputStream.BlockDataOutputStream
2239 writeBytes(s);
2261 writeBytes(s);
/libcore/ojluni/src/main/java/sun/nio/cs/
H A DStreamEncoder.java209 private void writeBytes() throws IOException { method in class:StreamEncoder
254 writeBytes();
282 writeBytes();
291 writeBytes();
309 writeBytes();
316 writeBytes();
/libcore/ojluni/src/main/java/java/sql/
H A DSQLOutput.java184 void writeBytes(byte[] x) throws SQLException; method in interface:SQLOutput
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipOutputStream.java415 writeBytes(nameBytes, 0, nameBytes.length);
423 writeBytes(e.extra, 0, e.extra.length);
506 writeBytes(nameBytes, 0, nameBytes.length);
518 writeBytes(e.extra, 0, e.extra.length);
521 writeBytes(commentBytes, 0, Math.min(commentBytes.length, 0xffff));
574 writeBytes(comment, 0, comment.length);
621 private void writeBytes(byte[] b, int off, int len) throws IOException { method in class:ZipOutputStream
/libcore/ojluni/src/main/java/java/util/jar/
H A DAttributes.java316 os.writeBytes(buffer.toString());
318 os.writeBytes("\r\n");
339 out.writeBytes(vername+": "+version+"\r\n");
362 out.writeBytes(buffer.toString());
365 out.writeBytes("\r\n");
H A DManifest.java163 dos.writeBytes(buffer.toString());
/libcore/ojluni/src/main/native/
H A Dio_util.h53 void writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off,
H A Dio_util.c153 writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, function
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DDataOutputStreamTest.java121 * java.io.DataOutputStream#writeBytes(java.lang.String)
134 new DataOutputStream(null).writeBytes("");
H A DRandomAccessFileTest.java317 raf.writeBytes("HelloWorld");
333 raf.writeBytes("HelloWorld");
459 raf.writeBytes("HelloWorld");
707 * java.io.RandomAccessFile#writeBytes(java.lang.String)
711 // java.io.RandomAccessFile.writeBytes(java.lang.String)
714 raf.writeBytes("HelloWorld");
/libcore/luni/src/main/java/libcore/io/
H A DPosix.java263 bytesWritten = writeBytes(fd, buffer, position, buffer.remaining());
265 bytesWritten = writeBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + position, buffer.remaining());
273 return writeBytes(fd, bytes, byteOffset, byteCount);
275 private native int writeBytes(FileDescriptor fd, Object buffer, int offset, int byteCount) throws ErrnoException, InterruptedIOException; method in class:Posix
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java272 oos.writeBytes(testString);
312 oos.writeBytes(testString);
632 oos.writeBytes("HelloWorld");
678 oos.writeBytes("HelloWorld");
721 oos.writeBytes("HelloWorld");
829 oos.writeBytes("HelloWorld\nSecondLine");
982 oos.writeBytes("HelloWorld");
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DAbstractZipFileTest.java88 private static void writeBytes(File f, byte[] bytes) throws IOException { method in class:AbstractZipFileTest
117 writeBytes(badZip, buffer);
154 writeBytes(zipFile, outBuffer);
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DBinaryHprofWriter.java80 out.writeBytes(BinaryHprof.MAGIC + "1.0.2");

Completed in 434 milliseconds

12